WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
9998
<text> elements wrap when they shouldn't
https://bugs.webkit.org/show_bug.cgi?id=9998
Summary
<text> elements wrap when they shouldn't
Oliver Hunt
Reported
2006-07-19 02:01:53 PDT
SVG spec says <text> elements should not wrap, yet currently they do
Attachments
fix 1
(383 bytes, patch)
2006-07-23 07:06 PDT
,
Oliver Hunt
no flags
Details
Formatted Diff
Diff
testcase demonstrating borked wrapping
(768 bytes, image/svg+xml)
2006-07-23 23:38 PDT
,
Oliver Hunt
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Oliver Hunt
Comment 1
2006-07-23 07:06:44 PDT
Created
attachment 9627
[details]
fix 1 Okay, after traipsing through tonnes of code, i have modified svg.css :-/ This patch fixes the wrapping of text in svg elements but there are a number of problems: * It's fixing a symptom -- the underlying problem is that tspans are not inheriting style from the containing <text> element * It "breaks" many of the svg tests -- though these are corrections or strange minor changes in character positions (eg. 1px horizontal movement) * It actually breaks a few tests -- filters-light-01-f for example -- though i cannot work out why or how Oh, the addition white-space: nowrap to <text> in svg.css is needed regardless -- so that's probably going to be in the final patch.
Oliver Hunt
Comment 2
2006-07-23 23:38:22 PDT
Created
attachment 9646
[details]
testcase demonstrating borked wrapping
Eric Seidel (no email)
Comment 3
2006-09-12 23:23:16 PDT
This is fixed in TOT.
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