[Webkit-unassigned] [Bug 222547] New: iOS indeterminate checkbox displays as checked when checked attribute is true

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Mar 1 05:34:29 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=222547

            Bug ID: 222547
           Summary: iOS indeterminate checkbox displays as checked when
                    checked attribute is true
           Product: WebKit
           Version: Safari 14
          Hardware: iPhone / iPad
                OS: iOS 14
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bordebugz at gmail.com
                CC: cdumez at apple.com, wenson_hsieh at apple.com

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.)

-- 
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/20210301/8e8ae8be/attachment.htm>


More information about the webkit-unassigned mailing list