Tests: Resync imported WPT tests

This commit is contained in:
Tim Ledbetter
2026-04-04 17:18:58 +01:00
committed by Shannon Booth
parent dda3cb99b7
commit 504a8e6d1d
Notes: github-actions[bot] 2026-04-04 21:38:15 +00:00
306 changed files with 6274 additions and 2460 deletions

View File

@@ -14,4 +14,11 @@
style.removeProperty("all");
assert_equals(style.length, 0, "all is a shorthand of all properties, so should remove the property");
});
test(function() {
let style = document.createElement("div").style;
style.cssText = "width: 40px; all: revert";
style.removeProperty("all");
assert_equals(style.getPropertyValue("all"), "", "all is a shorthand of all properties, so should return empty string");
});
</script>