Skip to content

Mark all legacy SVG1 writing-mode values as deprecated - #44974

Merged
estelle merged 2 commits into
mdn:mainfrom
davidpavlovschi:fix/writing-mode-deprecated-legacy-values
Jul 31, 2026
Merged

Mark all legacy SVG1 writing-mode values as deprecated#44974
estelle merged 2 commits into
mdn:mainfrom
davidpavlovschi:fix/writing-mode-deprecated-legacy-values

Conversation

@davidpavlovschi

Copy link
Copy Markdown
Contributor

Description

Add {{Deprecated_Inline}} to the lr, lr-tb, rl, tb, and tb-rl value terms in the Values list of the writing-mode CSS property page, so all six legacy SVG1 values carry the deprecation icon instead of only tb-lr.

Motivation

All six of these values are described in the page's own prose as "Deprecated except for SVG1 documents", but only tb-lr rendered the deprecation icon. Readers scanning the value list saw five of them as if they were current CSS values. This makes the badge consistent with the prose that was already there, so a reader can tell at a glance which values not to use in CSS.

Additional details

  • CSS Writing Modes Level 4 describes these SVG1.1 values as "obsolete in any context except SVG1 documents and are therefore optional for non-SVG UAs": https://drafts.csswg.org/css-writing-modes-4/#svg-writing-mode
  • Only the value terms changed; no prose, no syntax block, no other page.
  • The SVG writing-mode attribute page (files/en-us/web/svg/reference/attribute/writing-mode/index.md) does not duplicate this value list (it documents only horizontal-tb, vertical-rl, vertical-lr), so it needs no change.
  • Checked locally on the touched file: markdownlint-cli2 (0 issues), prettier -c (passes), cspell (0 issues), scripts/front-matter_linter.js (0 errors, 0 warnings). The repo's lefthook pre-commit hook also ran green on commit.

Related issues and pull requests

Fixes #43929

@davidpavlovschi
davidpavlovschi requested a review from a team as a code owner July 30, 2026 21:10
@davidpavlovschi
davidpavlovschi requested review from estelle and removed request for a team July 30, 2026 21:10
@github-actions github-actions Bot added Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed labels Jul 30, 2026
@github-actions

github-actions Bot commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Preview URLs (1 page)

(comment last updated: 2026-07-31 10:03:24)

@estelle estelle left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you. Also, congratulations on your first merged MDN content PR. Welcome to he team!

@davidpavlovschi

Copy link
Copy Markdown
Contributor Author

Thanks for the review and the warm welcome, @estelle!

@estelle
estelle merged commit 52b551c into mdn:main Jul 31, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:CSS Cascading Style Sheets docs size/s [PR only] 6-50 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Only tb-lr has the trash icon (deprecated symbol)

3 participants