mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
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:
parent
5421d833de
commit
95ce2ac878
1 changed files with 2 additions and 0 deletions
|
@ -171,6 +171,8 @@ svg > * {
|
||||||
/* style for text node. */
|
/* style for text node. */
|
||||||
*|*::-servo-text {
|
*|*::-servo-text {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
text-overflow: inherit;
|
||||||
|
overflow: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* style for text in input elements. */
|
/* style for text in input elements. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue