Skip to content

Commit

Permalink
Inherit 'text-overflow' and 'overflow' in text fragment
Browse files Browse the repository at this point in the history
This is an implementation detail that is necessary for 'text-overflow'
to work properly.
  • Loading branch information
stshine committed Apr 5, 2017
1 parent 5421d83 commit 95ce2ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions resources/servo.css
Expand Up @@ -171,6 +171,8 @@ svg > * {
/* style for text node. */
*|*::-servo-text {
margin: 0;
text-overflow: inherit;
overflow: inherit;
}

/* style for text in input elements. */
Expand Down

0 comments on commit 95ce2ac

Please sign in to comment.