Bug 279676

Summary: Update SVG Text positioning values on metrics change
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: BrowserCompat, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Test Case none

Ahmad Saleem
Reported 2024-09-13 07:44:07 PDT
Created attachment 472545 [details] Test Case Hi Team, While going through Blink's commit, I came across another failing test case. *** Steps to Reproduce *** 1) Open attached test case 2) Click on button `Change the first...` *** Actual Result *** Text font size is updated but the text overlap *** Expected Result *** Text font size is updated but the text DOES NOT overlap NOTE: Chrome Canary 130 and Firefox Nightly 132 behave same and don't have this issue. ____ Blink Commit: https://chromium.googlesource.com/chromium/src.git/+/a4fb9d8f40652c3f09425032866ca22df5611541 WebKit Source: https://github.com/WebKit/WebKit/blob/e1dc7148f9e6b222c0012658b44ef27af1fdbdb8/Source/WebCore/rendering/svg/RenderSVGText.cpp#L356 I added `m_needsPositioningValuesUpdate = true;` and also removed 'ASSERT' but it does not fix issue. Just raising so we can at least track it. Thanks!
Attachments
Test Case (1.08 KB, text/html)
2024-09-13 07:44 PDT, Ahmad Saleem
no flags
Radar WebKit Bug Importer
Comment 1 2024-09-20 07:45:16 PDT
Note You need to log in before you can comment on or make changes to this bug.