- From: Patrick Dark via GitHub <sysbot+gh@w3.org>
- Date: Fri, 27 Oct 2017 04:59:32 +0000
- To: public-css-archive@w3.org
Seems easiest to fix this through a UA stylesheet with CSS4 Selectors `:lang` pseudo-classes: ```` rtc:lang("*-bopo"), rtc:lang("*-hani"), rtc:lang("*-hans"), rtc:lang("*-hant"), rt:lang("*-bopo"), rt:lang("*-hani"):lang("ja"), rt:lang("*-hans"):lang("ja"), rt:lang("*-hant"):lang("ja") { ruby-align: center; } rtc:lang("*-hira"), rtc:lang("*-hrkt"), rtc:lang("*-jpan"), rtc:lang("*-kana"), rtc:lang("ja-hani"), rtc:lang("ja-hans"), rtc:lang("ja-hant"), rt:lang("*-hira"), rt:lang("*-hrkt"), rt:lang("*-jpan"), rt:lang("*-kana"), rt:lang("ja-hani"), rt:lang("ja-hans"), rt:lang("ja-hant") { ruby-align: space-around; } ```` Of course, you only need one of these depending on what the default keyword turns out to be. `center` seems to be the best default if one is looking at ruby as a script-agnostic feature. -- GitHub Notification of comment by patrickdark Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1907#issuecomment-339872908 using your GitHub account
Received on Friday, 27 October 2017 04:59:35 UTC