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-- 95 bytes
css-style-declaration-alias-enumeration.html -rw-r--r-- 734 bytes
green-ref.html -rw-r--r-- 273 bytes
historical.html -rw-r--r-- 535 bytes
idlharness.window.js -rw-r--r-- 307 bytes
webkit-appearance.html -rw-r--r-- 2.1 KB
webkit-background-origin-text-ref.html -rw-r--r-- 306 bytes
webkit-background-origin-text.html -rw-r--r-- 585 bytes
webkit-linear-gradient-line-bottom.html -rw-r--r-- 704 bytes
webkit-linear-gradient-line-left.html -rw-r--r-- 700 bytes
webkit-linear-gradient-line-right.html -rw-r--r-- 702 bytes
webkit-linear-gradient-line-top.html -rw-r--r-- 698 bytes
webkit-text-fill-color-currentColor.html -rw-r--r-- 750 bytes
webkit-text-fill-color-property-001-ref.html -rw-r--r-- 285 bytes
webkit-text-fill-color-property-001a.html -rw-r--r-- 521 bytes
webkit-text-fill-color-property-001b.html -rw-r--r-- 533 bytes
webkit-text-fill-color-property-001c.html -rw-r--r-- 565 bytes
webkit-text-fill-color-property-001d.html -rw-r--r-- 541 bytes
webkit-text-fill-color-property-002-ref.html -rw-r--r-- 808 bytes
webkit-text-fill-color-property-002.html -rw-r--r-- 1.1 KB
webkit-text-fill-color-property-003-ref.html -rw-r--r-- 853 bytes
webkit-text-fill-color-property-003.html -rw-r--r-- 1.1 KB
webkit-text-fill-color-property-004-ref.html -rw-r--r-- 690 bytes
webkit-text-fill-color-property-004.html -rw-r--r-- 966 bytes
webkit-text-fill-color-property-005-ref.html -rw-r--r-- 588 bytes
webkit-text-fill-color-property-005.html -rw-r--r-- 886 bytes
webkit-text-fill-color-property-006-ref.html -rw-r--r-- 605 bytes
webkit-text-fill-color-property-006.html -rw-r--r-- 897 bytes

back to top