mirror of
https://github.com/servo/servo.git
synced 2025-08-05 13:40:08 +01:00
Further changes required by Servo
This commit is contained in:
parent
65e8b71b0f
commit
b373d9c1c4
1 changed files with 2 additions and 0 deletions
|
@ -437,6 +437,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
|
||||
/// column-rule-style: none causes a computed column-rule-width of zero
|
||||
/// at computed value time.
|
||||
#[cfg(feature = "gecko")]
|
||||
fn adjust_for_column_rule_width(&mut self) {
|
||||
let column_style = self.style.get_column();
|
||||
if !column_style.clone_column_rule_style().none_or_hidden() {
|
||||
|
@ -967,6 +968,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
self.adjust_for_alignment(layout_parent_style);
|
||||
}
|
||||
self.adjust_for_border_width();
|
||||
#[cfg(feature = "gecko")]
|
||||
self.adjust_for_column_rule_width();
|
||||
self.adjust_for_outline_width();
|
||||
self.adjust_for_writing_mode(layout_parent_style);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue