Comments (3)
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.
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.
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)
- Janky at-rule catches FillDeclaration in an infinite loop HOT 3
- Can't parse this code, waiting for a long, long time HOT 5
- Font size rule doesn't allow functions HOT 3
- Changelog for Releases HOT 7
- ClipPath property is empty
- ListSelector should be a public class HOT 2
- Certain comments is breaking the parser and hex colours are converted to rgb colours HOT 3
- NullReferenceException in ToCss() in v0.4.2
- Parsing z-index values outside of int range throws an OverflowException HOT 5
- Selector with attribute matching throws exception on WebGL build HOT 1
- JustifyContent always parses to empty string
- Everything's that's useful is internal HOT 1
- Flex: auto should be parsed to "flex: 1 1 auto" instead of "flex: 0 1 auto"
- animation-name is being converted to lower case which affects the resulting css
- Discarding of "invalid" property values - way to keep in parsed object? HOT 1
- justify-content update breaks the following css (Starting with 4.2.3) HOT 1
- Copyright placeholder in your license.txt file HOT 1
- Support for *-block and *-inline properties
- opacity can not parse when is 84%
- How to use selectors? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from excss.