Open Bug 785687 Opened 13 years ago Updated 2 years ago

firefox can not handle quotes in family-font-names

Categories

(Core :: CSS Parsing and Computation, defect)

14 Branch
x86
Windows XP
defect

Tracking

()

People

(Reporter: friba77, Unassigned)

Details

(Whiteboard: DUPEME)

User Agent: Opera/9.80 (Windows NT 5.1; U; de) Presto/2.10.289 Version/12.01 Steps to reproduce: I created a font with the name: l"l'la I wanted to use this font in a website: p { font-family: "l\"l'la"; } Actual results: Firefox can not handle fontnames which contains " and ' Expected results: The value of font-family is defined as string. So it should be possible to use quotes inside a fontname.
Single quotes must be escaped too.
Another bug: p { font: 12px "l\000022lala"; } That´s correct syntax, but doesn´t work.
Component: Untriaged → Style System (CSS)
Product: Firefox → Core
Whiteboard: DUPEME
Sure, all this doesn't work correctly: <font face="Aldo's font">Aldo's font - not working</font><br> <font face='Aldo"s font'>Aldo"s font - not working</font><br> <font face='Aldo\'s font'>Aldo's font - not working</font><br> <font face="Aldo\"s font">Aldo"s font - not working</font><br> <span style="font-family:Aldo's Font">Aldo's Font - not working</span><br> <span style='font-family:Aldo"s Font'>Aldo's Font - not working</span><br>
Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.