Bug 249300 - Don't auto-wrap <svg:text>
Summary: Don't auto-wrap <svg:text>
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-12-14 03:50 PST by Ahmad Saleem
Modified: 2022-12-16 08:57 PST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ahmad Saleem 2022-12-14 03:50:45 PST
Hi Team,

While going through Blink's commit, I came across another failing test case.

Test Case - https://jsfiddle.net/fadonrwp/

^ it fails in both Safari 16.2 & STP 159 in 2-4 lines while Firefox Nightly 110 and Chrome Canary 110 works perfectly fine.

Blink Commit - https://chromium.googlesource.com/chromium/blink/+/8c80a767d4efe78629259dc966d4478f05995b3b

Webkit GitHub Source - https://github.com/WebKit/WebKit/blob/a8076cd4346043611ad3d4a09d264f5a6af9f0e5/Source/WebCore/rendering/line/BreakingContext.h#L224

Just wanted to raise before doing PR or fix it.

Thanks!
Comment 1 EWS 2022-12-16 08:56:49 PST
Committed 257993@main (f89806418b17): <https://commits.webkit.org/257993@main>

Reviewed commits have been landed. Closing PR #7602 and removing active labels.
Comment 2 Radar WebKit Bug Importer 2022-12-16 08:57:18 PST
<rdar://problem/103448837>