Bug 248327 - RenderListBox::setScrollTop should allow out-of-range values but clamp them
Summary: RenderListBox::setScrollTop should allow out-of-range values but clamp them
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
URL:
Keywords: InRadar
Depends on:
Blocks: 245355
  Show dependency treegraph
 
Reported: 2022-11-24 17:41 PST by Tim Nguyen (:ntim)
Modified: 2022-11-25 01:35 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tim Nguyen (:ntim) 2022-11-24 17:41:54 PST
Currently, values lower or equal to 0 are ignored. The right behavior here is to clamp and scroll to 0, rather than doing nothing.
Comment 1 Radar WebKit Bug Importer 2022-11-24 19:57:52 PST
<rdar://problem/102656180>
Comment 2 Tim Nguyen (:ntim) 2022-11-24 20:01:25 PST
Pull request: https://github.com/WebKit/WebKit/pull/6804
Comment 3 EWS 2022-11-25 01:35:28 PST
Committed 257012@main (cb92b7a07300): <https://commits.webkit.org/257012@main>

Reviewed commits have been landed. Closing PR #6804 and removing active labels.