OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <script src="../../LayoutTests/resources/testharness.js"></script> |
| 3 <script src="../../LayoutTests/resources/testharnessreport.js"></script> |
| 4 |
| 5 <div id="target"></div> |
| 6 |
| 7 <script> |
| 8 addEventListener("load", function() { |
| 9 test(function() { |
| 10 assert_true('cssFloat' in getComputedStyle(target), 'cssFloat is in CSSStyle
Declaration'); |
| 11 assert_equals(target.style.cssFloat, ''); |
| 12 target.style.cssFloat = 'right'; |
| 13 assert_equals(target.style.cssFloat, 'right'); |
| 14 |
| 15 var CSSXGetComputedStyleQueries = 566; |
| 16 assert_false(internals.isUseCounted(document, CSSXGetComputedStyleQueries)); |
| 17 }, 'Testing CSSFloat'); |
| 18 }, false); |
| 19 </script> |
OLD | NEW |