Hi team, While going through Blink's commit, I came across another potential optimization but I haven't confirmed whether it is something applicable in WebKit realm or not. Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/34c351416a102e4ee510badb86fbc4f57604ccd0 WebKit Source: https://searchfox.org/wubkat/rev/3e2262b3476ecfb5666a35bcdd746d474c061b0d/Source/WebCore/rendering/svg/RenderSVGText.cpp#286 Just wanted to raise to get an input from others. ____ It compiles: // The positioning elements cache depends on the size of each text renderer in the // subtree. If this changes, clear the cache and mark it for rebuilding in the next layout. m_layoutAttributesBuilder.clearTextPositioningElements(); setNeedsPositioningValuesUpdate(); setNeedsLayout(); _____ Thanks!
Cool. I can check if break anything and/or have a significant performance boost with that change. Thank you!
<rdar://problem/118451741>
Pull request: https://github.com/WebKit/WebKit/pull/21278
Committed 271678@main (97f84b2e6bd1): <https://commits.webkit.org/271678@main> Reviewed commits have been landed. Closing PR #21278 and removing active labels.