- From: Nigel Megitt via GitHub <sysbot+gh@w3.org>
- Date: Fri, 07 Sep 2018 15:12:15 +0000
- To: public-css-archive@w3.org
@fantasai @astearns yes, it looks like using `::first-line` in the way suggested at https://github.com/w3c/csswg-drafts/issues/2998#issuecomment-413290078 and https://github.com/w3c/csswg-drafts/issues/2998#issuecomment-413319194 would work. As @skynavga pointed out, the TTML2 spec was changed after this issue was raised in a way that enabled exactly this hypothetical solution. I've confirmed this offline with @palemieux. The change needed is to allow `ruby-position` to apply to `::first-line`. [Ruby Layout Module Level 1](https://drafts.csswg.org/css-ruby/#placement) explicitly excludes this currently, and the [Pseudo-Elements Module Level 4 `::first-line` specification](https://drafts.csswg.org/css-pseudo-4/#first-line-pseudo) is consistent with that because it does not list any ruby properties. By the way, this is analogous to [text-emphasis-position](https://www.w3.org/TR/css-text-decor-3/#text-emphasis-position-property) which _does_ apply to `::first-line`. It seems obvious to me that the same mechanism should be used for positioning ruby as for positioning text emphasis. -- GitHub Notification of comment by nigelmegitt Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2998#issuecomment-419471075 using your GitHub account
Received on Friday, 7 September 2018 15:12:16 UTC