Ehsan Akhgari
9594af359b
Merge backout
2012-07-13 20:12:21 -04:00
Ehsan Akhgari
482e80d678
Backout changeset 4e1480ab5116, changeset 576f7d52de4b, and changeset 2a030d4733a0 (bug 773102) because of test failure
2012-07-13 20:12:02 -04:00
Boris Zbarsky
7cd2a35b7b
Bug 771594. Allow preference control over what CSS properties we parse. r=dbaron,dholbert
2012-07-13 19:59:05 -04:00
L. David Baron
91de1c5d43
Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky
2012-07-13 15:06:50 -07:00
L. David Baron
5c57879774
Rename VARIANT_POSITIVE_LENGTH to VARIANT_POSITIVE_DIMENSION since it also applies to times and frequencies. (Bug 773102, patch 1) r=bzbarsky
2012-07-13 15:06:50 -07:00
L. David Baron
76c0c51b3f
Add support for unprefixed calc(), and prefer serializing to unprefixed form. (Bug 771678) r=bzbarsky
...
This also converts all of the tests in layout/style/test/ to using
calc(), except that it duplicates all of the valid values and some of
the invalid values for 'width' and '-moz-column-rule-width' (which are
the two properties that intentionally have extensive calc() tests) in
property_database.js.
2012-07-13 15:06:50 -07:00
Aryeh Gregor
9522b62134
Bug 719054 - matrix() and matrix3d() with length units should be parse errors; r=dbaron
2012-02-13 11:29:30 -05:00
Emmanuele Bassi
82d892004e
Bug 762302 - Unprefix CSS Animation properties and @keyframes rule and provide temporary aliases for -moz-animation and exposed subproperties. r=dbaron
2012-07-08 21:25:10 -04:00
L. David Baron
c56a3ac62e
Implement dppx units [css3-images] for resolution media query. (Bug 741644) r=bzbarsky
2012-07-07 21:41:27 -07:00
Masatoshi Kimura
eb2dd03221
Bug 752187 - Part 9: Implement unprefixed radial-gradient parsing. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
cff81ab924
Bug 752187 - Part 8: Implement unprefixed linear-gradient parsing. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
b46ffb53c6
Bug 752187 - Part 7: Add aIsLegacy parameter to parsing functions. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
dbd00414b2
Bug 752187 - Part 6: Rename mIsToCorner to mIsLegacySyntax. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
f1974daa77
Bug 752187 - Part 5: Remove "to" corner parsing from ParseRadialGradient. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
a8f80c5ffb
Bug 752187 - Part 4: Remove aIsRadial parameter. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
fd4035d69b
Bug 752187 - Part 3: Separate linear gradient parsing and radial gradient parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
4b6e28edee
Bug 752187 - Part 2: Separate legacy gradient line parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
7f2012411a
Bug 752187 - Part 1: Separate color stops parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Daniel Holbert
3f1d242779
Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron
2012-07-06 17:06:23 -07:00
Boris Zbarsky
fda89340da
Bug 766798. Throw SYNTAX_ERR, not NAMESPACE_ERR, from querySelector(All) on unknown namespaces. r=dbaron
2012-06-22 16:18:50 -04:00
Ms2ger
02552d94c3
Bug 629882 - Support currentColor in the 2D canvas context; r=dbaron
...
This changes nsCSSParser::ParseColorString to fill in an nsCSSValue instead
of an nscolor, and exposes nsRuleNode::ComputeColor to turn this nsCSSValue
into an nscolor.
Because gradients can be used with different canvas elements in different
documents, these cannot pass useful values for nsRuleNode::ComputeColor's
aPresContext and aStyleContext arguments. This patch also changes SetColor
to deal with those parameters being null.
2012-06-06 09:36:38 +02:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Boris Zbarsky
5232d422f0
Bug 753397. Add a field to nsCSSPropList for a preference that controls the property. r=dbaron
...
The actual controlling is not hooked up yet; that will happen in bug 753522 for
the DOM reflections of properties.
2012-05-09 21:29:37 -04:00
Ms2ger
8a6d4090b9
Bug 745523 - Part a: prepare for unprefixing transforms by removing the prefix from internal APIs; r=dbaron
2012-05-05 11:00:04 +02:00
John Daggett
67617f9a5d
Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron
2012-04-26 15:24:26 +09:00
Boris Zbarsky
bc00bad8e7
Bug 748254. When we encounter an unexpected '}' terminating a font-face descriptor's value, correctly close the font-face rule instead of eating the rest of the stylesheet. r=dbaron
2012-04-26 00:42:00 -04:00
Robert Longson
3df528e688
Bug 746632 - If no fallback colour is specified we shouldn't draw anything when the URL fails to resolve. r=dbaron
2012-04-25 13:33:47 +01:00
Kang-Hao (Kenny) Lu
35ee49287f
Bug 744243 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron
2012-04-12 10:02:33 +02:00
Ms2ger
667a3a5740
Backout changeset 986091dac358 (bug 744234) for M4 oranges.
2012-04-11 12:30:11 +02:00
Kang-Hao (Kenny) Lu
590eb6dfb8
Bug 744234 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron
2012-04-11 00:28:01 -07:00
Aryeh Gregor
cde53b9a3d
Bug 734953 - Remove skew() transformation function; r=dbaron
2012-03-20 13:39:57 -04:00
Jacob Holzinger
bfaddb970e
Bug 696242 - Convert NS_RegisterStaticAtoms and nsCSSScanner::ReportUnexpectedParams to take an array-reference rather than a pointer and length, making it impossible to pass a pointer/length that are inconsistent. r=jwalden
2012-03-08 18:22:57 -08:00
Lazar Sumar
dab3e2b171
Bug 548375 - Implement css3-background background-repeat property two value syntax. r=dbaron
2012-02-24 21:23:14 -08:00
Zack Weinberg
cb5a4ee507
Bug 729142 - Convert layout/style to MOZ_STATIC_ASSERT. r=dbaron
2012-02-23 08:19:00 -08:00
Lazar Sumar
9ce1964cd3
Bug 522607 - New css3-background background-position syntax. r=dbaron
2012-02-20 13:14:42 +13:00
Aryeh Gregor
19f0356f74
Bug 721136 - transform property serialization doesn't normalize case; r=dbaron
2012-02-13 16:23:15 -05:00
Aryeh Gregor
cbeecd14b8
Bug 393910 - Serialize "0" as "0px" for lengths instead of "0pt"; r=dbaron
2012-02-14 10:54:08 -05:00
Boris Zbarsky
e59e8d9572
Bug 716628. Implement support for 'turn' unit in CSS. r=dbaron
2012-02-04 00:01:23 -05:00
Kyle Huey
f824ec7508
Bug 563318: Work around what appears to be a compiler bug. r=bz
2012-02-01 13:49:31 -05:00
L. David Baron
a21d295c87
Fix error report for unexpected character terminating style attribute. (Bug 720163) r=bzbarsky
2012-01-24 17:21:28 -08:00
William Chen
97a3dc759f
Bug 497995: Part 1 - Implement border-image revisions in latest css3-background spec. r=dbaron
2011-12-22 18:34:45 -05:00
Jet Villegas
66b31665b5
Bug 511909. Allow @-rules to nest when parsing CSS. In particular, allow them inside @media and @-moz-document. r=dbaron
2011-12-14 23:42:15 -05:00
Ali Juma
50ad438851
Bug 586863 - Eliminate #ifdef GFX_HAS_INVERT blocks since GFX_HAS_INVERT is never defined. r=dbaron
2011-12-09 14:18:05 -05:00
Mark Banner
e7e4bd8568
Bug 693949 - Drop nsCStringArray. r=bsmedberg
2011-10-28 08:35:45 +01:00
Jesse Ruderman
0908f338ec
Bug 675553 followup: remove tautologous assertions. r=ehsan
2011-10-24 16:21:09 -07:00
Masatoshi Kimura
ce2f103148
Bug 685400 - add "to" syntax and "magic corner" feature to CSS linear gradient. r=dbaron
2011-10-22 21:41:11 +02:00
Zack Weinberg
0bdf036262
Bug 659963: consistently use infallible malloc in the CSS parser. r=dbaron
2011-05-28 15:38:48 -07:00
Zack Weinberg
d9cb327746
Bug 543151 part 1: Remove stream-processing code from nsCSSScanner.cpp. r=dbaron
2011-05-18 10:33:16 -07:00
Simon Montagu
ad59178831
Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron
2011-10-18 14:51:57 +02:00
L. David Baron
93037cac25
Update to rules in current css3-mediaqueries spec for handling malformed media queries: all of the handling is now at the query level rather than the query list level. (Bug 689319) r=bzbarsky
2011-10-17 16:49:22 -04:00