If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Implement text and tspan rotate attribute

RESOLVED FIXED

Status

()

Core
SVG
RESOLVED FIXED
10 years ago
7 years ago

People

(Reporter: Fredrick Paul Eisele, Unassigned)

Tracking

(Blocks: 1 bug)

Trunk
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

10 years ago
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>

Comment 1

10 years ago
Created attachment 320552 [details]
svg text rotation testcase

Reporter testcase

Comment 2

10 years ago
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

Updated

10 years ago
Severity: enhancement → normal
Component: SVG → General
OS: All → Windows XP
QA Contact: general → general
Hardware: All → PC
Version: Trunk → unspecified

Updated

10 years ago
Component: General → SVG
QA Contact: general → general

Comment 3

10 years ago
Restoring version/platform (I guess Kevin's changes were unintentional?)
OS: Windows XP → All
Hardware: PC → All
Version: unspecified → Trunk

Comment 4

10 years ago
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.

Comment 5

8 years ago
http://www.w3.org/Graphics/SVG/Test/20061213/htmlObjectHarness/full-text-text-07-t.html
Blocks: 512501
Depends on: 388547
This seems to work on <text> now, unless <tspan> is involved.

Updated

7 years ago
Depends on: 333698

Comment 7

7 years ago
Fixed by the patches for bug 333698 and bug 388547
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.