css-anchor-positioning icon indicating copy to clipboard operation
css-anchor-positioning copied to clipboard

Support all part-like pseudo-elements.

Open ayoreis opened this issue 1 year ago • 1 comments

More info in #208, tldr we should support:

  • [x] ::before and ::after in #213
  • [ ] ::file-selector-button
  • [ ] ::-webkit-slider-thumb

ayoreis avatar Jul 23 '24 13:07 ayoreis

Note that the spec has been updated to read "fully styleable tree-abiding pseudo-element" instead of part-like.

https://github.com/w3c/csswg-drafts/commit/da73f0767897a578f2d1c63b218cf204d519f629

The definition is here- https://drafts.csswg.org/css-pseudo-4/#treelike. It seems to limit anchor support to only ::after and ::before. ::file-selector-button and ::details-content are instead "Element-backed" (and ::-webkit-slider-thumb is not specified).

jamesnw avatar Nov 08 '24 16:11 jamesnw