Re: [csswg-drafts] [css-borders] Add a 'hairline' border-width value (#3720)

That'd be how they work, and what you're describing right now is how browsers behave if you `s/hairline/0.01px` in your test-case fwiw. Exposing the resolution directly would make it clearer IMO, i.e., you'd do `calc(1px / env(resolution))` and it's easy to see why at different resolutions you get overflow vs. not...

-- 
GitHub Notification of comment by emilio
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3720#issuecomment-2365428432 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Sunday, 22 September 2024 02:43:19 UTC