Comments (1)
You've found what is a limitation of the old version of the lexer and parser. It simply can't handle 100% of the known CSS conventions. I started the process of moving form Coco/r to Antlr, but that's proving more difficult that I would have guessed.
I'm looking into using Bison like Chrome does, but that's going to take some time to work out. Until then, I'm sad to say it's a very annoying bug.
Date: Thu, 27 Jun 2013 15:58:29 -0700
From: [email protected]
To: [email protected]
Subject: [ExCSS] Errors out and parsing stops on some non-standard items. (#11)
Is there a mode that will allow this to handle some non-standard CSS used in CSS libraries that need to have support for older IE browsers? Or could this be something added to library by yourself or a contributor? Here is some CSS examples that have seemed to cause the parsing to stop.
Did not seem to like this.
audio:not([controls]) {
display: none;
}
Doesn't like the .2s
.uneditable-input {
-webkit-transition: border linear .2s, box-shadow linear .2s;
}
Media querys seem to end parsing.
@media (max-width: 767px) {
.footer ul > li {
display: block;
}
}
Does not like the \9, which is an IE thing.
img {
width: auto\9;
}
—
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.