Bug 266938 - [Scrollbar gutter] RenderBox::contentBoxRect() should not subtract horizontal scrollbar height twice
Summary: [Scrollbar gutter] RenderBox::contentBoxRect() should not subtract horizontal...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks: 167335
  Show dependency treegraph
 
Reported: 2023-12-29 19:32 PST by Simon Fraser (smfr)
Modified: 2024-01-05 19:33 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2023-12-29 19:32:52 PST
If `scrollbar-gutter` is `both-edges`, RenderBox::contentBoxRect() computes height as if there were a top horizontal scrollbar, but the spec says that scrollbar-gutter affects the inline start and end edges only:
https://drafts.csswg.org/css-overflow/#scrollbar-gutter-property
Comment 1 Radar WebKit Bug Importer 2024-01-05 19:33:15 PST
<rdar://problem/120570031>