8000 [css-ruby] Does line-height have an effect on any of the ruby boxes? · Issue #4979 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

Skip to content
  • Pricing
  • Search code, repositories, users, issues, pull requests...

    Provide feedback

    We read every piece of feedback, and take your input very seriously.

    Saved searches

    Use saved searches to filter your results more quickly

    Appearance settings

    [css-ruby] Does line-height have an effect on any of the ruby boxes? #4979

    @frivoal

    Description

    @frivoal

    Section 3.5 of the css-ruby spec talks about the effect line-height on a ruby container has on the line in which it is. That makes sense, and that should stay.

    The same implies, without really saying so, that line-height on the ruby container has no effects on the inside layout of the ruby container. I think we should define it to have no such effect.

    Also, no other part of the spec talks about the applicability of line-height onto any of the internal ruby boxes (ruby bases, ruby annotations, ruby base containers, ruby annotation containers). I think we should define it not to apply.

    Reasoning for line-height having no effects on anything inside the ruby layout:

    • The various kinds of ruby boxes are to varying degrees analogous to inline boxes, and line-height has no effect on the inside of an inline box (only on the size of the line around it, which is why it's also kept as having an effect on the outside of ruby containers).
    • It's simpler
    • It's not necessary
    • That's the way Firefox implements it

    Metadata

    Metadata

    Assignees

    No one assigned

      Type

      No type

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        0