source: node_modules/autoprefixer/lib/hacks/text-emphasis-position.js@ 505f39a

Last change on this file since 505f39a was 2058e5c, checked in by istevanoska <ilinastevanoska@…>, 6 months ago

Working / before login

  • Property mode set to 100644
File size: 357 bytes
Line 
1let Declaration = require('../declaration')
2
3class 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
12TextEmphasisPosition.names = ['text-emphasis-position']
13
14module.exports = TextEmphasisPosition
Note: See TracBrowser for help on using the repository browser.