css-anchor-positioning
css-anchor-positioning copied to clipboard
Polyfill for CSS Anchor Positioning
 Hi, I updated the acceptable anchor element algorithm because I needed it for a project but I think it's good to merge upstream. All test pass (one needed updating)...
As of #90, the polyfill supports anchoring of top layer elements but we want to also keep track of the order of top layer elements to ensure a top layer...
Hi, really nice polyfill. I see this example constantly updating when it overlaps the border of the scrollable content. Wouldn't that make it slow. Is that a bug? 
See: https://anchor-position-wpt.netlify.app/ Looks like this was the last report that worked: https://anchor-position-wpt.netlify.app/2023-10-25t17-20-22.974z
Hey! thx for the polyfill! I'm trying to bolt it onto a dropdown and I'm applying the polyfil after the dropdown is open. This works. But when I close the...
Spec: https://drafts.csswg.org/css-anchor-position-1/#name
Spec: https://drafts.csswg.org/css-anchor-position/#positioning In addition to the `top`, `left`, `bottom`, and `right` physical properties, an anchor function can be added to: - inset-block-start - inset-block-end - inset-inline-start - inset-inline-end - inset-block...
Spec: https://drafts.csswg.org/css-anchor-position/#anchor-center
Spec: https://drafts.csswg.org/css-anchor-position/#position-visibility
https://drafts.csswg.org/css-anchor-position/#position-area