Skip to content

Commit

Permalink
Merge pull request #137 from yahoo/add-text-overflow-property
Browse files Browse the repository at this point in the history
Add text overflow property
  • Loading branch information
src-code committed Mar 31, 2015
2 parents 7145f74 + f4378b8 commit 1f41285
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/rules.js
Original file line number Diff line number Diff line change
Expand Up @@ -1855,6 +1855,23 @@ module.exports = [
{suffix: 'inh', values: ['inherit']}
]
},
/**
==================================================================
TEXT-OVERFLOW
==================================================================
*/
{
type: 'pattern',
name: 'Text overflow',
prefix: 'Tov-',
properties: ['text-overflow'],
allowCustom: true,
allowSuffixToValue: false,
rules: [
{suffix: 'c', values: ['clip']},
{suffix: 'e', values: ['ellipsis']}
]
},
/**
==================================================================
TEXT-RENDERING
Expand Down

0 comments on commit 1f41285

Please sign in to comment.