Граф коммитов

212 Коммитов

Автор SHA1 Сообщение Дата
dbaron%dbaron.org f3a00bc53b Put more information on the CSS properties in nsCSSPropList.h.
Use the property list in the tables for nsRuleNode::CheckSpecifiedProperties.
To reduce heap usage, redesign the storage of properties and values in nsCSSDeclaration to allocate all property-value pairs in a declaration block in a single allocation, and use temporary structures (like the old permanent structures) during parsing and modification.  Replace per-property switch statements in nsCSSDeclaration with table-based code to reduce code size.
b=125246  r+sr=bzbarsky
2003-06-07 22:14:42 +00:00
dbaron%dbaron.org 4a5e84bc92 Split nsCSSDeclaration.h and .cpp into separate files for the structs (nsCSSStruct.h and .cpp) and nsCSSDeclaration. b=201681 2003-04-15 03:07:34 +00:00
bryner%netscape.com 4d3b825ffa Make --disable-xul work (bug 69995). We build enough XUL to support
scrollbars unconditionally, but can now leave out heavyweight widgets like
grid, listbox, and tree.  r=bzbarsky, sr=alecf.
2003-04-11 00:56:27 +00:00
peterv%netscape.com b3d575fd9b Fix for bug 195153 (Remove bogus 'extern' decls from NS_New* functions.). Patch by jst, r=sicking, sr=peterv. 2003-03-05 15:08:41 +00:00
dbaron%dbaron.org f90fc836b3 Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky 2003-02-22 19:23:46 +00:00
dbaron%dbaron.org 754d904cda Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
caillon%returnzero.com c5f6b05cff Output 'background-position' values in the correct order (X before Y)
bug 189629, r+sr=dbaron
2003-01-19 03:44:52 +00:00
caillon%returnzero.com ead3cd7ea8 Bug 14777 - Give inline background image painting a rhyme and reason to how it works. Implement CSS3 proposal (-moz-)background-inline-policy.
r+sr=roc+moz
2003-01-17 09:33:52 +00:00
peterv%netscape.com eef263b19e Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
dbaron%fas.harvard.edu ca4ad476d2 Subclass the nsCSS* structs as nsRuleData* so members can be added to the latter without bloating the former, and to allow the former to go away eventually. Propagate whether a font family name comes from HTML through the style system and use it to set a bit on nsFont indicating that quirky behavior of Symbol fonts is acceptable. b=175372 r=bzbarsky sr=kin 2002-11-12 15:17:07 +00:00
glazman%netscape.com c3f9c7c149 CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv 2002-11-06 08:31:19 +00:00
caillon%returnzero.com 7871a3af0d Correcting our background painting code per the latest CSS specs. By default, backgrounds should be painted to the border
area, and not the padding area as per the CSS 2 Errata, CSS2.1 and CSS3.  Also, implementing the CSS3 'background-clip'
and 'background-origin' properties (currently with -moz- prefixes) to control this behavior.
Bug 162252, r=dbaron sr=roc+moz
2002-10-08 10:24:53 +00:00
caillon%returnzero.com 6a5f08080e Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
roc+%cs.cmu.edu c0c4d81870 Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin 2002-08-24 14:41:28 +00:00
bzbarsky%mit.edu a2f7d4e2ea Fix bustage.... 2002-08-06 06:48:31 +00:00
bzbarsky%mit.edu 404144b4a7 Fix serialization of clip in .cssText. Bug 104321, r=glazman, sr=dbaron 2002-08-06 05:42:44 +00:00
bzbarsky%mit.edu cdf9548176 Make .style and computed style format rgb() values the same way. Bug
160247, r=peterv, sr=jst
2002-08-06 05:18:21 +00:00
alecf%netscape.com ab7922b195 fix for bug 157572 - remove nsIAtom references from strings, and thus expicitly #include nsIAtom.h for consumers who are expecting it.
r=dmose, sr=jag, a=asa
2002-07-25 18:31:10 +00:00
bryner%netscape.com 122b978d08 Fix all of the warnings about member initializer ordering in constructors (bug 156135). r=timeless, sr=jag. 2002-07-08 07:56:50 +00:00
glazman%netscape.com 3070dc5fac Making nsCSSDeclaration::GetValue() call itself to respond !important values when needed was making the CSS Parser choke in nsCSSParserImpl::AppendValue()
b=148501, r=brade, r=bzbarsky, sr=jst
2002-06-14 12:36:43 +00:00
glazman%netscape.com 03ecce53c5 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst 2002-05-21 13:33:25 +00:00
glazman%netscape.com ce5dba1038 output of CSS border and background shorthand properties was buggy ; the new code implements a proposal by Hixie that tries to output the minimal number of properties.
b=142019, r=bzbarsky, sr=jst
2002-05-21 08:16:42 +00:00
karnaze%netscape.com 579848a101 bug 133997 - Bernd's patch to fix compiler warnings. a=asa, sr=attinasi, r=karnaze. 2002-03-31 23:17:38 +00:00
attinasi%netscape.com 159525bdf5 Support for proprietary style property to allow composer to force broken image icons. b=58646 r=karnaze sr=kin a=asa 2002-03-26 20:14:05 +00:00
dbaron%fas.harvard.edu 2407cfe7f8 Convert users of nsAReadable[C]String and nsAWritable[C]String typedefs to [const] nsA[C]String. b=131899 r=scc sr=jag a=asa 2002-03-23 22:56:05 +00:00
karnaze%netscape.com 75c5058a42 bug 24000 - implement page-break-before/after:always using new nsPageBreakFrame. Tables handle page breaks internally. a=asa, sr=attinasi, r=alexsavulov 2002-03-17 21:35:08 +00:00
bryner%netscape.com 33a262cf6e fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben. 2002-02-19 22:19:44 +00:00
dbaron%fas.harvard.edu 15fa975817 Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi 2002-02-16 16:50:45 +00:00
bzbarsky%mit.edu e3b541a10c Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00
bzbarsky%mit.edu 45ad330784 Testing performance impact of backout of part of patch from bug 115289.
See bug 123947 for details.
2002-02-09 16:10:51 +00:00
bzbarsky%mit.edu 580e33204e Convert Compare() to Equals() where possible now that we can do
case-insensitive Equals().  Bug 115289, r=alecf, sr=jag
2002-02-05 02:03:07 +00:00
blythe%netscape.com 3a5aa3eab9 Fix bug 107270
Reduce nsCSSDeclaration footprint
r=dbaron, sr=hyatt
2002-01-15 22:43:37 +00:00
rjesup%wgate.com 2212861db9 Bug 96108: Inline ElementAt(), add SafeElementAt(), voidarray usage fixes,
assertions for bad voidarray indexes.  r=jst, sr=waterson
2001-12-21 01:10:07 +00:00
hyatt%netscape.com d4065d8e54 Fix for 112980, nsITheme API and dynamic skin switching re-enabling. r=ben, sr=waterson 2001-12-17 22:51:39 +00:00
jaggernaut%netscape.com 6ab111155d Bug 104158: Use NS_LITERAL_STRING instead of XXXWithConversion("..."). r=bryner, rs=alecf 2001-12-16 11:58:03 +00:00
bbaetz%cs.mcgill.ca 43806ea8b2 Bug 80142 (among others) - landing of SVG_20010721_BRANCH. Work by
alex.fritze@crocodile-clips.com, james.turner@crocodile-clips.com, and
everyone else how helped on the branch. Thanks to peterv for last minute
build changes

