diff options
author | Anthony Ramine <n.oxyde@gmail.com> | 2017-05-31 21:09:01 +0200 |
---|---|---|
committer | Anthony Ramine <n.oxyde@gmail.com> | 2017-06-02 10:53:27 +0200 |
commit | 7da94d08802c20b3a31ca2d792e30c9f57958853 (patch) | |
tree | 5edd44944ff07dad7bb50ceb7eb5c66284297ef2 /components/layout | |
parent | 2c7fbb4b4c9d0468caf61d9c9b33331987ad8de7 (diff) | |
download | servo-7da94d08802c20b3a31ca2d792e30c9f57958853.tar.gz servo-7da94d08802c20b3a31ca2d792e30c9f57958853.zip |
Use BorderSideWidth for outline-width
Diffstat (limited to 'components/layout')
-rw-r--r-- | components/layout/text.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/layout/text.rs b/components/layout/text.rs index 481e2025201..10093f251b8 100644 --- a/components/layout/text.rs +++ b/components/layout/text.rs @@ -167,7 +167,7 @@ impl TextRunScanner { }; text_transform = inherited_text_style.text_transform; letter_spacing = inherited_text_style.letter_spacing; - word_spacing = inherited_text_style.word_spacing.value().cloned() + word_spacing = inherited_text_style.word_spacing.value() .map(|lop| lop.to_hash_key()) .unwrap_or((Au(0), NotNaN::new(0.0).unwrap())); text_rendering = inherited_text_style.text_rendering; |