Commit Graph

94 Commits

Author SHA1 Message Date
Donny/강동윤
84cec8766d
refactor(atoms): Remove usage of js_word! to drop string-cache (#7976)
**Description:**

This PR is to prepare removal of `string-cache`. Actually, this PR does not remove it. Instead, this PR only removes direct usages of `js_word!`s, especially in patterns.



**Related issue:**

 - #4946.
2023-10-08 00:39:51 +00:00
Jason
a34f3592b3
feat(css/ast): Support @scope at-rule (#7837)
> ### Describe the feature
> [Chrome 118 is shipping
soon](https://chromium-review.googlesource.com/c/chromium/src/+/4790561),
which is expected to be one of the more popular CSS features, giving new
hope for style isolation of components.
> 
> * Explainer https://css.oddbird.net/scope/explainer
> * Specification https://drafts.csswg.org/css-cascade-6/#scope-atrule
> 

Closed: #7836
2023-08-24 08:18:35 +00:00
Alexander Akait
43e75194e5
feat(css/parser): Normalize at-rules (#6705) 2023-01-14 08:58:24 +00:00
Alexander Akait
8af627d5c4
feat(css/parser): Normalize urange (#6704) 2022-12-27 12:22:46 +00:00
Alexander Akait
ebebd60875
refactor(css/codegen): Do not use raw (#6674) 2022-12-22 01:36:36 +00:00
Alexander Akait
2571070148
feat(css/parser): Normalize and improve function name (#6667) 2022-12-20 12:43:58 +00:00
Alexander Akait
cb49fa6f1d
feat(css/minifier): Support to and from with initial (#6613) 2022-12-12 02:36:48 +00:00
Donny/강동윤
b4eef53680
feat(css/ast): Make AST intuitive (#6606) 2022-12-09 02:27:19 +00:00
Alexander Akait
8633d27df0
perf(css/ast): Reduce token size (#6569) 2022-12-06 01:58:29 +00:00
Alexander Akait
983ab91435
refactor(css/parser): Refactor parser (#6395) 2022-11-11 07:27:19 +00:00
Alexander Akait
ec2c021255
perf(css/ast): Use Atom for raw values (#6401) 2022-11-11 01:24:11 +00:00
Alexander Akait
bea6cce0c6
perf(css): Reduce size of tokens (#6384) 2022-11-10 01:36:53 +00:00
Alexander Akait
f4832247bc
fix(css/parser): Fix parsing of supports() (#6333) 2022-11-08 01:32:48 +00:00
Alexander Akait
e0967efa6e
feat(css/parser): Support new nesting spec (#6337) 2022-11-03 15:08:23 +00:00
Alexander Akait
d46a19b554
feat(css/ast): Support @custom-media at-rule (#6152) 2022-10-17 12:40:00 +00:00
Alexander Akait
e63fa28008
fix(css/ast): Fix AST types for simple block (#6131) 2022-10-13 05:31:34 +00:00
Alexander Akait
85b2188204
refactor(css/ast): Refactor AST types (#6124) 2022-10-13 04:15:29 +00:00
Alexander Akait
39cfade7f8
fix(css/modules): Fix parsing and refactor code (#6132) 2022-10-13 12:17:11 +09:00
Alexander Akait
c765f0ff73
fix(css/ast): Fix AST types for namespace (#6112) 2022-10-12 02:57:43 +00:00
Alexander Akait
6b3f4bb1c6
feat(css/ast): Add AST types for gradients (#6111) 2022-10-11 14:36:05 +09:00
Alexander Akait
1938ed26a1
feat(css/ast): Support ::highlight() (#6109) 2022-10-11 03:56:32 +00:00
Alexander Akait
b71dd3ec05
feat(css/ast): Support <general-enclosed> for @media at-rules (#6082) 2022-10-07 14:51:53 +00:00
Alexander Akait
0a61374d02
feat(css/ast): Support @container at-rule (#6076) 2022-10-07 04:07:49 +00:00
Alexander Akait
2bf24195f2
feat(css/parser): Parse more math functions in @media (#5904) 2022-09-20 10:45:49 +09:00
Donny/강동윤
4f119b2693
perf(css): Optimize memory layout of ast types (#5823) 2022-09-11 13:56:48 +00:00
Alexander Akait
5c28d00516
fix(css/parser): Improve parsing of media queries (#5567) 2022-08-30 03:18:43 +00:00
Alexander Akait
e2aca46889
feat(css): Support forgiving selector (#5539) 2022-08-29 15:25:48 +00:00
Alexander Akait
a3c1ac67d7
feat(css/ast): Make keyword optional (#5543) 2022-08-20 01:49:27 +00:00
Alexander Akait
eebdfdb2a0
feat(css/parser): Parse @font-feature-values at-rule (#5468) 2022-08-13 10:39:45 +00:00
Alexander Akait
555b6a3734
fix(css/ast): Use list of component values for error recovery (#5467) 2022-08-13 13:05:29 +09:00
Alexander Akait
8f81104380
fix(css/ast): Support list of component values (#5321) 2022-07-30 04:40:54 +00:00
Alexander Akait
83651c297d
fix(css): Fix parsing of layer (#5290) 2022-07-26 02:33:53 +00:00
Alexander Akait
b65a16c7aa
feat(css/ast): Make raw optional (#5211) 2022-07-15 11:22:59 +00:00
Donny/강동윤
8ea631c766
doc(visit): Generate rustdoc (#5107) 2022-07-05 07:26:01 +00:00
Alexander Akait
6696a93b5c
refactor(css/ast): Union all at-rules to one at-rule in AST (#4189) 2022-04-01 20:53:23 +09:00
Alexander Akait
a4bc0927a0
feat(css): Supports more color notations (#4009) 2022-03-14 14:30:09 +00:00
Alexander Akait
516dbc65dc
feat(css/codegen): Fix source maps and ast defs (#3974) 2022-03-11 16:54:33 +00:00
Alexander Akait
c84bf133a6
feat(css): Improve error recovery (#3853) 2022-03-05 11:58:40 +00:00
Alexander Akait
3df887ca37
feat(css): Support color functions (#3836) 2022-03-04 06:24:22 +09:00
Alexander Akait
3ec45a6858
feat(css/ast): Union Value and ComponentValue (#3804) 2022-03-01 15:26:17 +00:00
Donny/강동윤
3798436201
chore: Update rustc (#3768) 2022-02-28 16:12:28 +09:00
Alexander Akait
815a489dcf
refactor(css/ast): Simplify AST types (#3753) 2022-02-27 14:52:32 +00:00
Alexander Akait
91cf965e07
feat(css/ast): Improve type definitions for unicode ranges (#3757) 2022-02-27 14:16:22 +09:00
Alexander Akait
f258ee4729
fix(css): Fix processing of integers (#3752) 2022-02-26 13:51:59 +00:00
Alexander Akait
9b92eba636
feat(css/ast): Allow more syntax for @supports at-rule (#3740) 2022-02-25 18:01:38 +00:00
Alexander Akait
f5c5e77612
feat(css/ast): Support more selectors (#3729) 2022-02-25 02:05:12 +00:00
Alexander Akait
321ee756d9
refactor(css/ast): Fix the type definitions for an plus b syntax (#3682) 2022-02-23 16:20:40 +00:00
Alexander Akait
003a7b85a4
feat(css/ast): Improve parsing of colors (#3680) 2022-02-22 19:45:33 +00:00
Alexander Akait
a20ed34e6b
feat(css/ast): Use SimpleBlock for @keyframes (#3577) 2022-02-16 13:49:00 +00:00
Alexander Akait
e97074b6c3
feat(css/ast): Use SimpleBlock in more places (#3575) 2022-02-16 12:40:16 +09:00