Closed Bug 475240 Opened 16 years ago Closed 16 years ago

Can't use capital font via font-variant: small-caps; in @font-face

Categories

(Core :: Layout: Text and Fonts, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: hsivonen, Unassigned)

References

()

Details

Build ID: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090124 Minefield/3.2a1pre font-variant: small-caps; doesn't use a downloadable font declared to be font-variant: small-caps; via @font-face. Steps to reproduce: 1) Load http://hsivonen.iki.fi/test/moz/font-face-small-caps.html Expected results: Expected both lines to use real small caps--i.e. with vertical lines as thick as in the capital letter. Actual results: The first line uses fake small caps. (The second line uses real small caps by claiming to be a normal variant.)
Note that the test case becomes invalid if bug 458634 is fixed first.
Fixed the test case not to depend on the other bug.
It seems that the actual problem is that font-variant: small-caps; is ignored in the descriptor. And that's because the spec doesn't support it.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.