servo/components/script
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
..
docs Move the DOM memory management blog post into the tree. 2015-10-29 17:25:00 +01:00
dom Auto merge of #8785 - mbrubeck:fixed-hit-test, r=pcwalton 2015-12-04 02:54:22 +05:30
parse Add XMLDocument object 2015-11-27 14:55:41 +01:00
build.rs Fix build scripts warnings. 2015-03-18 21:53:48 +01:00
Cargo.toml Auto merge of #8787 - Jayflux:hotfix/8695, r=mbrubeck 2015-12-03 16:10:24 +05:30
clipboard_provider.rs Auto merge of #8530 - KiChjang:split-constellation-msg, r=jdm 2015-11-19 04:39:20 +05:30
cors.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
devtools.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
document_loader.rs Rustfmt some of script. 2015-11-18 11:14:05 +01:00
layout_interface.rs compositing: Split Servo up into multiple sandboxed processes. 2015-11-19 16:38:04 -05:00
lib.rs now using external ref_slice instead of the std version 2015-12-03 07:32:07 +00:00
makefile.cargo Fix spurious rebuilds of the script crate 2015-10-08 21:37:56 -07:00
mem.rs more refactoring 2015-10-30 20:26:29 +09:00
network_listener.rs Make AsyncResponseListener methods take &mut self. 2015-10-15 16:44:39 -07:00
page.rs Auto merge of #8481 - frewsxcv:iterablepage-iter, r=Ms2ger 2015-11-12 18:29:12 +05:30
reporter.rs Defined new trait ParseErrorReporter and added error_reporter member to ParserContext 2015-11-25 18:28:30 -05:00
script_task.rs Minor refactoring of mouse event types 2015-12-03 08:19:40 -08:00
textinput.rs Adds support for input element's maxlength attr 2015-12-03 14:00:51 +11:00
timers.rs Correct undisciplined rebase. (Closes #8583.) 2015-11-18 21:10:20 +01:00
unpremultiplytable.rs add un-premultiply table for GetImageData 2015-10-20 04:51:29 -04:00
webdriver_handlers.rs Removed duplicate webdriver_traits file and added webdriver handler for GetWindowSize, IsSelected and IsEnabled 2015-11-29 15:48:23 -05:00