diff options
author | Patrick Walton <pcwalton@mimiga.net> | 2014-03-31 15:51:32 -0700 |
---|---|---|
committer | Patrick Walton <pcwalton@mimiga.net> | 2014-04-03 14:51:18 -0700 |
commit | c49f23ffb29136a960f53c42e592e9922860323f (patch) | |
tree | 6c079f8792d536130387671cc45870dc05276835 /src/components/script/script_task.rs | |
parent | 30b7f5d0ad5b9882271168aca7beb11fc0d6304e (diff) | |
download | servo-c49f23ffb29136a960f53c42e592e9922860323f.tar.gz servo-c49f23ffb29136a960f53c42e592e9922860323f.zip |
layout: Address review feedback.
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); } |