mirror of
https://github.com/servo/servo.git
synced 2025-06-24 17:14:33 +01:00
Revert "Make Document a Node." for breaking Acid1
This reverts commit 4e47d59165
.
Conflicts:
src/components/script/dom/domparser.rs
This commit is contained in:
parent
bce5285506
commit
baba35adc9
10 changed files with 96 additions and 94 deletions
|
@ -35,11 +35,6 @@ impl ReflectableDocument for HTMLDocument {
|
|||
fn init_reflector(@mut self, cx: *JSContext) {
|
||||
self.wrap_object_shared(cx, ptr::null()); //XXXjdm a proper scope would be nice
|
||||
}
|
||||
|
||||
fn init_node(@mut self, doc: AbstractDocument) {
|
||||
self.parent.node.set_owner_doc(doc);
|
||||
self.parent.node.add_to_doc(AbstractNode::from_document(doc), doc);
|
||||
}
|
||||
}
|
||||
|
||||
impl HTMLDocument {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue