aboutsummaryrefslogtreecommitdiffstats
path: root/components/style/servo/restyle_damage.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2017-03-08 21:39:30 -0800
committerGitHub <noreply@github.com>2017-03-08 21:39:30 -0800
commitdc3b32c853d51973cea98c235e7a9ab0bd00366e (patch)
tree118114f13703d6dc59160103113f31b9f2794ee1 /components/style/servo/restyle_damage.rs
parent5fe921f2ab81726dc34b0c427580f355d503f56e (diff)
parentb4c50de31e466ff0c0b82b3f5523384617c8fdc8 (diff)
downloadservo-dc3b32c853d51973cea98c235e7a9ab0bd00366e.tar.gz
servo-dc3b32c853d51973cea98c235e7a9ab0bd00366e.zip
Auto merge of #15861 - projektir:make-text-decoration-testable, r=Wafflespeanut
Make text decoration testable and do not serialize initial text-decoration-style Servo now uses the same name for the text-decoration-line longhand property as Gecko. This was done to enable testing of the text-decoration shorthand. The text-decoration shorthand has been fixed to not serialize initial text-decoration-style. --- - [x ] `./mach build -d` does not report any errors - [x ] `./mach test-tidy` does not report any errors - [x ] These changes fix #15790 --- - [x ] There are tests for these changes <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15861) <!-- Reviewable:end -->
Diffstat (limited to 'components/style/servo/restyle_damage.rs')
-rw-r--r--components/style/servo/restyle_damage.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/servo/restyle_damage.rs b/components/style/servo/restyle_damage.rs
index 68da9238afd..aad16730126 100644
--- a/components/style/servo/restyle_damage.rs
+++ b/components/style/servo/restyle_damage.rs
@@ -204,7 +204,7 @@ fn compute_damage(old: &ServoComputedValues, new: &ServoComputedValues) -> Servo
get_font.font_family, get_font.font_style, get_font.font_variant, get_font.font_weight,
get_font.font_size, get_font.font_stretch,
get_inheritedbox.direction, get_inheritedbox.writing_mode,
- get_text.text_decoration, get_text.unicode_bidi,
+ get_text.text_decoration_line, get_text.unicode_bidi,
get_inheritedtable.empty_cells, get_inheritedtable.caption_side,
get_column.column_width, get_column.column_count
]) || (new.get_box().display == display::T::inline &&