Giter VIP home page Giter VIP logo

Comments (3)

TylerBrinks avatar TylerBrinks commented on August 15, 2024

You're right - there are a number of issues with things like vendor prefixes and other whitespace issues with the current implementation. I'm still in the process of changing out the old Coco/r lexer/parser generator for a more whitespace-friendly tool. I've been trying Antlr so far, but as you can imagine it's an arduous task. No ETA on a v2 release yet.

Date: Tue, 16 Apr 2013 10:23:52 -0700
From: [email protected]
To: [email protected]
Subject: [ExCSS] Parse error in @-webkit-keyframe frame (#10)

I was trying to parse the following styesheet
http://www.mirabeau.nl/static/css/main.css

But it seems that the @-webkit-keyframe rules throw it off completely. Any other rules after those rules are skipped as well.


Reply to this email directly or view it on GitHub.

from excss.

jessehouwing avatar jessehouwing commented on August 15, 2024

I decided to use the WebGrease parser (which is also used by the ASP.NET MVC Minification) and that seems to work perfectly for my needs. Their API is less 'pretty' and when outputting the CSS after transforming it, the formatting, whitespace and comments are lost, but for what I need it, it works.

from excss.

TylerBrinks avatar TylerBrinks commented on August 15, 2024

Thanks for the heads up. Perhaps I'll see if WebGrease has any means to integrate with ExCss.

Date: Fri, 26 Apr 2013 03:59:36 -0700
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [ExCSS] Parse error in @-webkit-keyframe frame (#10)

I decided to use the WebGrease parser (which is also used by the ASP.NET MVC Minification) and that seems to work perfectly for my needs. Their API is less 'pretty' and when outputting the CSS after transforming it, the formatting, whitespace and comments are lost, but for what I need it, it works.


Reply to this email directly or view it on GitHub.

from excss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.