- From: Xidorn Quan via GitHub <sysbot+gh@w3.org>
- Date: Sat, 31 Jul 2021 08:16:57 +0000
- To: public-css-archive@w3.org
> The default font size of rt element in the user agent style sheet is 50%. Anonymous rt elements will inherit their font size from the ruby container which uses a font size of 100%. So, there will be a height difference all the time. I forgot the whole context of that sentence when I sent it initially, but I'd like to note that it is possible for UA to style specific anonymous box they generate in a way which normal content is not able to access, i.e. if we want, I think it's possible to say that anonymous ruby annotation has 50% of the font size. But that has two problems: 1. if it's inside an `rtc` with 50% font size, it would become 25% of the base font size, and it may not be easy to fix because anonymous box is usually special, so it may not have the full selector support 2. if user wants a different font size, the anonymous box's style would change with that. I think in most common use cases, i.e. Japanese's kana annotation, it is not a problem, because there is generally no whitespace within the annotation between characters. -- GitHub Notification of comment by upsuper Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5962#issuecomment-890310263 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 31 July 2021 08:16:58 UTC