Commit Graph

58 Commits

Author SHA1 Message Date
Sean Larkin 0023a8f43b
Merge pull request #17118 from webpack/fix-do-not-parse-broken-import
fix: any @import rules must precede all other rules
2023-05-03 09:43:03 -07:00
Sean Larkin ffcb480ad1
Merge pull request #17115 from webpack/fix-css-nested-output
fix: respect `media`/`supports`/`layer` from parent CSS module
2023-05-03 09:34:24 -07:00
alexander.akait e80bf86055 fix: do not handle keyframes in global mode 2023-05-02 14:23:58 +03:00
alexander.akait dd89b19c1a chore: fix lint 2023-05-02 13:12:41 +03:00
alexander.akait 4d544554e1 fix: error resistence for other errors 2023-05-02 12:15:52 +03:00
alexander.akait 0ddc4e1b63 fix: error resistence for broken keyframes 2023-05-02 04:58:58 +03:00
alexander.akait e682fce6f7 fix: do not handle @namespace 2023-05-02 04:23:46 +03:00
alexander.akait a3d6ad0cfe fix: do not handle @import after rule 2023-05-02 04:04:33 +03:00
alexander.akait 62d2a17ce4 fix: handle `#hash` URL as external 2023-05-02 01:24:01 +03:00
alexander.akait e5e86206f8 fix: respect inherit for CSS modules 2023-05-01 23:29:18 +03:00
alexander.akait 0bc0339892 refactor(types): more types 2023-04-28 21:50:41 +03:00
alexander.akait 9d930f7a67 fix: bug with balanced parens 2023-04-26 03:52:17 +03:00
alexander.akait e3f83e2edc fix: bug with balanced 2023-04-26 03:45:15 +03:00
alexander.akait 83d60f9370 fix: bug with comments in media 2023-04-26 03:07:13 +03:00
alexander.akait fd93ed41de test: more 2023-04-26 02:55:59 +03:00
alexander.akait e8687e70be test: more 2023-04-26 01:00:39 +03:00
alexander.akait 0453010622 fix: anonymous layers 2023-04-26 00:25:43 +03:00
alexander.akait 6b1c23c205 fix: anonymous layer 2023-04-26 00:23:21 +03:00
alexander.akait dfd0be0667 test: more 2023-04-25 23:37:11 +03:00
alexander.akait da28801114 feat: implement CssModule 2023-04-25 19:34:44 +03:00
alexander.akait 1251e7cc55 fix: parser 2023-04-25 19:34:44 +03:00
alexander.akait bd46fc3c93 refactor: rename variables 2023-04-18 04:35:50 +03:00
alexander.akait a7a2dfe4cb fix: handle vendor prefixed keyframes and animation in CSS modules 2023-04-18 04:35:49 +03:00
alexander.akait d1634b86af refactor: improve 2023-04-14 19:19:27 +03:00
alexander.akait bb1f0ca17f fix: logic with espaced 2023-04-14 02:35:53 +03:00
alexander.akait aeafcf6a44 fix: logic 2023-04-14 01:52:50 +03:00
alexander.akait 758ce778d6 feat: support `image-set` 2023-04-13 23:25:46 +03:00
alexander.akait 432ead05b5 fix: typo 2023-04-13 04:08:07 +03:00
alexander.akait 6bd80baaea fix: more bugs 2023-04-13 02:36:01 +03:00
alexander.akait 7ee28a7cc8 fix: more bugs 2023-04-13 02:27:04 +03:00
alexander.akait c3c5c54db7 fix: spaces 2023-04-13 01:56:55 +03:00
alexander.akait 182559b5c5 fix: handle `url()`/`src()`/`image-set`/`image` 2023-04-13 01:23:57 +03:00
alexander.akait b735a56a47 fix: more cases 2023-04-06 02:09:08 +03:00
alexander.akait 5a5b140e26 fix: handle at-rules 2023-04-05 23:06:29 +03:00
Alexander Akait b2cd77908e
Merge pull request #16864 from janlent1/fixnativecssparsingissue
Fix faulty css parser processing
2023-04-05 19:50:26 +03:00
Alexander Akait 7c7ca776a2
Merge pull request #15812 from noreiller/fix-experiments-css-at-rule-nested
fix(css parser): handle nested atRule
2023-04-05 19:47:43 +03:00
janlent1 d511c9feef
Always add a ) when using pseudofunctions 2023-04-01 13:44:24 +02:00
Jan Lentmaier 4a41029d46 Adding other available pseudofunctionnames+tests 2023-03-28 07:54:20 +00:00
Jan Lentmaier 97c40376d1 Add same logic for :is 2023-03-27 08:11:53 +00:00
Jan Lentmaier 9b63cfc787 Fix test css and remove allowmodeswitch
The mode switch is not needed as :not( is not a mode switch
2023-03-26 18:14:48 +00:00
Jan Lentmaier c138b127a3 Allow multiple parameters in not(
Adds a test as well.
2023-03-26 17:31:57 +00:00
Jan Lentmaier b767e52c89 Fix if check error 2023-03-25 21:54:37 +00:00
Jan Lentmaier e10b29a2e8 Fix faulty css parser processing 2023-03-25 21:49:58 +00:00
wangqi cbc7beddfa change api trimRight -> trimEnd 2022-08-31 21:41:44 +08:00
Aurélien MANCA a842049665
test(css): add more @supports/@media cases 2022-05-27 15:21:44 +02:00
Aurelien MANCA 7b71e81aa0
fix(css parser): handle nested atRule
This will handle @media and @supports atRule identifiers and
enable the replacements of the nested rules names with the
unique ids.
2022-05-11 10:00:54 +02:00
Tobias Koppers b5c0c1964f allow nested @media 2021-12-16 21:07:22 +01:00
Tobias Koppers 54fff4dd0a add support for `@keyframes`, `animation`, CSS Variables 2021-12-16 20:42:44 +01:00
Tobias Koppers d0f5d44c3a add :local/:global function support for css modules 2021-12-15 15:27:11 +01:00
Tobias Koppers bdf4d83aca add basic css modules support 2021-12-15 15:27:11 +01:00