mirror of
https://github.com/servo/servo.git
synced 2025-06-08 00:23:30 +00:00
Make link elements fire a load event.
This commit is contained in:
parent
32a89c9455
commit
f3cdba6b8b
8 changed files with 78 additions and 10 deletions
|
@ -731,8 +731,10 @@ impl ScriptTask {
|
|||
self.handle_webdriver_msg(pipeline_id, msg),
|
||||
ConstellationControlMsg::TickAllAnimations(pipeline_id) =>
|
||||
self.handle_tick_all_animations(pipeline_id),
|
||||
ConstellationControlMsg::StylesheetLoadComplete(id, url) =>
|
||||
self.handle_resource_loaded(id, LoadType::Stylesheet(url)),
|
||||
ConstellationControlMsg::StylesheetLoadComplete(id, url, responder) => {
|
||||
self.handle_resource_loaded(id, LoadType::Stylesheet(url));
|
||||
responder.respond();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue