Support of @-moz-document / -webkit-pointer-events

58 views
Skip to first unread message

jocelyn....@gmail.com

unread,
Feb 24, 2016, 11:54:00 AM2/24/16
to closure-stylesheets-discuss
Hi,

I download the latest precompiled closure-stylesheets.jar and i have this error:
java -jar closure-stylesheets.jar "C:\Dev\wwwroot\assets\css\components.css"
unknown @ rule in C:\Dev\wwwroot\assets\css\components.css at line 895 column 1:
@-moz-document url-prefix() {
^

Also this one:
-webkit-pointer-events is an unrecognized property in C:\Dev\wwwroot\assets\css\components.css at line 1 294
column 3:
  -webkit-pointer-events: none;
  ^

Am I doing something wrong?

Thanks!

Ian Flanigan

unread,
Feb 24, 2016, 12:05:55 PM2/24/16
to closure-style...@googlegroups.com
-moz-document and -webkit-pointer-events aren't recognized by default. You can add --allow-unrecognized-properties to make it accept -webkit-pointer-events, but getting it to accept -moz-document requires a (simple) code change. You have to add an option to the ClosureCommandLine compiler to call the allowMozDocument() function on the JobDescriptionBuilder. If you do that, feel free to submit a GitHub pull request.

Ian

--
You received this message because you are subscribed to the Google Groups "closure-stylesheets-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to closure-stylesheets-discuss+unsub...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages