mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Make stylesheets block page load.
This commit is contained in:
parent
7f0706ed42
commit
32a89c9455
10 changed files with 106 additions and 30 deletions
|
@ -29,6 +29,7 @@ use net_traits::storage_task::StorageTask;
|
|||
use std::any::Any;
|
||||
use std::sync::mpsc::{Sender, Receiver};
|
||||
use webdriver_traits::WebDriverScriptCommand;
|
||||
use url::Url;
|
||||
|
||||
use geom::point::Point2D;
|
||||
use geom::rect::Rect;
|
||||
|
@ -89,6 +90,8 @@ pub enum ConstellationControlMsg {
|
|||
WebDriverCommand(PipelineId, WebDriverScriptCommand),
|
||||
/// Notifies script task that all animations are done
|
||||
TickAllAnimations(PipelineId),
|
||||
/// Notifies script that a stylesheet has finished loading.
|
||||
StylesheetLoadComplete(PipelineId, Url),
|
||||
}
|
||||
|
||||
/// The mouse button involved in the event.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue