diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2014-09-15 12:39:18 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2014-09-16 07:12:01 -0700 |
commit | 1ae3bda172939a3f142f89e63eaa5758ba563935 (patch) | |
tree | 03f1f962c6a64d4e1c125f9536ea09cd8a8a418b /components/script/layout_interface.rs | |
parent | 7a5f15f13723a6c510ed05ad7875eb10b290dea2 (diff) | |
download | servo-1ae3bda172939a3f142f89e63eaa5758ba563935.tar.gz servo-1ae3bda172939a3f142f89e63eaa5758ba563935.zip |
Move link rel=stylesheet fetching to layout task
Fixes #3346.
Diffstat (limited to 'components/script/layout_interface.rs')
-rw-r--r-- | components/script/layout_interface.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/components/script/layout_interface.rs b/components/script/layout_interface.rs index 1e5e23f9c9a..0c82c61447d 100644 --- a/components/script/layout_interface.rs +++ b/components/script/layout_interface.rs @@ -29,6 +29,9 @@ pub enum Msg { /// Adds the given stylesheet to the document. AddStylesheetMsg(Stylesheet), + /// Adds the given stylesheet to the document. + LoadStylesheetMsg(Url), + /// Requests a reflow. ReflowMsg(Box<Reflow>), |