mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00: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
|
@ -1910,7 +1910,7 @@ impl HTMLMediaElement {
|
|||
return;
|
||||
}
|
||||
let shadow_root = element
|
||||
.attach_shadow(IsUserAgentWidget::Yes, ShadowRootMode::Closed)
|
||||
.attach_shadow(IsUserAgentWidget::Yes, ShadowRootMode::Closed, false)
|
||||
.unwrap();
|
||||
let document = document_from_node(self);
|
||||
let script = HTMLScriptElement::new(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue