w3c / w3c/csswg-drafts

[css-ruby] Parent doesn't contain children

Open
#3,530 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

css-inline-3 css-ruby-1 i18n-tracker
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

Spec: https://drafts.csswg.org/css-ruby-1/#line-height

This bug report with Firefox and the related discussion illustrate a potential implementation problem when dealing with <ruby> text and trying to position it when it overflows its parent container, as it is currently implement to do and which the spec seems to call for. If a parent container for <ruby> elements behaves differently when sizing itself compared to a container with only normal text elements, styling becomes very problematic as the attachment to that Firefox bug illustrates.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the CSS Ruby Level 1 line-height section and the linked Firefox Bugzilla report. Compare the specified ruby overflow and parent-sizing behavior with the attached discussion. Done means the expected behavior is clearly established and the issue has a concrete specification or implementation direction.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend, web-dev
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.