Inherit 'text-overflow' and 'overflow' in text fragment

This is an implementation detail that is necessary for 'text-overflow'
to work properly.
This commit is contained in:
Pu Xingyu 2017-04-05 11:04:30 +08:00
parent 5421d833de
commit 95ce2ac878

View file

@ -171,6 +171,8 @@ svg > * {
/* style for text node. */
*|*::-servo-text {
margin: 0;
text-overflow: inherit;
overflow: inherit;
}
/* style for text in input elements. */