Scott Johnson
63993f05d9
Bug 764567: Implement column-fill part of CSS3 multicol spec, now with regression fixes [r=roc].
2012-07-31 11:21:19 -05:00
Aryeh Gregor
284a1fe866
Bug 734953 - Restore transform: skew() support; r=dbaron
2012-07-30 16:48:02 +03: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
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
461f51a68f
Require animation-duration and transtion-duration to be nonnegative at parse time. (Bug 773102, patch 3) r=bzbarsky
...
I believe there's some other code removal that can be done as a followup
to this patch, but that doesn't have to be done now.
2012-07-13 18:01:34 -07: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
L. David Baron
4a10b99da8
Require animation-duration and transtion-duration to be nonnegative at parse time. (Bug 773102, patch 3) r=bzbarsky
...
I believe there's some other code removal that can be done as a followup
to this patch, but that doesn't have to be done now.
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
0bfd16993e
Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron
2012-07-08 21:25:10 -04: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
Masatoshi Kimura
8fc4a02cfc
Bug 752187 - Tests. r=dbaron
...
--HG--
rename : layout/reftests/css-gradients/radial-onestopposition-1.html => layout/reftests/css-gradients/radial-onestopposition-1a.html
rename : layout/reftests/css-gradients/repeating-radial-onestopposition-1.html => layout/reftests/css-gradients/repeating-radial-onestopposition-1a.html
2012-07-07 10:27:10 -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
Daniel Holbert
131f2b5d0d
Bug 696253, patch 7: implement parsing/computation for CSS property 'flex-basis'. r=dbaron
2012-07-06 17:06:23 -07:00
Daniel Holbert
c7782ae98e
Bug 696253, patch 6: implement parsing/computation for CSS properties 'flex-grow' and 'flex-shrink'. r=dbaron
2012-07-06 17:06:22 -07:00
Daniel Holbert
0dd40b90f7
Bug 696253, patch 5: implement parsing/computation for CSS property 'align-self'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
85e8349a15
Bug 696253, patch 4: implement parsing/computation for CSS property 'align-items'. r=dbaron
2012-07-06 17:06:21 -07:00
Daniel Holbert
9e077e40c9
Bug 696253, patch 3: implement parsing/computation for CSS property 'flex-direction'. r=dbaron
2012-07-06 17:06:20 -07:00
Daniel Holbert
4fe6be60d1
Bug 696253, patch 2: implement parsing/computation for CSS property 'order'. r=dbaron
2012-07-06 17:06:19 -07:00
Daniel Holbert
e193caf93a
Bug 696253, patch 1: implement parsing/computation for CSS property 'justify-content'. r=dbaron
2012-07-06 17:06:19 -07:00
Ms2ger
b47d43e055
Bug 745523 - Part b: Unprefix transforms; r=dbaron
...
This patch introduces unprefixed 'transform', 'transform-origin', 'perspective',
'perspective-origin', 'transform-style' and 'backface-visibility' properties, and
updates the mochitests in layout/style to use them.
2012-07-02 08:23:54 +02:00
Daniel Holbert
0432772643
Bug 666041 patch 2: Add "-moz-flex" & "-moz-inline-flex" values for "display" property. r=bz
2012-06-26 15:11:38 -07:00
L. David Baron
b118cfe2c6
Implement new values of animation-direction. (Bug 655920) r=bzbarsky
2012-06-21 11:44:34 -07:00
Scott Johnson
f9c641e24b
Bug 733614: Backout changes from bug 695222 for mozilla 16 branch [r=dbaron].
2012-06-13 11:00:56 -05:00
Daniel Holbert
ebdb5c86fb
Bug 763689: Add "auto" keyword for min-height and min-width, which for now just computes to 0. r=bz
2012-06-12 10:48:20 -07:00
L. David Baron
4c91539c7a
Unprefix the border-image-* properties and add a temporary alias for -moz-border-image (but not for its subproperties, which we haven't shipped prefixed). (Bug 713643, patch 5) r=bzbarsky
2012-05-30 22:19:49 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Robert Longson
8953e7caaf
Bug 528332 - Implement non-scaling-stroke vector-effect. Part 1 - style system changes r=dbaron
2012-05-18 09:33:40 +01:00
Makoto Kato
e70f17856c
Bug 249159 - Part 2 Implement CSS3 Text word-break property. r=dbaron, smontagu
2012-05-07 12:18:23 -07:00
John Daggett
112cffe3b1
Bug 718539. Update layout/style tests for new font-feature-settings syntax. r=dbaron
2012-04-26 15:24:54 +09: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
Kang-Hao (Kenny) Lu
8ed69c9ee3
Bug 744234 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron
2012-04-11 00:28:01 -07:00
Aryeh Gregor
83ed67bd84
Bug 734953 - Remove skew() transformation function; r=dbaron
2012-03-20 13:39:57 -04:00
Lazar Sumar
c285af6984
Bug 548375 - Add tests for background-repeat taking two values (css3-background). r=dbaron
2012-02-24 21:23:14 -08:00
William Chen
4a16132bcb
Bug 522607 - Tests for new css3-background background-position syntax. r=dbaron
2012-02-20 12:16:11 +13:00
Aryeh Gregor
695167de58
Bug 725036 - 'perspective' property doesn't reject negative numbers r=matt.woodrow
2012-02-07 14:43:28 -05:00
Aryeh Gregor
6a0beebc50
Bug 715946 - Don't return percentages for computed value of transform-origin/perspective-origin. r=bz
2012-02-07 15:40:02 -05:00
Boris Zbarsky
e0c4316236
Bug 716628. Implement support for 'turn' unit in CSS. r=dbaron
2012-02-04 00:01:23 -05:00
Simon Montagu
a05832e834
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 19:52:21 +02:00
Ed Morley
afde8417a5
Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange
2012-01-12 15:33:00 +00:00
Simon Montagu
ad89de3591
Implement text-align-last. Bug 536557, r=dbaron
2012-01-12 16:29:20 +02:00
Scott Johnson
1575ebf83f
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-25 23:25:59 -06:00
William Chen
d4fa3e33b1
Bug 497995: Part 2 - Update existing border-image tests. r=dbaron
...
--HG--
extra : rebase_source : b9fb3987c8540457fa1f7b3e27420f208207a9c0
2011-12-22 18:34:53 -05:00
Scott Johnson
aef90f0f50
Backout changeset 93f523345fb6.
2011-12-20 00:01:32 -06:00
Scott Johnson
35fbd86079
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 23:11:54 -06:00
Scott Johnson
578a640a52
Backed out changeset 74555805376d
2011-12-19 23:08:52 -06:00
Scott Johnson
d6fe638038
Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron
2011-12-19 22:25:19 -06:00
L. David Baron
59c0a28be1
Add support for -moz-text-size-adjust CSS property. (Bug 627842, patch 1) r=bzbarsky
...
This property is analogous to the -webkit-text-size-adjust property (and
*maybe* also the -ms-text-size-adjust property). It allows pages to opt
out of text size adjustments performed on mobile devices by specifying
-moz-text-size-adjust: none.
2011-11-23 18:48:23 -08:00
Masatoshi Kimura
270439fd7b
Bug 685400 - add "to" syntax and "magic corner" feature to CSS linear gradient. r=dbaron
...
--HG--
rename : layout/reftests/css-gradients/linear-ref.html => layout/reftests/css-gradients/linear-1-ref.html
rename : layout/reftests/css-gradients/linear.html => layout/reftests/css-gradients/linear-1b.html
rename : layout/reftests/css-gradients/linear-diagonal-1-ref.html => layout/reftests/css-gradients/linear-diagonal-1c.html
rename : layout/reftests/css-gradients/linear-diagonal-2-ref.html => layout/reftests/css-gradients/linear-diagonal-2c.html
rename : layout/reftests/css-gradients/linear-diagonal-3-ref.html => layout/reftests/css-gradients/linear-diagonal-3c.html
rename : layout/reftests/css-gradients/linear-diagonal-4-ref.html => layout/reftests/css-gradients/linear-diagonal-4c.html
rename : layout/reftests/css-gradients/linear-keywords-ref.html => layout/reftests/css-gradients/linear-keywords-1-ref.html
rename : layout/reftests/css-gradients/linear-keywords.html => layout/reftests/css-gradients/linear-keywords-1b.html
2011-10-22 21:41:11 +02:00
Jesse Ruderman
b9769b6f68
Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron
2011-10-21 21:03:16 -07:00
Simon Montagu
738e432597
Support for unicode-bidi: -moz-isolate and -moz-plaintext in style system. Bug 613149, r=dbaron
2011-10-18 14:51:57 +02:00
Mats Palmgren
9fc0be400e
Bug 684266 - Do ellipsing on the end-edge only when a single value was specified for text-overflow. r=bzbarsky r=roc
2011-10-12 18:20:46 +02:00
Matt Woodrow
5c34b707d7
Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc
2011-09-30 14:39:40 +13:00
Matt Woodrow
bbeb8ef9e1
Bug 505115 - Part 19 - Make the matrix*() transform function handles both length and number values. r=dbaron
2011-09-27 10:54:30 +13:00
Matt Woodrow
52b4490152
Bug 677173 - Remove 3D transforms IDL properties because they are disabled. r=dbaron
2011-09-01 11:35:10 +12:00
Matt Woodrow
6be6f0f332
Bug 505115 - Part 17 - Add style tests for the new transform functions, and transitions. r=dbaron
2011-08-31 14:03:47 +12:00
Matt Woodrow
b98fe1bd08
Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron
2011-08-27 12:01:06 +12:00
Michael Ventnor
0523fe3efe
Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron
2011-08-23 14:18:22 +10:00
Mats Palmgren
beabba5960
Bug 677582 - Implement CSS3 text-overflow: <left> <right> in the style system. r=dbaron
2011-08-20 22:41:39 +02:00
Matt Woodrow
b84eabcf4a
Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron
2011-08-03 15:04:24 +12:00
Matt Woodrow
7a41f6a8a2
Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Matt Woodrow
b4bfd8dd6a
Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron
2011-08-03 15:04:22 +12:00
Mats Palmgren
8506a31912
Bug 312156 - Implement CSS3 text-overflow. r=dbaron
2011-06-22 20:11:47 +02:00
L. David Baron
33189ba795
Allow -moz-box-ordinal-group: 0 (but not negatives, since we store the value as PRUint32). (Bug 644514) r=bzbarsky
2011-06-12 18:52:32 -07:00
Boris Zbarsky
d709058f42
Bug 660398. Speed up test_value_cloning. r=dbaron
...
The fundamental change is that instead of using 3000+ separate documents to test this we use one big document with distinct IDs for all the tests.
2011-06-01 13:19:16 -04:00
Boris Zbarsky
95558bbf2b
Bug 647885 part 1. Keep better track of whether our computed background-position was specified with percentages. r=dbaron
2011-05-23 16:36:18 -04:00
Mounir Lamouri
d58b2950df
Bug 655065 - Add a -moz-orient CSS property. r=bz
2011-05-10 15:47:46 +02:00
L. David Baron
9d0767783c
-moz-animation-play-state should not be part of the -moz-animation shorthand. (Bug 654890) r=bzbarsky
2011-05-09 15:02:35 -04:00
Jonathan Kew
83cedda246
bug 655198 - don't parse 'all' as a value for -moz-hyphens. r=dbaron
2011-05-07 16:01:01 +01:00
Jonathan Kew
88c9ed0c0c
bug 253317 - part 1 - implement -moz-hyphens property in CSS. r=dbaron
2011-05-04 12:14:50 +01:00
Masayuki Nakano
1adf21f3e7
Bug 647421 -moz-text-decoration-color and -moz-text-decoration-style should be reset by text-decoration r=dbaron, sr=bzbarsky
2011-04-23 14:16:41 +09:00
L. David Baron
72447213b1
Remove parsing and storage code for CSS 2.0 aural properties. (Bug 649119) r=bzbarsky
2011-04-21 20:17:32 -07:00
L. David Baron
fa6f166e61
Implement parsing and computation for the new properties in css3-animation. (Bug 435442, patch 1) r=bzbarsky
2011-04-11 23:18:42 -07:00
L. David Baron
7bee896472
Implement step-start, step-end, and steps() timing functions. (Bug 435442, patch 0) r=bzbarsky
2011-04-11 23:18:42 -07:00
Masayuki Nakano
4ac1042cce
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
L. David Baron
2f73995ced
Fix keyword table entries in nsCSSPropList and code in nsRuleNode to match those used in the parser. (Bug 636029) r=bzbarsky
2011-03-05 09:58:33 -08:00
L. David Baron
f2adcfab27
-moz-box-ordinal-group should not accept 0, since the code that uses the property ignores values of 0. (Bug 636034) r=bzbarsky
2011-03-03 13:18:42 -08:00
L. David Baron
639cdb33d9
Correct handling of unitless zero in calc() expressions. (Bug 595648) r=bzbarsky a=blocking2.0:betaN+
...
This ensures that we treat a unitless zero as a number rather than a
length inside of calc() expressions. This causes both the acceptance of
previously-rejected expressions (such as -moz-calc(0 * 1em)) and the
rejection of previously-accepted ones (such as -moz-calc(0 + 1em)).
2010-12-30 12:59:33 -05:00
L. David Baron
c64142dd70
In contexts where the CSS parser accepts numbers and lengths, treat unitless zero as a number rather than a length. (Bug 595648) r=bzbarsky,dholbert a=blocking2.0:betaN+
...
This patch has the side-effect of changing the representation of '0'
values in properties added by SVG to use the number representation
rather than the length representation. This requires marking the
stroke-dashoffset:0 test in test_value_computation.html as known to
fail, since computed style code now returns 0 rather than 0px, and also
requires changing some inputs and results in some SMIL tests (which
seems like it's showing a bug that we can't interpolate between
equivalent values when we ought to be able to do so).
2010-12-30 12:59:33 -05:00
L. David Baron
1ee276beab
Remove comment that I forgot to remove in the previous patch (which fixed the issue it was pointing out). (Bug 617372) a2.0=tests
2010-12-16 08:53:17 -08:00
L. David Baron
3a0e6c6e3f
Make style system mochitests handle cases where initial font family is sans-serif. (Bug 617372) a2.0=tests
2010-12-09 20:38:53 -08:00
L. David Baron
a31dcce1eb
Remove support (style system only) for 'wider' and 'narrower' values of 'font-stretch'. (Bug 604816) r=jdaggett a2.0=joedrew
2010-11-10 07:49:52 -08:00
L. David Baron
d4d2946639
Support calc() on background-position, background-size, -moz-transform-origin, and background-image gradient stop positions. (Bug 594934) r=bzbarsky a=blocking2.0:betaN
...
(Note: this also depends on the change to nsStyleAnimation.cpp's StyleCoordToValue in bug 520234 and on other changes in that bug.)
2010-09-15 08:11:26 -07:00
L. David Baron
e031591955
Rename -moz-box-shadow to box-shadow: manual changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-11 09:27:13 -07:00
L. David Baron
f4c51b73b2
Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
...
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron
8e923adf2c
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
51f4d1b92d
Bug 451134 (2/2): switch to the official border-radius property names: by-hand changes. r=dbaron a2.0=blocking2.0:beta6
2010-09-09 08:21:48 -07:00
Zack Weinberg ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
8537cb241d
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
9ca64d5905
Add an invalid-value test for text-shadow that we already have for -moz-box-shadow. a2.0=tests
2010-09-09 08:21:46 -07:00
L. David Baron
e82fb6cb2f
Fix missing computation half of calc() for border-*-width. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
d282153a9d
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
7a0e99bcfb
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
99e16ca9a9
Fix places where I missed clamping negative calc() to 0. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
2842b50861
Fix missing frame in style system mochitests. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6
2010-09-09 08:21:46 -07:00
L. David Baron
b157c42495
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