New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing the IE invalid standard 'filter' #1
Comments
You are right. This is definitely a feature to be considered. The problem is that it’s actually in the CSS specification how to parse invalid CSS while this particular parser only guarantees to parse valid CSS. |
jQuery UI uses a number of filter:alpha(opacity=0.7) style rules so that is a lower hanging fruit to target. |
jQuery UI only produces filter:alpha(opacity=0.7) styles (as inline styles), it does not require the CSS file to contain those styles. |
Themes I've made with the ThemeRoller use the filters. E.g. .ui-helper-zfix, .ui-widget-overlay and a few others. |
I think support for |
Most stylesheets I see in production have atleast one DXImageFilter in them, usually for lightboxes and the likes. While they are invalid format (non W3c) I dont think its great to have the parser fail when parsing them, they should be ignored? But hopefully left in the final output so yeah.
An example of what i am talking about is:
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="overlay.png",sizingMethod="scale")}
Any chance you could improve your parser to handle Microsofts proprietary extension?
The text was updated successfully, but these errors were encountered: