mirror of
https://github.com/servo/servo.git
synced 2025-09-29 16:19:14 +01:00
script: Always throw when trying to setProperty
on a readonly style CSSStyleDeclaration
(#38677)
Previously, [`SetProperty`](https://drafts.csswg.org/cssom/#dom-cssstyledeclaration-setproperty) implemented step 3 before calling into the inner `set_property` method, which implements step 1. Therefore if step 3 returned then step 1 never runs, and can't throw an exception. Testing: A new web platform test starts to pass --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
b747589286
commit
3a0e8fefde
2 changed files with 54 additions and 19 deletions
|
@ -1,10 +1,6 @@
|
|||
[computed-style-set-property.html]
|
||||
[Exception thrown when trying to change a computed style alias via setProperty]
|
||||
expected: FAIL
|
||||
|
||||
[Exception thrown when trying to change a computed style alias via property]
|
||||
expected: FAIL
|
||||
|
||||
[Computed style parent (should be null)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue