Commit Graph

655 Commits

Author SHA1 Message Date
Simon Montagu
467078ba53 Modifications to the tests for default bidi css properties from Webkit. Bug 706194, r=dbaron, a=tests-only 2012-04-23 11:49:15 +03:00
Simon Montagu
9a71f9d9c2 Modifications to the tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc 2012-04-23 11:48:33 +03:00
Simon Montagu
3e1cc7f4ba Tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc 2012-04-23 11:48:33 +03:00
Ed Morley
016cbaabf9 Backout ef43fa1005b7, af0733d23b87 & d8d124d2a76c (bug 706194) for compilation failures a=backout 2012-04-23 10:29:11 +01:00
Simon Montagu
b7730919da Modifications to the tests for default bidi css properties from Webkit. Bug 706194, r=dbaron, a=tests-only 2012-04-23 11:49:15 +03:00
Simon Montagu
de94082db1 Modifications to the tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc 2012-04-23 11:48:33 +03:00
Simon Montagu
57ce3c2c0b Tests for unicode-bidi: isolate and plaintext from Webkit. Bug 706194, r=roc 2012-04-23 11:48:33 +03:00
Kang-Hao (Kenny) Lu
ab9651aad2 Bug 744243 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron 2012-04-12 10:02:33 +02:00
Ms2ger
4178f3e8ca Backout changeset 986091dac358 (bug 744234) for M4 oranges. 2012-04-11 12:30:11 +02:00
Kang-Hao (Kenny) Lu
cd9174d6e0 Bug 744234 - Forbid odd trailing slash in CSS 'border-image' property. r=dbaron 2012-04-11 00:28:01 -07:00
L. David Baron
2d10b191d5 Change css3-animations behavior for repeated keys in an @keyframes rule: do replacement on a per-property basis. (Bug 738003) r=bzbarsky
This implements my proposal in
http://lists.w3.org/Archives/Public/www-style/2011Apr/0381.html and
http://lists.w3.org/Archives/Public/www-style/2011Apr/0387.html .  I
think it was a serious mistake to implement what the spec says, and I'm
fixing that mistake so that we have a chance to change the spec.

In other words, when an @keyframes rule has two key selectors at the
same time, the later one no longer overrides the entirety of the earlier
one.  The overriding is done for each property that's in the later rule.
(And the -moz-animation-timing-function is taken only from the keyframe
actually used for the given property; if there's no declaration there
then the computed value of the property is used.)

The test for @keyframes cascade fails without the patch; the test for
@keyframes cascade2 tests behavior that works both before and after the
patch.
2012-03-21 22:10:02 -07:00
Aryeh Gregor
38268f4f4e Bug 734953 - Remove skew() transformation function; r=dbaron 2012-03-20 13:39:57 -04:00
L. David Baron
10d96c7e70 Hold on to MediaQueryList objects that have listeners so that notification doesn't depend on GC timing. (Bug 716751) r=bzbarsky
Note:  This also fixes a crash (when notifications happen) from
calling mql.addListeners(null).

This also fixes test_media_query_list.html so that the initial set of
tests doesn't keep running through the later tests.

The test for the null-dereference has been confirmed to crash without
the patch and pass with the patch.

