danburzo / selery Goto Github PK
View Code? Open in Web Editor NEWA CSS selector parser and DOM query engine.
Home Page: https://danburzo.ro/selery/
License: MIT License
A CSS selector parser and DOM query engine.
Home Page: https://danburzo.ro/selery/
License: MIT License
A function that adds to the Document and Element prototypes all the Selery DOM methods.
These are one of the corner cases of CSS syntax, and is only involved in declaring unicode-range
in a @font-face
definition. Unicode ranges are currently not implemented in the tokenizer.
To help show better error messages (and maybe enable syntax highlighting?), provide start
and end
offsets for constructs produced by tokenize()
and parse()
.
…and make sure they get reflected upon serialization.
The ':is([attr=val)'
is currently accepted as valid, although it shouldn't be.
:nth-child(An+B [of S]?)
Change the error reporting style from throwing on parse errors to return a tuple of error
and result
, to better match what the CSS syntax spec describes.
selery seems to have a lot of potential.
But it hasn't been updated in a long time, is it still an active repository?
Thanks.
Our approach of ingesting consecutive delims breaks selectors such as body>.a
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.