1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 14:17:36 +00:00

LibWeb: Make the innerHTML setter spec compliant

This adds innerHTML to ShadowRoot in the process.
This commit is contained in:
Luke Wilde 2021-09-13 22:42:57 +01:00 committed by Andreas Kling
parent f62477c093
commit 8e0f3436a2
8 changed files with 109 additions and 9 deletions

View file

@ -13,7 +13,9 @@ interface Element : Node {
HTMLCollection getElementsByTagName(DOMString tagName);
HTMLCollection getElementsByClassName(DOMString className);
[LegacyNullToEmptyString] attribute DOMString innerHTML;
// FIXME: This should come from a InnerHTML mixin.
[LegacyNullToEmptyString, CEReactions] attribute DOMString innerHTML;
[Reflect] attribute DOMString id;
[Reflect=class] attribute DOMString className;