Comments (3)
This was implemented and will be available in next major version soon.
I'm slightly confused because the validator does recognise even the last example with their correct token types
The validator works on tokens, not AST.
from csstree.
It looks like @ngtr6788 already implemented a fork for this for Svelte over here: https://github.com/sveltejs/svelte/pull/9098/files#diff-ed2fad2b231aca18fc2b692be85898d0099355fc12ceca4bdd2990faf5159d94, although it doesn't seem merged yet.
from csstree.
Thanks for the clarification!
from csstree.
Related Issues (20)
- `oklch()` support HOT 6
- csstree.lexer.matchProperty doesn't give an error on "filter" property with "blur(4px)empx"
- `font-weight` descriptor in `@font-face` doesn't allow two values HOT 2
- Support hask mark next to curly braces in CSS grammar
- Migrate to `@webref/css` for syntax data HOT 3
- Parsing invalid input with specified base location doesn't work properly HOT 1
- Customizable tokenizer in the fork API
- SyntaxError: ")" is expected HOT 2
- consider dropping some builds
- Do you have plans to replace mdn-data with other packages? HOT 2
- Imported Object.prototype conflict with csstree module! HOT 1
- Value Definition Syntax parser fails on "<an+b>" HOT 2
- Throws if the value of :lang() pseudo-class is quoted
- Nested attribute selector without & is parsed as raw
- How to do getComputedStyle for a list of classes?
- Value Definition Syntax parser rejects whitespaces in multipliers
- New sizing value stretch fails validation HOT 1
- Function node type miss in custom css property HOT 2
- Support `@position-try`
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 csstree.