Bug 262012 - Avoid forced layouts because of scrollTo(0,0) if the element hasn't scrolled
Summary: Avoid forced layouts because of scrollTo(0,0) if the element hasn't scrolled
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-09-24 10:06 PDT by Simon Fraser (smfr)
Modified: 2023-12-12 10:41 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-09-24 10:06:16 PDT
Speedometer3 shows some time in forced layouts under scrollTo(), but that's for an element that has never scrolled, so we should be able to avoid these.
Comment 1 Simon Fraser (smfr) 2023-09-24 10:06:33 PDT
<rdar://115732977>
Comment 2 Simon Fraser (smfr) 2023-09-24 10:15:18 PDT
Pull request: https://github.com/WebKit/WebKit/pull/18131
Comment 3 EWS 2023-12-12 10:41:48 PST
Committed 271943@main (13f0d241c7f2): <https://commits.webkit.org/271943@main>

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