From 2efc081f1ebd479f4be08614cb3cab03d26cfe00 Mon Sep 17 00:00:00 2001 From: Estelle Weyl Date: Fri, 9 Aug 2024 15:59:21 -0700 Subject: [PATCH] `d` attribute: removed deprecated elements (#35391) `d` attribute: removed unsupported elements `` and `` are deprecated and no longer supported in any browser . It hasn't quite been two years yet, so we don't need to remove the elements, but we don't need to link to those elements. --- files/en-us/web/svg/attribute/d/index.md | 57 +----------------------- 1 file changed, 1 insertion(+), 56 deletions(-) diff --git a/files/en-us/web/svg/attribute/d/index.md b/files/en-us/web/svg/attribute/d/index.md index de1f043552596b1..b0a4bd447e6cc82 100644 --- a/files/en-us/web/svg/attribute/d/index.md +++ b/files/en-us/web/svg/attribute/d/index.md @@ -12,7 +12,7 @@ The **`d`** attribute defines a path to be drawn. A path definition is a list of [path commands](#path_commands) where each command is composed of a command letter and numbers that represent the command parameters. The commands are [detailed below](#path_commands). -You can use this attribute with the following SVG elements: [``](#path), [``](#glyph), [``](#missing-glyph). +This attribute is used with the SVG [``](#path) element. `d` is a presentation attribute, and hence can also be [used as a CSS property](#using_d_as_a_css_property). @@ -64,61 +64,6 @@ For {{SVGElement('path')}}, `d` is a string containing a series of path commands -## glyph - -> [!WARNING] -> As of SVG2 {{SVGElement('glyph')}} is deprecated and shouldn't be used. - -For {{SVGElement('glyph')}}, `d` is a string containing a series of path commands that define the outline shape of the glyph. - - - - - - - - - - - - - - - - -
Value - <string> -
Default valuenone
AnimatableYes
- -> [!NOTE] -> The point of origin (the coordinate `0`, `0`) is usually the _upper left corner_ of the context. However the {{SVGElement("glyph")}} element has its origin in the _bottom left corner_ of its letterbox. - -## missing-glyph - -> [!WARNING] -> As of SVG2 {{SVGElement('missing-glyph')}} is deprecated and shouldn't be used. - -For {{SVGElement('missing-glyph')}}, `d` is a string containing a series of path commands that define the outline shape of the glyph. - - - - - - - - - - - - - - - - -
Value - <string> -
Default valuenone
AnimatableYes
- ## Using d as a CSS property `d` is a presentation attribute, and hence can be also be modified using CSS.