Closed Bug 480844 Opened 11 years ago Closed 6 years ago

font-variant:small-caps doesn't work with SVG

Categories

(Core :: SVG, defect)

defect
Not set

Tracking

()

RESOLVED FIXED

People

(Reporter: doug, Unassigned)

References

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b2) Gecko/20081201 Firefox/3.1b2

The property 'font-variant:small-caps' doesn't work as either a CSS property or an attribute with text in SVG

Reproducible: Always

Steps to Reproduce:
1. Create an SVG file with a <text> element
2. Set an attribute or property on that element for 'font-variant:small-caps'
3. Sigh disappointedly
Actual Results:  
Font appears as normal text, without small-caps.

Expected Results:  
Font should use small-caps.

<svg xmlns="http://www.w3.org/2000/svg"> <text x="10" y="35" font-size="20" font-variant="small-caps">This is a test</text> </svg>
Component: General → SVG
OS: Mac OS X → All
Product: Firefox → Core
QA Contact: general → general
Hardware: x86 → All
Version: unspecified → Trunk
Status: UNCONFIRMED → NEW
Ever confirmed: true
Status: NEW → RESOLVED
Closed: 6 years ago
Depends on: svgtext
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.