Re: [csswg-drafts] [css-inline-3] make `text` of `leading-trim` interoperable? (#3978)

I wonder if having interoperable values for `text-top` is enough, because of integral rounding that happens in the block axis. As far as I know, this rounding isn't specified anywhere, and I wouldn't be surprised if it was implemented differently in each browser. In WebKit, we've even considered removing this rounding entirely (though we haven't done it).

`leading-trim` applies to block containers, which I believe will cause each paragraph of content to have this 1px rounding difference, meaning that the differences will stack. Given that ascents themselves are calculated differently in different browsers and platforms, differences across platforms arising from `leading-trim` will likely be smaller than differences arising from regular text metrics. However, if this proposal is the first step in a larger effort of standardizing all text metrics across browsers/platforms, the rounding behavior might either thwart the effort or have to be specified itself.

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

Received on Wednesday, 19 June 2019 18:51:23 UTC