mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
Tests: Resync imported WPT tests
This commit is contained in:
committed by
Shannon Booth
parent
dda3cb99b7
commit
504a8e6d1d
Notes:
github-actions[bot]
2026-04-04 21:38:15 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/504a8e6d1d3 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/8776 Reviewed-by: https://github.com/shannonbooth ✅
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user