1
0
Fork 0
mirror of https://github.com/servo/servo.git synced 2025-07-11 09:23:40 +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:
Patrick Walton 2013-10-24 15:08:09 -07:00
parent bce5285506
commit baba35adc9
10 changed files with 96 additions and 94 deletions
src/components/script

View file

@ -274,7 +274,7 @@ impl Page {
/// This function fails if there is no root frame.
fn reflow(&mut self, goal: ReflowGoal, script_chan: ScriptChan, compositor: @ScriptListener) {
let root = match self.frame {
None => return,
None => fail!(~"Tried to relayout with no root frame!"),
Some(ref frame) => {
frame.document.document().GetDocumentElement()
}