Summary: | [CSS Regions] Hit testing is broken for absolutely positioned regions that have overflow: hidden | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Mihai Balan <mibalan> | ||||||||
Component: | CSS | Assignee: | Mihnea Ovidenie <mihnea> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | commit-queue, esprehn+autocc, mihnea, WebkitBugTracker | ||||||||
Priority: | P2 | Keywords: | AdobeTracked | ||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Bug Depends on: | |||||||||||
Bug Blocks: | 57312 | ||||||||||
Attachments: |
|
Created attachment 199663 [details]
Patch
Comment on attachment 199663 [details]
Patch
r=me
Created attachment 199784 [details]
Patch for landing
Comment on attachment 199784 [details] Patch for landing Clearing flags on attachment: 199784 Committed r149168: <http://trac.webkit.org/changeset/149168> All reviewed patches have been landed. Closing bug. |
Created attachment 196344 [details] Test file highlighting the problem For regions that have overflow: hidden and are absolutely positioned, hit testing is broken, as follows: - :hover rules never get applied - mouse events handlers don't fire - document.elementFromPoint() returns bogus elements. For instance, in the attached test file: - the text below the regions should read "document.elementFromPoint() - OK" - move the mouse over the orange rectangle and click EXP: orange rectangle turns black, PASS appears ACT: orange rectangle turns black, nothing appears