mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 08:28:11 +00:00
LibWeb: Make the innerHTML setter spec compliant
This adds innerHTML to ShadowRoot in the process.
This commit is contained in:
parent
f62477c093
commit
8e0f3436a2
8 changed files with 109 additions and 9 deletions
|
@ -28,6 +28,9 @@ public:
|
|||
// NOTE: This is intended for the JS bindings.
|
||||
String mode() const { return m_closed ? "closed" : "open"; }
|
||||
|
||||
String inner_html() const;
|
||||
ExceptionOr<void> set_inner_html(String const&);
|
||||
|
||||
private:
|
||||
// ^Node
|
||||
virtual FlyString node_name() const override { return "#shadow-root"; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue