mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Move iframe and url fields from Reflow to LayoutTask and LayoutTaskFactory
* Fix #5466
This commit is contained in:
parent
85808c1cdd
commit
a3eaacccf6
5 changed files with 25 additions and 28 deletions
|
@ -108,10 +108,6 @@ pub enum ReflowQueryType {
|
|||
pub struct Reflow {
|
||||
/// The goal of reflow: either to render to the screen or to flush layout info for script.
|
||||
pub goal: ReflowGoal,
|
||||
/// The URL of the page.
|
||||
pub url: Url,
|
||||
/// Is the current reflow of an iframe, as opposed to a root window?
|
||||
pub iframe: bool,
|
||||
/// A clipping rectangle for the page, an enlarged rectangle containing the viewport.
|
||||
pub page_clip_rect: Rect<Au>,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue