[css-ruby] vertical-align on ruby bases

Open
#4,987 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
css
Domain
frontend, web-dev

Research direction

Start with the CSS Ruby layout section linked in the issue and review the cited discussion about ruby base containers and vertical alignment. The work is done when the specification clearly resolves whether vertical-align applies to ruby bases and how their block-direction size and positioning are determined.

Written by the indexing model from the issue text.

Description

css-ruby-1

from point 1 in https://lists.w3.org/Archives/Public/www-style/2015Feb/0235.html :

http://dev.w3.org/csswg/css-ruby/#ruby-layout says "Each ruby
base container is sized and positioned to contain exactly all of
its ruby bases’ margin boxes.". This presumes that the ruby bases
have known positions, which isn't true, since vertical alignment
(particularly for 'top' and 'bottom') can't be done until layout of
the entire line is complete. The simple solution is to say that
vertical-align does not apply to ruby bases (they're always like
'baseline'), and to say that their block-direction size is computed
as for inlines (based on the font, not contents).

Dominant language
Bikeshed
Stars
4.9k
Forks
816
Avg merge
2d 18h
Merged PRs (30d)
24

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.

More from w3c/csswg-drafts

All issues in w3c/csswg-drafts

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.