Open Bug 725569 Opened 14 years ago Updated 4 years ago

We request MetaWebPro-Normal.woff _twice_

Categories

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

defect

Tracking

()

REOPENED

People

(Reporter: stephend, Unassigned)

References

()

Details

Looks like we twice-request this font: [22:21:02.277] GET http://reps-dev.allizom.org/media/fonts/MetaWebPro-Normal.woff [HTTP/1.1 200 OK 218ms] [22:21:02.534] GET http://reps-dev.allizom.org/media/fonts/MetaWebPro-Normal.woff [HTTP/1.1 200 OK 242ms]
Version: unspecified → 0.1 - Solkar
Group: mozilla-reps
Stephen, This should be fixed here [1] can you please verify? [1] https://github.com/mozilla/remo/commit/f0ae99e4a68e5a485fcb6c42462b9f3d38f4f491
Assignee: nobody → giorgos
Status: NEW → ASSIGNED
After some research we figured out that this is due to the way Firefox handles the @font-face requests. The same behavior happens in other moz sites as well. Closing this issue now, please reopen if you think that remains something to be fixed on our side. Thanks for reporting!
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
Reopening and changing the component to "Core/Layout: Text" to track the Firefox issue.
Assignee: giorgos → nobody
Status: RESOLVED → REOPENED
Component: reps.mozilla.org → Layout: Text
Product: Mozilla Reps → Core
QA Contact: reps-mozilla-org → layout.fonts-and-text
Resolution: INVALID → ---
Version: 0.1 - Solkar → unspecified
Is this still happening with current builds, or has it perhaps been resolved already on trunk? When I load http://reps-dev.allizom.org/ in my current Nightly build, I'm only seeing a single request for the MetaWebPro-Normal font; likewise on www.mozilla.org, I see only a single request for each of the webfonts that's used.
(Note that if the set of @font-face rules is _changed_ dynamically, e.g. by JS inserting more rules after the page has initially loaded, we're liable to re-request fonts for the new font set, even if they were also included in the old one. But I didn't see that kind of issue happening on the moz sites I just tested.)
Looks fixed to me, too, since I also only see a single request, in today's nightly on Mac OS X: [16:17:01.272] GET http://reps-dev.allizom.org/media/fonts/MetaWebPro-Normal.woff [HTTP/1.1 200 OK 661ms]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.