New issue
Advanced search Search tips

Issue 687156 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Faulty hitTest with rounded border and display: inline-table

Reported by a.goed...@googlemail.com, Jan 31 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.59 Safari/537.36

Steps to reproduce the problem:
1. Open the attached html file.
2. Click outside of the circle into the (imaginary) bounding rectangle.
3. The div becomes active, even through the click did not hit the div itself.

What is the expected behavior?
The hitTest should respect the rounded borders. If the display property of the div is _not_ 'inline-table' this works as expected.

This works correctly in FF.

What went wrong?
The hitTest does not correctly respect the rounded borders.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 56.0.2924.59  Channel: n/a
OS Version: 
Flash Version:

 
buttonTest.html
467 bytes View Download
Labels: Needs-Bisect M-57
Status: Available (was: Unconfirmed)
This is most likely a duplicate of 647969 or 644093, the latter also deals with inline elements.
Could you please verify duplicate as part of the triage process? Avoiding un-duped
dups is important for metrics.
Cc: kkaluri@chromium.org
Labels: Needs-Feedback
Tested this issue on Ubuntu 14.04 with chrome version #56.0.2924.59

These are the steps followed
1. Navigated to the provided html
2. Clicked on the outside circle, "push me" text got selected.
3. Clicked on inside circle, circle turning into red.
3. Able to drag the text outside the circle

The same behavior is observed in Firefox too, attaching the screen-cast for reference
a.goedeke@ could you please look into it and let us know the actual and expected behavior of this issue.

Thank You...
Issue 687156.mp4
828 KB View Download
The actual behavior in my version of chrome is that clicking _outside_ of the circle triggers it's :active state. This should not happen, instead the hitTest should respect the rounded corners. I also attached a screengrab.
out.ogv
326 KB View Download
Owner: schenney@chromium.org
Status: Assigned (was: Available)
Assigning to myself to verify if it's a duplicate.
schenney@ could you please provide any latest update  on this issue.

Labels: -Needs-Feedback -Needs-Bisect
This is in my backlog. It's a longstanding issue which is not easy to fix.
SO it's not a duplicate then? Best to leave it available in that case.
Status: Available (was: Assigned)
 Issue 711094  has been merged into this issue.
Cc: schenney@chromium.org
Owner: ----
Not a duplciate, apparently. Still happening on trunk (circa M-66).

Sign in to add a comment