oddbird / css-anchor-positioning

Polyfill for CSS Anchor Positioning
https://anchor-polyfill.netlify.app/
BSD 3-Clause "New" or "Revised" License
225 stars 5 forks source link

Position Fallback #202

Open jamesnw opened 3 weeks ago

jamesnw commented 3 weeks ago

Description

Changes from @position-fallback and @try to @position-try and related declarations.

Related Issue(s)

Closes #167

Steps to test/reproduce

Check Position-try example

netlify[bot] commented 3 weeks ago

Deploy Preview for anchor-position-wpt canceled.

Name Link
Latest commit fa72a5f362f71ff69e10c7d87e06fca4f2a7b13a
Latest deploy log https://app.netlify.com/sites/anchor-position-wpt/deploys/6682e4f5dde00200083e82be
netlify[bot] commented 3 weeks ago

Deploy Preview for anchor-polyfill ready!

Name Link
Latest commit fa72a5f362f71ff69e10c7d87e06fca4f2a7b13a
Latest deploy log https://app.netlify.com/sites/anchor-polyfill/deploys/6682e4f55dc20b0008c9af06
Deploy Preview https://deploy-preview-202--anchor-polyfill.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

jamesnw commented 3 weeks ago

Watch https://github.com/w3c/csswg-drafts/issues/10395 for potential renaming of position-try-options to position-try-fallbacks.

jamesnw commented 1 week ago

Watch w3c/csswg-drafts#10395 for potential renaming of position-try-options to position-try-fallbacks.

Changed to match resolution in https://github.com/oddbird/css-anchor-positioning/pull/202/commits/786538b7d3f41d9d5f7058908c9e44860017290a

jamesnw commented 1 week ago

Scroll triggering for fallbacks seems to be working different in Chromium than the Polyfill- I suspect it stems from https://github.com/w3c/csswg-drafts/issues/8059#issuecomment-1444616906, but more research is needed.