WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
222547
iOS indeterminate checkbox displays as checked when checked attribute is true
https://bugs.webkit.org/show_bug.cgi?id=222547
Summary
iOS indeterminate checkbox displays as checked when checked attribute is true
bordebugz
Reported
2021-03-01 05:34:29 PST
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
Comment 1
2021-03-04 15:35:53 PST
<
rdar://problem/75061169
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug