mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
ShadowRoot interface
This commit is contained in:
parent
cbcf21c248
commit
18ae0fcbd6
8 changed files with 82 additions and 22 deletions
|
@ -2372,7 +2372,7 @@ impl ElementMethods for Element {
|
|||
NodeTypeId::Document(_) => return Err(Error::NoModificationAllowed),
|
||||
|
||||
// Step 4.
|
||||
NodeTypeId::DocumentFragment => {
|
||||
NodeTypeId::DocumentFragment(_) => {
|
||||
let body_elem = Element::create(
|
||||
QualName::new(None, ns!(html), local_name!("body")),
|
||||
None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue