Chromium Code Reviews| Index: LayoutTests/fast/block/float/override-property-float.html |
| diff --git a/LayoutTests/fast/block/float/override-property-float.html b/LayoutTests/fast/block/float/override-property-float.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..909d1f5de03992594b72d0b6261fce6447a7becf |
| --- /dev/null |
| +++ b/LayoutTests/fast/block/float/override-property-float.html |
| @@ -0,0 +1,23 @@ |
| +<!doctype html> |
| +<html> |
| +<head> |
| +<script src="../../../resources/js-test.js"></script> |
| +<style> |
| + #test { |
| + width:100px; |
| + height:100px; |
| + background:red; |
|
Timothy Loh
2015/03/30 23:55:14
green please :-)
Abhijeet Kandalkar Slow
2015/03/31 05:04:19
Done.
|
| + float:right; |
| + float:center; |
| + } |
| +</style> |
| +</head> |
| +<body> |
| + <div id="test">TEXT</div> |
| +</body> |
| +<script> |
| +description('If this test passes, the red box should be on the right side of page.'); |
| +var element = document.getElementById('test'); |
| +shouldBeEqualToString('window.getComputedStyle(element, null).getPropertyValue("float")', 'right'); |
| +</script> |
| +</html> |