mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
layout: Propagate overflow values from <body>
to root element (#31618)
The specification gives instructions for how these values should be propagated. The other big changs here is that they aren't applied to the `<body>`. Co-authored-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
03d64d0675
commit
716f4a006d
17 changed files with 82 additions and 27 deletions
|
@ -121,7 +121,13 @@ impl DisplayList {
|
|||
let content_size = self.bounds().size;
|
||||
let mut state = ClipScrollState::new(
|
||||
&mut self.clip_scroll_nodes,
|
||||
CompositorDisplayListInfo::new(viewport_size, content_size, webrender_pipeline, epoch),
|
||||
CompositorDisplayListInfo::new(
|
||||
viewport_size,
|
||||
content_size,
|
||||
webrender_pipeline,
|
||||
epoch,
|
||||
webrender_api::ScrollSensitivity::ScriptAndInputEvents,
|
||||
),
|
||||
&mut builder,
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue