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

Device pixels may not be a reasonable for rendering `border-width`s, but if there's a smaller addressable unit than `1hairline` you get things like css grid distributing space in surprising ways (for example <https://codepen.io/webstrand/pen/MYYGqWQ>). 

So `1hairline` needs to be defined as "smallest layout unit that's an integer multiple of device pixels" so that layouts like flex/grid can't split `1hairline` in half and distribute its space between elements. 

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


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

Received on Monday, 5 May 2025 16:48:28 UTC