w3c / w3c/csswg-drafts

[css-inline] Can't specify line gaps

Open
#5,152 7 comments 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

The syntax for line heights is line-height: <length> | <number> | <percentage> | normal where <percentage> is computed against 1em, and <number> represents a value that computes to itself and resolves against the font-size.

It's not possible to specify line-heights by the amount of gap. We might want to be able to do that. In theory it would be line-height: calc(1 + 2px), but that's not valid.

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 existing line-height syntax and the seven comments on this issue. No repository file or test is named; completion would require an agreed specification for expressing line gaps and corresponding CSSWG editor-draft changes.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.