Re: [csswg-drafts] [css-forms-1] Checkbox stylesheet missing indeterminate handling (#11869)

Adding something like this might work, uses an em-dash for the horizontal line. (note it doesn't need `:not([switch])` as that never matches indeterminate)

```
input[type=checkbox]:indeterminate::checkmark {
    content: '\2014' / '';
    
    /* Seems to render much better this way */
    font-weight: 900;
    text-box-trim: trim-both;
    text-box-edge: ex alphabetic;
}
```

-- 
GitHub Notification of comment by lukewarlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11869#issuecomment-2708737160 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 9 March 2025 08:37:12 UTC