mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-02 22:55:23 +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:
committed by
Andreas Kling
parent
be3a941f44
commit
aa33acf3a2
@@ -123,6 +123,8 @@ public:
|
||||
|
||||
bool is_updating() const { return m_updating; }
|
||||
|
||||
void set_declarations_from_text(StringView);
|
||||
|
||||
virtual WebIDL::ExceptionOr<void> set_css_text(StringView) override;
|
||||
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user