- From: L. David Baron via GitHub <noreply@w3.org>
- Date: Mon, 02 Feb 2026 21:44:09 +0000
- To: public-css-archive@w3.org
dbaron has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-ui] Add or reuse pseudo-element for openable-submenu indicator (triangle) == We're doing work to add elements to HTML that represent menus (see [explainer](https://open-ui.org/components/menu.explainer/) and [PR](https://github.com/whatwg/html/pull/12011)). The initial work is for application menus, though we hope to follow that with similar work covering navigation menus, which would probably reuse many aspects of the design (including this choice of pseudo-element). One issue we have is how to style the marker that indicates that a menu item opens a submenu. This is typically a triangular marker at the right side, such as the one next to "Zoom" in this screenshot from the explainer:  I think there are a few different options for how to style this, and we should choose one. The main options I see are: 1. Use `::after`. * **Pro**: Matches the way a developer would typically have built this themselves if it weren't a platform feature. * **Con**: Uses something that maybe should be left for web developers to use rather than being part of a platform feature. 2. Use `::marker`. * **Pro**: Matches what we do for `<details>`/`<summary>` which is styled as a list-item and thus has a similar expansion triangle (although at the inline-start edge). * **Con**: Basically all other uses of `::marker` show up at the beginning rather than the end (for list items and for `<details>`/`<summary>`) 3. Create a new pseudo-element. * **Pro**: Matches what we did for `option::checkmark` (see #10857 and #10908). * **Con**: Yet another pseudo-element. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/13430 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 2 February 2026 21:44:10 UTC