Debian Codegraph @

autoprefixer/lib/hacks/text-emphasis-position.js

raw symbols SCIP
1 let Declaration = require('../declaration')
2
3 class TextEmphasisPosition extends Declaration {
4 set(decl, prefix) {
5 if (prefix === '-webkit-') {
6 decl.value = decl.value.replace(/\s*(right|left)\s*/i, '')
7 }
8 return super.set(decl, prefix)
9 }
10 }
11
12 TextEmphasisPosition.names = ['text-emphasis-position']
13
14 module.exports = TextEmphasisPosition