2 Test the behavior of
<tt>getComputedStyle
</tt> when it is called on an element with
3 <tt>display: none;
</tt> while there are pending style sheets.
5 <link rel=
"stylesheet" href=
"data:text/css,">
6 <div id=
"target" style=
"display: none; width: 100px; height: 100px;"></div>
7 <div id=
"result"></div>
10 testRunner
.dumpAsText();
12 var computedWidth
= getComputedStyle(document
.getElementById("target")).width
;
13 document
.getElementById("result").innerText
= computedWidth
=== "100px" ? "PASS" : "FAIL"