mirror of
https://github.com/servo/servo.git
synced 2025-08-23 06:15:35 +01:00
stylo: Support quirksmode text-decoration color override
This commit is contained in:
parent
f27cd541b3
commit
ade09844b7
3 changed files with 24 additions and 4 deletions
|
@ -2610,6 +2610,9 @@ fn static_assert() {
|
|||
if v.contains(longhands::text_decoration_line::BLINK) {
|
||||
bits |= structs::NS_STYLE_TEXT_DECORATION_LINE_BLINK as u8;
|
||||
}
|
||||
if v.contains(longhands::text_decoration_line::COLOR_OVERRIDE) {
|
||||
bits |= structs::NS_STYLE_TEXT_DECORATION_LINE_OVERRIDE_ALL as u8;
|
||||
}
|
||||
self.gecko.mTextDecorationLine = bits;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue