Fix TextDecoration.lineThrough

We had a typo in our CSS translation.
This commit is contained in:
Adam Barth
2015-10-14 21:29:35 -07:00
parent 6bdd288379
commit 0442b642fe

View File

@@ -135,7 +135,7 @@ class TextStyle {
TextDecoration.none: 'none',
TextDecoration.underline: 'underline',
TextDecoration.overline: 'overline',
TextDecoration.lineThrough: 'lineThrough'
TextDecoration.lineThrough: 'line-through'
};
return decoration.map((TextDecoration d) => toCSS[d]).join(' ');
}