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

Remove SVG kerning attribute #34475

Merged
merged 1 commit into from
Jun 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6545,7 +6545,7 @@
/en-US/docs/SVG/Attribute/k4 /en-US/docs/Web/SVG/Attribute/k4
/en-US/docs/SVG/Attribute/kernelMatrix /en-US/docs/Web/SVG/Attribute/kernelMatrix
/en-US/docs/SVG/Attribute/kernelUnitLength /en-US/docs/Web/SVG/Attribute/kernelUnitLength
/en-US/docs/SVG/Attribute/kerning /en-US/docs/Web/SVG/Attribute/kerning
/en-US/docs/SVG/Attribute/kerning /en-US/docs/Web/CSS/font-kerning
/en-US/docs/SVG/Attribute/keySplines /en-US/docs/Web/SVG/Attribute/keySplines
/en-US/docs/SVG/Attribute/keyTimes /en-US/docs/Web/SVG/Attribute/keyTimes
/en-US/docs/SVG/Attribute/letter-spacing /en-US/docs/Web/SVG/Attribute/letter-spacing
Expand Down Expand Up @@ -12981,6 +12981,7 @@
/en-US/docs/Web/SVG/Attribute/Presentation /en-US/docs/Web/SVG/Attribute
/en-US/docs/Web/SVG/Attribute/Styling /en-US/docs/Web/SVG/Attribute
/en-US/docs/Web/SVG/Attribute/dataset /en-US/docs/Web/API/SVGElement/dataset
/en-US/docs/Web/SVG/Attribute/kerning /en-US/docs/Web/CSS/font-kerning
/en-US/docs/Web/SVG/Compatibility_sources /en-US/docs/Web/SVG
/en-US/docs/Web/SVG/Element/animateColor /en-US/docs/Web/SVG/Element/animate
/en-US/docs/Web/SVG/Index /en-US/docs/Web/SVG
Expand Down
4 changes: 0 additions & 4 deletions files/en-us/_wikihistory.json
Original file line number Diff line number Diff line change
Expand Up @@ -124177,10 +124177,6 @@
"modified": "2019-06-30T15:02:41.242Z",
"contributors": ["Sebastianz", "Jeremie"]
},
"Web/SVG/Attribute/kerning": {
"modified": "2020-10-15T21:06:36.596Z",
"contributors": ["Sebastianz", "connorshea", "Jeremie"]
},
"Web/SVG/Attribute/keyPoints": {
"modified": "2020-10-15T22:20:10.730Z",
"contributors": ["Sebastianz"]
Expand Down
2 changes: 0 additions & 2 deletions files/en-us/web/svg/attribute/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ Below is a list of all of the attributes available in SVG along with links to re
- {{SVGAttr("k4")}}
- {{SVGAttr("kernelMatrix")}}
- {{SVGAttr("kernelUnitLength")}}
- {{SVGAttr("kerning")}}
- {{SVGAttr("keyPoints")}}
- {{SVGAttr("keySplines")}}
- {{SVGAttr("keyTimes")}}
Expand Down Expand Up @@ -404,7 +403,6 @@ Below is a list of all of the attributes available in SVG along with links to re
- {{SVGAttr("glyph-orientation-horizontal")}}
- {{SVGAttr("glyph-orientation-vertical")}}
- {{SVGAttr("image-rendering")}}
- {{SVGAttr("kerning")}}
- {{SVGAttr("letter-spacing")}}
- {{SVGAttr("lighting-color")}}
- {{SVGAttr("marker-end")}}
Expand Down
92 changes: 0 additions & 92 deletions files/en-us/web/svg/attribute/kerning/index.md

This file was deleted.

2 changes: 1 addition & 1 deletion files/en-us/web/svg/attribute/letter-spacing/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ browser-compat: svg.global_attributes.letter-spacing

{{SVGRef}}

The **`letter-spacing`** attribute controls spacing between text characters, in addition to any spacing from the {{SVGAttr("kerning")}} attribute.
The **`letter-spacing`** attribute controls spacing between text characters.

If the attribute value is a unitless number (like `128`), the browser processes it as a {{cssxref("length")}} in the current user coordinate system.

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/svg/tutorial/texts/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Like with the shape elements, text can be colorized with the `fill` attribute an

## Setting font properties

An essential part of a text is the font in which it is displayed. SVG offers a set of attributes, many similar to their CSS counterparts, to enable font selection. Each of the following properties can be set as an attribute or via a CSS declaration: {{SVGAttr("font-family")}}, {{SVGAttr("font-style")}}, {{SVGAttr("font-weight")}}, {{SVGAttr("font-variant")}}, {{SVGAttr("font-stretch")}}, {{SVGAttr("font-size")}}, {{SVGAttr("font-size-adjust")}}, {{SVGAttr("kerning")}}, {{SVGAttr("letter-spacing")}}, {{SVGAttr("word-spacing")}} and {{SVGAttr("text-decoration")}}.
An essential part of a text is the font in which it is displayed. SVG offers a set of attributes, many similar to their CSS counterparts, to enable font selection. Each of the following properties can be set as an attribute or via a CSS declaration: {{SVGAttr("font-family")}}, {{SVGAttr("font-style")}}, {{SVGAttr("font-weight")}}, {{SVGAttr("font-variant")}}, {{SVGAttr("font-stretch")}}, {{SVGAttr("font-size")}}, {{SVGAttr("font-size-adjust")}}, {{SVGAttr("letter-spacing")}}, {{SVGAttr("word-spacing")}} and {{SVGAttr("text-decoration")}}.

## Other text-related elements

Expand Down