Add style adjustments for ruby.

This commit is contained in:
Xidorn Quan 2017-07-14 10:34:08 +10:00
parent f08c432b57
commit 6a12de1c1a
7 changed files with 158 additions and 8 deletions

View file

@ -1727,6 +1727,9 @@ pub extern "C" fn Servo_ComputedValues_GetStyleBits(values: ServoComputedValuesB
if flags.contains(HAS_TEXT_DECORATION_LINES) {
result |= structs::NS_STYLE_HAS_TEXT_DECORATION_LINES as u64;
}
if flags.contains(SHOULD_SUPPRESS_LINEBREAK) {
result |= structs::NS_STYLE_SUPPRESS_LINEBREAK as u64;
}
result
}