Comments (8)
That's because the CSSParser used by stylebot doesn't support that rule
from stylebot.
Right. It may / may not be hard to add support for this rule, but I'll give it a shot.
from stylebot.
You could check out the lastest version of the JSCSSP. It has support for many moz-* rules and alike. I think it should be way easier to add the support to that codebase instead of coding the support all by yourself.
from stylebot.
Great idea, thanks! I didn't think that the parser was being actively
maintained. The latest version also fixes the 'ul li:nth-child(' crash
issue.
He should really host the code on Github, it'll be much easier to track
changes
On Mon, May 16, 2011 at 11:12 AM, rduenasf <
[email protected]>wrote:
You could check out the lastest version of the JSCSSP. It has support
for many moz-* rules and alike. I think it should be way easier to add the
support to that codebase instead of coding the support all by yourself.Reply to this email directly or view it on GitHub:
#49 (comment)
from stylebot.
Grammar:
from stylebot.
I'm adding support for this now...
from stylebot.
@ankit I added support for this, also I rewrote almost entirely the css-utils lib to make easier for us to add new rules or change the format of the formatted CSS in the fure.
As a sidenote, we should add a more foolproof way to check if a rule in the stylebot's rules object is either a comment, an error, a webkit-keyframes rule or a normal style rule. Currently we have the comment
field (and now __isAnimation
too) but those aren't robust ways to check for rule type...
I was thinking we could have named objects just to check this with instanceof/typeof
, but that implies to write a rules updater...
from stylebot.
Nice.
You're right. This isn't the best way to do this. We can keep this on the back burner and think about it later maybe.
from stylebot.
Related Issues (20)
- [Bug] @import works on chrome, but not on firefox from digitaloceanspaces
- advices
- Code not applyingto subdirectories
- [Feature] mobile? HOT 1
- [Feature] Font/color substitutions for specific fonts/text colors, in chat room text.
- [Feature] "Auto-Sync Every X"
- [Bug] Does not show on https://blog.vlang.io
- [Bug] Editor shows syntax error for valid CSS
- Ability to name the modes
- Why does this extension requires "Access your data for all websites" permission? (Firefox)
- [Feature] Multi profiles for one domain
- [Bug] All styles are missing
- [Feature] or question: XPath or JQuery element selection
- [Feature]Hope can support "multiple url" HOT 1
- Certain buttons are not recognized in the YouTube UI
- [Feature] Toggable Stylesheets for pages
- [Feature] Style Readability Theme Custom Background Color
- [Bug] Comment highlight shouldn't happen under some circumstances. HOT 1
- [Bug] The extension not working on SHopify Store on win 10 - Chomre browser Version 123.0.6312.106 (Official Build) (64-bit)
- [Bug] Won't open on any page in Chrome
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 stylebot.