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

> the layout size of a hairline probably needs to be fixed to avoid weird unstable layouts

This was my only concern as I was catching up on this discussion. Can we specify as part of the definition of `hairline` that, for sizing purposes, it's treated as equivalent to `1px`?

Though that might cause counterintuitive results if we also allow for multiples of `hairline`. Suppose `3 * hairline` resolves to fewer than 1px worth of device pixels. Does the resulting border occupy 3px of layout space even though the line is painted as only 1px wide?

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


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

Received on Thursday, 19 September 2024 19:41:11 UTC