mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibWeb: Update existing style object when setting style attribute
Previously any existing ElementInlineCSSStyleDeclaration would get overwritten by e.setAttribute("style", ...), while it should be updated instead. This fixes 2 WPT subtests.
This commit is contained in:
parent
be3a941f44
commit
aa33acf3a2
Notes:
github-actions[bot]
2024-11-25 16:18:19 +00:00
Author: https://github.com/milotier
Commit: aa33acf3a2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2571
4 changed files with 25 additions and 9 deletions
|
@ -6,10 +6,9 @@ Rerun
|
|||
|
||||
Found 4 tests
|
||||
|
||||
2 Pass
|
||||
2 Fail
|
||||
4 Pass
|
||||
Details
|
||||
Result Test Name MessagePass Parsing of initial style attribute
|
||||
Fail Parsing of invalid style attribute
|
||||
Fail Parsing of style attribute
|
||||
Pass Parsing of invalid style attribute
|
||||
Pass Parsing of style attribute
|
||||
Pass Update style.backgroundColor
|
Loading…
Add table
Add a link
Reference in a new issue