Closed (fixed)
Project:
Live CSS
Version:
6.x-2.3
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Issue tags:
Reporter:
Created:
27 Aug 2011 at 17:36 UTC
Updated:
7 Mar 2014 at 03:49 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
guybedford commentedI included the font with the following tag -
And Live CSS still worked fine for me.
Are you using a different form of the include?
Comment #2
pomliane commentedThank you for this answer.
Google Fonts module adds this exact line:
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Kranky" />The same issue happens with other fonts activated via Google Fonts module, but everything seems fine when the font is manually included.
So, maybe not the right issue queue?
Comment #3
guybedford commentedActually live css will be loading all the css files in the page using ajax requests to read in their content. It then tries to load the font css file, which causes the origin policy issue, and returns an error. This isn't caught properly which causes things to stop working. I believe it worked fine when I tried because I didn't have the origin policy issue running it off a live site.
I'll look into having a better fail on those ajax requests so that the file effectively isn't editable.
Thanks for reporting this issue - will hopefully have something on it soon.
Comment #4
brankolo commentedThe same problem for me.
Waiting for solution, thanks in advance
Comment #5
guybedford commentedI believe I may have fixed this issue with the latest (2.0) version of the module.
Let me know if that works for you.
Comment #6
pomliane commentedThank you guybedford for the follow up!
It seems, 6.x-2.0 does not solve the issue when http://drupal.org/project/fontyourface is in use.
Comment #7
Anonymous (not verified) commentedthis does not solve the fontyourface issue , but I have to say that using cufon instead of fontyourface is a much better way to display fonts on a site. Fonts are a lot cleaner across browser types http://drupal.org/project/cufon
Comment #8
guybedford commentedI believe this has been fixed by recent changes, if not feel free to reopen.
Comment #9
fizk commentedI'm getting this error with 6.x-2.3, which is also the latest dev for 6.x.
Comment #10
fizk commentedHere's a patch. The same fix should work for 7.x.
Comment #11
deryck.henson commentedThank you for the patch @fizk.
I tested to make sure that's all that was needed and sure enough, everything works well now.
Applied to 7.x-2.x and 6.x-2.x branches.