[Webkit-unassigned] [Bug 219536] New: Disabled select options are still selectable when optgroups are used in MobileSafari
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Dec 4 03:26:22 PST 2020
https://bugs.webkit.org/show_bug.cgi?id=219536
Bug ID: 219536
Summary: Disabled select options are still selectable when
optgroups are used in MobileSafari
Product: WebKit
Version: Safari 14
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Forms
Assignee: webkit-unassigned at lists.webkit.org
Reporter: kris at webhare.nl
CC: cdumez at apple.com, wenson_hsieh at apple.com
MobileSafari doesn't seem to honour the disabled attribute on optgroups, see for example the example at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/optgroup#Examples where the options in the third (disabled) optgroup are enabled in Safari on iOS.
Also, when optgroups are used, disabled options are still selectable, whether they are within an optgroup or outside of it. In the following examples the disabled option is rendered as disabled, but still selectable (and once selected, they are no longer rendered as being disabled):
<select>
<optgroup label="My group">
<option>My selectable option</option>
<option disabled>My disabled option</option>
</optgroup>
</select>
<select>
<option>My selectable option</option>
<option disabled>My disabled option</option>
<optgroup label="My group" />
</select>
Tested using iOS 14.2 on iPhone 11 Pro and iOS 14.2, 13.7 and 12.4 in the iOS Simulator.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201204/1ce1b9e4/attachment.htm>
More information about the webkit-unassigned
mailing list