WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
139186
CSS property "white-space: pre-line" causes all the svg <text> tag lines to overlap
https://bugs.webkit.org/show_bug.cgi?id=139186
Summary
CSS property "white-space: pre-line" causes all the svg <text> tag lines to o...
Said Abou-Hallawa
Reported
2014-12-02 09:19:12 PST
Created
attachment 242417
[details]
Test first-line style element with the svg <text> element. Open the attached file and compare it with the expected. They should be identical. Adding "white-space: pre-line" to the style attribute of the <text> element should cause the text to wrap to different lines. In WebKit, the wrapping happens but all the lines are displayed with the same vertical position which causes them to overlap. NOTE: The attached file is an imported test from Mozilla test suite for svg.
Attachments
Test first-line style element with the svg <text> element.
(407 bytes, image/svg+xml)
2014-12-02 09:19 PST
,
Said Abou-Hallawa
no flags
Details
Expected file
(364 bytes, image/svg+xml)
2014-12-02 09:19 PST
,
Said Abou-Hallawa
no flags
Details
Safari 15.5 differs from other browsers
(552.60 KB, image/png)
2022-07-14 09:21 PDT
,
Ahmad Saleem
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Said Abou-Hallawa
Comment 1
2014-12-02 09:19:35 PST
Created
attachment 242418
[details]
Expected file
Radar WebKit Bug Importer
Comment 2
2014-12-02 09:20:01 PST
<
rdar://problem/19115260
>
Ahmad Saleem
Comment 3
2022-07-14 09:21:34 PDT
Created
attachment 460894
[details]
Safari 15.5 differs from other browsers I am able to reproduce this bug in Safari 15.5 on macOS 12.4 based on attached test case. It is different across all browsers but the expected output is across Firefox Nightly 104 as can be seen from attached screenshot. Thanks!
Ahmad Saleem
Comment 4
2023-01-12 16:37:12 PST
Fixed in STP161. :-) Marking this as "RESOLVED CONFIGURATION CHANGED". Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug