Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conflicting values listed for SVG dominant-baseline #37976

Open
pewscorner opened this issue Feb 5, 2025 · 1 comment
Open

Conflicting values listed for SVG dominant-baseline #37976

pewscorner opened this issue Feb 5, 2025 · 1 comment
Labels
Content:SVG SVG docs goal: consistency (Experimental label) Issues about inconsistent/conflicting/contradictory content. waiting for implementations Waiting for feature to be implemented in browsers

Comments

@pewscorner
Copy link

MDN URL

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/dominant-baseline

What specific section or headline is this issue about?

Usage notes

What information was incorrect, unhelpful, or incomplete?

The "Value" box at the top of the section seems to list the correct values, e.g. text-bottom. But the detailed list further down seems to mix in some values from the alignment-baseline attribute, e.g. text-after-edge instead of text-bottom.

This confusion seems to have been adopted by MS Edge (132.0.2957.140), which accepts the incorrect dominant-baseline: text-after-edge but rejects the correct dominant-baseline: text-bottom.

The corresponding CSS page looks better.

What did you expect to see?

The attribute values described on the page should be the ones that are listed as supported at the top of the page, e.g. text-bottom should be described instead of text-after-edge.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details
@pewscorner pewscorner added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Feb 5, 2025
@github-actions github-actions bot added Content:CSS Cascading Style Sheets docs Content:SVG SVG docs labels Feb 5, 2025
@OnkarRuikar
Copy link
Contributor

OnkarRuikar commented Feb 7, 2025

The text-before/after-edge values are still supported in the browsers, and text-top/bottom values haven't been implanted. Specifications change, but we have to wait until any major browser implements it.

The latest values in the usage notes are coming from mdn/data repository. Maybe we need to update the current live values in the browsers there.

@caugner caugner added the goal: consistency (Experimental label) Issues about inconsistent/conflicting/contradictory content. label Feb 7, 2025
@Josh-Cena Josh-Cena added waiting for implementations Waiting for feature to be implemented in browsers and removed Content:CSS Cascading Style Sheets docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Feb 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content:SVG SVG docs goal: consistency (Experimental label) Issues about inconsistent/conflicting/contradictory content. waiting for implementations Waiting for feature to be implemented in browsers
Projects
None yet
Development

No branches or pull requests

4 participants