Closed Bug 433345 Opened 17 years ago Closed 14 years ago

Implement text and tspan rotate attribute

Categories

(Core :: SVG, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: phreed, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b5) Gecko/2008032620 Firefox/3.0b5 There is no visible effect from the 'rotate' attribute as described in... "Scalable Vector Graphics (SVG) 1.1 Specification" - "10.4 The 'text' element" See the example in 'Additional Info'. Reproducible: Always Steps to Reproduce: 1. Load the sample from 'Additional Info' 2. Note that the glyph are not rotated as specified. <?xml version="1.0" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd"> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="800" height="600" viewBox="0 0 400 300"> <text x="40" y="30" rotate="-30">Rotate word</text> <text x="40" y="60" rotate="-40 -35 -30 -20 -10">Rotate letters</text> <text x="40" y="90" rotate="0 0 0 0 0 0 0 -20 -15 0 15 20"><tspan>Rotate tspan</tspan></text> </svg>
Attached image svg text rotation testcase (deleted) —
Reporter testcase
Couldn't find an existing feature request about this, confirming.
Severity: normal → enhancement
Status: UNCONFIRMED → NEW
Component: General → SVG
Ever confirmed: true
OS: Windows XP → All
Product: Firefox → Core
QA Contact: general → general
Hardware: PC → All
Summary: text/@rotate not supported? → Implement text and tspan rotate attribute
Version: unspecified → Trunk
Severity: enhancement → normal
Component: SVG → General
OS: All → Windows XP
QA Contact: general → general
Hardware: All → PC
Version: Trunk → unspecified
Component: General → SVG
QA Contact: general → general
Restoring version/platform (I guess Kevin's changes were unintentional?)
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk
Not sure why Hardware/OS changed. I thought I changed only Product: Firefox -> Core and Component: General -> SVG. But thanks for catching the unintentional changes.
This seems to work on <text> now, unless <tspan> is involved.
Depends on: 333698
Fixed by the patches for bug 333698 and bug 388547
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: