Commit Graph
133 Commits
Author SHA1 Message Date
[email protected] f3eba60164 Remove parsing of play-during property, since we don't support it anyway and
it's gone from CSS2.1 and CSS3.  Bug 258079, r+sr=dbaron
2004-09-30 22:32:28 +00:00
[email protected] 4a5e8ac9f8 Fix build bustage. 2004-09-10 03:52:48 +00:00
[email protected] ccd5aa2f41 Add nsCSSValuePair type and use it for storage of some properties. Bug 208729,
r+sr=dbaron
2004-09-10 03:26:58 +00:00
[email protected] b98d4825a5 Fix serialization of declaration blocks containing 'overflow' and the bugs that causes. b=258300 r+sr=bzbarsky 2004-09-08 05:42:03 +00:00
[email protected] 9921526bf4 Land bug 72747 in pieces: Implement overflow-x and overflow-y. b=72747 r+sr=roc 2004-09-05 00:04:04 +00:00
[email protected] 0ee0dd0b76 Backout the CSS parts of bug 72747 to see if that fixes the Tp regression. 2004-08-26 22:35:38 +00:00
[email protected] f2ad5967af Implement 'overflow-x' and 'overflow-y' CSS properties, long implemented by IE for Windows and proposed for CSS3. Implement scrolling='yes' and equivalents on frame and iframe. Various pieces of related cleanup (see comment 22 in bug). b=72747 r+sr=roc 2004-08-26 17:11:20 +00:00
[email protected] d9edea9d71 Bug 226439. Convert codebase to use AppendLiteral/AssignLiteral/LowerCaseEqualsLiteral. r+sr=darin 2004-06-17 00:13:25 +00:00
[email protected] 6b0210f601 Bug 226439. Convert Seamonkey to EqualsLiteral. rs=darin 2004-05-22 22:15:22 +00:00
[email protected] cf0b0c064a Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-17 21:52:36 +00:00
[email protected] ba963c4d3e Load background images from style instead of from painting. This makes us
start loading the background images when we resolve style on an object that
needs them instead of when we scroll down and see it for the first time.  Bug
57607, r=pavlov, sr=dbaron
2004-03-09 03:57:51 +00:00
[email protected] 6da494261c Fix bogus assertion. r+sr=bryner 2004-03-09 00:52:54 +00:00
[email protected] fddfcf18c6 Improve serialization of new margin/padding properties (and fix CSS parsing errors). b=74880 r+sr=bzbarsky 2004-02-05 00:19:19 +00:00
[email protected] 34acfedef2 Implement -moz-margin-start, -moz-margin-end, -moz-padding-start, and -moz-padding-end and cascade them correctly. Use them in html.css to improve default styles for lists in RTL documents. b=74880 r+sr=bzbarsky 2004-02-04 06:10:56 +00:00
[email protected] a90ec6ff21 Eliminate nsIStyleSet as an XPCOM interface, making the implementation internal to layout. Frame constructor ownership moves to the pres shell, and the style set methods that forward to the frame constructor are gone. Rewrote style set sheet add/remove to reduce code size. For more details, see bug 64116. r+sr=dbaron. 2004-01-07 22:30:53 +00:00
[email protected] 4769adcb96 Fix serialization of inherit/initial nsCSSRect values. Bug 225841, r+sr=dbaron 2003-11-16 02:06:38 +00:00
[email protected] fe3c6a6211 Fix for bug 224231 (Need AppendASCIItoUTF16). r=jst, sr=dbaron. 2003-11-01 10:57:41 +00:00
[email protected] 328f7a89b1 Make play-during a true shorthand so it gets parsed correctly after the nsCSSDeclaration storage rewrite. b=223718 r+sr=bzbarsky 2003-10-30 01:51:00 +00:00
[email protected] bbd940533c Store the original string for URL values so that composer and CSSOM do not make relative URLs absolute. b=167262 r+sr=bzbarsky 2003-10-30 01:45:37 +00:00
[email protected] 157963efa9 Make URIs in the style system nsIURI pointers instead of strings. b=113173 r+sr=bzbarsky 2003-10-01 22:53:56 +00:00
[email protected] ef3dc598db Remove remaining user of CSS-property-based style hints. b=158713 r+sr=bzbarsky 2003-07-02 21:05:09 +00:00
[email protected] cb886e55cc 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
[email protected] 887906a883 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
[email protected] 4486f8d13d 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
[email protected] 627a38d0b9 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
[email protected] 6e090f3a8a Fix bugs with removal of certain properties. b=182294 r+sr=bzbarsky 2003-02-22 19:23:46 +00:00
[email protected] 834096485c Remove nsISizeOfHandler and associated SizeOf methods. b=106792 r=bzbarsky sr=jst 2003-02-22 15:34:38 +00:00
[email protected] 07f58f6d68 Output 'background-position' values in the correct order (X before Y)
bug 189629, r+sr=dbaron
2003-01-19 03:44:52 +00:00
[email protected] 1169b8baa0 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
[email protected] a286b2a9ae Fix for bug 183999 (Modernize content). r=caillon, sr=bz. 2002-12-11 14:24:49 +00:00
[email protected] 53113f8eee 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
[email protected] 4d74654cb3 CSS properties set to system colors were returning inconsistent values; b=172199, r=caillon, sr=peterv 2002-11-06 08:31:19 +00:00
[email protected] 0d9875f0a1 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
[email protected] 1043c715bf Bug 117500. Adding support for the CSS2Properties interface to computed style declarations.
r=dbaron sr=jst
2002-09-26 03:46:50 +00:00
[email protected] 458e434a36 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
[email protected] d5223f56a6 Fix bustage.... 2002-08-06 06:48:31 +00:00
[email protected] 6063d56719 Fix serialization of clip in .cssText. Bug 104321, r=glazman, sr=dbaron 2002-08-06 05:42:44 +00:00
[email protected] 3e001e6f50 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
[email protected] fff3bf6fe2 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
[email protected] 94410e9bc5 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
[email protected] 9dc6cc694e 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
[email protected] e2af76b8d5 fixing brad Tbox warning; b=142019, r=bzbarsky, sr=jst 2002-05-21 13:33:25 +00:00
[email protected] 0d6dfb902f 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
[email protected] 3041bde738 bug 133997 - Bernd's patch to fix compiler warnings. a=asa, sr=attinasi, r=karnaze. 2002-03-31 23:17:38 +00:00
[email protected] 14202ad249 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
[email protected] 6a73e05779 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
[email protected] 9a3780e93f 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
[email protected] c6c67e8228 fixing 152 compiler warnings (bug 126336). r=glazman, sr=ben. 2002-02-19 22:19:44 +00:00
[email protected] cfaa5e168a Make debugging |List| functions |#ifdef DEBUG|. b=122817 r=glazman sr=attinasi 2002-02-16 16:50:45 +00:00
[email protected] 0ca954f0d6 Relanding the Compare --> Equals conversion. a=mcafee 2002-02-10 15:49:46 +00:00