Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Use external URLs in PNG data URI stylesheet if the data URI would be greater than 32,768 chars #26
wow, I like this idea.
hey @zachleat - might you have a sec to review this this week?
On Feb 18, 2013, at 6:04 AM, Keegan Street email@example.com wrote:
This looks great to me. Looks like it only does this for the PNG data URI stylesheet (for browsers that don't support SVG but do support data uris, IE8). According to this stack overflow post (http://stackoverflow.com/questions/695151/data-protocol-url-size-limitations), it looks like the SVG sprite sheet data URIs are probably safe up to 2MB.
Great stuff, will merge.