Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not synchronously measure SVG text every time it changes
https://bugs.webkit.org/show_bug.cgi?id=264669 rdar://problem/118451741 Reviewed by Simon Fraser. This is a optimization done in the Blink fork https://chromium.googlesource.com/chromium/src.git/+/34c351416a102e4ee510badb86fbc4f57604ccd0 and found by Ahmad Saleem. If SVG text is set multiple times in a row, we would measure text synchronously for every set, even though just the last measurement would count. This patch marks it as "need layout", so we measure text in the next layout. * Source/WebCore/rendering/svg/RenderSVGText.cpp: (WebCore::RenderSVGText::subtreeTextDidChange): Canonical link: https://commits.webkit.org/271678@main
- Loading branch information