diff options
author | bptato <nincsnevem662@gmail.com> | 2024-08-02 00:29:45 +0200 |
---|---|---|
committer | bptato <nincsnevem662@gmail.com> | 2024-08-02 00:44:19 +0200 |
commit | 8f88e5f05b76dd9b16ba91c9e28f07bd1549ae93 (patch) | |
tree | af65e0743bc92a0dd312b0f0f09b36ec8fa14d70 /doc | |
parent | 22625453ef3275adab3a47990c242dc92397b02b (diff) | |
download | chawan-8f88e5f05b76dd9b16ba91c9e28f07bd1549ae93.tar.gz |
cssvalues, twtstr, mediaquery: refactor & fixes
* cssvalues, twtstr: unify enum parsing code paths, parse enums by bisearch instead of hash tables * mediaquery: refactor (long overdue), fix range comparison syntax parsing, make ident comparisons case-insensitive (as they should be)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/architecture.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/architecture.md b/doc/architecture.md index ae3d95d3..ae21e181 100644 --- a/doc/architecture.md +++ b/doc/architecture.md @@ -276,8 +276,8 @@ css/ contains everything related to styling: CSS parsing and cascading. The parser is not very interesting, it's just an implementation of the CSS 3 parsing module. The latest iteration of the selector parser is pretty good. The -media query parser is horrible and should be rewritten. And the CSS value parser -works OK, but is missing features like variables. +media query parser and the CSS value parser both work OK, but are missing +some commonly used features like variables. Cascading is slow, though it could be slower. Chawan has style caching, so re-styles are normally very fast. Also, a hash map is used for reducing initial |