mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Further changes required by Servo
This commit is contained in:
parent
9e223342e7
commit
e792eba7c7
1 changed files with 2 additions and 1 deletions
|
@ -536,6 +536,7 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
/// an auto value
|
||||
///
|
||||
/// <https://github.com/w3c/csswg-drafts/issues/8407>
|
||||
#[cfg(feature = "gecko")]
|
||||
fn adjust_for_contain_intrinsic_size(&mut self) {
|
||||
let content_visibility = self.style.get_box().clone_content_visibility();
|
||||
if content_visibility != ContentVisibility::Auto {
|
||||
|
@ -978,10 +979,10 @@ impl<'a, 'b: 'a> StyleAdjuster<'a, 'b> {
|
|||
self.adjust_for_webkit_line_clamp();
|
||||
self.adjust_for_position();
|
||||
self.adjust_for_overflow();
|
||||
self.adjust_for_contain_intrinsic_size();
|
||||
#[cfg(feature = "gecko")]
|
||||
{
|
||||
self.adjust_for_contain();
|
||||
self.adjust_for_contain_intrinsic_size();
|
||||
self.adjust_for_table_text_align();
|
||||
self.adjust_for_justify_items();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue