- From: Emilio Cobos Álvarez via GitHub <noreply@w3.org>
- Date: Sun, 31 Aug 2025 20:07:25 +0000
- To: public-css-archive@w3.org
emilio has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-text-decor] Rounding of text-decoration-thickness == It [seems](https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/style/text_decoration_thickness.h;l=38;drc=c359630af74e142163b4b978854bdaa4755cad1f) Chromium does some rounding to text decoration thickness. It's not clear to me if that rounds to CSS or device pixels. Someone sent a patch to do something similar in [Firefox](https://bugzilla.mozilla.org/show_bug.cgi?id=840878), but that raises the following questions: * What rounding algorithm should it use? At a glance, this seems similar to borders, and probably it'd be worth being consistent? But that's not chromium behavior afaict. * Should this rounding be done at computed-value time rather than used-value time like borders do? I don't feel super strongly since these don't affect layout, but worth raising. * Should the spec say something about this? This does change the interpretation of explicit lengths given by the author so it seems it probably should? Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12696 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 31 August 2025 20:07:26 UTC