mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add XMLDocument object
This commit is contained in:
parent
831979d6a7
commit
adf8b359bb
18 changed files with 169 additions and 73 deletions
|
@ -1370,7 +1370,7 @@ impl ElementMethods for Element {
|
|||
|
||||
let parent = match context_parent.type_id() {
|
||||
// Step 3.
|
||||
NodeTypeId::Document => return Err(Error::NoModificationAllowed),
|
||||
NodeTypeId::Document(_) => return Err(Error::NoModificationAllowed),
|
||||
|
||||
// Step 4.
|
||||
NodeTypeId::DocumentFragment => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue