Closed Bug 682124 Opened 13 years ago Closed 13 years ago

no text-transform: uppercase support for svg text

Categories

(Firefox :: General, defect)

6 Branch
x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: fargaud, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0) Gecko/20100101 Firefox/6.0 Build ID: 20110811165603 Steps to reproduce: I have the following svg sample file: <?xml-stylesheet href="mystyle.css" type="text/css"?> <svg width="10cm" height="3cm" viewBox="0 0 1000 300" xmlns="http://www.w3.org/2000/svg"> <text x="250" y="250" class="label">Hello, out there </text> </svg> and the following stylesheet: .label { font-family: Arial; font-size: 40pt; fill: #F00; text-transform: uppercase; } Actual results: "Hello, out there" is displayed on screen, in the case specified in the svg file. Expected results: I was expecting the "Hello, out there" text to appear in uppercase, but it does not. Note that both Chrome and Safari render the text correctly in uppercase.
There's no such thing as text-transform for SVG text so this is invalid. http://www.w3.org/TR/SVG/propidx.html
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
It's probably worth you asking the SVG working group (http://lists.w3.org/Archives/Public/www-svg/) for this to be added to the upcoming SVG version 2.0 specification
You need to log in before you can comment on or make changes to this bug.