diff options
author | Martin Robinson <mrobinson@igalia.com> | 2016-11-21 09:48:33 +0100 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2016-11-29 22:12:16 +0100 |
commit | 0b56bb2237e1ae7d2ad9f3490f7da89a7999c06a (patch) | |
tree | c924c27d1239bfa531d14ec2bcb7879e1b0aac15 /components/script_layout_interface/message.rs | |
parent | 39845faf261672b795af59602b45e7ce096b9f33 (diff) | |
download | servo-0b56bb2237e1ae7d2ad9f3490f7da89a7999c06a.tar.gz servo-0b56bb2237e1ae7d2ad9f3490f7da89a7999c06a.zip |
Reimplement scrolling to fragments
This reimplemntation of the feature uses ScrollRootIds to scroll
particular scrollable areas of the page.
Fixes #13736.
Fixes #10753.
Diffstat (limited to 'components/script_layout_interface/message.rs')
-rw-r--r-- | components/script_layout_interface/message.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/script_layout_interface/message.rs b/components/script_layout_interface/message.rs index 3af9af32c79..4a3e4b54a9f 100644 --- a/components/script_layout_interface/message.rs +++ b/components/script_layout_interface/message.rs @@ -94,6 +94,7 @@ pub enum ReflowQueryType { ContentBoxesQuery(TrustedNodeAddress), NodeOverflowQuery(TrustedNodeAddress), HitTestQuery(Point2D<f32>, Point2D<f32>, bool), + NodeScrollRootIdQuery(TrustedNodeAddress), NodeGeometryQuery(TrustedNodeAddress), NodeScrollGeometryQuery(TrustedNodeAddress), ResolvedStyleQuery(TrustedNodeAddress, Option<PseudoElement>, Atom), |