auto merge of #912 : brson/servo/longcat, r=jdm

This also comes with a longcat demo, including about 35k of images that I don't know the copyright status of.
This commit is contained in:
bors-servo 2013-09-11 23:49:02 -07:00
commit 5aa207a7f7
14 changed files with 207 additions and 25 deletions

View file

@ -9,7 +9,7 @@ use dom::document::AbstractDocument;
use dom::node::{AbstractNode, ScriptView};
use dom::navigator::Navigator;
use layout_interface::ReflowForScriptQuery;
use layout_interface::ReflowForDisplay;
use script_task::{ExitMsg, FireTimerMsg, Page, ScriptChan};
use servo_msg::compositor_msg::ScriptListener;
@ -169,7 +169,10 @@ impl Window {
pub fn content_changed(&self) {
unsafe {
(*self.page).reflow_all(ReflowForScriptQuery, self.script_chan.clone(), self.compositor);
// FIXME This should probably be ReflowForQuery, not Display. All queries currently
// currently rely on the display list, which means we can't destroy it by
// doing a query reflow.
(*self.page).reflow_all(ReflowForDisplay, self.script_chan.clone(), self.compositor);
}
}