blob: c99cead9f99af33de74103ab3818948a37e96b3b [file] [log] [blame]
[email protected]ee1f52ee2015-08-21 05:34:511<!DOCTYPE html>
Kent Tamura59dc2a72018-10-12 02:07:272<script src="../resources/testharness.js"></script>
3<script src="../resources/testharnessreport.js"></script>
[email protected]ee1f52ee2015-08-21 05:34:514
5<div id="target"></div>
6
7<script>
8addEventListener("load", function() {
9 test(function() {
10 assert_true('cssFloat' in getComputedStyle(target), 'cssFloat is in CSSStyleDeclaration');
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>