css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image

Testing the technique laid out at http://peterhrynkow.com/how-to-compress-a-png-like-a-jpeg/ with external and inline assets. http://codepen.io/shshaw/pen/tKpdl/

The first three tests appear to work as expected in modern browsers, IE9+ and Safari 9+.

  1. svg

Comments

  1. Great technique! I have problem with Safari (both Win and Mac) since, as reported, external SVG with data-uri is not working BUT if I open SVG in separate tab Safari displays it normaly and then it's visible on main page also. And first example in this pen is also working across all browsers. Since seems that browser is capable displaying image, it's definetly some weird bug. It would be cool to figure some way around it.

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.
Loading...
Loading...