aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/layout_interface.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2014-09-15 12:39:18 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2014-09-16 07:12:01 -0700
commit1ae3bda172939a3f142f89e63eaa5758ba563935 (patch)
tree03f1f962c6a64d4e1c125f9536ea09cd8a8a418b /components/script/layout_interface.rs
parent7a5f15f13723a6c510ed05ad7875eb10b290dea2 (diff)
downloadservo-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.rs3
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>),