Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 10 additions & 21 deletions features/draft/svg-deprecated.yml → features/svg-discouraged.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
draft_date: 2024-10-085
name: svg-deprecated
description: Placeholder for deprecated or non-real features
spec: https://svgwg.org/svg2-draft/
name: SVG 1.1 (discouraged)
description: The SVG 1.1 image format has several components that were excluded from SVG 2, such as fonts, alternate glyphs, and the `xlink` namespace.
spec: https://www.w3.org/TR/SVG11/
discouraged:
according_to:
- https://svgwg.org/svg2-draft/changes.html#substantial
alternatives:
- svg
- font-face
compat_features:
- api.SVGAElement.ping
- api.SVGAElement.text
- api.SVGCursorElement
- api.SVGFontElement
- api.SVGFontFaceElement
- api.SVGFontFaceFormatElement
Expand All @@ -24,15 +27,7 @@ compat_features:
- api.SVGHKernElement
- api.SVGMissingGlyphElement
- api.SVGRenderingIntent
- api.SVGTRefElement
- api.SVGVKernElement
- svg.elements.a.ping
- svg.elements.cursor
- svg.elements.cursor.href
- svg.elements.cursor.systemLanguage
- svg.elements.cursor.x
- svg.elements.cursor.xlink_href
- svg.elements.cursor.y
- svg.elements.font
- svg.elements.font-face
- svg.elements.font-face-format
Expand Down Expand Up @@ -112,19 +107,12 @@ compat_features:
- svg.elements.missing-glyph.vert-adv-y
- svg.elements.missing-glyph.vert-origin-x
- svg.elements.missing-glyph.vert-origin-y
- svg.elements.tref
- svg.elements.tref.fill
- svg.elements.tref.fill.context-fill
- svg.elements.tref.systemLanguage
- svg.elements.tref.xlink_href
- svg.elements.vkern
- svg.elements.vkern.g1
- svg.elements.vkern.g2
- svg.elements.vkern.k
- svg.elements.vkern.u1
- svg.elements.vkern.u2

# Confirmed to be DEPRECATED
- svg.global_attributes.glyph-orientation-horizontal
- svg.global_attributes.glyph-orientation-vertical
- api.SVGSVGElement.currentView
Expand Down Expand Up @@ -181,3 +169,4 @@ compat_features:
- api.SVGPoint.matrixTransform
- api.SVGPoint.x
- api.SVGPoint.y
- svg.elements.script.xlink_href
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
# Generated from: svg-deprecated.yml
# Generated from: svg-discouraged.yml
# Do not edit this file by hand. Edit the source file instead!

status:
baseline: false
support: {}
compat_features:
# baseline: high
# baseline_low_date: 2020-01-15
# baseline_high_date: 2022-07-15
# support:
# chrome: "1"
# chrome_android: "18"
# edge: "79"
# firefox: "1.5"
# firefox_android: "4"
# safari: "3"
# safari_ios: "2"
- svg.elements.script.xlink_href

# baseline: false
# support:
# chrome: "1"
Expand Down Expand Up @@ -234,9 +247,7 @@ compat_features:
# ⬇️ Same status as overall feature ⬇️
# baseline: false
# support: {}
- api.SVGAElement.ping
- api.SVGAElement.text
- api.SVGCursorElement
- api.SVGFontElement
- api.SVGFontFaceElement
- api.SVGFontFaceFormatElement
Expand All @@ -255,15 +266,7 @@ compat_features:
- api.SVGHKernElement
- api.SVGMissingGlyphElement
- api.SVGRenderingIntent
- api.SVGTRefElement
- api.SVGVKernElement
- svg.elements.a.ping
- svg.elements.cursor
- svg.elements.cursor.href
- svg.elements.cursor.systemLanguage
- svg.elements.cursor.x
- svg.elements.cursor.xlink_href
- svg.elements.cursor.y
- svg.elements.font
- svg.elements.font-face
- svg.elements.font-face-format
Expand Down Expand Up @@ -343,11 +346,6 @@ compat_features:
- svg.elements.missing-glyph.vert-adv-y
- svg.elements.missing-glyph.vert-origin-x
- svg.elements.missing-glyph.vert-origin-y
- svg.elements.tref
- svg.elements.tref.fill
- svg.elements.tref.fill.context-fill
- svg.elements.tref.systemLanguage
- svg.elements.tref.xlink_href
- svg.elements.vkern
- svg.elements.vkern.g1
- svg.elements.vkern.g2
Expand Down
1 change: 0 additions & 1 deletion features/svg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,6 @@ compat_features:
- svg.elements.script
- svg.elements.script.href
- svg.elements.script.type
- svg.elements.script.xlink_href
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Will be marked as deprecated in mdn/browser-compat-data#25477, but that doesn't block this change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This will be resolved in #2500

- svg.elements.set
- svg.elements.set.fill
- svg.elements.set.href
Expand Down
1 change: 0 additions & 1 deletion features/svg.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,6 @@ compat_features:
- svg.elements.radialGradient.r
- svg.elements.radialGradient.spreadMethod
- svg.elements.script.type
- svg.elements.script.xlink_href
- svg.elements.style.media
- svg.elements.style.title
- svg.elements.style.type
Expand Down
Loading