diff options
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-11-25 08:46:51 +0100 |
---|---|---|
committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2015-11-27 14:55:41 +0100 |
commit | adf8b359bb584ed2f1a4ae4c94401e3a3b2a03b9 (patch) | |
tree | c45c20f0cb4f26dd5f43d2a59a7ece451e0b3629 /components/script/dom/range.rs | |
parent | 831979d6a7e6fc615434a6585710b2becb7dbf42 (diff) | |
download | servo-adf8b359bb584ed2f1a4ae4c94401e3a3b2a03b9.tar.gz servo-adf8b359bb584ed2f1a4ae4c94401e3a3b2a03b9.zip |
Add XMLDocument object
Diffstat (limited to 'components/script/dom/range.rs')
-rw-r--r-- | components/script/dom/range.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/dom/range.rs b/components/script/dom/range.rs index efb27e3cfcd..58200ee35f2 100644 --- a/components/script/dom/range.rs +++ b/components/script/dom/range.rs @@ -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), _ => () |