Skip to content

Commit

Permalink
chore: fix casing (#36735)
Browse files Browse the repository at this point in the history
  • Loading branch information
yin1999 authored Nov 11, 2024
1 parent 4fbf43f commit b477881
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/en-us/web/api/element/scrollwidth/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ it includes the element's padding, but not its border, margin or
vertical scrollbar (if present). It can also include the width of pseudo-elements such
as {{cssxref("::before")}} or {{cssxref("::after")}}. If the element's content can fit
without a need for horizontal scrollbar, its `scrollWidth` is equal to
{{domxref("Element.clientWidth", "clientWidth")}}
{{domxref("Element.clientWidth", "clientWidth")}}.

> [!NOTE]
> This property will round the value to an integer. If you need a fractional value,
> use {{ domxref("element.getBoundingClientRect()") }}.
> use {{domxref("Element.getBoundingClientRect()")}}.
## Value

Expand Down

0 comments on commit b477881

Please sign in to comment.