css-anchor-positioning
css-anchor-positioning copied to clipboard
Support all part-like pseudo-elements.
More info in #208, tldr we should support:
- [x]
::beforeand::afterin #213 - [ ]
::file-selector-button - [ ]
::-webkit-slider-thumb
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).