blob: fb5e3afcf50f3b3e688c701ac50bee9dd1783a39 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../LayoutTests/resources/testharness.js"></script>
<script src="../../LayoutTests/resources/testharnessreport.js"></script>
<div id="target"></div>
<script>
addEventListener("load", function() {
test(function() {
assert_true('cssFloat' in getComputedStyle(target), 'cssFloat is in CSSStyleDeclaration');
assert_equals(target.style.cssFloat, '');
target.style.cssFloat = 'right';
assert_equals(target.style.cssFloat, 'right');
var CSSXGetComputedStyleQueries = 566;
assert_false(internals.isUseCounted(document, CSSXGetComputedStyleQueries));
}, 'Testing CSSFloat');
}, false);
</script>