Commit Graph

560 Commits

Author SHA1 Message Date
L. David Baron
72a98d0e57 Make min-/max- prefixed media features without values be parse errors, per http://lists.w3.org/Archives/Public/www-style/2008Sep/0002.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
L. David Baron
f30e355ea8 Update to new parsing rules for grid media query per http://lists.w3.org/Archives/Public/www-style/2008Aug/0191.html . (Bug 453759) r+sr=bzbarsky 2008-09-06 07:04:28 -07:00
Robert Longson
a4b69c881c bug 302971 - Scientific notation in stroke-width doesnt work r+sr=dbaron 2008-08-12 15:02:22 +01:00
Zack Weinberg
0a5cf75ce3 Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-10 22:13:49 +01:00
Dave Townsend
43f67d5e38 Backed out Bug 441469 due to Tp regressions 2008-08-10 00:07:59 +01:00
Zack Weinberg
08508030ed Bug 441469. Implement parsing of @font-face rules. r+sr=dbaron 2008-08-07 19:15:40 -04:00
L. David Baron
87ecbe4d19 Merge Quotes and CounterData storage types into ValuePairList. (Bug 322475) r+sr=bzbarsky 2008-08-04 15:15:11 -07:00
L. David Baron
d750af652b Fold DoParseMediaList into ParseMediaList, since it is no longer necessary now that we don't do special parsing for media lists in HTML. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:49 -07:00
L. David Baron
a13a81bdf9 Implement Media Queries. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
L. David Baron
8ab893f636 Make ParsePositiveVariant restrict integers too, which affects existing call for -moz-column-count. (Bug 156716) r=bzbarsky sr=roc 2008-07-26 09:14:48 -07:00
L. David Baron
9d34c2491d Don't do special parsing for media lists in HTML: match parentheses, even across commas, and allow media queries through. (Bug 156716) r+sr=bzbarsky 2008-07-26 09:14:48 -07:00
Simon Montagu
b43986ba75 Support for word-wrap CSS property. Bug 99457, r+sr=dbaron, roc 2008-07-24 10:16:18 +03:00
Boris Zbarsky
1715267a4e Bug 416317. Implement querySelector(All) API. r=dbaron, sr=jst 2008-07-21 17:55:52 -07:00
Zack Weinberg
7e98ddabde Change CSS parser to close constructs open at end-of-file by changing ExpectSymbol not to fail on EOF when expecting one of }, ), ], or ;. (Bug 325064) r+sr=dbaron 2008-07-19 15:52:09 -07:00
Michael Ventnor
eef84f4a47 Bug 271586 – Implement CSS3 column-rule-*. r+sr=roc,dbaron 2008-07-19 12:38:25 +02:00
Andrew Smith
925ffa073b Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 23:30:25 -07:00
L. David Baron
f51a50d4ed Backed out changeset 9b0b2391485c due to linker errors related to nsStyleStructInlines.h not being included enough. 2008-07-16 22:59:14 -07:00
Andrew Smith
97a13b7ef1 Implement css3 border-image property. (Bug 378217) r=vlad,dbaron,robarnold 2008-07-16 22:18:38 -07:00
Martijn Wargers [mw22]
937c6a9361 Bug 441703 - "direction attribute of marquee should be case-insensitive (for selector matching)" [r+sr=dbaron] 2008-07-12 05:30:39 -05:00
Michael Ventnor
7b71f03ac0 Bug 212633 - "Add support for CSS3 box-shadow" (parsing support) [p=ventnor.bugzilla@gmail.com (Michael Ventnor) r+sr=dbaron] 2008-07-07 19:56:52 -05:00
Daniel Holbert
f827507e7f comment-only typo fix: delcaration -> declaration 2008-07-03 14:28:39 -07:00
Vladimir Vukicevic
2c744deeed b=346189, children should optionally not affect size of XUL stack; r+sr=roc 2008-06-04 23:46:24 -07:00
L. David Baron
79fb0318ac Allow the initial value of -moz-user-select to be specified with 'auto'. b=432888 r+sr=bzbarsky 2008-06-03 15:25:31 -07:00
Daniel Glazman
02d99ce919 Implement :nth-child(), :nth-last-child(), :nth-of-type(), :nth-last-of-type(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
140422fa4f Make nsPseudoClassList capable of storing integer pairs for :nth-*(). b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
L. David Baron
fb349fe126 Rename nsAtomStringList to nsPseudoClassList, since that's what it's for, and we want to make it more than just atoms and strings. Also remove an unused constructor. b=75375 r+sr=bzbarsky 2008-06-02 20:17:35 -07:00
1c65821da4 Bug 413632: Remove the remaining MOZ_CAIRO_GFX (and related variables). Full patch except configure.in change. r/sr=dbaron, r=vlad, a=beltzner 2008-02-21 00:37:27 -08:00
130f691b19 Avoid divide by zero and make negative values for -moz-column-gap/width invalid. b=416088 r+sr=roc a=mtschrep 2008-02-16 20:45:58 -08:00
b1fcb76646 Change the nsICSSParser::Parse() API so that we don't hand out a stylesheet; require a stylesheet to be set before calling Parse(). Bug 404315, r+sr=dbaron, a=beltzner 2008-02-14 20:21:57 -08:00
0053c6850f Make CSS namespace identifiers case sensitive to match change in spec. b=416106 r+sr=bzbarsky a=schrep 2008-02-08 11:57:22 -08:00
fa0251bc13 Fix serialization of currentColor for some properties. b=414550 r+sr=bzbarsky a=schrep 2008-02-08 11:51:41 -08:00
36e749a35a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
fd3e382209 backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
c325f84c55 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
799d022a5d Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
f3fa2e6e76 bug 384612: Remove script from scrollbar XBL binding. r/sr=dbaron 2007-11-19 12:08:20 -08:00
676f997747 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
de87b25769 Bug 394844 - "nsCSSParser.cpp: aSkipWS parameter of ExpectEndProperty and GetURLToken can be removed as it is always PR_TRUE" [p=alfredkayser@nl.ibm.com (Alfred Kayser) r+sr+a1.9=dbaron] 2007-10-08 16:17:14 -07:00
8150d8687c Bug 393757 - Don't report CSS style errors for identifiers designated as vendor-specific by the CSS spec. This means we won't report errors for things like _width or for any of the -khtml-, -webkit-, -o-, -ms-, etc. properties, cutting down on error console spam a touch. r+sr+a=dbaron 2007-10-03 21:58:27 -07:00
66dd9ee350 Bug 389685 - "Empty style attribute generates strange css warning" [p=elif (sharparrow1) r+sr+a1.9=dbaron] 2007-10-03 20:20:36 -07:00
6fe858ab8a Fix leak of nsCSSValueList. b=397149 r+sr=bzbarsky a=roc 2007-09-27 09:28:14 -07:00
483647c0e8 Fix up whitespace issue from checking in -w patch. No code change. Bug 390318 2007-08-10 15:17:20 -07:00
8371990c44 Fix EOF handling after an !important. Bug 390318, r+sr+a=dbaron 2007-08-02 14:20:11 -07:00
170c24997f Bug 383184 - Implement SVG lighting filters.
Style portion r+sr=dbaron, rest r=longsonr, sr=roc.
2007-07-25 23:57:42 -07:00
5af34128ec Implement -moz-initial for almost all remaining properties. b=80887 r+sr=bzbarsky 2007-07-24 08:27:11 -07:00
8176579106 Have the rule take ownership of the parsed selector when we're done parsing it
instead of cloning the selector.  Bug 386123, r+sr=dbaron
2007-07-23 18:48:10 -07:00
e5f55db470 Bug 364680. Intrinsic widths for columns. r+sr=dbaron 2007-07-19 19:21:43 -07:00
df021fa8e7 Don't check for namespaced attributes when checking which attributes have case-insensitive values. b=387615 r+sr=bzbarsky 2007-07-11 15:24:19 -07:00
1dcf504767 Reverse the list of which HTML attributes have case-sensitive values for the CSS attribute selector (i.e., list the ones whose values are case-insensitive instead, so new attributes are case sensitive by default). b=357614 Patch by Niels Leenheer (rakaz) <niels.leenheer@gmail.com>. r+sr=dbaron 2007-07-10 16:23:05 -07:00
98de634631 Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00