W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

Re: [csswg-drafts] [css-inline-3] Propose N/A value for em-top and em-bottom baselines (#5380)

From: Koji Ishii via GitHub <sysbot+gh@w3.org>
Date: Sun, 09 Aug 2020 15:35:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-671066420-1596987323-sysbot+gh@w3.org>
The last part of my comment above was incorrect, sorry. Correction:
> @jfkthame:
> 
> > In my mind, at least, em-top and em-bottom are expected to provide the alignment positions used by Canvas2d textBaseline=top and bottom, so they can't be undefined or zero or whatever.
> 
> Blink uses [text-over](https://drafts.csswg.org/css-inline-3/#text-over-baseline) and [text-under](https://drafts.csswg.org/css-inline-3/#text-under-baseline) for them today

Blink used to use text-over and text-under, switched to the logic you suggested in https://github.com/whatwg/html/issues/2470, but WebKit did not agree, so we're still not interoperable.

I don't know whether WebKit is happy with this new logic or not, but this new logic does not work well for Blink.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 9 August 2020 15:35:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC