зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1358375 - Reftest for refreshing the cached booleans. r=bz
This commit is contained in:
Родитель
79e83accdc
Коммит
a66b63a3ae
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<style>
|
||||
#x { }
|
||||
</style>
|
||||
</head>
|
||||
<body onload="getComputedStyle(document.getElementById('x')).color;
|
||||
document.styleSheets[0].cssRules[0].style.color = 'orange';
|
||||
document.documentElement.removeAttribute('class');">
|
||||
<div id="x"><span>I should be orange</span></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<style>
|
||||
#x { color: orange; }
|
||||
#x { color: green; }
|
||||
</style>
|
||||
</head>
|
||||
<body onload="getComputedStyle(document.getElementById('x')).color;
|
||||
document.styleSheets[0].cssRules[0].style.setProperty('color', 'orange', 'important');
|
||||
document.documentElement.removeAttribute('class');">
|
||||
<div id="x"><span>I should be orange</span></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="reftest-wait">
|
||||
<head>
|
||||
<style>
|
||||
#x { }
|
||||
#x { color: green; }
|
||||
</style>
|
||||
</head>
|
||||
<body onload="getComputedStyle(document.getElementById('x')).color;
|
||||
document.styleSheets[0].cssRules[0].style.setProperty('color', 'orange', 'important');
|
||||
document.documentElement.removeAttribute('class');">
|
||||
<div id="x"><span>I should be orange</span></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<style>
|
||||
#x { color: orange; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="x"><span>I should be orange</span></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1991,3 +1991,6 @@ skip-if(Android) != 1318769-1.html 1318769-1-ref.html
|
|||
== 1322512-1.html 1322512-1-ref.html
|
||||
== 1330051.svg 1330051-ref.svg
|
||||
== 1352464-1.html 1352464-1-ref.html
|
||||
== 1358375-1.html 1358375-ref.html
|
||||
== 1358375-2.html 1358375-ref.html
|
||||
== 1358375-3.html 1358375-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче