Commit 5ae09b7
Add WPT for rejecting CSSStyleValue with mismatched associated property
Add a new Web Platform Test verifying that StylePropertyMap.set() throws a
TypeError when a CSSStyleValue with an existing [[associatedProperty]] does
not match the property being assigned to.
Differential Revision: https://phabricator.services.mozilla.com/D271810
bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1990419
gecko-commit: d8b8593f357774f2c99fbd835e1d47f306ebae63
gecko-reviewers: emilio1 parent 7f0aad1 commit 5ae09b7
File tree
2 files changed
+22
-0
lines changed- css/css-typed-om/the-stylepropertymap
- declared
- inline
2 files changed
+22
-0
lines changedLines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
98 | 109 | | |
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
98 | 109 | | |
0 commit comments