https://github.com/web-platform-tests/wpt
Revision 1b5ce4ad3817e7b7247d7ff0f76b81877fce0d89 authored by Andrew Comminos on 21 December 2018, 21:45:26 UTC, committed by Chromium WPT Sync on 21 December 2018, 21:45:26 UTC
When two child elements of a flexbox overlap (for example, due to
negative margins), the element drawn in the foreground may not actually
capture the hit if the element underneath it is hit-tested in an earlier
phase (e.g. foreground before child block background), despite being
occluded. This is because painting of flexbox children is done
atomically (all phases at once). This change makes hit testing atomic as
well, in accordance with the spec [1].

[1] https://www.w3.org/TR/css-flexbox-1/#painting

Bug: 844505
Change-Id: Iceab80b42f19488dcb59565ea3c0ce40d48c483b
1 parent f3cbe03
History
Tip revision: 1b5ce4ad3817e7b7247d7ff0f76b81877fce0d89 authored by Andrew Comminos on 21 December 2018, 21:45:26 UTC
Perform flexbox child hit testing by testing all children atomically
Tip revision: 1b5ce4a
File Mode Size
resources
META.yml -rw-r--r-- 127 bytes
dom_interactive_image_document.html -rw-r--r-- 1.0 KB
dom_interactive_media_document.html -rw-r--r-- 1.0 KB
idlharness.window.js -rw-r--r-- 547 bytes
nav2_data_uri.html -rw-r--r-- 437 bytes
nav2_test_attributes_exist.html -rw-r--r-- 2.4 KB
nav2_test_attributes_values.html -rw-r--r-- 5.8 KB
nav2_test_document_open.html -rw-r--r-- 4.1 KB
nav2_test_document_replaced.html -rw-r--r-- 2.2 KB
nav2_test_frame_removed.html -rw-r--r-- 1.1 KB
nav2_test_instance_accessible_from_the_start.html -rw-r--r-- 545 bytes
nav2_test_instance_accessors.html -rw-r--r-- 3.2 KB
nav2_test_navigate_iframe.html -rw-r--r-- 1.7 KB
nav2_test_navigate_within_document.html -rw-r--r-- 3.0 KB
nav2_test_navigation_type_backforward.html -rw-r--r-- 3.4 KB
nav2_test_navigation_type_navigate.html -rw-r--r-- 1.2 KB
nav2_test_navigation_type_reload.html -rw-r--r-- 2.3 KB
nav2_test_redirect_none.html -rw-r--r-- 1.5 KB
nav2_test_redirect_server.html -rw-r--r-- 2.2 KB
nav2_test_redirect_xserver.html -rw-r--r-- 2.4 KB
nav2_test_redirect_xserver_opt_in.html -rw-r--r-- 2.7 KB
nav2_test_unique_nav_instances.html -rw-r--r-- 3.1 KB
nav2_test_unloadEvents_no_previous_document.html -rw-r--r-- 1.4 KB
nav2_test_unloadEvents_previous_document_cross_origin.sub.html -rw-r--r-- 2.2 KB
nav2_test_unloadEvents_with_cross_origin_redirects.html -rw-r--r-- 2.6 KB
nav2_test_unloadEvents_with_previous_document.html -rw-r--r-- 1.9 KB
po-navigation.html -rw-r--r-- 1.2 KB
supported_navigation_type.any.js -rw-r--r-- 363 bytes
test_document_open.html -rw-r--r-- 2.5 KB
test_document_readiness_exist.html -rw-r--r-- 1.8 KB
test_navigate_within_document.html -rw-r--r-- 2.4 KB
test_navigation_attributes_exist.html -rw-r--r-- 1015 bytes
test_navigation_redirectCount_none.html -rw-r--r-- 1.5 KB
test_navigation_type_backforward.html -rw-r--r-- 4.0 KB
test_navigation_type_enums.html -rw-r--r-- 1.1 KB
test_navigation_type_reload.html -rw-r--r-- 4.5 KB
test_no_previous_document.html -rw-r--r-- 1.9 KB
test_performance_attributes.sub.html -rw-r--r-- 1.3 KB
test_performance_attributes_exist.html -rw-r--r-- 955 bytes
test_performance_attributes_exist_in_object.html -rw-r--r-- 1.3 KB
test_readwrite.html -rw-r--r-- 1.2 KB
test_timing_attributes_exist.html -rw-r--r-- 1.0 KB
test_timing_attributes_order.html -rw-r--r-- 5.1 KB
test_timing_client_redirect.html -rw-r--r-- 2.5 KB
test_timing_reload.html -rw-r--r-- 3.5 KB
test_timing_server_redirect.html -rw-r--r-- 2.2 KB
test_timing_xserver_redirect.html -rw-r--r-- 3.2 KB
test_unique_performance_objects.html -rw-r--r-- 1.4 KB

back to top