From 95ce2ac878ac6dac493d041af6f2817046acf80b Mon Sep 17 00:00:00 2001 From: Pu Xingyu Date: Wed, 5 Apr 2017 11:04:30 +0800 Subject: [PATCH] Inherit 'text-overflow' and 'overflow' in text fragment This is an implementation detail that is necessary for 'text-overflow' to work properly. --- resources/servo.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/servo.css b/resources/servo.css index 5ede4e2ec35d..206d3a3f7023 100644 --- a/resources/servo.css +++ b/resources/servo.css @@ -171,6 +171,8 @@ svg > * { /* style for text node. */ *|*::-servo-text { margin: 0; + text-overflow: inherit; + overflow: inherit; } /* style for text in input elements. */