r=cls for build changes
r=jst, rs=brendan for #ifdef'd parts touching existing files.

NOT ON BY DEFAULT
2001-12-12 07:59:31 +00:00
hewitt%netscape.com 68c6307cb9 114535 - crash setting !important on a -moz-image-region property, 114132 - rounded multi-level borders use wrong radii, r=ben, sr=hyatt 2001-12-11 11:11:09 +00:00
shanjian%netscape.com 6d466ab1bb #105199 glyph search order is NOT lang dependent
lang is mapped to CSS Display structure and apply to document using
CSS rule tree.
r=dbaron sr=attinasi
2001-12-11 04:12:34 +00:00
seawood%netscape.com 321acda7e6 Move inlined function nsCSSMargin::EnsureBorderColors() before the functions that use it in order to appease Sun's Workshop/Forte 6 compiler.
Fixing tinderbox bustage.
2001-12-06 10:10:15 +00:00
hyatt%netscape.com 1704f7364f Enhancements to CSS to enable multi-colored borders and painting of image subregions. 112988 and 112990. r=dbaron,hewitt for 112990, r=ben,hewitt for 112988 2001-12-05 08:35:05 +00:00
alecf%netscape.com b54ba5fc69 first part of fix for bug 112209, making nsStr private by switching nsStaticNameTable over to nsAFlatString. r=dbaron, sr=blake 2001-11-27 21:13:53 +00:00
jaggernaut%netscape.com 47f32d2efe Bug 53057: Fixing up users of implicit |CharT*| conversion operators for nsCString to use |.get()| instead, rr=dbaron, rs=scc 2001-10-27 06:44:19 +00:00
alecf%netscape.com fae57cdd66 other changes for bug 100214, r=jag, sr=scc
include nsUnicharUtils.h for useful stuf
2001-10-26 02:38:29 +00:00
dbaron%fas.harvard.edu f56bfe4127 Fix member initializer re-ordered warnings by re-ordering member initializers. r=jag rs=waterson b=105974 2001-10-25 03:21:53 +00:00
glazman%netscape.com 8ca86a0f51 STYLE attribute should not expand CSS shorthand property assignment to equivalent longhand assignments; b=18894, r=peterv, sr=attinasi 2001-10-24 08:08:30 +00:00
dougt%netscape.com 1f40b94136 Extraneous Symbol Removal. Patch by Jon Smirl jonsmirl@mediaone.net. r=dougt@netscape.com, sr=alecf@netscape.com. Bug 104172, 104316, 104420, 104426, 104461, 104511, 104527 2001-10-19 20:59:33 +00:00
dbaron%fas.harvard.edu 3dac3645cb Making debugging code be |#ifdef DEBUG|. b=91036 r=harishd sr=jst 2001-10-16 05:31:36 +00:00
dbaron%fas.harvard.edu 34fc404be7 Replace uses of overloaded |fputs| and most uses of |ns[C]String::ToCString|. b=104763 r=jag rs=scc 2001-10-16 03:53:44 +00:00
hewitt%netscape.com e7ad287a94 93519 - new box-ordinal-group xul layout feature, r=waterson, sr=hyatt 2001-09-25 22:17:00 +00:00
gerv%gerv.net 2b0c9d0438 License changes, take 2. Bug 98089. mozilla/content/. 2001-09-25 01:32:19 +00:00
rjesup%wgate.com 21a61a2079 Bug 94243: VoidArray usage patch. a=asa sr=brendan r=waterson r=bienvenu
r=pierre r=jband/dbradley  Also fixes some whitespace issues.
2001-08-27 06:15:54 +00:00
dbaron%fas.harvard.edu 716f9f4695 Replace uses of deprecated NS_IMPL_ISUPPORTS and NS_IMPL_QUERYINTERFACE macros with NS_IMPL_{ISUPPORTS,QUERYINTERFACE}{1,0}. r=jag rs=brendan b=45797 2001-08-21 01:48:11 +00:00
cls%seawood.org 8405a1984e Use NS_PTR_TO_INT32 macros to do 64-bit safe pointer conversions.
Bug #20860 r=Roland.Mainz@informatik.med.uni-giessen.de sr=brendan@mozilla.org
2001-08-14 07:59:59 +00:00
pierre%netscape.com 85948f26eb bug 94248: uninitialized variable in nsCSSUserInterface::mCursor. fix from rjesup@wgate.com, r=pierre 2001-08-08 04:21:53 +00:00
hyatt%netscape.com 9dc6c4c8cf Fix for 71471. r=blake, sr=hewitt 2001-08-02 00:09:27 +00:00
hyatt%netscape.com 2bf7260d28 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
hyatt%netscape.com 5a40dceb52 Fix for 70809. r=attinasi, sr=brendan 2001-03-06 02:30:30 +00:00
rods%netscape.com c81b2c3b26 removing most all NS_DEFINE_IID and replacing them with NS_GET_IID macros
Bug 61274, r=buster sr=waterson
2001-01-04 20:44:42 +00:00
warren%netscape.com 4189314fdb Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 6e35f97e31 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
jst%netscape.com b3a4ade60d DOM string changes. All nsString& in DOM interfaces (and interfaces needed by DOM implementations) have been changed to nsAReadableString& and nsAWritableString&. String implementation additions (sanctioned by scc) to support DOM needs. Bug 49091. r=vidur,jst,scc 2000-08-23 17:27:06 +00:00
waterson%netscape.com 0d55754a41 Bug 37853. Add MOZ_COUNT_[C|D]TOR calls to the objects allocated from nsCSSDeclaration. r=attinasi 2000-05-03 21:21:30 +00:00
pierre%netscape.com 112f226187 9876. Implemented CSSStyleDeclaration removeProperty. r=jst. 2000-04-28 08:35:40 +00:00
attinasi%netscape.com 527f6ebdd1 Removed warnings: very basic changes 2000-04-23 19:06:37 +00:00
scc%netscape.com c38395df69 making string conversions explicit 2000-04-15 21:18:29 +00:00
scc%netscape.com 927265130c making string conversions explicit 2000-04-15 20:15:37 +00:00
attinasi%netscape.com f435083f78 Implemented Style Size Dump. r=rickg b=26565 2000-03-31 07:08:36 +00:00
jim_nance%yahoo.com 005e33f06e Bug 33322 - Fix compiler warnings. Its been on n.p.m.builds for a few
days for module owners to comment on.  r=troy@netscape.com
2000-03-30 03:21:26 +00:00
hyatt%netscape.com aae4fc5434 Fix for 25883. 2000-02-01 00:20:26 +00:00
pierre%netscape.com 0d68374d75 Bug 24676 ("Need -moz-outline-radius feature"). Fixed the parsing of -moz-outline-radius. 2000-01-28 10:03:10 +00:00
pierre%netscape.com 8d74811b10 Bug 24676 ("Need -moz-outline-radius feature"). Added the 'outline_radius' similarly to the 'border_radius'. 2000-01-24 11:19:55 +00:00
hyatt%netscape.com 3d186ddce8 adding behavior property to CSS. r=brendan 2000-01-11 03:40:41 +00:00
pierre%netscape.com a725da285d 16381 "Need to be able to specify -moz-border-radius for each corner". Made changes in the following files in order to store the radius as a nsCSSRect and support 4 new -moz-border-radius properties (topLeft, topRight, bottomRight, bottomLeft): nsCSSDeclaration.cpp nsCSSParser.cpp nsCSSPropList.h nsCSSStyleRule.cpp nsICSSDeclaration.h nsIStyleContext.h nsStyleContext.cpp nsCSSRendering.cpp 1999-12-22 11:27:10 +00:00
dmose%mozilla.org 42fc94a6ec updated license boilerplate to xPL 1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:40:37 +00:00
kipp%netscape.com b9d4f1196a Zapped mCompatFloatMargin hack 1999-09-17 00:57:06 +00:00
kipp%netscape.com 2afe2536dd Added in mCompatFloaterMargin 1999-09-16 19:55:28 +00:00
peterl%netscape.com 4e57447468 tracking UI & forms proposal changes 1999-09-03 23:40:35 +00:00
peterl%netscape.com 7319d1bdca added experimental CSS3 properties 1999-07-24 19:04:42 +00:00
mcafee%netscape.com a08a1270ea GNU-class compilers are complaining about unhandled cases in all these switch statements, adding some default cases. 1999-07-20 10:10:12 +00:00
peterl%netscape.com 2f6adbf96c update to new property and keyword enums and apis 1999-07-18 00:25:28 +00:00
jdunn%netscape.com 75a7de9b5b fixing macro syntax. HP flagged the construct as an error. 1999-06-14 21:16:05 +00:00
peterl%netscape.com 294da6f59e added cloning 1999-06-03 01:58:11 +00:00
peterl%netscape.com 20883bb783 added -moz-border-radius 1999-04-03 03:15:01 +00:00
kipp%netscape.com 4a28dcfe2b fixed up operator new usage 1999-02-26 20:02:06 +00:00
kipp%netscape.com cfa5bbce41 Fixed remaining issues with operator new/delete 1999-02-26 19:26:29 +00:00
kipp%netscape.com 2aaefa469a Cleaned up operator new and delete 1999-02-26 17:13:10 +00:00
kipp%netscape.com 5a554d526e COMized nsIPresShell and nsIPresContext 1999-02-12 17:45:58 +00:00
peterl%netscape.com d46ab9ac1e added append struct value 1999-02-10 08:37:28 +00:00
peterl%netscape.com 62dde58889 better computation of style hint
Checkin during red tree approved by sar
1999-01-15 02:04:51 +00:00
peterl%netscape.com 7c8dc5d0fc added GetStyleImpact
cleaned up api
1999-01-06 01:25:39 +00:00
peterl%netscape.com 96a9c7b186 removed char* apis
fixed ! important property ordering
fixed CSSOM access to ! important properties
1998-11-06 00:56:28 +00:00
peterl%netscape.com 624446110a added CSS2 property handling 1998-10-26 23:22:40 +00:00
peterl%netscape.com 042308dc64 added CSS2 properties 1998-10-08 01:31:58 +00:00
troy%netscape.com 933dc19df8 Changed some code to use XPCOM ref counting related macros 1998-10-05 05:11:18 +00:00
peterl%netscape.com 0a14260f95 added get value as string 1998-09-30 01:08:59 +00:00
vidur%netscape.com c65c40efea Added new style interfaces. Implemented getStyle() on HTMLElement. Moved DOM fields into side struct for nsGenericHTMLElement. Implemented style declaration interface on proxy. Added new entry point to CSSParser and new methods to style declaration. 1998-09-25 00:51:45 +00:00
kipp%netscape.com c734b42d73 Improved list output for border/padding/margin 1998-09-23 02:34:21 +00:00
kipp%netscape.com 50abb37993 Fixed a bug with percent values being converted to strings 1998-09-10 23:42:18 +00:00
peterl%netscape.com 1114073cf0 added to string support 1998-09-10 01:19:26 +00:00
peterl%netscape.com 4d01ae8f02 rounding support 1998-07-31 23:34:45 +00:00
kostello%netscape.com a930953dfa 1) Move the CSS dependent methods out of nsDocument and placed them
in a new class nsMarkupDocument. The point of nsMarkupDocument is
to hold methods which are common to HTML and XML but not relevant
to the base nsDocument class.

