Bug 1265611 - Crashtest; r=heycam

I have verified that without the fix in the first patch in this series this
test fails, but passes with the fix applied.

MozReview-Commit-ID: JmncnapbVLa
This commit is contained in:
Brian Birtles 2016-04-21 17:05:46 +09:00
parent 99ba8fd7de
commit 135b397103
2 changed files with 19 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<!--
This test relies on triggering a transition on the 'color' property which,
at least when this test was written, would trigger a transition on the
-webkit-text-fill-color property since its default value is 'currentcolor'.
However, in crashtests.list we turn off layout.css.prefixes.webkit so
we should not trigger a transition on -webkit-test-fill-color.
This test exercises some code that, prior to this bug, would fail because we
would initially create the transition on -webkit-test-fill-color (because we
forgot to check if it was enabled or not) and then we would call other
methods that *do* check for the enabled-ness of the property leaving us
in an unexpected state.
-->
<body style="transition: all 4s" onload="document.body.style.color = 'green';"></body>

View File

@ -139,6 +139,9 @@ load 1238660-1.html
load 1245260-1.html
load 1247865-1.html
load 1264396-1.html
# The following test relies on -webkit-text-fill-color being behind the
# layout.css.prefixes.webkit pref
pref(layout.css.prefixes.webkit,false) load 1265611-1.html
load border-image-visited-link.html
load font-face-truncated-src.html
load large_border_image_width.html