servo/components
bors-servo bc62b5aadb Auto merge of #8785 - mbrubeck:fixed-hit-test, r=pcwalton
Add slow path for hit testing of iframe behind positioned content layer

Fixes browser.html blocker #8759. r? @pcwalton

This adds a slow path for cases where the compositor's layer-based hit testing is incorrect.  If the script task discovers that a mouse event should have been dispatched to an iframe, it bounces the event back to the constellation to be forwarded to the correct pipeline.

This isn't terribly slow (on the slow path, it adds one extra round-trip message between script and constellation), but if we want to optimize this better we could instead replace the compositor's layer hit testing with display list hit testing in the paint task.  This would be a more complicated change that I think we should save for a follow-up.

This only fixes mouse input for now.  A basically-identical change will be needed for touch-screen input, whether we stick with this approach or switch to the paint task.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8785)
<!-- Reviewable:end -->
2015-12-04 02:54:22 +05:30
..
canvas Auto merge of #8712 - simartin:issue_8462, r=ecoal95 2015-12-04 01:07:14 +05:30
canvas_traits Auto merge of #8712 - simartin:issue_8462, r=ecoal95 2015-12-04 01:07:14 +05:30
compositing Auto merge of #8785 - mbrubeck:fixed-hit-test, r=pcwalton 2015-12-04 02:54:22 +05:30
devtools Use thread::sleep instead of deprecated sleep_ms 2015-11-29 13:41:04 -07:00
devtools_traits Upgrade to rustc 1.6.0-nightly (d5fde83ae 2015-11-12) 2015-11-27 00:15:29 -05:00
gfx Replaced ZERO_RECT with Rect::zero() 2015-12-03 15:39:30 +02:00
gfx_traits Update euclid to 0.3 2015-10-28 21:34:23 +05:30
layout Replaced ZERO_RECT with Rect::zero() 2015-12-03 15:39:30 +02:00
layout_traits Auto merge of #8757 - servo:skia, r=mbrubeck 2015-12-03 12:58:29 +05:30
msg Auto merge of #8785 - mbrubeck:fixed-hit-test, r=pcwalton 2015-12-04 02:54:22 +05:30
net Auto merge of #8757 - servo:skia, r=mbrubeck 2015-12-03 12:58:29 +05:30
net_traits Auto merge of #8757 - servo:skia, r=mbrubeck 2015-12-03 12:58:29 +05:30
plugins Fix false positive in unrooted_must_root lint. 2015-11-30 10:53:32 -08:00
profile Use thread::sleep instead of deprecated sleep_ms 2015-11-29 13:41:04 -07:00
profile_traits Add check up on extern crate order and sort extern crates alphabetically 2015-11-28 03:11:08 +01:00
script Auto merge of #8785 - mbrubeck:fixed-hit-test, r=pcwalton 2015-12-04 02:54:22 +05:30
script_traits Auto merge of #8785 - mbrubeck:fixed-hit-test, r=pcwalton 2015-12-04 02:54:22 +05:30
servo Auto merge of #8787 - Jayflux:hotfix/8695, r=mbrubeck 2015-12-03 16:10:24 +05:30
style Auto merge of #8784 - jdm:expose-css-errors-step2, r=jdm 2015-12-03 14:24:37 +05:30
style_traits Use skia and deps from crates.io. 2015-12-02 19:07:59 +01:00
util Replaced ZERO_RECT with Rect::zero() 2015-12-03 15:39:30 +02:00
webdriver_server Auto merge of #8705 - jsanders:fix-sleep-ms-deprecations, r=metajack,Wafflespeanut 2015-11-30 09:20:15 +05:30