Bug 222547
| Summary: | iOS indeterminate checkbox displays as checked when checked attribute is true | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | bordebugz |
| Component: | Forms | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | akeerthi, bordebugz, cdumez, smoley, webkit-bug-importer, wenson_hsieh |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 14 | ||
| Hardware: | iPhone / iPad | ||
| OS: | iOS 14 | ||
bordebugz
The HTML specification states that the indeterminate IDL attribute should override the checked attribute: "If the element’s indeterminate IDL attribute is set to true, then the control’s selection should be obscured as if the control was in a third, indeterminate, state." (https://www.w3.org/TR/html52/sec-forms.html#checkbox-state-typecheckbox). Unfortunately, this does not appear to be fully the case on iOS (although it seems to be fine on Mac).
Bug report 160484 (https://bugs.webkit.org/show_bug.cgi?id=160484) appears to have attempted to address this issue, but the fix seems to have covered only the case where the checkbox is not checked. If the checkbox is checked and indeterminate, it still shows a checked appearance on iOS. (On Mac, the checked and indeterminate combination result in an indeterminate appearance, as expected per the spec.)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/75061169>