Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[css-scroll-snap] scroll-snap-align values assigned backwards #2232
Filed Chromium issue to fix this before we ship. However Safari is shipping the scroll-snap-align with inline/block order so there is interop risk here.
Is there any indication that they will switch as well? otherwise we need to evaluate the interop risk here.
Originally posted here.
I ran a query against httparchive database to better understand the compat risk. My exact query is below if anyone wants to replicate .
Only 4 were using the scroll-snap-align with two arguments. This is out of 450k pages so usage and breakage is very low AFAICT. This gives me more confidence to make the switch. We should ensure Safari is willing to make the switch to avoid interop issues.
Here is the result:
Note that one of the cases is actually using it incorrectly.
 BigQuery query: