Bug 112010

Summary: [CSS Regions] Content in a region's visible overflow does not trigger :hover state, nor JavaScript events
Product: WebKit Reporter: Mihai Balan <mibalan>
Component: CSSAssignee: Radu Stavila <stavila>
Status: RESOLVED FIXED    
Severity: Normal CC: abucur, buildbot, commit-queue, rniwa, WebkitBugTracker
Priority: P2 Keywords: AdobeTracked
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 57312, 116295    
Attachments:
Description Flags
Test-case
none
Patch containing test for :hover and JS events on the visual overflow of a region
none
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2
none
Re-uploaded the same patch to trigger EWS again (new failing test unlikely to be related) commit-queue: commit-queue-

Description Mihai Balan 2013-03-11 07:56:55 PDT
Created attachment 192469 [details]
Test-case

CSS rules using :hover are not applied if the element is in the visible overflow of a region (-webkit-region-overflow: auto; and overflow: visible).

In contrast, :hover on normal overflowing content is applied.

Reproduction:
In the attached test case move the mouse over the blue word ("overflows")

Expected:
The blue word should become white on a green background.
The word "PASS" (in green) should be displayed above the gray square.

Actual:
Blue word does not change color. Nothing appears above the gray square.
Comment 1 Michelangelo De Simone 2013-06-13 11:13:07 PDT
Still repros on today's nightly (r151543)
Comment 2 Radu Stavila 2013-11-14 04:16:08 PST
Created attachment 216918 [details]
Patch containing test for :hover and JS events on the visual overflow of a region

This problem has been fixed by https://bugs.webkit.org/show_bug.cgi?id=118665. After that patch lands, these new tests can be landed as well (the tests fail on the current implementation, without the 118665 patch).
Comment 3 Build Bot 2013-11-21 06:39:36 PST
Comment on attachment 216918 [details]
Patch containing test for :hover and JS events on the visual overflow of a region

Attachment 216918 [details] did not pass mac-wk2-ews (mac-wk2):
Output: http://webkit-queues.appspot.com/results/30098092

New failing tests:
svg/batik/filters/filterRegions.svg
Comment 4 Build Bot 2013-11-21 06:39:38 PST
Created attachment 217558 [details]
Archive of layout-test-results from webkit-ews-15 for mac-mountainlion-wk2

The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews.
Bot: webkit-ews-15  Port: mac-mountainlion-wk2  Platform: Mac OS X 10.8.5
Comment 5 Radu Stavila 2013-11-21 06:53:32 PST
Created attachment 217560 [details]
Re-uploaded the same patch to trigger EWS again (new failing test unlikely to be related)
Comment 6 WebKit Commit Bot 2013-11-21 11:09:27 PST
Comment on attachment 217560 [details]
Re-uploaded the same patch to trigger EWS again (new failing test unlikely to be related)

Rejecting attachment 217560 [details] from commit-queue.

Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-03', 'validate-changelog', '--check-oops', '--non-interactive', 217560, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit

ChangeLog entry in LayoutTests/ChangeLog contains OOPS!.

Full output: http://webkit-queues.appspot.com/results/32738004
Comment 7 WebKit Commit Bot 2013-11-21 12:00:47 PST
Comment on attachment 216918 [details]
Patch containing test for :hover and JS events on the visual overflow of a region

Clearing flags on attachment: 216918

Committed r159640: <http://trac.webkit.org/changeset/159640>
Comment 8 WebKit Commit Bot 2013-11-21 12:00:59 PST
All reviewed patches have been landed.  Closing bug.