keithclark / selectivizr

selectivizr is a JavaScript utility that emulates CSS3 pseudo-classes and attribute selectors in Internet Explorer 6-8.
1.71k stars 247 forks source link

data URIs not recognized #26

Open crdumoul opened 12 years ago

crdumoul commented 12 years ago

Stylesheets that are included as a data URI should be ignored. Currently, selectivizr thinks the data URI is an external link and tries to download the content.

An example of a simple stylesheet data URI is:

crdumoul commented 12 years ago

Even better than ignoring the data URI would be to decode it and still transform the data.

darkwing commented 10 years ago

Any thought on this?

keithclark commented 10 years ago

There is a test for data URI's. What's not working? https://github.com/keithclark/selectivizr/blob/master/tests/master/index.html#L132-L135

darkwing commented 10 years ago

Oh, my bad -- I didn't see DataURI's in the feature list. Rock on!

David Walsh

http://davidwalsh.name http://twitter.com/davidwalshblog http://github.com/darkwing

On Tue, Jan 7, 2014 at 6:29 PM, Keith Clark notifications@github.comwrote:

There is a test for data URI's. What's not working? https://github.com/keithclark/selectivizr/blob/master/tests/master/index.html#L132-L135

— Reply to this email directly or view it on GitHubhttps://github.com/keithclark/selectivizr/issues/26#issuecomment-31795027 .