WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
287880
getBoundingClientRect spends time flushing layout even if the current layout state is sufficiently valid.
https://bugs.webkit.org/show_bug.cgi?id=287880
Summary
getBoundingClientRect spends time flushing layout even if the current layout ...
Matt Woodrow
Reported
2025-02-18 12:20:02 PST
We should be able to use updateLayoutIfDimensionsOutOfDate to determine if the bounds can be determined from the current state.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2025-02-18 12:20:13 PST
<
rdar://problem/145082013
>
Matt Woodrow
Comment 2
2025-02-18 12:35:07 PST
Pull request:
https://github.com/WebKit/WebKit/pull/40776
Matt Woodrow
Comment 3
2025-02-20 17:55:20 PST
Pull request:
https://github.com/WebKit/WebKit/pull/41032
EWS
Comment 4
2025-02-23 14:51:51 PST
Committed
290922@main
(2172f7b5f9f2): <
https://commits.webkit.org/290922@main
> Reviewed commits have been landed. Closing PR #41032 and removing active labels.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug