OLD | NEW |
---|---|
(Empty) | |
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:red; | |
Timothy Loh
2015/03/30 23:55:14
green please :-)
Abhijeet Kandalkar Slow
2015/03/31 05:04:19
Done.
| |
10 float:right; | |
11 float:center; | |
12 } | |
13 </style> | |
14 </head> | |
15 <body> | |
16 <div id="test">TEXT</div> | |
17 </body> | |
18 <script> | |
19 description('If this test passes, the red box should be on the right side of pag e.'); | |
20 var element = document.getElementById('test'); | |
21 shouldBeEqualToString('window.getComputedStyle(element, null).getPropertyValue(" float")', 'right'); | |
22 </script> | |
23 </html> | |
OLD | NEW |