Skip to content

Commit

Permalink
gemetric attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
estelle committed Dec 18, 2024
1 parent a9b140f commit 7d8a7c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgrectelement/x/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ browser-compat: api.SVGRectElement.x

The **`x`** read-only property of the {{domxref("SVGRectElement")}} interface describes the horizontal coordinate of the position of an SVG rectangle as a {{domxref("SVGAnimatedLength")}}. The `<coordinate>` is a length in the user coordinate system that is the given distance from the origin of the user coordinate system along the x-axis. Its syntax is the same as that for [`<length>`](/en-US/docs/Web/SVG/Content_type#length).

It reflects the {{SVGElement("rect")}} element's {{SVGAttr("x")}} presentational attribute value. The CSS {{cssxref("x")}} property takes precedence over the SVG `x` presentational attribute, so the value may not reflect the elements appearance. The default value is `0`.
It reflects the {{SVGElement("rect")}} element's {{SVGAttr("x")}} geometric attribute value. The CSS {{cssxref("x")}} property takes precedence over the SVG `x` geometric attribute, so the value may not reflect the elements appearance. The default value is `0`.

## Value

Expand Down
2 changes: 1 addition & 1 deletion files/en-us/web/api/svgrectelement/y/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ browser-compat: api.SVGRectElement.y

The **`y`** read-only property of the {{domxref("SVGRectElement")}} interface describes the vertical coordinate of the position of an SVG rectangle as a {{domxref("SVGAnimatedLength")}}. The `<coordinate>` is a length in the user coordinate system that is the given distance from the origin of the user coordinate system along the y-axis. Its syntax is the same as that for [`<length>`](/en-US/docs/Web/SVG/Content_type#length).

It reflects the {{SVGElement("rect")}} element's {{SVGAttr("y")}} presentational attribute value. The CSS {{cssxref("y")}} property takes precedence over the SVG `y` presentational attribute, so the value may not reflect the elements appearance. The default value is `0`.
It reflects the {{SVGElement("rect")}} element's {{SVGAttr("y")}} geometric attribute value. The CSS {{cssxref("y")}} property takes precedence over the SVG `y` attribute, so the value may not reflect the elements appearance. The default value is `0`.

## Value

Expand Down

0 comments on commit 7d8a7c0

Please sign in to comment.