mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #8675 - GuillaumeGomez:master, r=nox
Add XMLDocument object Fixes #8000 (Still working on it) <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8675) <!-- Reviewable:end -->
This commit is contained in:
commit
99223656fb
18 changed files with 169 additions and 73 deletions
|
@ -1371,7 +1371,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