[Webkit-unassigned] [Bug 44398] getComputedStyle height/width substracts scrollbar size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 24 19:05:13 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=44398

--- Comment #4 from Karl Dubost <karlcow at apple.com> ---
Created attachment 461185

  --> https://bugs.webkit.org/attachment.cgi?id=461185&action=review

adding getBoundingClientRect to the computation


The original element is 100x150px
when the scrollbars are not displayed the reported size is 100x150px

Activating on macOS the always on scrollbar 
And the results are as mentioned in the bug report.

Safari
17px height/width scrollbar

Chrome 
15px height/width scrollbar

Firefox 
doesn't subtract the scrollbar size.

BoundingClientRect is giving 100px by 150px for all browsers.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220725/8c74aef2/attachment.htm>


More information about the webkit-unassigned mailing list