The test for the gc issue has been confirmed to fail without the patch
and pass with the patch.
2012-02-29 20:47:55 -08:00
Lazar Sumar
e95d85b3d7 Bug 548375 - Add tests for background-repeat taking two values (css3-background). r=dbaron 2012-02-24 21:23:14 -08:00
William Chen
556f9b36ce Bug 522607 - Tests for new css3-background background-position syntax. r=dbaron 2012-02-20 12:16:11 +13:00
Jonathan Watt
b84e0cbe12 Bug 416581, part 2 - Pay attention to the 'lang' attribute when fetching the user's font prefs for the CSS cascade. r=dbaron. 2012-01-25 23:52:26 +00:00
Aryeh Gregor
77160ffd5a Bug 655478 - CSSStyleDeclaration.setProperty shouldn't require the third parameter to be set; r=bzbarsky
--HG--
extra : rebase_source : 131b879a0190c1979ee563cc102b5a548bf6986d
2012-02-15 16:31:40 -05:00
Aryeh Gregor
cd491d4c50 Bug 721136 - transform property serialization doesn't normalize case; r=dbaron 2012-02-13 16:23:15 -05:00
Aryeh Gregor
a4fd88b30a Bug 393910 - Serialize "0" as "0px" for lengths instead of "0pt"; r=dbaron 2012-02-14 10:54:08 -05:00
Aryeh Gregor
b65988ddb6 Bug 719446 - getComputedStyle().MozTransform shouldn't have "px" in it; r=roc 2012-02-10 21:04:59 +00:00
Aryeh Gregor
a428c3bcb7 Bug 725036 - 'perspective' property doesn't reject negative numbers r=matt.woodrow 2012-02-07 14:43:28 -05:00
Aryeh Gregor
5eefad615c 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
a9e9757504 Bug 716628. Implement support for 'turn' unit in CSS. r=dbaron 2012-02-04 00:01:23 -05:00
Jonathan Watt
3980655759 Bug 701060 - Fix race condition with pref observers causing test orange. r=ehsan. 2012-01-27 22:16:44 +00:00
Simon Montagu
3ca7ecdbcb Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 19:52:21 +02:00
Ed Morley
2099bb7e42 Backout 6605cc311ec5 & 9217303c2e5c (bug 536557) for M4 orange 2012-01-12 15:33:00 +00:00
Simon Montagu
dec2df3fe1 Implement text-align-last. Bug 536557, r=dbaron 2012-01-12 16:29:20 +02:00
Boris Zbarsky
3a9aebd6af Bug 716226. When using insertRule on a keyframes rule, set up the child keyframe rule correctly. r=dbaron 2012-01-11 14:36:43 -05:00
Scott Johnson
31e988481d Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-25 23:25:59 -06:00
William Chen
338f4b29ba 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
485a62e28c Backout changeset 93f523345fb6. 2011-12-20 00:01:32 -06:00
Scott Johnson
9a5c2bc549 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 23:11:54 -06:00
Scott Johnson
d02cda6d85 Backed out changeset 74555805376d 2011-12-19 23:08:52 -06:00
Scott Johnson
5493265dc2 Bug 695222 - Implement column-fill part of CSS3 multicol spec. r=roc,dbaron 2011-12-19 22:25:19 -06:00
Jet Villegas
8338fabe0c 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
Daniel Holbert
d58ddb26bd Bug 698967: Fix "lengths" typo in test-descriptions for integer-valued properties in test_transitions_per_property.html. r=dbaron DONTBUILD 2011-12-06 18:49:15 -08:00
Masatoshi Kimura
69770c4327 Bug 627885 - Reduce test_value_cloning test output, r=dbaron 2011-10-30 00:55:00 -07:00
L. David Baron
f34af4cd8d 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
Ed Morley
7bc582f20f Backout 4997c6f8b24d (bug 616542) for causing locally run mochitest-browser-chrome test runs to fail 2011-11-05 18:35:59 +00:00
Rail Aliiev
8a56fd9db2 Bug 616542 - Shorten file path length of mochitest; r=ted 2011-11-04 21:13:42 +00:00
Phil Ringnalda
4286df62ee Bug 663378 - Define runTest() before the iframe that calls it onload in test_acid3_test46.html, and waitForExplicitFinish, r=dbaron 2011-10-21 23:30:56 -07:00
Daniel Holbert
b6321600f2 Bug 641731 tests: reftests for :visited status in image documents. r=dbaron 2011-10-29 02:44:27 -07:00
Boris Zbarsky
dcc04dfdae Bug 667576. Handle visited colors correctly in MathML. r=dbaron 2011-10-29 03:04:20 -04:00
Daniel Holbert
5675a6d0da Bug 696188 followup: Add assertions and functional test for transitioning away from a transform-list. r=bz 2011-10-27 15:58:05 -07:00
Masatoshi Kimura
92268e6353 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
06c313d290 Bug 696266 - Add some values to layout/style/test/property_database.js. r=dbaron 2011-10-21 21:03:16 -07:00
Simon Montagu
5aadea5d7b 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
b543b55998 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
--HG--
extra : transplant_source : %A1MKm%89%0D%F3%02%0E%1A%16o%97%11%5C%C9%8Ci%1Dk
2011-10-17 16:49:22 -04:00
Mats Palmgren
9b7d613762 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
Joel Maher
066569ae74 Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm 2011-10-06 10:51:03 -04:00
Joel Maher
be5ce7dc85 Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-10-06 10:51:03 -04:00
Matt Woodrow
bc10d9cf93 Bug 505115 - Part 21 - Enable 3D transforms by default. r=roc 2011-09-30 14:39:40 +13:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Matt Woodrow
fbf0bfdb94 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
5e8876e4df Bug 505115 - Part 16 - Implement transitions/animations for 3d transforms. r=dbaron, derf 2011-09-27 10:53:33 +13:00
Boris Zbarsky
f022a015e7 Bug 185236 part 5. Fire load and error events on stylesheet linking elements. r=peterv 2011-09-26 17:27:13 -04:00
L. David Baron
5bf7407d8d Add mochitest for bug 686656. r=bzbarsky 2011-09-20 23:52:46 -04:00
Matt Woodrow
2d0f18b12d Bug 677173 - Remove 3D transforms IDL properties because they are disabled. r=dbaron 2011-09-01 11:35:10 +12:00
Matt Woodrow
c7faf71265 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
312e8b4031 Bug 505115 - Part 14a - Add -moz-transform-style css property. r=dbaron 2011-08-27 12:01:06 +12:00
Matt Brubeck
fc19fcb962 Back out 14463b9d2d14 and 97d43d93ab55 (Bug 621363 and Bug 676274) because of mochitest-browser-chrome leaks 2011-08-26 15:28:28 -07:00
Joel Maher
14f70709fc Bug 621363 - SpecialPowers ipc setter code does not receive new value locally until next event loop run. r=jdm,cjones 2011-08-26 15:47:34 -04:00
Joel Maher
43d4ca55ac Bug 676274 - refactor specialpowers so we can use the api in mochitest-chrome without specialpowers. r=ted, a=test-only. 2011-08-26 15:47:18 -04:00
Michael Ventnor
8af7fc4898 Bug 446569 - Implement prefixed CSS3 columns shorthand r=dbaron 2011-08-23 14:18:22 +10:00
Mats Palmgren
5862475346 Bug 677582 - Implement CSS3 text-overflow: <left> <right> in the style system. r=dbaron 2011-08-20 22:41:39 +02:00
Markus Stange
076571f0ef Bug 679717 - Add "mac-lion-theme" system metric in order to allow for Lion-specific CSS rules without the need for per-file manifest overrides. r=dbaron 2011-08-18 10:40:27 +02:00
Marco Bonardo
4817019a06 Backout changeset 0c4897315acc (Bug 446569) since it may have caused the m4 permaorange. 2011-08-17 16:45:02 +02:00
Michael Ventnor
a3c3f7a72f Bug 446569 - Implement prefixed CSS3 columns rule r=dbaron 2011-08-17 22:47:43 +10:00
L. David Baron
219025b071 Make nsRuleNode's use of font metrics for ch and ex units pass the correct language. (Bug 678671, patch 3) r=roc
This makes these users (which are exceptions within layout, although
low-level enough that it won't matter for font inflation work) call
through to GetMetricsFor explicitly with the correct language, rather
than using the broken nsPresContext::GetMetricsFor and its
charset-detected language.

This improves the correctness of our behavior for 'ch' and 'ex' CSS
units when the font selection (or defaults) are language-dependent.  It
should also reduce the number of unique sets of font metrics requested
(which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Malini Das
960a7c7495 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- new tests. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
a0832b693a Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- plain tests 2/2. r=jmaher, a=test-only 2011-08-12 12:21:44 -04:00
Malini Das
da32b5cbd3 Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- update tests. r=jmaher, a=test-only 2011-08-12 12:21:37 -04:00
Malini Das
e306b1b5aa Bug 367393 - Add a packed MochiKit that contains only SimpleTest dependencies- chrome. r=jmaher, a=test-only 2011-08-12 12:21:36 -04:00
L. David Baron
345ff7596e Media queries spec defines <resolution> values as allowing <number>, not just <integer>. (Bug 677642) r=bzbarsky 2011-08-11 14:25:13 -07:00
Boris Zbarsky
d5c5425937 Bug 645998. Improve the recursion detection in the CSS loader to detect mutual recursion scenarios. r=sicking 2011-08-07 22:23:51 -04:00
Martijn Wargers
f52fae3f77 Bug 675711 - test_computed_style.html fails partly on Fennec because of lack of scrollbars. r=dbaron, a=test-only 2011-08-04 14:10:27 -04:00
Honza Bambas
de967ceeda Bug 675616 - Change usage of localhost:8888 to mochi.test:8888 in test_css_cross_domain.html, r=zwol 2011-08-03 23:36:49 +02:00
Matt Woodrow
f015e13bb5 Bug 505115 - Part 12a - Implement -moz-perspective-origin style property. r=dbaron 2011-08-03 15:04:24 +12:00
Matt Woodrow
fe4345bd93 Bug 505115 - Part 10 - Implement the backface-visibility CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
7b27325b26 Bug 505115 - Part 9 - Implement the perspective() transform function and the perspective CSS property. r=dbaron 2011-08-03 15:04:22 +12:00
Matt Woodrow
f00688318f Bug 505115 - Part 3 - Convert nsStyleTransformMatrix to be backed by a 4x4 matrix. r=dbaron 2011-07-23 10:28:07 +12:00
Joel Maher
c3a05191bb Bug 666649 - remove enablePrivilege from various places in the harness and chrome tests. r=ted, a=test-only 2011-07-21 16:21:25 -04:00
arno renevier
40edc8feb0 Bug 664955 - "ASSERTION: parser should have rejected negative length". r=bz 2011-07-04 20:13:20 +02:00
L. David Baron
c09bb2ecf4 Remove NS_STYLE_LIST_STYLE_OLD_* constants to fix computed list-style-type style resulting from type attribute on lists. (Bug 665857) r=bzbarsky 2011-06-29 14:39:21 -07:00
Boris Zbarsky
55542a66a8 Bug 667520. Fix nth index cache to work correctly when nth-child selectors are only applied to some elements of a child list. r=dbaron 2011-06-28 11:19:18 -04:00
Mats Palmgren
64fe4b087b Bug 312156 - Implement CSS3 text-overflow. r=dbaron 2011-06-22 20:11:47 +02:00
Matheus Kerschbaum ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
6469811981 Bug 664924 - Remove MOZ_CSS_ANIMATIONS ifdefs. r=dbaron 2011-06-20 16:47:09 -07:00
L. David Baron
56b624a007 Add test for rule serialization to catch any bugs in DocumentRule::GetCssText that are like the bug in the DEBUG-only DocumentRule::List in the initial patch for bug 398962. 2011-06-12 18:52:32 -07:00
L. David Baron
39ebbd3c69 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
bc2ade9532 Add test for bug 200089. 2011-06-07 12:35:17 -07:00
Boris Zbarsky
26e17bd22d 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
Ed Morley
9e71e5b9ac Bug 614515 - Remove MOZ_SVG conditions. r=roc 2011-05-30 09:34:50 +02:00
Daniel Holbert
8556ef49be Bug 659466: Fix remaining data URI "#" --> "%23" conversions in testcases. r=bz 2011-05-26 01:20:08 -07:00
Daniel Holbert
639c0e7b79 Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz 2011-05-24 17:39:57 +02:00
Mounir Lamouri
e97a7a4ee5 Back out bug 658949 because of perma orange on Windows Reftests. 2011-05-24 15:36:32 +02:00
Daniel Holbert
2d246fbdb2 Bug 658949 patch 0: Fix existing tests that use "#" in data URIs to use %23 instead. rs=bz 2011-05-24 03:36:31 -07:00
Boris Zbarsky
c9cdbb76ff Bug 647885 part 2. Keep better track of whether our computed background-size was specified with percentages. r=dbaron a=sheriff 2011-05-23 16:36:18 -04:00
Boris Zbarsky
27927f6eb3 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
Dave Townsend
146777d0fd Backing out bug 647885 due to mochitest oranges. a=backout 2011-05-23 15:52:50 -07:00
Boris Zbarsky
f2f06e377d Bug 647885 part 2. Keep better track of whether our computed background-size was specified with percentages. r=dbaron 2011-05-23 16:36:18 -04:00