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-- 90 bytes
idlharness.https.window.js -rw-r--r-- 268 bytes
share-cancel-manual.html -rw-r--r-- 739 bytes
share-empty.https.html -rw-r--r-- 1.2 KB
share-extra-argument-manual.html -rw-r--r-- 670 bytes
share-extra-field-manual.html -rw-r--r-- 674 bytes
share-non-string-manual.html -rw-r--r-- 808 bytes
share-null-manual.html -rw-r--r-- 762 bytes
share-securecontext.http.html -rw-r--r-- 477 bytes
share-simple-manual.html -rw-r--r-- 1.0 KB
share-unicode-strings-manual.html -rw-r--r-- 1001 bytes
share-unicode-strings-nonutf8-manual.html -rw-r--r-- 1.1 KB
share-url-data-manual.html -rw-r--r-- 560 bytes
share-url-empty-manual.html -rw-r--r-- 530 bytes
share-url-encoding-manual.html -rw-r--r-- 868 bytes
share-url-invalid.https.html -rw-r--r-- 610 bytes
share-url-noscheme-manual.html -rw-r--r-- 616 bytes
share-url-pathonly-manual.html -rw-r--r-- 601 bytes
share-url-relative-manual.html -rw-r--r-- 616 bytes
share-without-user-gesture.https.html -rw-r--r-- 573 bytes

back to top