New issue
Advanced search Search tips

Issue 809801 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows , Mac
Pri: 2
Type: Bug



Sign in to add a comment

stopPropagation on label click within a summary tag not honored

Reported by rmacfarl...@g.hmc.edu, Feb 7 2018

Issue description

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

Steps to reproduce the problem:
See attached html file for an example.
1. Have a label and checkbox element within a summary tag within a details tag
2. Set the "for" of the label to the id of the checkbox
3. Add a click listener on the label that stop propagation of the event
4. Click the label

What is the expected behavior?
The checkbox should be checked, but the details tag should not be toggled open. 

What went wrong?
The details tag toggles open. Setting stopPropagation on the checkbox works as expected and the details does not open in that case.

Did this work before? N/A 

Chrome version: 64.0.3282.140  Channel: stable
OS Version: OS X 10.13.3
Flash Version: 

Firefox: Works as expected
Safari: Same failure
Have not tested other browsers. Same results for Chrome and Firefox on Ubuntu 16.04.
 
testpage.html
339 bytes View Download

Comment 1 by ajha@chromium.org, Feb 7 2018

Labels: Needs-Triage-M64
Labels: Triaged-ET M-66 FoundIn-66 Target-66 OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the issue on Mac 10.12.6 and Win-10 using chrome reported version #64.0.3282.140 and latest canary #66.0.3341.0. Issue is not seen in OS-Linux.
This is a non-regression issue as it is observed from M60 old builds. 

Hence, marking it as untriaged to get more inputs from dev team.

Thanks...!!

Comment 3 by e...@chromium.org, Feb 8 2018

Components: -Blink Blink>Input
Components: -Blink>Input Blink>Forms

Comment 5 by tkent@chromium.org, Feb 16 2018

Components: -Blink>Forms Blink>Forms>Label Blink>HTML>Details
Status: Available (was: Untriaged)

Sign in to add a comment