Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
26 lines
506 B
Plaintext
26 lines
506 B
Plaintext
let Declaration = require('../declaration')
|
|
|
|
class PrintColorAdjust extends Declaration {
|
|
/**
|
|
* Return property name by spec
|
|
*/
|
|
normalize() {
|
|
return 'print-color-adjust'
|
|
}
|
|
|
|
/**
|
|
* Change property name for WebKit-based browsers
|
|
*/
|
|
prefixed(prop, prefix) {
|
|
if (prefix === '-moz-') {
|
|
return 'color-adjust'
|
|
} else {
|
|
return prefix + 'print-color-adjust'
|
|
}
|
|
}
|
|
}
|
|
|
|
PrintColorAdjust.names = ['print-color-adjust', 'color-adjust']
|
|
|
|
module.exports = PrintColorAdjust
|