mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Apply line break suppression to text when in any ruby
This commit is contained in:
parent
5c9ba6e631
commit
89ba3553dc
2 changed files with 16 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue