From b4778812842c207fa8bcb4b367644c61720d1f35 Mon Sep 17 00:00:00 2001 From: A1lo Date: Tue, 12 Nov 2024 07:47:06 +0800 Subject: [PATCH] chore: fix casing (#36735) --- files/en-us/web/api/element/scrollwidth/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/en-us/web/api/element/scrollwidth/index.md b/files/en-us/web/api/element/scrollwidth/index.md index 1f5c37a003d01c0..246149f5a99c74d 100644 --- a/files/en-us/web/api/element/scrollwidth/index.md +++ b/files/en-us/web/api/element/scrollwidth/index.md @@ -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