Mark Xian and GitHub
0f24f11924
Fix duplicated prefixed selectors on reformatted CSS ( #1552 )
...
The `already()` check compared `before.selector` to the generated
prefixed selector with strict equality. Generated prefixed selectors
always join the comma list with `', '`, so once an existing prefixed
rule had its selector list reformatted (e.g. one selector per line by a
formatter), the comparison failed and Autoprefixer inserted a duplicate
prefixed rule on every run.
Normalize the compared selector with `list.comma(...).join(', ')` so
whitespace differences in the selector list no longer defeat the
duplication check.
Closes #1497
2026-07-16 12:23:25 +02:00
Andrey Sitnik
09bd18ed22
Fix gradient parser
2026-07-14 16:39:28 +00:00
Andrey Sitnik
343d3630c6
Fix bracket parser
2026-07-14 16:31:08 +00:00
Andrey Sitnik
90bc6475c2
Move -webkit-fill-available before -moz-available to get a closer to spec results in FF
2026-06-24 18:35:20 +00:00
8275265d3e
fix: reset grid area spans when overriding areas ( #1549 )
...
Co-authored-by: Puneet Dixit <[email protected] >
2026-06-23 19:25:34 +02:00
Charmander and GitHub
835f43b2ac
fix: loss of browserslist options in @supports ( #1550 )
2026-06-01 10:21:17 +02:00
Andrey Sitnik
5b2bcf7fbc
Replace ESLint and Prettier to oxlint and oxfmt
2026-04-13 20:19:00 +00:00
9d11e33e94
Fix CSS variables in gradients ( #1515 ) ( #1544 )
...
* Fix CSS variables in gradients (#1515 )
Prevent generation of invalid -webkit-gradient() syntax when CSS variables
are present in linear gradients. When var() is detected, skip old webkit
gradient conversion and use only -webkit-linear-gradient() instead.
This fixes cases where linear-gradient(var(--config)) would generate
invalid CSS if the variable contains comma-separated values.
* Add test for CSS variables in gradients to fix coverage
Adds test case that verifies CSS variables in gradients skip old webkit
gradient conversion and use only -webkit-linear-gradient() syntax.
This ensures 100% test coverage for the new var() detection logic.
---------
Co-authored-by: sergeygerasimov <[email protected] >
2026-02-25 17:57:32 +01:00
James Ross and GitHub
6b6ccf31b6
perf: reduce array allocations ( #1542 )
2026-01-30 20:49:27 +01:00
Hyper-Z11 and GitHub
1370a34e7a
chore: inline and simplify normalize-range ( #1539 )
...
* inline normalize-range
* remove normalize-range
2025-12-14 17:53:38 +01:00
Andrey Sitnik
e5f3c7f9a3
Update dependencies and sort imports
2025-03-09 13:25:39 +00:00
マルコメ and GitHub
fdf1e70706
fix: replace :-moz-placeholder-shown with :-moz-placeholder ( #1532 )
...
* fix: add blocker `-moz` prefix for `:placeholder-shown`
* docs: add `:-moz-placeholder`
2025-03-09 14:20:54 +01:00
Andrey Sitnik
8904659224
Remove end→flex-end warning
2024-03-21 00:00:59 +01:00
Carlos (Goodwine) and GitHub
1e01958104
Preserve -webkit-box-orient when -webkit-line-clamp is present ( #1511 )
2024-03-01 17:21:37 +01:00
Andrey Sitnik
8c77aff90d
Fix user-select: contain
2024-01-17 18:45:40 +01:00
Romain Menke and GitHub
d07abd10d2
improve performance ( #1500 )
2023-09-20 22:47:28 +02:00
Andrey Sitnik
d4fd75400b
Update dependencies and code style
2023-07-08 13:45:22 +02:00
99b14af07a
Improves startup time by requiring specific caniuse files ( #1492 ) ( #1493 )
...
* Improves startup time by requiring specific caniuse files (#1492 )
* Update lib/browsers.js
Co-authored-by: Andrey Sitnik <[email protected] >
---------
Co-authored-by: Andrey Sitnik <[email protected] >
2023-03-09 22:39:04 +01:00
Andrey Sitnik
ceb44c8bce
Ignore CSS Custom Properties on prefix in value lookup
2022-10-27 22:27:10 +02:00
Andrey Sitnik
22d5dc35e3
Fix gradients cleaning
2022-09-21 00:57:09 +02:00
一丝 and GitHub
35a9e38bba
fix: unitless zero for <angle> values are allowed in CSS gradients ( #1479 )
2022-09-21 00:42:26 +02:00
Andrey Sitnik
e59e51283c
Do not print warning if print-color-adjust is also in the rule
2022-07-29 12:41:39 +02:00
Andrey Sitnik
627d636c14
Fix print-color-adjust in FF
2022-05-02 16:58:27 +02:00
Andrey Sitnik
f15c061b9b
Improve handling print-color-adjust
2022-05-02 01:00:33 +02:00
Andrey Sitnik
ae5dd20e61
Clean up ESLint config
2022-04-24 22:13:23 +01:00
Sukka and GitHub
fb04a68904
Fix #1446 ( #1457 )
...
* Fix #1446
* Test: cover the `utils#isPureNumber`
2022-04-23 22:32:28 +01:00
Andrey Sitnik
abc6e254f9
Move from Jest to uvu
2021-12-30 02:05:13 +10:00
Luke Warlow and GitHub
8dfd727191
Add support for prefixing :autofill ( #1430 )
...
Bumped caniuselite to latest version
2021-10-28 05:44:57 -04:00
Andrey Sitnik
ae1be666f0
Replace nanocolors to picocolors
2021-10-04 22:18:36 +02:00
Andrey Sitnik
509158d417
Replace colorette with nanocolors
2021-09-21 14:25:23 +02:00
Usman Yunusov and GitHub
1df54016cf
Added blocker -moz- for ::file-selector-button ( #1421 )
...
* Added block -moz- prefix
* revert fix and add new test
* replaced all prefixes with a -webkit-
2021-08-26 11:16:03 -04:00
Usman Yunusov and GitHub
3984f67d8c
Fix ::file-selector-button pseudo-element ( #1420 )
2021-08-21 14:09:44 -04:00
Luke Warlow and GitHub
73d4f20400
Fix: Term element in content value gets parsed ( #1414 )
...
* Fix: Term element in content value gets parsed
* Remove duplicate css and change check
2021-07-12 13:24:31 -04:00
Luke Warlow and GitHub
4e18d10f5e
Autoprefix the file-selector-button pseudo-element ( #1412 )
...
* Autoprefix the file-selector-button pseudo-element
Prototype using MDN compat data where caniuse is not usable.
* Hardcode data instead of using MDN
* Add test to hacks block
2021-07-10 06:54:23 -04:00
Andrey Sitnik
40d889a72f
Better warning text
2021-05-26 10:16:01 -04:00
Pwntheon and GitHub
290a499e3b
Clarify warning about no targets ( #1409 )
...
* Clarify warning about no targets
Due to user error or outdated sctips, users may be warned about no prefixes being applied.
Rewrite this error message to be more understandable.
* Fix missing append operator
2021-05-26 09:53:06 -04:00
Oscar Otero and GitHub
3e8913b6c3
Code changes to ease the conversion to Deno ( #1404 )
...
* code changes for Deno conversion
* fixed module export plugin
* replace const with let
2021-05-08 11:00:14 -04:00
Andrey Sitnik
a082527e45
Update dev practices
2021-03-11 20:42:58 -05:00
Andrey Sitnik
c73f6e04fb
Update dependencies
2021-03-05 09:32:47 -05:00
Dmitry Semigradsky and GitHub
ca6aeec54f
Fix error throwing when supports-selector-fn has pseudo-classes or pseudo-elements as argument. ( #1398 )
2021-03-05 09:23:30 -05:00
Andrey Sitnik
97c433babd
Add more browser names in --info
2021-01-29 12:18:39 -05:00
Andrey Sitnik
986c928ec8
Fix test coverage
2021-01-19 14:11:26 -05:00
Andrey Sitnik
72c7bbb74f
Fix clone for PostCSS 8
2021-01-19 13:44:45 -05:00
Andrey Sitnik
dfa83bd563
Move from Once event to OnceExit
2021-01-19 13:36:06 -05:00
Flo and GitHub
309941a18f
check transition-property value list before warn ( #1385 )
...
* check transition-property value list before warn
* new transition-* test uses `check` function
* use one-line assignment for `hasAssociatedProp` transition check
* make eslint happy
2021-01-06 07:31:55 -05:00
Dmitry Semigradsky and GitHub
8364d63114
Add typings ( #1382 )
2021-01-05 20:52:20 -05:00
Robert Eisele and GitHub
84f49ddf54
Added dpcm resolution support and made calc more precise ( #1380 )
2020-12-05 19:45:47 -05:00
Igor Kamyshev and GitHub
ae8e24c1b3
Fix Cannot read property 'proxyOf' of undefined exception ( #1377 )
2020-11-27 16:25:52 -05:00
michelle enos and GitHub
e484f2263e
fixed misspelling of "subtract" for mask-composite ( #1378 )
2020-11-26 12:57:00 -05:00
Andrey Sitnik
ac8e6a5d06
Avoid -ms-user-select: all
2020-11-09 08:45:14 -05:00