mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Ensure layout/script always have a correct viewport size when a new pipeline is created.
This commit is contained in:
@@ -190,6 +190,7 @@ impl HTMLIFrameElement {
|
||||
load_data: load_data.clone(),
|
||||
old_pipeline_id: old_pipeline_id,
|
||||
sandbox: sandboxed,
|
||||
window_size,
|
||||
};
|
||||
global_scope
|
||||
.script_to_constellation_chan()
|
||||
@@ -216,6 +217,7 @@ impl HTMLIFrameElement {
|
||||
load_data: load_data,
|
||||
old_pipeline_id: old_pipeline_id,
|
||||
sandbox: sandboxed,
|
||||
window_size,
|
||||
};
|
||||
global_scope
|
||||
.script_to_constellation_chan()
|
||||
|
||||
Reference in New Issue
Block a user