w3c / w3c/csswg-drafts

[css-inline] baseline-shift vs. vertical-align on SVG text

Open
#3,979 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Closed Accepted as Obvious Bugfix Commenter Response Pending css-inline-3
Dominant language
Bikeshed
Stars
4.9k
Forks
816
PR merge metrics
PR metrics pending

Description

The spec has an open issue regarding support of baseline-shift: https://drafts.csswg.org/css-inline-3/#baseline-shift-property

At this point, WebKit, Blink and EdgeHTML support the baseline-shift property (some with bugs) for SVG text. Only Firefox doesn't support the baseline-shift property. Various non-browser UAs support baseline-shift on import as well.

On the other hand, there is no UA that supports vertical-align on SVG text. For that reason I'd like to ask to remove the issue from the spec and keep the baseline-shift property.

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 Level 3 section linked in the issue and review the stated relationship between baseline-shift and vertical-align for SVG text. Done means resolving the specification issue in favor of the requested treatment, if the browser and non-browser support claims hold.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.