generated from oddbird/polyfill-template
-
-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Single value position-anchor that works in Chrome (in this case position-area: right;) is not working in Firefox at all with the polyfill.
To Reproduce
https://codepen.io/jsnkuhn/pen/NPNyxrx?editors=1100
Expected behavior
https://drafts.csswg.org/css-anchor-position-1/#position-area-syntax
- from my reading of the spec a single value position anchor like
position-anchor: right;should be valid. - It should compute to a 2 value syntax. In this case
right span-all
while chrome accepts and renders this as expected. It doesn't seem to get the computed value correct. Currently computes to position-area: right; I don't know if i'm reading the spec wrong or if they just haven't gotten to this yet.
The polyfill is computing to right incorrectly but consistently with Chrome but this isn't rendering correctly with the polyfill.
Chrome 142:
Firefox 145:

Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working