5 #static { position: static; float: right; }
6 #absolute { position: absolute; float: right; }
7 #fixed { position: fixed; float: right; }
9 <script src=
"../../resources/js-test.js"></script>
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
16 <div id=
"static"></div>
17 <div id=
"absolute"></div>
18 <div id=
"fixed"></div>
21 description("Test for Bug: 105836 - computed value of float on positioned elements.");
22 shouldBe('getComputedStyle(document.getElementById("static")).float', '"right"');
23 shouldBe('getComputedStyle(document.getElementById("absolute")).float', '"none"');
24 shouldBe('getComputedStyle(document.getElementById("fixed")).float', '"none"');