Aryeh Gregor
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Simon Montagu
7b0bd7bf8b
Bug 562169. Add support for :dir(ltr/rtl) CSS selector, layout/style part, r=bz
2012-08-09 20:37:58 -07:00
Matt Brubeck
3cfaa1db23
Back out bug 562169 because of Dromaeo DOM regressions
...
Backed out changeset 841cd6e1e585 (bug 562169)
Backed out changeset e226e413dd27 (bug 562169)
Backed out changeset 9c24b7287c5b (bug 562169)
2012-08-08 08:14:48 -07:00
Simon Montagu
aed3f621eb
Add support for :dir(ltr/rtl) CSS selector, layout/style part. Bug 562159, r=bz
2012-08-07 21:44:24 -07:00
Simon Montagu
5d272daa1b
Implement the new CSS property value unicode-bidi: isolate-override. Bug 774335, r=dbaron
2012-08-07 01:42:46 -07:00
Cameron McCormack
f33969b29e
Bug 780337 - @supports rule should not parse if property value is empty. r=dbaron
2012-08-04 17:07:03 +10:00
Cameron McCormack
1528758ac5
Bug 649740 - Implement @supports. r=dbaron,bz
2012-08-02 10:32:12 +10:00
Aryeh Gregor
284a1fe866
Bug 734953 - Restore transform: skew() support; r=dbaron
2012-07-30 16:48:02 +03:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
David Zbarsky
71ad884431
Bug 773500 Part 1:Store z-component of transform-origin as 0 rather than null when it is omitted. r=dbaron
2012-07-21 19:48:19 -04:00
L. David Baron
1035bd9ac6
Disable the unitless length quirk inside of calc(). (Bug 774122, patch 3) r=bzbarsky
...
I noticed this bug because the new assertions in ParseVariant,
introduced in the previous patch, are stricter and would assert without
this fix.
2012-07-16 09:11:33 -04:00
L. David Baron
3547cf232d
Limit the unitless length quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-unitless-length-quirk . (Bug 774122, patch 2) r=bzbarsky
2012-07-16 09:11:33 -04:00
L. David Baron
a9208a1f33
Limit the hashless color quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-hashless-hex-color-quirk . (Bug 774122, patch 1) r=bzbarsky
...
This changes test_property_syntax_errors.html in the following ways:
(1) removes the "known failures" handling, since there aren't any
(2) changes it to test syntax errors in both quirks mode and standards
mode, instead of only in standards mode
(3) uses a (new) quirks_values mechanism to property_database.js to
test cases that should be invalid in standards mode but accepted in
quirks mode
2012-07-16 09:11:33 -04:00
Gavin Sharp
83a09297e1
Backed out changeset ac282e15dc02 (bug 774122)
2012-07-16 01:04:31 -07:00
Gavin Sharp
98c4ef5d6b
Backed out changeset e3007422b989 (bug 774122)
2012-07-16 01:04:29 -07:00
Gavin Sharp
baaeab14a2
Backed out changeset 64ff8c2d37f9 (bug 774122)
2012-07-16 01:04:27 -07:00
L. David Baron
a6e6996629
Disable the unitless length quirk inside of calc(). (Bug 774122, patch 3) r=bzbarsky
...
I noticed this bug because the new assertions in ParseVariant,
introduced in the previous patch, are stricter and would assert without
this fix.
2012-07-16 01:10:06 -04:00
L. David Baron
0437cc109d
Limit the unitless length quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-unitless-length-quirk . (Bug 774122, patch 2) r=bzbarsky
2012-07-16 01:10:06 -04:00
L. David Baron
95c5727047
Limit the hashless color quirk to the properties where it's needed, per http://simon.html5.org/specs/quirks-mode#the-hashless-hex-color-quirk . (Bug 774122, patch 1) r=bzbarsky
...
This changes test_property_syntax_errors.html in the following ways:
(1) removes the "known failures" handling, since there aren't any
(2) changes it to test syntax errors in both quirks mode and standards
mode, instead of only in standards mode
(3) uses a (new) quirks_values mechanism to property_database.js to
test cases that should be invalid in standards mode but accepted in
quirks mode
2012-07-16 01:10:06 -04:00
L. David Baron
1405c24d0f
Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky
2012-07-13 18:01:34 -07:00
L. David Baron
4e05bcf328
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 18:01:34 -07:00
Ehsan Akhgari
d39a53a02a
Merge backout
2012-07-13 20:12:21 -04:00
Ehsan Akhgari
9999b284f0
Backout changeset 4e1480ab5116, changeset 576f7d52de4b, and changeset 2a030d4733a0 (bug 773102) because of test failure
2012-07-13 20:12:02 -04:00
Boris Zbarsky
496f1a1325
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
2296f8a8cc
Add VARIANT_NONNEGATIVE_DIMENSION. (Bug 773102, patch 2) r=bzbarsky
2012-07-13 15:06:50 -07:00
L. David Baron
b03cc425f6
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
db7d82c836
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
c62c7edaec
Bug 719054 - matrix() and matrix3d() with length units should be parse errors; r=dbaron
2012-02-13 11:29:30 -05:00
Emmanuele Bassi
4b04164545
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
88843c851b
Implement dppx units [css3-images] for resolution media query. (Bug 741644) r=bzbarsky
2012-07-07 21:41:27 -07:00
Masatoshi Kimura
2a19870d92
Bug 752187 - Part 9: Implement unprefixed radial-gradient parsing. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
6eab3cff50
Bug 752187 - Part 8: Implement unprefixed linear-gradient parsing. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
b27adf13d6
Bug 752187 - Part 7: Add aIsLegacy parameter to parsing functions. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
63ae4a505b
Bug 752187 - Part 6: Rename mIsToCorner to mIsLegacySyntax. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
efb32159fe
Bug 752187 - Part 5: Remove "to" corner parsing from ParseRadialGradient. r=dbaron
2012-07-07 10:27:08 -04:00
Masatoshi Kimura
50849b0c34
Bug 752187 - Part 4: Remove aIsRadial parameter. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
5a7d5c802c
Bug 752187 - Part 3: Separate linear gradient parsing and radial gradient parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
dae5f81a1a
Bug 752187 - Part 2: Separate legacy gradient line parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Masatoshi Kimura
813653738b
Bug 752187 - Part 1: Separate color stops parsing. r=dbaron
2012-07-07 10:27:07 -04:00
Daniel Holbert
7321212d1b
Bug 696253, patch 8: implement parsing/computation for CSS shorthand property 'flex'. r=dbaron
2012-07-06 17:06:23 -07:00
Boris Zbarsky
4214241dca
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
b9cdb58b83
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
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Boris Zbarsky
c8acd24873
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
b849fe0a6c
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
4984947d00
Bug 718539. Update font-feature-settings to latest spec syntax. r=dbaron
2012-04-26 15:24:26 +09:00
Boris Zbarsky
b38f6768b1
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
502eb38ee2
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
22649062f0
Bug 744243 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron
2012-04-12 10:02:33 +02:00
Ms2ger
e6649652ce
Backout changeset 986091dac358 (bug 744234) for M4 oranges.
2012-04-11 12:30:11 +02:00