Post 1799351 by mariusor@mastodon.xyz
 (DIR) More posts by mariusor@mastodon.xyz
 (DIR) Post #1799346 by mariusor@mastodon.xyz
       2018-12-07T09:08:00Z
       
       0 likes, 0 repeats
       
       Hey #frontend, #html, #web_dev, #dev I'm not sure where to address this question:In Firefox an svg icon with fill: currentColor, doesn't follow the color of a visited link, while webkit based browsers do. Any idea _why_ ? Is it somehow related to the privacy concerns regarding :visited links ?To exemplify my question, here's a jsfiddle to test in Chrome and Firefox: https://jsfiddle.net/sgujecfL/8
       
 (DIR) Post #1799347 by vinnl@mastodon.social
       2018-12-07T10:12:21Z
       
       0 likes, 0 repeats
       
       @mariusor I don't have a solution, but today I learned about currentColor, so thanks!Honestly though, it sounds like a bug. Given that you've already made the reproducible test case, I'd report it at bugzilla.mozilla.org.
       
 (DIR) Post #1799348 by mariusor@mastodon.xyz
       2018-12-07T10:59:37Z
       
       0 likes, 0 repeats
       
       @vinnl thanx for the suggestion, I was thinkig also that the bug tracker might be where I end up with this. :)And yes, currentColor is a boon for using svg icons instead of a full size pre-made icon font.Glad I could help.
       
 (DIR) Post #1799349 by mariusor@mastodon.xyz
       2018-12-07T11:12:54Z
       
       0 likes, 0 repeats
       
       Bug report: https://bugzilla.mozilla.org/show_bug.cgi?id=1512597
       
 (DIR) Post #1799350 by vinnl@mastodon.social
       2018-12-07T12:00:05Z
       
       0 likes, 0 repeats
       
       @mariusor Wow, that was triaged really quickly. Apparently a recent bug :)
       
 (DIR) Post #1799351 by mariusor@mastodon.xyz
       2018-12-07T12:03:12Z
       
       1 likes, 0 repeats
       
       @vinnl in a servo component no less. Pretty cool that they are looking into it this quick.