mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
compositing: Fix a couple of bugs that prevented iframes from painting
after navigation. The first bug was that iframes were not reflowed in their parent DOM when the child page navigated. This is fixed by simply having the constellation notify the appropriate script thread when navigation occurs. The second bug was that the compositor was unable to adjust the pipeline for existing iframe layers, only new ones. This patch adds logic to do that. Closes #8081.
This commit is contained in:
parent
80c2911348
commit
e5a1af5b7a
9 changed files with 153 additions and 26 deletions
|
@ -143,6 +143,8 @@ pub enum ConstellationControlMsg {
|
|||
/// The pipeline that contains a frame loading the target pipeline.
|
||||
parent: PipelineId
|
||||
},
|
||||
/// Notifies a parent frame that one of its child frames is now active.
|
||||
FramedContentChanged(PipelineId, SubpageId),
|
||||
/// Report an error from a CSS parser for the given pipeline
|
||||
ReportCSSError(PipelineId, String, u32, u32, String),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue