mdn / mdn/content

Conflicting values listed for SVG dominant-baseline

Open
#37,976 1 comment 0 reactions 0 assignees View on GitHub
Content:SVG goal: consistency waiting for implementations
Dominant language
Markdown
Stars
11k
Forks
23.2k
Avg merge
2d 9h
Merged PRs (30d)
331

Description

### 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](https://developer.mozilla.org/en-US/docs/Web/CSS/dominant-baseline) 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

* Folder: `en-us/web/svg/attribute/dominant-baseline`
* MDN URL: https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/dominant-baseline
* GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/svg/attribute/dominant-baseline/index.md
* Last commit: https://github.com/mdn/content/commit/e295790b3a62baceeb832650e2c0cc9256a23156
* Document last modified: 2024-08-19T20:41:43.000Z

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.