w3c / w3c/csswg-drafts

[css-inline-3] handling the line gap metric

Open
#8,068 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

IIRC, we had an inconsistency among browsers about whether line-height: normal includes the font’s line gap metric or not. It's not clear to me whether we can get interop on this or not, but my suggested definition is:

  • it is included for the root inline box
  • it is not included for any other inline box

Interested in thoughts from @litherum / @jfkthame ... we can also continue to leave it undefined.

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 with the CSS Inline 3 issue and its discussion of whether line-height: normal includes the font’s line gap metric. Compare the proposed root-inline-box and other-inline-box definitions with current browser behavior to determine whether interop is possible. Done means reaching and documenting a resolved definition or confirming that the behavior should remain undefined.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend, web-dev
Issue type
Feature
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.