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
Return the width of the padding edge excluding the width of any rendered scrollbar between the padding edge and the border edge, ignoring any transforms that apply to the element and its ancestors.
It doesn't mention any kind of rounding, I'm assuming this is handled by https://webidl.spec.whatwg.org/#js-long
If I'm getting it right, it's supposed to just truncate the number, like Servo used to do, but that's not what the other browser are doing.
The text was updated successfully, but these errors were encountered:
target.getBoundingClientRect().width
target.clientWidth
910The definition of
clientWidth
ishttps://drafts.csswg.org/cssom-view/#extension-to-the-element-interface
https://drafts.csswg.org/cssom-view/#dom-element-clientwidth
It doesn't mention any kind of rounding, I'm assuming this is handled by https://webidl.spec.whatwg.org/#js-long
If I'm getting it right, it's supposed to just truncate the number, like Servo used to do, but that's not what the other browser are doing.
The text was updated successfully, but these errors were encountered: