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
support
DOMParser-parseFromString.tentative.html -rw-r--r-- 707 bytes
DOMWindowTimers-setTimeout-setInterval.tentative.html -rw-r--r-- 758 bytes
Document-write.tentative.html -rw-r--r-- 515 bytes
Element-insertAdjacentHTML.tentative.html -rw-r--r-- 1.2 KB
Element-outerHTML.tentative.html -rw-r--r-- 709 bytes
Element-setAttribute.tentative.html -rw-r--r-- 2.0 KB
Element-setAttributeNS.tentative.html -rw-r--r-- 1009 bytes
GlobalEventHandlers-onclick.tentative.html -rw-r--r-- 761 bytes
HTMLElement-generic.tentative.html -rw-r--r-- 1.9 KB
Location-assign.tentative.html -rw-r--r-- 456 bytes
Location-href.tentative.html -rw-r--r-- 462 bytes
Location-replace.tentative.html -rw-r--r-- 458 bytes
META.yml -rw-r--r-- 34 bytes
Range-createContextualFragment.tentative.html -rw-r--r-- 590 bytes
TrustedTypePolicy-CSP-no-name.tentative.html -rw-r--r-- 539 bytes
TrustedTypePolicy-CSP-wildcard.tentative.html -rw-r--r-- 445 bytes
TrustedTypePolicy-CSP.tentative.html -rw-r--r-- 980 bytes
TrustedTypePolicy-createXXX.tentative.html -rw-r--r-- 4.6 KB
TrustedTypePolicy-exposed.tentative.html -rw-r--r-- 985 bytes
TrustedTypePolicy-name.tentative.html -rw-r--r-- 1.0 KB
TrustedTypePolicyFactory-createPolicy-createXYZTests.tentative.html -rw-r--r-- 9.5 KB
TrustedTypePolicyFactory-createPolicy-cspTests-noNamesGiven.tentative.html -rw-r--r-- 481 bytes
TrustedTypePolicyFactory-createPolicy-cspTests-wildcard.tentative.html -rw-r--r-- 483 bytes
TrustedTypePolicyFactory-createPolicy-cspTests.tentative.html -rw-r--r-- 980 bytes
TrustedTypePolicyFactory-createPolicy-defaultTests.tentative.html -rw-r--r-- 415 bytes
TrustedTypePolicyFactory-createPolicy-exposedTests.tentative.html -rw-r--r-- 1.1 KB
TrustedTypePolicyFactory-createPolicy-nameTests.tentative.html -rw-r--r-- 976 bytes
TrustedTypePolicyFactory-isXXX.tentative.html -rw-r--r-- 4.7 KB
Window-TrustedTypes.tentative.html -rw-r--r-- 501 bytes
Window-open.tentative.html -rw-r--r-- 794 bytes
WorkerGlobalScope-importScripts.https.html -rw-r--r-- 1.5 KB
WorkerGlobalScope-importScripts.https.js -rw-r--r-- 2.5 KB
WorkerGlobalScope-importScripts.https.js.headers -rw-r--r-- 41 bytes
block-string-assignment-to-DOMParser-parseFromString.tentative.html -rw-r--r-- 1.8 KB
block-string-assignment-to-DOMWindowTimers-setTimeout-setInterval.tentative.html -rw-r--r-- 2.3 KB
block-string-assignment-to-Document-write.tentative.html -rw-r--r-- 1.1 KB
block-string-assignment-to-Element-insertAdjacentHTML.tentative.html -rw-r--r-- 4.8 KB
block-string-assignment-to-Element-outerHTML.tentative.html -rw-r--r-- 2.4 KB
block-string-assignment-to-Element-setAttribute.tentative.html -rw-r--r-- 4.4 KB
block-string-assignment-to-Element-setAttributeNS.tentative.html -rw-r--r-- 1.3 KB
block-string-assignment-to-HTMLElement-generic.tentative.html -rw-r--r-- 3.5 KB
block-string-assignment-to-Location-assign.tentative.html -rw-r--r-- 1.7 KB
block-string-assignment-to-Location-href.tentative.html -rw-r--r-- 1.7 KB
block-string-assignment-to-Location-replace.tentative.html -rw-r--r-- 1.7 KB
block-string-assignment-to-Range-createContextualFragment.tentative.html -rw-r--r-- 2.2 KB
block-string-assignment-to-Window-open.tentative.html -rw-r--r-- 2.7 KB
idlharness.window.js -rw-r--r-- 891 bytes

back to top