Josh Matthews
|
37d6567b57
|
Backed out changeset ec2ffd935bd9 a=test-bustage
|
2010-09-11 21:04:09 -04:00 |
|
Josh Matthews
|
3576dc896d
|
Bug 474356 - Add -moz-device-pixel-ratio media query. r=dbaron a=approval2.0
--HG--
extra : rebase_source : 1455dfbf13b66ac58cd2a66514c88adc76ff1a6c
|
2010-09-11 19:21:48 -04:00 |
|
L. David Baron
|
fa356d0a17
|
Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
|
2010-09-11 09:27:12 -07:00 |
|
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
|
e4c76eccb0
|
Bug 451134 (1/2): switch to the official border-radius property names: purely mechanical changes. r=dbaron a2.0=blocking2.0:beta6
This was generated with the command:
LC_ALL=C grep -irlEZe '[-_]moz[-_]border[-_]radius([-_](top|bottom)(right|left))?' * | xargs -0 perl -pi -e \
's/-moz-border-radius-(top|bottom)(left|right)/border-${1}-${2}-radius/gi;
s/_moz_border_radius_(top|bottom)Right/border_${1}_right_radius/g;
s/_moz_border_radius_(top|bottom)Left/border_${1}_left_radius/g;
s/-moz-border-radius/border-radius/gi;
s/_moz_border_radius/border_radius/g;'
|
2010-09-09 08:21:47 -07:00 |
|
L. David Baron
|
e06e2d58f5
|
Add calc() support for two properties I missed: outline-width and column-gap. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
|
2010-09-09 08:21:46 -07:00 |
|
L. David Baron
|
7a6fa51b18
|
Negative values for stroke-dasharray should be rejected. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
|
2010-09-09 08:21:46 -07:00 |
|
L. David Baron
|
8aaf22a0f4
|
Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
|
2010-09-09 08:21:45 -07:00 |
|
L. David Baron
|
26ed2a5639
|
Add support for calc() to 'vertical-align' and 'text-indent'. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
|
2010-08-31 12:05:12 -04:00 |
|
L. David Baron
|
ed01917887
|
Add support for calc() to the '{margin,padding}-{top,right,bottom,left}' and '-moz-margin-{start,end}' properties. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
|
2010-08-31 12:05:12 -04:00 |
|
Boris Zbarsky
|
90139f083f
|
Bug 589672 followup. Don't unget on code paths where it's already been handled for us. Fixes test orange. r+a=dbaron
|
2010-08-25 17:10:11 -04:00 |
|
Boris Zbarsky
|
341cd11eb6
|
Bug 589672. Parsing of malformed namespace rules can skip over too many tokens while recovering. r=dbaron, a=dbaron
|
2010-08-25 14:54:48 -04:00 |
|
L. David Baron
|
065207f2c7
|
Add support for calc() to the 'top', 'right', 'bottom', and 'left' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
|
2010-08-25 12:17:56 +02:00 |
|
L. David Baron
|
b99a005c4c
|
Add support for calc() to the 'min-width' and 'max-width' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
|
2010-08-25 12:17:56 +02:00 |
|
L. David Baron
|
091d6b7837
|
Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
|
2010-08-25 12:17:55 +02:00 |
|
Zack Weinberg
|
bd1cdb9ce4
|
Bug 576044 (10/12): Don't directly manipulate the contents of mTempData in the CSS parser. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:44 -04:00 |
|
Zack Weinberg
|
a589629d5e
|
Bug 576044 (9/12): Add an AddLonghandProperty method to nsCSSExpandedDataBlock. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:44 -04:00 |
|
Zack Weinberg
|
33b5fbfe1b
|
Bug 576044 (8/12): remove the last MoveValue call from the CSS parser. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:44 -04:00 |
|
Zack Weinberg
|
bc4afbe28a
|
Bug 576044 (6/12): remove vestiges of nsCSSType. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:44 -04:00 |
|
Zack Weinberg
|
a5a3802007
|
Bug 576044 (5/12): eliminate ValueList as a storage type. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:44 -04:00 |
|
Zack Weinberg
|
0251ba5a66
|
Bug 576044 (4/12): eliminate ValuePairList as a storage type. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:44 -04:00 |
|
Zack Weinberg
|
e0203804f9
|
Bug 576044 (3/12): eliminate Rect as a storage type. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:44 -04:00 |
|
Zack Weinberg
|
5922bd1bb5
|
Bug 576044 (2/12): eliminate ValuePair as a storage type. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:44 -04:00 |
|
Zack Weinberg
|
e93186d2e7
|
Bug 576044 (1/12): Move all the CSS 'storage types' (rect, value pair, etc) to nsCSSValue.h and their code to nsCSSValue.cpp. r=dbaron a2.0=dbaron
|
2010-08-19 15:33:43 -04:00 |
|
Robert O'Callahan
|
907d0109b7
|
Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron
|
2010-08-13 21:58:02 +12:00 |
|
L. David Baron
|
810d004cf3
|
Correct parenthesis-matching inside of :not(). (Bug 586070) r=bzbarsky a2.0=bsmedberg
|
2010-08-15 08:42:29 -04:00 |
|
Robert O'Callahan
|
f8dc984ede
|
Backing out bug 584282 and bug 537890
|
2010-08-14 02:35:06 +12:00 |
|
Markus Stange
|
3df2a2ce8e
|
Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron
|
2010-08-13 15:33:37 +02:00 |
|
L. David Baron
|
ee89e22866
|
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
|
2010-08-11 12:32:53 -07:00 |
|
L. David Baron
|
fe0508e3b2
|
Fix places where we should skip to a closing parenthesis during errors parsing functions. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
|
2010-08-11 12:32:52 -07:00 |
|
L. David Baron
|
248a3cdc5f
|
CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+
|
2010-08-11 12:32:52 -07:00 |
|
Kyle Huey
|
2a2801990e
|
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
|
2010-08-02 15:19:04 -07:00 |
|
Zack Weinberg
|
40a9b87efe
|
Bug 581579: fix error recovery in parsing of CSS priority suffix. r+a=dbaron
|
2010-08-04 12:27:05 -07:00 |
|
Zack Weinberg
|
b8130b3679
|
Bug 569719 part 15: Always copy the entire css::Declaration before changing it in any way. r=dbaron
|
2010-07-23 11:00:49 -07:00 |
|
Zack Weinberg
|
39c4539636
|
Bug 569719 part 13: move nsCSSParser methods that manipulate data blocks into the appropriate nsCSS*DataBlock classes. r=dbaron
|
2010-07-23 11:00:44 -07:00 |
|
Zack Weinberg
|
af2031e447
|
Bug 569719 part 12: replace nsCSSParser::ClearTempData with explicit use of mTempData.ClearProperty (and make that method handle shorthands). r=dbaron
|
2010-07-23 11:00:42 -07:00 |
|
Zack Weinberg
|
bfd2ecb93e
|
Bug 569719 part 11: take the fast path in ParseProperty for !important replacing !important, as well as normal replacing normal. r=dbaron
|
2010-07-23 11:00:39 -07:00 |
|
Zack Weinberg
|
604c8c3c12
|
Bug 569719 part 10: refactor parsing of !important and the end of a property declaration. r=dbaron
|
2010-07-23 11:00:37 -07:00 |
|
Zack Weinberg
|
6873de67ec
|
Bug 569719 part 9: remove return value from css::Declaration methods that always return NS_OK, and change GetCSSDeclaration to return a css::Declaration instead of an nsresult. r=dbaron
|
2010-07-23 11:00:34 -07:00 |
|
Zack Weinberg
|
a0acc46ce4
|
Bug 569719 part 5: in nsCSSValueList and nsCSSValuePairList, convert Equal() to operator==, and remove unnecessary argument from Clone(). r=dbaron
|
2010-07-23 11:00:24 -07:00 |
|
Zack Weinberg
|
b2480f1b17
|
Bug 569719 part 3: collapse nsDOMCSSDeclaration::ParseDeclaration into its sole caller (nsDOMCSSDeclaration::SetCSSText); remove always-constant flag arguments to nsCSSParser::ParseAndAppendDeclaration; rename that method to ParseDeclarations. r=dbaron
|
2010-07-23 11:00:19 -07:00 |
|
Robert O'Callahan
|
bd0e4c32ea
|
Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron
|
2010-08-13 21:58:02 +12:00 |
|
Kyle Huey
|
9c0bd4c0a5
|
Backed out changeset 9e87c3efc33b
|
2010-07-29 16:01:41 -07:00 |
|
Kyle Huey
|
17533df9bd
|
Bug 578714: Stop doing Unicode-aware case-folding inside layout/style. r=zwol sr=bz
--HG--
extra : rebase_source : 7d5f43bf8d7d109c9669db68589e26554df9a250
|
2010-07-29 12:41:04 -07:00 |
|
Zack Weinberg
|
76dbdde0f4
|
Bug 569719 part 2: Move headers for the former nsCSSLoader and nsCSSDeclaration into mozilla/css/. r=dbaron
--HG--
rename : layout/style/nsCSSDeclaration.cpp => layout/style/Declaration.cpp
rename : layout/style/nsCSSDeclaration.h => layout/style/Declaration.h
rename : layout/style/nsCSSLoader.cpp => layout/style/Loader.cpp
rename : layout/style/nsCSSLoader.h => layout/style/Loader.h
|
2010-06-28 15:49:35 -07:00 |
|
Zack Weinberg
|
9c006a4ff7
|
Bug 569719 part 1: Rename nsCSSDeclaration to mozilla::css::Declaration. r=dbaron
|
2010-06-28 15:49:35 -07:00 |
|
Craig Topper
|
dcd5047456
|
Bug 571946 - Let nsICSSRule::GetType return the type as a PRInt32 type instead of taking an outparam for that. r=bz
|
2010-07-18 16:39:20 +02:00 |
|
Jonathan Kew
|
1341e3f276
|
bug 511339 - part 1 - implement -moz-font-feature-settings and -moz-font-language-override in CSS. r=dbaron
|
2010-07-13 21:30:42 +01:00 |
|
L. David Baron
|
dde6ec680a
|
Add support for calc() expressions in translate functions of -moz-transform. (Bug 531344) r=bzbarsky
|
2010-07-02 21:18:56 -07:00 |
|
L. David Baron
|
3854183740
|
Allow CSS parser to forbid min()/max() within certain calc() expressions. (Bug 531344) r=bzbarsky
|
2010-07-02 21:18:56 -07:00 |
|
L. David Baron
|
fbac3bf4e7
|
Add additional template parameter expectations to ComputeCalc so that its input can be nsCSSValue or nsStyleCoord. (Bug 363249) r=bzbarsky
|
2010-07-02 21:18:55 -07:00 |
|
L. David Baron
|
9a129faa59
|
Rename -moz-background-size to background-size. (Bug 549809) r=roc
|
2010-06-08 18:44:33 -07:00 |
|
L. David Baron
|
dde8361307
|
Support for background-clip and background-origin in the background shorthand. (Bug 549809) r=roc
|
2010-06-08 18:44:33 -07:00 |
|
L. David Baron
|
934c377eda
|
Rename properties and values of background-clip and background-origin to match css3-background. (Bug 549809) r=roc
|
2010-06-08 18:44:33 -07:00 |
|
L. David Baron
|
4547409e45
|
Remove comments referencing no-longer-existing no-clip value for background-clip. (Bug 549809)
|
2010-06-08 18:44:32 -07:00 |
|
L. David Baron
|
308b0473d7
|
Add -moz-background-clip: content. (Bug 549809) r=roc
|
2010-06-08 18:44:32 -07:00 |
|
Mounir Lamouri
|
51117776b3
|
Bug 569337 - Fix compilation issues when SVG and SMIL are disabled. r=dbaron
|
2010-06-06 19:45:18 +02:00 |
|
L. David Baron
|
56ac47d825
|
Revert changes in 0ff87d9d2d73 (Bug 541434) and adjust tests appropriately. (Bug 569646) r=zwol
|
2010-06-03 13:11:35 -07:00 |
|
Craig Topper
|
2abf52364b
|
Bug 569181. nsCOMPtr<nsMediaList> should be nsRefPtr. r=dbaron
|
2010-06-01 11:50:10 +12:00 |
|
Craig Topper
|
3e0e604d67
|
Convert some callers of methods that changed from returning already_AddRefed<T> to returning T* away from using unneeded nsCOMPtrs. (Bug 239008) r=dbaron
|
2010-05-17 21:00:40 -07:00 |
|
Craig Topper
|
d02574b6b4
|
DeCOMtaminate nsIStyleSheet method signatures. (Bug 239008) r=dbaron
|
2010-05-12 13:18:47 -07:00 |
|
Craig Topper
|
35e0c06e8d
|
Inline a few methods in nsCSSStyleSheet. (Bug 239008) r=dbaron
|
2010-05-11 13:41:47 -07:00 |
|
Craig Topper
|
cb8187eff9
|
Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron
|
2010-05-11 13:41:47 -07:00 |
|
Craig Topper
|
da6721cdc6
|
DeCOMtaminate CSSStyleSheet method signatures. (Bug 239008) r=dbaron
|
2010-05-11 13:41:47 -07:00 |
|
L. David Baron
|
85e2b41165
|
Instantiate the calc ops struct rather than a nested data struct inside of it. (Bug 363249) r=bzbarsky
|
2010-05-11 08:49:44 -07:00 |
|
L. David Baron
|
0f80044b20
|
Add calc() support for 'font-size' property, which is the only property for which percents are computed to lengths in nsRuleNode. (Bug 363249) r=bzbarsky
|
2010-05-11 08:49:44 -07:00 |
|
L. David Baron
|
88044130de
|
Add calc() support for lengths in text-shadow and -moz-box-shadow. (Bug 363249) r=bzbarsky
|
2010-05-11 08:49:43 -07:00 |
|
L. David Baron
|
7af761111d
|
Add calc() support for the easiest cases: properties that take lengths but not percentages and take simple values only (-moz-column-rule-width, -moz-column-width, letter-spacing, word-spacing, marker-offset, outline-offset, border-spacing). (Bug 363249) r=bzbarsky
|
2010-05-11 08:49:43 -07:00 |
|
L. David Baron
|
3981df643f
|
Implement parsing of calc(). (Bug 363249) r=bzbarsky
|
2010-05-11 08:49:43 -07:00 |
|
L. David Baron
|
a681499b7e
|
Implement :-moz-any() selector to allow simplification of user-agent style sheets. (Bug 544834) r=bzbarsky
|
2010-04-23 19:59:47 -07:00 |
|
L. David Baron
|
a079319f37
|
Clean up SkipUntil handling in parsing of pseudo-classes with arguments. (I haven't found any cases where this actually changes behavior, but it's needed for the next patch.) (Bug 544834) r=bzbarsky
|
2010-04-23 19:59:47 -07:00 |
|
Zack Weinberg
|
2ec3bc6f42
|
Bug 556661: make nsDOMCSSDeclaration::SetProperty capable of removing !important. r=dbaron
|
2010-04-06 15:52:02 -07:00 |
|
Mats Palmgren
|
57a4d3a783
|
Bug 383488: don't accept trailing tokens in 'value' in style.setProperty(prop,value,"important"). r=dbaron
|
2010-04-01 23:07:40 -07:00 |
|
Zack Weinberg
|
fc83353867
|
Bug 508466 part 3: remove eSelectorParsingStatus_Empty. r=dbaron
|
2010-03-31 11:08:11 -07:00 |
|
Zack Weinberg
|
bd2acbcf31
|
Bug 508466 part 2: In a CSS selector group, use distinct mOperator codes for the descendant combinator (' ') and the end of the chain ('\0'). r=dbaron
|
2010-03-31 11:08:09 -07:00 |
|
Zack Weinberg
|
8ad7ae46d4
|
Bug 508466 part 1: Refactor nsCSSParser::ParseSelector and nsCSSParser::ParseSelectorGroup for clarity. r=dbaron
|
2010-03-31 11:08:08 -07:00 |
|
Daniel Glazman
|
15d5eeac70
|
:not() selector with no argument should be a parse error. (Bug 553805) r=dbaron
--HG--
extra : transplant_source : J%23a%3C%1EQ%13%F5%DBx%8E%83%A8%09%3A%E1%93t%AF%D2
|
2010-03-21 15:25:18 -04:00 |
|
Neil Deakin
|
4f0034acef
|
Bug 442228, add -moz-resize property to indicate that elements are resizable, r=dbaron
|
2010-03-19 07:49:33 -04:00 |
|
timeless@mozdev.org
|
247b83073d
|
Bug 550962 add coverity hint in CSSParserImpl to ignore return values from ParseEnum/ExpectSymbol
r=zwol
--HG--
extra : rebase_source : 5de1af8537fb0ab490cb51550029006e471cbe63
|
2010-03-12 07:50:10 +01:00 |
|
Zack Weinberg
|
11dc66e189
|
Part of bug 541496: Don't use the CSS parser's "low level" error flag to signal namespace lookup failure. r=bzbarsky
--HG--
extra : rebase_source : 7e844cd9061aedc36d0e58d699e0ba18ca34cc82
|
2010-03-05 10:43:50 -08:00 |
|
Zack Weinberg
|
2c3e543d1d
|
Bug 544112 part 2: DeCOMtaminate and devirtualize nsCSSLoader. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSLoader.h => layout/style/nsCSSLoader.h
|
2010-03-02 13:00:53 -08:00 |
|
Zack Weinberg
|
96887d3f38
|
Bug 523496: DeCOMtaminate nsCSSParser. r=bzbarsky sr=dbaron
--HG--
rename : layout/style/nsICSSParser.h => layout/style/nsCSSParser.h
|
2010-03-02 12:59:32 -08:00 |
|
L. David Baron
|
c3b73f1ff5
|
Make the 'border' shorthand reset -moz-border-image (per recent CSS WG decision) and -moz-border-*-colors. (Bug 482692) r=bzbarsky
|
2010-02-26 10:35:09 -08:00 |
|
Zack Weinberg
|
6eb316c6e1
|
Bug 498036: Report malformed URIs in @import rules to the error console, not by setting the parser's low-level error flag. r=bz
|
2010-02-17 13:02:56 -08:00 |
|
Jae-Seong Lee-Russo
|
513e9cf886
|
Bug 517553: Remove '=='/'!=' 'PR_FALSE'/'PR_TRUE'
|
2010-02-07 10:52:43 -05:00 |
|
Zack Weinberg
|
78db9dba3f
|
Bug 528096: unexpected-token error recovery paths in the CSS parser need to UngetToken() before calling SkipUntil(), for correct behavior when the unexpected token is ( [ { or FUNCTION. r=dbaron
|
2010-01-27 16:20:05 -08:00 |
|
Alfred Kayser
|
611bb071bf
|
Bug 399495: nsCSSScanner: absorb the '(' when returning a FUNCTION token. r=dbaron
|
2010-01-27 16:20:04 -08:00 |
|
L. David Baron
|
244a53d5bb
|
Fake pushback of invalid eCSSToken_URL results from NextURL. (Bug 541434) r=bzbarsky
|
2010-01-24 12:06:19 -08:00 |
|
Robert Longson
|
23ccf8ff6c
|
Bug 537609 - Change to SVG 1.2T stroke-dasharray parsing. r=dbaron
|
2010-01-06 08:51:45 +00:00 |
|
Boris Zbarsky
|
d01f0e2af4
|
Bug 525608 followup. Initialize the variable, and remove the extra branch. r=dbaron
|
2009-12-12 00:03:17 -08:00 |
|
L. David Baron
|
b192684621
|
Ensure that declarations are mutable before calling SlotForValue. (Bug 522595) r=bzbarsky
|
2009-12-11 08:13:19 -08:00 |
|
Boris Zbarsky
|
b10330e45f
|
Bug 525952 part 3. Introduce an enum for pseudo-clases. r=dbaron
|
2009-12-11 02:37:41 -05:00 |
|
Boris Zbarsky
|
6ae14f3465
|
Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron
|
2009-12-11 02:37:40 -05:00 |
|
Boris Zbarsky
|
e9f228c7d5
|
Backing out bug 525608 and bug 525952
|
2009-12-10 18:28:08 -08:00 |
|
Boris Zbarsky
|
c86ac3e140
|
Bug 525952 part 3. Introduce an enum for pseudo-clases. r=dbaron
|
2009-12-10 14:36:07 -08:00 |
|
Boris Zbarsky
|
d458769f84
|
Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron
|
2009-12-10 14:36:05 -08:00 |
|
L. David Baron
|
d2de4eeb32
|
Put the 'normal' values for 'font-weight' and 'font-stretch' into the keyword tables. (Bug 522320) r=dholbert
|
2009-11-14 19:16:59 -08:00 |
|
L. David Baron
|
194436e18a
|
Bug 526402: Stop accepting unitless 0 for angles, times, and frequencies. r=zwol
|
2009-11-04 18:36:18 -08:00 |
|
Zack Weinberg ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
|
dbd6355ce6
|
Bug 513395: Implement revised CSS gradient notation (1/2): parser and data structure changes
|
2009-11-02 11:36:43 -08:00 |
|
Boris Zbarsky
|
a15350e46e
|
Bug 524175. Compute weight correctly again for selectors involving pseudo-elements, and fail parsing selectors with more than one pseudo-element. r=zwol
|
2009-10-23 21:41:59 -04:00 |
|
Daniel Holbert
|
389de9359d
|
Bug 522320 bustage fix (handle 'normal' value for font-variant/font-style in two other places).
|
2009-10-21 17:05:07 -07:00 |
|