Re: [csswg-drafts] [css-ruby] Does line-height have an effect on any of the ruby boxes? (#4979)

I'm confused. Why does line-height not work in ruby? It will be difficult to get the `<rb>` centered vertically within the border.

![image](https://github.com/w3c/csswg-drafts/assets/2784308/f7eb3901-f2bd-4bdd-9073-307fe89635b8)


```html
  <ruby>
    <rb>李</rb>
    <rt>lǐ</rt>
  </ruby>

<style>
rb {
  width: 1.25ic;
  height: 1.25ic;
  line-height: 1.25ic;
  text-align: center;
  border: 1px solid red;
}
</style>
```

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 6 June 2024 05:11:26 UTC