-
Notifications
You must be signed in to change notification settings - Fork 82
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
Support for IE CSS expressions #52
Comments
Here is a sample with a failing test nschonni@b163f0d that gives the message "testIECSSExpression1 : Unexpected error: Unexpected token '.' at line 1, col 17." |
Thanks nschonni it would be nice to see support for this added |
Yes it would! Pull requests welcome. :) |
Sorry, @nzakas I created a failing test, but I had trouble creating a good parsing expression. Do you have a hint to where this rule would fit? I tried a few places with regex like expressions to do the pattern matching without success. PS: I found we have an accessibility acquaintance in common with Jennison 😄 |
I'm not entirely sure. The problem is that you're literally putting Maybe it's worth looking at integrating Esprima to do that, but again I'm On Thu, Jun 13, 2013 at 6:37 PM, Nick Schonning [email protected]:
Nicholas C. Zakas Author, Professional JavaScript for Web Developers |
Maybe something really simple like checking with a regex whether the value starts with "expression" and then ignoring the rest of the property value. |
It's a bit tricky to do that because of what's allowed inside of an On Fri, Jun 14, 2013 at 4:43 PM, Nick Schonning [email protected]:
Nicholas C. Zakas Author, Professional JavaScript for Web Developers |
Although they perform badly and shouldn't really be used, IE7< supports CSS expressions http://blogs.msdn.com/b/ie/archive/2008/10/16/ending-expressions.aspx.
This should probably be tied to a CSSLint warning if added.
The text was updated successfully, but these errors were encountered: