mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:17:45 +00:00
LibWeb: Implement element slot-related attributes and settings
This implements the element's slot attribute itself, and setting the slot assignment on the element's shadow root.
This commit is contained in:
parent
4e32f0d39f
commit
54b5a431a3
6 changed files with 12 additions and 4 deletions
|
@ -30,6 +30,7 @@ namespace Web::DOM {
|
|||
struct ShadowRootInit {
|
||||
Bindings::ShadowRootMode mode;
|
||||
bool delegates_focus = false;
|
||||
Bindings::SlotAssignmentMode slot_assignment { Bindings::SlotAssignmentMode::Named };
|
||||
};
|
||||
|
||||
// https://w3c.github.io/csswg-drafts/cssom-view-1/#dictdef-scrollintoviewoptions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue