diff --git a/files/en-us/web/api/domrect/index.md b/files/en-us/web/api/domrect/index.md index fecf435954424f4..ae864850482ffd9 100644 --- a/files/en-us/web/api/domrect/index.md +++ b/files/en-us/web/api/domrect/index.md @@ -41,13 +41,13 @@ _`DOMRect` inherits properties from its parent, {{domxref("DOMRectReadOnly")}}. - {{domxref("DOMRectReadOnly.height")}} - : The height of the `DOMRect`. - {{domxref("DOMRectReadOnly.top")}} - - : Returns the top coordinate value of the `DOMRect` (has the same value as `y`, or `y + height` if `height` is negative.) + - : Returns the top coordinate value of the `DOMRect` (has the same value as `y`, or `y + height` if `height` is negative). - {{domxref("DOMRectReadOnly.right")}} - - : Returns the right coordinate value of the `DOMRect` (has the same value as `x + width`, or `x` if `width` is negative.) + - : Returns the right coordinate value of the `DOMRect` (has the same value as `x + width`, or `x` if `width` is negative). - {{domxref("DOMRectReadOnly.bottom")}} - - : Returns the bottom coordinate value of the `DOMRect` (has the same value as `y + height`, or `y` if `height` is negative.) + - : Returns the bottom coordinate value of the `DOMRect` (has the same value as `y + height`, or `y` if `height` is negative). - {{domxref("DOMRectReadOnly.left")}} - - : Returns the left coordinate value of the `DOMRect` (has the same value as `x`, or `x + width` if `width` is negative.) + - : Returns the left coordinate value of the `DOMRect` (has the same value as `x`, or `x + width` if `width` is negative). ## Methods diff --git a/files/en-us/web/api/domrectreadonly/index.md b/files/en-us/web/api/domrectreadonly/index.md index 51ce58fdf1a4411..4083b93c1d7aa36 100644 --- a/files/en-us/web/api/domrectreadonly/index.md +++ b/files/en-us/web/api/domrectreadonly/index.md @@ -33,7 +33,7 @@ The **`DOMRectReadOnly`** interface specifies the standard properties used by {{ - {{domxref("DOMRectReadOnly.height")}} {{ReadOnlyInline}} - : The height of the `DOMRect`. - {{domxref("DOMRectReadOnly.top")}} {{ReadOnlyInline}} - - : Returns the top coordinate value of the `DOMRect` (usually the same as `y`.) + - : Returns the top coordinate value of the `DOMRect` (usually the same as `y`). - {{domxref("DOMRectReadOnly.right")}} {{ReadOnlyInline}} - : Returns the right coordinate value of the `DOMRect` (usually the same as `x + width`). - {{domxref("DOMRectReadOnly.bottom")}} {{ReadOnlyInline}}