Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / block / float / override-property-float.html
blob0e0117684310c8e958d040060fd4e14a798c9b04
1 <!doctype html>
2 <html>
3 <head>
4 <script src="../../../resources/js-test.js"></script>
5 <style>
6 #test {
7 width:100px;
8 height:100px;
9 background:green;
10 float:right;
11 float:center;
13 </style>
14 </head>
15 <body>
16 <div id="test">TEXT</div>
17 </body>
18 <script>
19 description('If this test passes, the green box should be on the right side of page.');
20 var element = document.getElementById('test');
21 shouldBeEqualToString('window.getComputedStyle(element, null).getPropertyValue("float")', 'right');
22 </script>
23 </html>