chutichhuy / glyph-iconset

A minimal SVG icon set for modern web
Other
376 stars 43 forks source link

Grid at http://glyph.smarticons.co/ doesn't render correctly in Firefox Nightly #1

Open dholbert opened 9 years ago

dholbert commented 9 years ago

STR:

  1. Load http://glyph.smarticons.co/ in Firefox Nightly (version 41 or newer)
  2. Look at the glyph grid.

ACTUAL RESULTS: The glyphs are indecipherable squiggles; not how they're supposed to look. screenshot from 2015-06-16 14 33 29

I originally filed this in Firefox's bug tracker. As noted there, it looks like this broke when Firefox switched to match Chrome on a particular unspecified point.

The glyph.smarticons.co site seems to serve Chrome different content than it serves to Firefox, based on the User Agent string -- and Firefox Nightly can correctly render the Chrome content (e.g. I locally make Firefox use Chrome's user agent string.)

chutichhuy commented 9 years ago

hi, thank very much for this report. My newest version of Firefox is 40 on the Aurora channel, so i couldnt see this. I'm looking at it. Currently we use a 'polyfill' to make styling with CSS correct on Chrome/Safari/IE. We use xlink for the icon sprit, and it is not possible to style the icons with CSS on the above browsers, but Firefox. So that's why you see different content on Chrome.

longsonr commented 9 years ago

That ability to style the icons is a Firefox bug. We do hope to fix it one day. It's tracked by https://bugzilla.mozilla.org/show_bug.cgi?id=265894

chutichhuy commented 9 years ago

@longsonr oops we thought it was a feature... thank you very much