Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 535802 - Webfonts not working with webfonts disabled(!)
Summary: Webfonts not working with webfonts disabled(!)
Status: RESOLVED WORKSFORME
Alias: None
Product: Websites
Classification: Unclassified
Component: Wiki (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Wiki Team
URL: https://wiki.gentoo.org/wiki/Template...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-06 15:50 UTC by charles17
Modified: 2015-01-06 17:26 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Showing Firefox' style inspector (glyphicon-remove_broken.png,77.85 KB, image/png)
2015-01-06 15:50 UTC, charles17
Details
display with 'noscript' on (javascript_off.png,3.42 KB, image/png)
2015-01-06 15:58 UTC, charles17
Details
Display with 'noscript' off (javascript_on.png,18.87 KB, image/png)
2015-01-06 15:59 UTC, charles17
Details
Solution in noscript settings (solved.png,39.99 KB, image/png)
2015-01-06 17:26 UTC, charles17
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2015-01-06 15:50:13 UTC
Created attachment 393346 [details]
Showing Firefox' style inspector

With javascript disabled the styles are broken. 
Here it is the pseudo-element :before on class .glyphicon-remove not showing the expected image of a very bold x which is displayed when javascript is on.  

Using javascript for that purpose is a very bad idea.
Comment 1 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-01-06 15:55:24 UTC
Cannot reproduce.

Your screenshot indicates that webfont support is broken in your browser and that is likely the cause of this.
Comment 2 charles17 2015-01-06 15:58:39 UTC
Created attachment 393348 [details]
display with 'noscript' on
Comment 3 charles17 2015-01-06 15:59:15 UTC
Created attachment 393350 [details]
Display with 'noscript' off
Comment 4 Alex Legler (RETIRED) archtester gentoo-dev Security 2015-01-06 16:12:35 UTC
'NoScript' which you are likely using is doing more than just fiddling with scripting, it for instance also disables @font-face.
Comment 5 charles17 2015-01-06 17:26:34 UTC
Created attachment 393354 [details]
Solution in noscript settings

That solves it.  Sorry for the noise!!