1265611-1.html (1200B)
1 <!DOCTYPE html> 2 <!-- 3 NOTE: The comment below is no longer quite true - in particular, we've 4 removed the 'layout.css.prefixes.webkit' pref entirely, so this test doesn't 5 exercise the same codepath that it did when the below comment was written. We 6 might as well keep this crashtest, though, even if it traverses a different 7 codepath now. 8 --> 9 <!-- 10 This test relies on triggering a transition on the 'color' property which, 11 at least when this test was written, would trigger a transition on the 12 -webkit-text-fill-color property since its default value is 'currentcolor'. 13 14 However, in crashtests.list we turn off layout.css.prefixes.webkit so 15 we should not trigger a transition on -webkit-text-fill-color. 16 [Alert: This is no longer accurate, per NOTE above.] 17 18 This test exercises some code that, prior to this bug, would fail because we 19 would initially create the transition on -webkit-text-fill-color (because we 20 forgot to check if it was enabled or not) and then we would call other 21 methods that *do* check for the enabled-ness of the property leaving us 22 in an unexpected state. 23 --> 24 <body style="transition: all 4s" onload="document.body.style.color = 'green';"></body>