Urara-Blog/node_modules/.pnpm-store/v3/files/c7/43668ece582167f9cc0558d016a05c08cf08ffeca711d13f35262f06c5ea2e0cd89f1bd13022973b8ee0c647f5749b8d5395396324d293aa01457bd1b101d5
2022-08-14 01:14:53 +08:00

25 lines
506 B
Text

let Declaration = require('../declaration')
class PrintColorAdjust extends Declaration {
/**
* Change property name for WebKit-based browsers
*/
prefixed(prop, prefix) {
if (prefix === '-moz-') {
return 'color-adjust'
} else {
return prefix + 'print-color-adjust'
}
}
/**
* Return property name by spec
*/
normalize() {
return 'print-color-adjust'
}
}
PrintColorAdjust.names = ['print-color-adjust', 'color-adjust']
module.exports = PrintColorAdjust