checkbox labels with user-select: none content cannot be used to check/uncheck when any text on the page is selected
Reported by
jonathan...@gmail.com,
Jul 10 2017
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.50 Safari/537.36 Example URL: https://jsfiddle.net/63uztohu/4/ Steps to reproduce the problem: 1. Visit https://jsfiddle.net/63uztohu/4/ 2. Read the directions in the rendered content 3. Checkboxes should work when no text is selected 4. Highlight some text 5. The first checkbox will no longer work, the second checkbox will not work when clicking the label, the third checkbox will still work What is the expected behavior? Checkbox label content should always work to toggle the state of the enclosed checkbox when clicked, regardless of whether text is selected or not, regardless of whether or not the checkbox label content is wrapped in a span that is not user-selectable. What went wrong? When three circumstances are true the checkbox cannot be toggled: 1) text is highlighted anywhere on the page 2) the label for the checkbox is clicked, and not the checkbox itself 3) the label's content is wrapped in a span that is not user-selectable Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 60.0.3112.50 Channel: beta OS Version: OS X 10.11.6 Flash Version:
,
Jul 11 2017
Tested in chrome #Beta 60.0.3112.50 and Canary #61.0.3154.0 on Mac 10.12.5 and not able to reproduce the issue.Please find the screen cast for your reference. @jonathantoms5: Could you please let me know if i have missed anything and if possible,Please create new profile without extensions and apps.Re-check once and let us know the observations of the issue which would help us to triage the issue further. Thanks in Advance.
,
Jul 11 2017
I can still recreate this in both beta v 60 and Canary v61.0.3154.0. @rbasuvula there are a couple of things you should do differently to recreate the issue. First, don't select a whole paragraph of text by double clicking, that appears to not cause the bug. Just highlight some words with the cursor by clicking and dragging. Second, you need to click the label, not the checkbox. The checkbox always works, but clicking the label is also supposed to toggle the checkbox, that's what isn't working. The first checkbox with custom styling is all label, so that's fine, as long as you don't double click it. The next two, you need to click the label. The last one should work fine, it's there to show that it is the span inside the label that isn't working.
,
Jul 11 2017
Thank you for providing more feedback. Adding requester "rbasuvula@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Jul 12 2017
Able to reproduce the issue on Windows 10, Ubuntu 14.04 and Mac 10.12.5 using chrome reported version #60.0.3112.50 and latest canary #61.0.3154.4. Bisect Information: ===================== Good build: 54.0.2832.0 Revision(412743) Bad Build : 54.0.2833.0 Revision(413134) Change Log URL: https://chromium.googlesource.com/chromium/src/+log/95d59afa4ed0d1bc8b9a833e53377389608e81fd..a664cb352ef4e15f7e02ddfe2caae2c6d243a343 From the above change log suspecting below change Review URL: https://codereview.chromium.org/2246293003 yoichio@ - Could you please check whether this is caused with respect to your change, if not please help us in assigning it to the right owner. Thanks...!!
,
Jul 12 2017
,
Jul 13 2017
Confirmed on Version 61.0.3155.0 (Official Build) canary (64-bit)
,
Jul 28 2017
Issue was fixed. Maybe the CL is: "Do not show I-beam when hovering 'user-select: none'" https://chromium.googlesource.com/chromium/src/+/7a66627f0f0a681fcf3111a9bb0f01a8e0790186 |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by manoranj...@chromium.org
, Jul 10 2017