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:
parent
bce5285506
commit
baba35adc9
10 changed files with 96 additions and 94 deletions
src/components/script
|
@ -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()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue