diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2016-05-24 18:40:39 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2016-05-31 14:12:51 -0700 |
commit | a86f77e36d310737ce9e87e1ab49340cfdd89ed7 (patch) | |
tree | 30528e057adaba030572a475c97b88d1a30dc0d1 /components/layout/table_colgroup.rs | |
parent | 55b0bb027caba9ca4f3fb091c55a53c24380dccb (diff) | |
download | servo-a86f77e36d310737ce9e87e1ab49340cfdd89ed7.tar.gz servo-a86f77e36d310737ce9e87e1ab49340cfdd89ed7.zip |
script: Keep the DOM-side viewport up to date when scrolling happens in
WebRender.
This happens asynchronously, just as it does in non-WebRender mode.
This functionality is a prerequisite for doing proper display-list-based
hit testing in WebRender, since it moves the scroll offsets into Servo
(and, specifically, into the script thread, enabling iframe event
forwarding) instead of keeping them private to WebRender.
Requires servo/webrender_traits#55 and servo/webrender#277.
Partially addresses #11108.
Diffstat (limited to 'components/layout/table_colgroup.rs')
-rw-r--r-- | components/layout/table_colgroup.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/components/layout/table_colgroup.rs b/components/layout/table_colgroup.rs index 86192f75c52..6dce7bd56d1 100644 --- a/components/layout/table_colgroup.rs +++ b/components/layout/table_colgroup.rs @@ -12,7 +12,8 @@ use display_list_builder::DisplayListBuildState; use euclid::Point2D; use flow::{BaseFlow, Flow, FlowClass, ForceNonfloatedFlag, OpaqueFlow}; use fragment::{Fragment, FragmentBorderBoxIterator, Overflow, SpecificFragmentInfo}; -use gfx::display_list::{StackingContext, StackingContextId}; +use gfx::display_list::StackingContext; +use gfx_traits::StackingContextId; use layout_debug; use std::cmp::max; use std::fmt; |