mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
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:
parent
ad1b11771b
commit
66af7e4d3a
2 changed files with 15 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue