blob: fb5e3afcf50f3b3e688c701ac50bee9dd1783a39 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!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>
|