Bug 1331291 followup 2 - Fix the test added in the bug and enable it.

MozReview-Commit-ID: C2b1drumzu1

--HG--
extra : source : c5a45ec261a374a7f31b5ae7e99dafcc7e15db35
extra : amend_source : 279f938a40d47b3f201af77d6ec718c7cb90256a
This commit is contained in:
Xidorn Quan 2017-06-13 16:42:39 +10:00
parent 9ced384db5
commit fda5fd5ffa
2 changed files with 4 additions and 7 deletions

View File

@ -1,12 +1,9 @@
<!DOCTYPE html>
<html class="reftest-wait">
<html>
<style>
@import url(subdir/sheet.css);
</style>
<script>
window.onload = function() {
document.styleSheets[0].cssRules[0].styleSheet
.insertRule("* { background: url(1x1-green-in-subdir.png) red; }", 0);
document.documentElement.className = "";
};
document.styleSheets[0].cssRules[0].styleSheet
.insertRule("* { background: url(1x1-green-in-subdir.png) red; }", 0);
</script>

View File

@ -8,7 +8,7 @@ random-if(styloVsGecko||stylo) == 445415-1a.xhtml 445415-1-ref.xhtml
== 445415-1b.xhtml 445415-1-ref.xhtml
== 445415-2a.xhtml 445415-2-ref.xhtml
fails-if(styloVsGecko||stylo) == 445415-2b.xhtml 445415-2-ref.xhtml
skip == 1331291-1.html green.html
== 1331291-1.html green.html
== 1368782-1.html green.html
== 1368782-2.html green.html
== 1368782-3.html green.html