|
Last change
on this file was 2058e5c, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Working / before login
|
-
Property mode
set to
100644
|
|
File size:
357 bytes
|
| Line | |
|---|
| 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
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.