mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Add XMLDocument object
This commit is contained in:
parent
831979d6a7
commit
adf8b359bb
18 changed files with 169 additions and 73 deletions
|
@ -797,7 +797,7 @@ impl RangeMethods for Range {
|
|||
|
||||
// Step 2.
|
||||
match new_parent.type_id() {
|
||||
NodeTypeId::Document |
|
||||
NodeTypeId::Document(_) |
|
||||
NodeTypeId::DocumentType |
|
||||
NodeTypeId::DocumentFragment => return Err(Error::InvalidNodeType),
|
||||
_ => ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue