You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Element.scrollHeight read-only property is a measurement of the height of an element's content, including content not visible on the screen due to overflow.
翻訳ありがとうございます。日本語で読めてとても助かっています。
Element.scrollHeight
の訳で気になる箇所を見つけたので報告です。https://developer.mozilla.org/ja/docs/Web/API/Element/scrollHeight
1箇所目
英語
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollHeight
日本語
「a measurement of the height of an element's content」の訳が「要素の中身の幅の寸法」となっているのが誤訳ではないかと思いました。
要素の中身の幅の寸法 → 要素の中身の高さの寸法 が適切と考えます。
https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollWidth の訳を元にした際に、幅→高さという置き換えが漏れてしまったのかもしれません。
2箇所目
英語
日本語
こちらも同様に、元の語がheightなので、幅→高さとなると考えます
The text was updated successfully, but these errors were encountered: