diff options
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r-- | src/components/script/script_task.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index 7bf6e1af842..9d9897dfc54 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -934,9 +934,10 @@ impl ScriptTask { page.query_layout(ContentBoxQuery(node.to_trusted_node_address(), chan), port); let point = Point2D(to_frac_px(rect.origin.x).to_f32().unwrap(), to_frac_px(rect.origin.y).to_f32().unwrap()); - // FIXME(pcwalton): This is pretty bogus when multiple layers are involved. Really - // what needs to happen is that this needs to go through layout to ask which layer - // the element belongs to, and have it send the scroll message to the compositor. + // FIXME(#2003, pcwalton): This is pretty bogus when multiple layers are involved. + // Really what needs to happen is that this needs to go through layout to ask which + // layer the element belongs to, and have it send the scroll message to the + // compositor. self.compositor.scroll_fragment_point(pipeline_id, LayerId::null(), point); } |