LibWeb: Implement stub for ElementInternals

This implements a stub ElementInternals object which implements the
shadowRoot getter only.

Also implement attachInternals function.
This commit is contained in:
Luke Warlow 2024-06-24 21:54:42 +01:00 committed by Andreas Kling
commit a65f1ecc37
Notes: sideshowbarker 2024-07-17 18:49:10 +09:00
13 changed files with 193 additions and 1 deletions

View file

@ -48,6 +48,7 @@ static bool is_platform_object(Type const& type)
"DocumentType"sv,
"DOMRectReadOnly"sv,
"DynamicsCompressorNode"sv,
"ElementInternals"sv,
"EventTarget"sv,
"FileList"sv,
"FontFace"sv,