We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcc5ff6 commit 9b670b4Copy full SHA for 9b670b4
lib/processor.js
@@ -113,11 +113,13 @@ class Processor {
113
let value = decl.value
114
115
if (prop === 'color-adjust') {
116
- result.warn(
117
- 'Replace color-adjust to print-color-adjust. ' +
118
- 'The color-adjust shorthand is currently deprecated.',
119
- { node: decl }
120
- )
+ if (parent.every(i => i.prop !== 'print-color-adjust')) {
+ result.warn(
+ 'Replace color-adjust to print-color-adjust. ' +
+ 'The color-adjust shorthand is currently deprecated.',
+ { node: decl }
121
+ )
122
+ }
123
} else if (prop === 'grid-row-span') {
124
result.warn(
125
'grid-row-span is not part of final Grid Layout. Use grid-row.',
0 commit comments