Commit Graph

375 Commits

Author SHA1 Message Date
L. David Baron
63c334d06c Switch test_transitions_per_property to testing interpolation 1/4 of the way through instead of 1/2, so it will catch getting the halves backwards. 2010-06-26 11:58:06 -07:00
Boris Zbarsky
7f14719c4d Bug 573241. When reparenting a style context, don't include any transition rules the old context might have had in the new one, since that can confuse transitions. r=dbaron 2010-06-23 00:46:27 -04:00
L. David Baron
6c86828ec0 Add test for bug 573255.
--HG--
extra : transplant_source : Y%E3o%C5%F1H8t%AF%3E%1Cu%5B%EA%E0%2B%27%08%EA%C2
2010-06-19 14:11:20 -07:00
Justin Wood
7eb105907c Bug 568733 - patch for mobile specific browser-chrome tests breaks seamonkey. r=ted
pending-feedback=jmaher

Also RE-enables browser-mochitests for docshell.
2010-06-09 19:29:44 -04:00
L. David Baron
a4220ff996 Fix alphabetization of renamed properties in property_database.js. (Bug 549809) 2010-06-08 18:44:33 -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
308b0473d7 Add -moz-background-clip: content. (Bug 549809) r=roc 2010-06-08 18:44:32 -07:00
Joel Maher
c18ae0e88f Bug 535922 - Genereate mobile specific browser chrome test package files r=ted 2010-05-27 13:01:37 -07:00
L. David Baron
a464130609 Additional restyling is needed for :empty + E and :empty ~ E selectors. (Bug 534804) r=bzbarsky 2010-05-14 22:01:45 -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
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
669adf681d Fix property alphabetization errors in property_database.js. 2010-05-11 08:49:43 -07:00
Henri Sivonen
21b290df61 Make test_acid3_test46.html wait for onload. (orange fix) 2010-04-28 16:21:07 +03:00
L. David Baron
3bf47e289d Make the test not fail when the transition has completed already but the event hasn't fired yet. (Bug 537573) a=philor for APPROVAL REQUIRED 2010-04-23 19:59:48 -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
fa91f902a2 Make test_selectors continue when a parsing test fails. 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
L. David Baron
3b67d5db4a Make the reset test in test_transitions.html deal with the possibility of massive skew between setTimeout and the clock. (Bug 539904) 2010-04-07 12:06:15 -07:00
L. David Baron
df8e44cdd9 When setTimeout fires much later than it should, which happens on unit test boxes a good bit, make test_transitions_events.html report a todo rather than a fail. (Bug 537573) 2010-04-06 22:50:06 -07:00
L. David Baron
9dc08b1cf0 Use the appropriate color based on visitedness for '-moz-column-rule-color'. (Bug 557580) r=roc 2010-04-06 19:03:12 -07:00
L. David Baron
d923cbe90a Make nsStyleAnimation extract -moz-column-rule-color correctly. (Bug 557580) r=dholbert 2010-04-06 19:03:12 -07:00
Zack Weinberg
3fc693ef33 Bug 556661 bustage fix: test_priority_preservation.html updated to new semantics, augmented with further tests 2010-04-06 17:55:57 -07:00
L. David Baron
1a2961ba01 Avoid showing black when the if-visited style is transparent and the unvisited style is a color. (Bug 557584) r=bzbarsky 2010-04-06 15:32:52 -07:00
L. David Baron
430750684a Add test for background image loading behavior for :visited links. (Bug 557287) 2010-04-06 12:42:41 -07:00
L. David Baron
9b9ef4a6b9 Make pseudo-classes-02 run using test_visited_reftests.html instead of the normal reftest harness. (Bug 147777) r=jwatt 2010-04-02 18:58:27 -07:00
L. David Baron
1141b26829 Add mochitests for getComputedStyle and querySelector(All) lying about :visited selectors. (Bug 147777) 2010-04-02 18:58:27 -07:00
L. David Baron
d93ae3417f Add reftests for :visited handling in layout/reftests/css-visited/ and make them run through the mochitest harness (via layout/style/test/test_visited_reftests.html) rather than the reftest harness. (Bug 147777) 2010-04-02 18:58:27 -07:00
L. David Baron
c6cfc1d0a4 Fix existing tests to deal with getComputedStyle lying about :link vs. :visited. (Bug 147777) r=sdwilsh 2010-04-02 18:58:25 -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
Markus Stange
5fb3e948bb Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01: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
Markus Stange
4a997d3554 Backed out changeset e17c076aceea, bug 508482 (:-moz-window-inactive pseudoclass) because of test_righttoleft.xul test failures. 2010-03-17 20:03:53 +01:00
Markus Stange
f1f3037861 Bug 508482 - Window activation status should be a pseudoclass (:-moz-window-inactive) instead of an attribute. r=dbaron, r+sr=jst 2010-03-17 18:10:57 +01:00
L. David Baron
cd9171b59e Add additional diagnostic output for diagnosing intermittent failure bug 537573. 2010-03-16 16:04:20 -07:00
Joel Maher
d050afae06 Bug 544097 Chaning mochitests to run against mochi.test instead of localhost r=ted, waldo, dwitte p=jmaher. Landed on CLOSED TREE 2010-03-12 13:53:36 -08:00
Brad Lassey
bb55fe310f backing out changesets e939397fc6a5, 88529662c474 and 3d7c54b194bb due to random hangs in pgo tests 2010-03-09 22:33:11 -05:00
Joel Maher
aef3dc32c3 Bug 544097 changing mochitests to use mochi.test instead of localhost for windows mobile refactoring p=jmaher, r=ted,dwitte, sayrer, waldo, ctalbert 2010-03-09 08:55:39 -08:00
Henri Sivonen
337c239b98 Bug 546641 - Remove trailing 
 from attribute value in test_parse_rule.html. r=roc.
--HG--
extra : rebase_source : 90abdd78f47d2b30d5e3fc2147b6d130fa61dc23
2010-03-09 15:03:29 +02:00
Kyle Huey
1d0289c601 Backed out changeset 8ce70abd7777 2010-03-09 01:14:21 -05:00
Joel Maher
cee9b522a0 Bug 544097 Change mochitests to use mochi.test instead of localhost for mobile refactoring p=jmaher r=ted,dwitte,sayrer 2010-03-08 19:21:33 -08:00
Clint Talbert
7ffd9496bc Backed out changeset b4372055f473 -- due to unexplained orange on OS X Leak test (Bd) box 2010-03-07 17:34:23 -08:00
Joel Maher
ef6c5fda3d Bug 544097 - Change mochitests to use mochi.test instead of localhost for mobile test refactoring p=jmaher, r=sayrer,dwitte 2010-03-07 16:08:05 -08:00
Mark Banner
c54d4b13fb Bug 549860 Fix non-libxul build bustage from bug 544112. r=ted over irc 2010-03-03 12:21:23 +00: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
1e69ee7cc3 Bug 544112 part 1: Make speculative and chrome style sheet loads go through the document object. Rearrange some C++ unit tests so they'll still link after part 2. r=bzbarsky sr=dbaron
--HG--
rename : layout/html/tests/ParseCSS.cpp => layout/style/test/ParseCSS.cpp
rename : layout/html/tests/TestCSSPropertyLookup.cpp => layout/style/test/TestCSSPropertyLookup.cpp
2010-03-02 13:00:39 -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