diff options
author | Mauricio Collares <mau@ric.io> | 2016-04-04 22:46:43 -0300 |
---|---|---|
committer | Mauricio Collares <mau@ric.io> | 2016-04-05 00:21:39 -0300 |
commit | 347cf0580c07b9e6c1c225cf545084e8177d376b (patch) | |
tree | f24915e49e9268f7c0f28f35cb69ecd7dc450b4e /components/layout/inline.rs | |
parent | b568b72d760623462fe1a19544e1ad59f98e4480 (diff) | |
download | servo-347cf0580c07b9e6c1c225cf545084e8177d376b.tar.gz servo-347cf0580c07b9e6c1c225cf545084e8177d376b.zip |
Move CSS text-overflow property from InheritedText to Text
Diffstat (limited to 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index c0e209d5f78..1e4dd0ae0ae 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -671,7 +671,7 @@ impl LineBreaker { let mut need_ellipsis = false; let available_inline_size = self.pending_line.green_zone.inline - self.pending_line.bounds.size.inline - indentation; - match (fragment.style().get_inheritedtext().text_overflow, + match (fragment.style().get_text().text_overflow, fragment.style().get_box().overflow_x) { (text_overflow::T::clip, _) | (_, overflow_x::T::visible) => {} (text_overflow::T::ellipsis, _) => { |