Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / absolute-position-with-negative-width.html
blob830de0b4493e71d6ec57d2bb8618bf47937b1773
1 <!DOCTYPE HTML>
2 <script src="../../resources/js-test.js"></script>
4 <div style="position: relative; width: 0px">
5 <div style="position: absolute; left: 1px; right: 1px;" id="absolute_with_left_right"></div>
6 </div>
8 <script>
9 absolute_with_left_right = document.getElementById("absolute_with_left_right");
10 shouldBe("absolute_with_left_right.getBoundingClientRect().width","0");
11 shouldBe("absolute_with_left_right.getClientRects()[0].width","0");
12 shouldBe("absolute_with_left_right.offsetWidth","0");
13 </script>