Skip to content

Commit

Permalink
Point to the correct parent of SVGDescElement (SVGElement, not SVGGeo…
Browse files Browse the repository at this point in the history
…metryElement) (#32433)

* Point to the correct parent of SVGDescElement: SVGElement, not SVGGeometryElement.
Source: https://svgwg.org/svg2-draft/struct.html#InterfaceSVGDescElement
Also, align phrasing among the 7 actual children of SVGGeometryElement.

* Update index.md

* Apply suggestions from code review

* Update files/en-us/web/api/svgcircleelement/index.md

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: Amnon <[email protected]>
Co-authored-by: Hamish Willee <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Feb 25, 2024
1 parent b072a7e commit 9141131
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgcircleelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ _This interface also inherits properties from its parent, {{domxref("SVGGeometry

## Instance methods

_This interface has no methods but inherits methods from its parent, {{domxref("SVGGeometryElement")}}._
_Inherits methods from its parent interface, {{domxref("SVGGeometryElement")}}._

## Examples

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/svgdescelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ The **`SVGDescElement`** interface corresponds to the {{SVGElement("desc")}} ele

## Instance properties

_This interface also inherits properties from its parent, {{domxref("SVGGeometryElement")}}._
_Inherits methods from its parent interface, {{domxref("SVGElement")}}._

## Instance methods

_This interface has no methods but inherits methods from its parent, {{domxref("SVGGeometryElement")}}._
_Inherits methods from its parent interface, {{domxref("SVGElement")}}._

## Specifications

Expand Down
4 changes: 2 additions & 2 deletions files/en-us/web/api/svgellipseelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ The **`SVGEllipseElement`** interface provides access to the properties of {{SVG

## Instance properties

_This interface also inherits properties from its parent interface, {{domxref("SVGGeometryElement")}}._
_Inherits methods from its parent interface, {{domxref("SVGGeometryElement")}}._

- {{domxref("SVGEllipseElement.cx")}} {{ReadOnlyInline}}
- : This property returns a {{domxref("SVGAnimatedLength")}} reflecting the {{SVGAttr("cx")}} attribute of the given {{SVGElement("ellipse")}} element.
Expand All @@ -26,7 +26,7 @@ _This interface also inherits properties from its parent interface, {{domxref("S

## Instance methods

_This interface doesn't implement any specific methods, but inherits methods from its parent interface, {{domxref("SVGGeometryElement")}}._
_Inherits methods from its parent interface, {{domxref("SVGGeometryElement")}}._

## Example

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svglineelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ _This interface also inherits properties from its parent, {{domxref("SVGGeometry

## Instance methods

_This interface doesn't implement any specific methods, but inherits methods from its parent interface, {{domxref("SVGGeometryElement")}}._
_Inherits methods from its parent interface, {{domxref("SVGGeometryElement")}}._

## Specifications

Expand Down

0 comments on commit 9141131

Please sign in to comment.