Store blink value for text-decoration-line

The spec does say user agents may not blink, but it doesn't say this
value can be ignored during parsing.
This commit is contained in:
Xidorn Quan 2017-01-16 16:03:57 +11:00
parent ad1b11771b
commit 66af7e4d3a
2 changed files with 15 additions and 7 deletions

View file

@ -2315,6 +2315,9 @@ fn static_assert() {
if v.line_through {
bits |= structs::NS_STYLE_TEXT_DECORATION_LINE_LINE_THROUGH as u8;
}
if v.blink {
bits |= structs::NS_STYLE_TEXT_DECORATION_LINE_BLINK as u8;
}
self.gecko.mTextDecorationLine = bits;
}