Skip to content

Commit f7b5bce

Browse files
authored
Merge pull request web-platform-tests#11083 from w3c/emilio-patch-1
[cssom] Make a test assertion not show the number of CSS properties if it fails.
2 parents e248034 + f35c04a commit f7b5bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

css/cssom/getComputedStyle-detached-subtree.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
assert_true(!!element);
1818
let style = getComputedStyle(element);
1919
assert_true(!!style);
20-
assert_equals(style.length, 0);
20+
assert_true(style.length === 0);
2121
assert_equals(style.color, "");
2222
}, `getComputedStyle returns no style for ${description}`);
2323
}

0 commit comments

Comments
 (0)