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
META.yml -rw-r--r-- 36 bytes
bufferSubData.html -rw-r--r-- 747 bytes
common.js -rw-r--r-- 377 bytes
compressedTexImage2D.html -rw-r--r-- 1.1 KB
compressedTexSubImage2D.html -rw-r--r-- 1.1 KB
texImage2D.html -rw-r--r-- 666 bytes
texSubImage2D.html -rw-r--r-- 681 bytes
uniformMatrixNfv.html -rw-r--r-- 1009 bytes
webgl1-idlharness.any.js -rw-r--r-- 241 bytes
webgl2-idlharness.any.js -rw-r--r-- 251 bytes

back to top