- From: jfkthame via GitHub <sysbot+gh@w3.org>
- Date: Tue, 04 Aug 2020 11:05:51 +0000
- To: public-css-archive@w3.org
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. The [html spec](https://html.spec.whatwg.org/multipage/canvas.html#dom-context-2d-textbaseline) calls for "the top [or bottom, respectively] of the em square", and its accompanying illustration makes it clear they're expected to be 1em apart, even if that means they're inside the font's ascent/descent. So there needs to be some definition of what they mean even for a Latin font with no BASE table. (I suspect most use cases would be better served by `ascent` and `descent` options, but the `top` and `bottom` values are long-established. They're not very interoperable at the moment because of the lack of a clear definition, which I'm hoping this will provide.) -- GitHub Notification of comment by jfkthame Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5380#issuecomment-668531386 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 4 August 2020 11:05:52 UTC