Bug 287880
| Summary: | getBoundingClientRect spends time flushing layout even if the current layout state is sufficiently valid. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Matt Woodrow <mattwoodrow> |
| Component: | Layout and Rendering | Assignee: | Matt Woodrow <mattwoodrow> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Matt Woodrow
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
<rdar://problem/145082013>
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/40776
Matt Woodrow
Pull request: https://github.com/WebKit/WebKit/pull/41032
EWS
Committed 290922@main (2172f7b5f9f2): <https://commits.webkit.org/290922@main>
Reviewed commits have been landed. Closing PR #41032 and removing active labels.