2) Added Selection support methods for Rod.

3) Added LookupProperty to nsCSSProperty:
Given a property ID and Property Index returns back the string representation
of the property. This was need to convert CSSValues back to strings for saving.
TODO: Make sure that our URL Information stored in a CSSDeclaration contains
enough information to return it to it's original form on output.
1998-07-17 23:00:54 +00:00
peterl%netscape.com 1d53cc71ce added comment support 1998-07-17 05:50:35 +00:00
kostello 97e90b0639 Added XIF (XML Interchange Format) Support. XIF is designed
as an Netscape internal XML application. It is designed to
allow conversion from our content model to any output format --
most importantly to HTML 3.2 and HTML4.0 format.
1998-07-14 22:34:27 +00:00
peterl ba118571c6 added ! important support 1998-06-26 05:51:55 +00:00
kipp 26910a6705 Print out percentage values properly 1998-06-03 16:00:15 +00:00
kipp 8f988b8282 Added style support for the new css opacity property 1998-05-28 02:02:43 +00:00
peterl 22f5019124 moved attributes around 1998-05-26 23:16:55 +00:00
peterl 1cbc581d30 added new unit types, cleaned up api 1998-04-30 19:56:39 +00:00
kipp 4037b259df Normalize structure member names 1998-04-27 21:24:06 +00:00
kipp 7207ba993f Added support for more properties 1998-04-25 18:43:42 +00:00
peterl dc64321aa5 added ref counting debug code 1998-04-22 06:38:31 +00:00
kipp 4717009d75 moved to pub 1998-04-13 20:24:54 +00:00