mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Further changes required by Servo
This commit is contained in:
parent
0dfd45ba21
commit
6dafc18b67
1 changed files with 2 additions and 0 deletions
|
@ -156,6 +156,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
/// This makes the element not be a flex container, with all that it
|
||||
/// implies, but it should be safe. It matches blink, see
|
||||
/// https://bugzilla.mozilla.org/show_bug.cgi?id=1786147#c10
|
||||
#[cfg(feature = "gecko")]
|
||||
fn adjust_for_webkit_line_clamp(&mut self) {
|
||||
use crate::properties::longhands::_moz_box_orient::computed_value::T as BoxOrient;
|
||||
use crate::values::specified::box_::{DisplayOutside, DisplayInside};
|
||||
|
@ -885,6 +886,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
}
|
||||
self.adjust_for_top_layer();
|
||||
self.blockify_if_necessary(layout_parent_style, element);
|
||||
#[cfg(feature = "gecko")]
|
||||
self.adjust_for_webkit_line_clamp();
|
||||
self.adjust_for_position();
|
||||
self.adjust_for_overflow();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue