mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
parent
99ad3678fa
commit
138a0480fe
22 changed files with 500 additions and 20 deletions
|
@ -2101,6 +2101,11 @@ impl ScriptThread {
|
|||
0i32);
|
||||
uievent.upcast::<Event>().fire(window.upcast());
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#event-loop-processing-model
|
||||
// Step 7.7 - evaluate media queries and report changes
|
||||
// Since we have resized, we need to re-evaluate MQLs
|
||||
window.evaluate_media_queries_and_report_changes();
|
||||
}
|
||||
|
||||
/// Initiate a non-blocking fetch for a specified resource. Stores the InProgressLoad
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue