Inline SVG w/ picture/Picturefill: <picture><source type="image/svg+xml" srcset="foo.svg"><img srcset="foo.png" alt="..."></picture>
-
-
@mathias@AndyDavies slightly better than the img[onerror] approach wrt request count in non-SVG browsers tooThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@mathias As does@AndyDavies' solution? :)@scottjehl -
@derSchepp Yeah, but that one would use the PNG version instead of the SVG version in those browsers. +@AndyDavies@scottjehl
End of conversation
New conversation -
-
-
@mathias@scottjehl I missed the with picturefill bit!Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.