New issue
Advanced search Search tips

Issue 859725 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

[css-outside-shape][css-position] visual stacking context different than interact-able for text alongside element using shape-outside

Reported by h...@jonjohnjohnson.com, Jul 3

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3475.0 Safari/537.36

Steps to reproduce the problem:
1. Go to url -> http://labs.jensimmons.com/2016/examples/shapes-3.html
2. Attempt to select text in the paragraph next to the image of grapes, with your cursor BETWEEN line boxes.
3. Notice how you will "grab" the image instead of selecting the text.

What is the expected behavior?
Might be an issue related to shape-outside with hit testing of stacking contexts, but you should be able to select the text of the paragraph alongside the grapes image, even if the mouse is between line boxes, since the painting of the text is above the "masked" image. Notice how if you add a position scope, like 'position:relative' to the paragraph tag, the text selection works as expected.

What went wrong?
The hit area and/or document selection is not what a user probably expects... between line boxes inside a non-positioned element that is after, in source order, and visually "above" a clipped 'outside-shape' set element?

Did this work before? No 

Chrome version: 69.0.3475.0  Channel: canary
OS Version: OS X 10.12.6
Flash Version: 

Video of unexpected interaction -> http://cl.ly/sfvk
 
Labels: Needs-Triage-M69
Title should say "shape-outside", fingers typing faster than I think. Each use of "outside-shape" meant to be "shape-outside". :/
Cc: phanindra.mandapaka@chromium.org
Labels: Triaged-ET M-69 Target-69 FoundIn-69 OS-Linux OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on reported chrome version 69.0.3475.0, latest stable 67.0.3396.99 and on latest chrome 69.0.3481.0 using Mac 10.12.6, Windows 10 and Ubuntu 17.10. 
 
Same behavior is seen on M60(60.0.3112.113) hence considering it as non-regression and marking it as Untriaged.

Thanks! 
859725.mp4
1.6 MB View Download
Labels: Hotlist-DesktopUIChecked Hotlist-DesktopUIValid
** UI Mass triage **

Still able to reproduce the issue using chrome latest canary-72.0.3616.0, hence adding respective labels.

Thanks!

Sign in to add a comment