mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Reimplement scrolling to fragments
This reimplemntation of the feature uses ScrollRootIds to scroll particular scrollable areas of the page. Fixes #13736. Fixes #10753.
This commit is contained in:
parent
39845faf26
commit
0b56bb2237
18 changed files with 154 additions and 45 deletions
|
@ -418,7 +418,10 @@ pub trait Flow: fmt::Debug + Sync + Send + 'static {
|
|||
/// Print any extra children (such as fragments) contained in this Flow
|
||||
/// for debugging purposes. Any items inserted into the tree will become
|
||||
/// children of this flow.
|
||||
fn print_extra_flow_children(&self, _: &mut PrintTree) {
|
||||
fn print_extra_flow_children(&self, _: &mut PrintTree) { }
|
||||
|
||||
fn scroll_root_id(&self) -> ScrollRootId {
|
||||
base(self).scroll_root_id
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue