Closed Bug 616305 Opened 14 years ago Closed 14 years ago

font-face: ttf, css and page must be on same sub domain

Categories

(Core :: CSS Parsing and Computation, defect)

1.9.2 Branch
x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 604421

People

(Reporter: code0184715548, Unassigned)

Details

(Keywords: css3, fonts)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/9.04 (jaunty) Firefox/3.6.10
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100915 Ubuntu/9.04 (jaunty) Firefox/3.6.10

@font-face does not work when the ttf file, the css file, and the webpage are on different subdomains.
 
The ttf file is properly downloaded by firefox, but is not used to render the text.

Reproducible: Always

Steps to Reproduce:
my example was :
1. webpage on composer.misterbark.com
2. css on img.misterbark.com
3. ttf on img.misterbark.com
Actual Results:  
ttf file downloaded, but not used.
This happens in every situations as long as the sub domains are distinct.


Even these cases do not work :
1. webpage on composer.misterbark.com
2. css in page
3. ttf on img.misterbark.com
OR :
1. webpage on composer.misterbark.com
2. css on img.misterbark.com
3. ttf on composer.misterbark.com
 
All 3 of them must be on the same subdomain.
Keywords: css3, fonts
Version: unspecified → 3.6 Branch
The part about the font being in a different domain/subdomain is bug 604421.
Component: General → Style System (CSS)
Product: Firefox → Core
QA Contact: general → style-system
Version: 3.6 Branch → 1.9.2 Branch
Indeed.
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.