mirror of
https://github.com/servo/servo.git
synced 2025-08-14 09:55:35 +01:00
Implement ShadowRoot.clonable
attribute (#34514)
* Implement ShadowRoot clonable attribute Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * ./mach test-tidy fixes Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * fix clippy warnings Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
8ebb77ab76
commit
97e9841d47
8 changed files with 81 additions and 27 deletions
|
@ -9,9 +9,15 @@
|
|||
[Exposed=Window]
|
||||
interface ShadowRoot : DocumentFragment {
|
||||
readonly attribute ShadowRootMode mode;
|
||||
// readonly attribute boolean delegatesFocus;
|
||||
// readonly attribute SlotAssignmentMode slotAssignment;
|
||||
readonly attribute boolean clonable;
|
||||
// readonly attribute boolean serializable;
|
||||
readonly attribute Element host;
|
||||
// attribute EventHandler onslotchange;
|
||||
};
|
||||
|
||||
|
||||
enum ShadowRootMode { "open", "closed"};
|
||||
// enum SlotAssignmentMode { "manual", "named" };
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue