Re: [csswg-drafts] [css-values-4][cssom] Proposal to allow retrieval of sub-pixel border values (#10729)

`getComputedStyle` begins with the computed value, and sometimes resolves it further to used values or whatever.
Here the computed value has already been snapped. See https://drafts.csswg.org/css-backgrounds-3/#border-width

> Computed value: absolute length, [snapped as a border width](https://drafts.csswg.org/css-values-4/#snap-a-length-as-a-border-width); zero if the border style is [none](https://drafts.csswg.org/css-backgrounds-3/#valdef-line-style-none) or [hidden](https://drafts.csswg.org/css-backgrounds-3/#valdef-line-style-hidden)

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


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

Received on Tuesday, 13 August 2024 15:11:00 UTC