https://bugzilla.wikimedia.org/show_bug.cgi?id=62000

            Bug ID: 62000
           Summary: WikiLove: Only embed the heart icon once
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: WikiLove
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: krinklem...@gmail.com
                CC: rkald...@wikimedia.org
       Web browser: ---
   Mobile Platform: ---

End result currently:


#ca-wikilove.icon a {

 background-image: url(data:image/png;base64,…kJggg==);
 background-image: url(images/heart-icons-red.png?2014-02-13T17:51:40Z)!ie;

 background-image:
-webkit-linear-gradient(transparent,transparent),url(images/heart-icons-red.svg?2014-02-13T17:51:40Z);

 background-image:
linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,…Zz4NCg==);
 background-image:
linear-gradient(transparent,transparent),url(images/heart-icons-red.svg?2014-02-13T17:51:40Z)!ie;
}


Aside from being inconsistent (fallback png is embedded, fallback webkit
gradient/svg is not embedded, primary gradient/svg is embedded), it should only
embed one of them (the primary one, in this case gradient/svg).

Look at '#ca-watch.icon a {' in MediaWiki for an example:


#ca-watch.icon a {

 background-image: url(images/watch-icon.png?2014-02-13T17:46:40Z);

 background-image:
-webkit-linear-gradient(transparent,transparent),url(images/watch-icon.svg?2014-02-14T00:15:00Z);

 background-image:
linear-gradient(transparent,transparent),url(data:image/svg+xml;base64,…zdmc+Cg==);
 background-image:
linear-gradient(transparent,transparent),url(images/watch-icon.svg?2014-02-14T00:15:00Z)!ie;

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to