In the intersection observer draft, it talks about threshold as a ratio using examples of 1 decimal only.
I thought of 3 decimals as I normally think on the intersection ratio as a percentage of the area so we can match thresholds up to 3 decimals (or percentages up to 1 decimal).
In the intersection observer draft, it talks about threshold as a ratio using examples of 1 decimal only. I thought of 3 decimals as I normally think on the intersection ratio as a percentage of the area so we can match thresholds up to 3 decimals (or percentages up to 1 decimal).
https://github.com/w3c/IntersectionObserver/issues/324