Re: [csswg-drafts] [css-lists] The `cursor` property should apply to `::marker`s (#6203)

I think the use of `::marker` in `details>summary` is a mistake.

1. This makes the display have to be a `list-item`, and by default you can't use a layout like flexbox.
2. There are only a limited number of properties that can be set in marker, you can't use `transform` to animate it
3. The `cursor` cannot be set as mentioned in this issue.

If we just allow the use of the cursor, we can't solve similar problems completely.

So I think a generic pseudo-element should be added, which faces the same [problem as checkmark](https://github.com/openui/open-ui/issues/863) in `selectlist`, the current [Chrome implementation](https://chromium-review.googlesource.com/c/chromium/src/+/5578818) (by @josepharhar ) uses `::before`.



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


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

Received on Tuesday, 11 June 2024 18:08:15 UTC