[Webkit-unassigned] [Bug 279676] New: Update SVG Text positioning values on metrics change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 13 07:44:07 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=279676

            Bug ID: 279676
           Summary: Update SVG Text positioning values on metrics change
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Keywords: BrowserCompat
          Severity: Normal
          Priority: P2
         Component: SVG
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: sabouhallawa at apple.com, zimmermann at kde.org

Created attachment 472545

  --> https://bugs.webkit.org/attachment.cgi?id=472545&action=review

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!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240913/76223725/attachment.htm>


More information about the webkit-unassigned mailing list