mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Update to support new clipping coordinates change
This commit is contained in:
parent
8d8fea0b4b
commit
39600f9f4e
3 changed files with 17 additions and 12 deletions
|
@ -510,8 +510,8 @@ pub struct ScrollRoot {
|
|||
/// The position of this scroll root's frame in the parent stacking context.
|
||||
pub clip: Rect<Au>,
|
||||
|
||||
/// The size of the contents that can be scrolled inside of the scroll root.
|
||||
pub size: Size2D<Au>,
|
||||
/// The rect of the contents that can be scrolled inside of the scroll root.
|
||||
pub content_rect: Rect<Au>,
|
||||
}
|
||||
|
||||
impl ScrollRoot {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue