mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-07 21:59:54 +00:00
LibWeb: Don't mark mask-type as list-valued
This is distinct from the other `mask-*` properties and is not a longhand of `mask`, and is thus not a coordinating value list longhand
This commit is contained in:
parent
4034ce995a
commit
758432c1cd
Notes:
github-actions[bot]
2025-12-02 12:15:41 +00:00
Author: https://github.com/Calme1709
Commit: 758432c1cd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6996
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 15 additions and 1 deletions
|
|
@ -2799,7 +2799,7 @@
|
|||
"animation-type": "discrete",
|
||||
"inherited": false,
|
||||
"affects-layout": false,
|
||||
"multiplicity": "coordinating-list",
|
||||
"multiplicity": "single",
|
||||
"valid-types": [
|
||||
"mask-type"
|
||||
],
|
||||
|
|
|
|||
|
|
@ -0,0 +1 @@
|
|||
PASS!
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<div id="foo"></div>
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
try {
|
||||
foo.attributeStyleMap.set("mask-type", new CSSKeywordValue("luminance"), new CSSKeywordValue("alpha"));
|
||||
println("FAIL! Shouldn't allow setting multiple values for mask-type");
|
||||
} catch {
|
||||
println("PASS!");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
Loading…
Add table
Add a link
Reference in a new issue