Apply line break suppression to text when in any ruby

This commit is contained in:
Xidorn Quan 2017-08-15 09:32:39 +10:00
parent 5c9ba6e631
commit 89ba3553dc
2 changed files with 16 additions and 2 deletions

View file

@ -1821,7 +1821,7 @@ pub extern "C" fn Servo_ComputedValues_Inherit(
if for_text {
StyleAdjuster::new(&mut style)
.adjust_for_text();
.adjust_for_text(reference);
}
style.build()