mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Rename ScrollRoot to ClipScrollNode
ScrollRoot is an ever increasingly inaccurate name for this thing and WebRender consistently uses ClipScrollNode nowadays. Stick with the WebRender terminology to be consistent.
This commit is contained in:
parent
ee46bc57ed
commit
cedc7ebc53
4 changed files with 128 additions and 127 deletions
|
@ -1680,7 +1680,7 @@ impl BlockFlow {
|
|||
}
|
||||
}
|
||||
|
||||
pub fn overflow_style_may_require_scroll_root(&self) -> bool {
|
||||
pub fn overflow_style_may_require_clip_scroll_node(&self) -> bool {
|
||||
match (self.fragment.style().get_box().overflow_x,
|
||||
self.fragment.style().get_box().overflow_y) {
|
||||
(overflow_x::T::auto, _) | (overflow_x::T::scroll, _) | (overflow_x::T::hidden, _) |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue