Truly independent web browser
LibWeb: Compose intrinsic sizing animation values through calc-size
Andreas Klingbbc49bdaa200
diff --git a/Libraries/LibWeb/Rust/src/css/animation.rs b/Libraries/LibWeb/Rust/src/css/animation.rsindex aeb642f559e..4275797e973 100644--- a/Libraries/LibWeb/Rust/src/css/animation.rs+++ b/Libraries/LibWeb/Rust/src/css/animation.rs@@ -1205,14 +1205,17 @@ fn is_sizing_property(property_id: u16) -> bool {)}-/// Interpolates two sizes where one is a sizing keyword or a calc-size(), as calc-size() values, or returns None-/// where they do not interpolate that way.-/// https://drafts.csswg.org/css-values-5/#interpolate-calc-size-fn interpolate_calc_size(+/// NB: Combines two sizes where one is a sizing keyword or a calc-size(), as calc-size() values, or returns None+/// where they cannot combine that way.+/// https://drafts.csswg.org/css-sizing-4/#interpolate-calc-size+fn combine_calc_size(context: Option<&FfiAnimationContext>,from: &StyleValueData,to: &StyleValueData,- delta: f32,+ combine: impl FnOnce(+ Arc<crate::css::calc::CalcNode>,+ Arc<crate::css::calc::CalcNode>,+ ) -> Option<(Arc<crate::css::calc::CalcNode>, crate::css::calc::FfiNumericType)>,) -> Option<StyleValueData> {use crate::css::css_enums::keyword;@@ -1243,7 +1246,7 @@ fn interpolate_calc_size(if from_kind == to_kind && from_kind != Kind::CalcSize {return None;}- // https://drafts.csswg.org/css-values-5/#valdef-interpolate-size-allow-keywords+ // https://drafts.csswg.org/css-sizing-4/#valdef-interpolate-size-allow-keywords// Sizing values can also be combined if one of them is an <size-keyword> and the other is a <length-percentage>.let keyword_and_length =[&from_kind, &to_kind].contains(&&Kind::Keyword) && [&from_kind, &to_kind].contains(&&Kind::LengthPercentage);@@ -1270,9 +1273,7 @@ fn interpolate_calc_size(} else {return None;};- // The result's calc-size calculation is the interpolation of the two input calc-size calculations.- let (calculation, resolved_type) =- crate::css::calc::interpolate_calc_size_calculations(from_calculation, to_calculation, delta)?;+ let (calculation, resolved_type) = combine(from_calculation, to_calculation)?;let calculation = crate::css::calc::length_percentage_calculated_style_value(calculation, resolved_type);Some(crate::css::calc_size::calc_size_function(basis, calculation))}@@ -7559,7 +7560,11 @@ pub(crate) fn interpolate_value(return discrete_value(context, from, to, delta);}if is_sizing_property(property_id)- && let Some(value) = interpolate_calc_size(context, from, to, delta)+ && let Some(value) = combine_calc_size(context, from, to, |from, to| {+ // https://drafts.csswg.org/css-sizing-4/#interpolate-calc-size+ // If they can be interpolated, the result’s calc-size calculation is the interpolation of the two input calc-size calculations.+ crate::css::calc::interpolate_calc_size_calculations(from, to, delta)+ }){return owned(value);}@@ -7930,6 +7935,14 @@ fn composite_batch_value<'a>(composite_offset_rotate(underlying, animated).map_or_else(handled_without_value, owned)} else if property_id == crate::css::property_metadata::property_id::TRANSFORM {composite_transform_list(context, underlying, animated, operation).map_or_else(handled_without_value, owned)+ } else if is_sizing_property(property_id) {+ combine_calc_size(+ Some(context),+ underlying,+ animated,+ crate::css::calc::add_calc_size_calculations,+ )+ .map_or_else(|| composite_scalar_value(underlying, animated, operation), owned)} else {composite_scalar_value(underlying, animated, operation)};diff --git a/Libraries/LibWeb/Rust/src/css/calc.rs b/Libraries/LibWeb/Rust/src/css/calc.rsindex 55e38f81704..c54dbbc5880 100644--- a/Libraries/LibWeb/Rust/src/css/calc.rs+++ b/Libraries/LibWeb/Rust/src/css/calc.rs@@ -972,6 +972,19 @@ pub(crate) fn interpolate_calc_size_calculations(combine_calculations_keeping_zero_lengths(from, to, 1.0 - delta as f64, delta as f64, Some(ResolveAs::Base(0)))}+/// https://drafts.csswg.org/css-values-4/#combine-math+/// Addition of math functions, with each other or with numeric values and other numeric-valued functions, is+/// defined as Vresult = calc(VA + VB).+pub(crate) fn add_calc_size_calculations(+ underlying: Arc<CalcNode>,+ animated: Arc<CalcNode>,+) -> Option<(Arc<CalcNode>, FfiNumericType)> {+ simplify_combined_calculation(+ shared(CalcNode::Sum(vec![underlying, animated])),+ Some(ResolveAs::Base(0)),+ )+}+/// The calculation with each calc-size() size keyword in it replaced by `replacement`, or None where the/// calculation holds a kind of node this does not rebuild./// https://drafts.csswg.org/css-values-5/#substitute-into-a-calc-size-calculation@@ -1128,6 +1141,13 @@ fn combine_calculations_keeping_zero_lengths(let to_contribution = shared(CalcNode::Product(vec![to, number(to_multiplier)]));let root = shared(CalcNode::Sum(vec![from_contribution, to_contribution]));+ simplify_combined_calculation(root, resolve_as)+}++fn simplify_combined_calculation(+ root: Arc<CalcNode>,+ resolve_as: Option<ResolveAs>,+) -> Option<(Arc<CalcNode>, FfiNumericType)> {let percentage_leaf_type = percentage_leaf_type_for(resolve_as);let evaluation_context = CalcEvaluationContext {percentage_leaf_type: &percentage_leaf_type,diff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-height-composition.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-height-composition.txtindex e11b9cf85b5..11de65404e1 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-height-composition.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-height-composition.txt@@ -2,25 +2,24 @@ Harness status: OKFound 20 tests-2 Pass-18 Fail-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [120px]-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [150px]-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [200px]-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [250px]-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [300px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [120px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [150px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [200px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [250px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [300px]-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (-0.3) should be [50px]+20 Pass+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [120px]+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [150px]+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [200px]+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [250px]+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [300px]+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [120px]+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [150px]+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [200px]+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [250px]+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [300px]+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (-0.3) should be [50px]Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (0) should be [50px]-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (0.5) should be [250px]-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (1) should be [250px]-Fail Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (1.5) should be [250px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (-0.3) should be [50px]+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (0.5) should be [250px]+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (1) should be [250px]+Pass Compositing CSS Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (1.5) should be [250px]+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (-0.3) should be [50px]Pass Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (0) should be [50px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (0.5) should be [250px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (1) should be [250px]-Fail Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (1.5) should be [250px]\ No newline at end of file+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (0.5) should be [250px]+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (1) should be [250px]+Pass Compositing Web Animations: property <height> underlying [fit-content] from add [min-content] to add [200px] at (1.5) should be [250px]\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-max-height-composition.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-max-height-composition.txtindex 0c26e9ba9dd..905efbc6978 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-max-height-composition.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-max-height-composition.txt@@ -2,24 +2,24 @@ Harness status: OKFound 20 tests-20 Fail-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [calc-size(fit-content, (100px + size) * 1.3 + (200px + size) * -0.3)]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [calc-size(fit-content, (100px + size) * 1 + (200px + size) * 0)]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [calc-size(fit-content, (100px + size) * 0.5 + (200px + size) * 0.5)]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [calc-size(fit-content, (100px + size) * 0 + (200px + size) * 1)]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [calc-size(fit-content, (100px + size) * -0.5 + (200px + size) * 1.5)]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [calc-size(fit-content, (100px + size) * 1.3 + (200px + size) * -0.3)]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [calc-size(fit-content, (100px + size) * 1 + (200px + size) * 0)]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [calc-size(fit-content, (100px + size) * 0.5 + (200px + size) * 0.5)]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [calc-size(fit-content, (100px + size) * 0 + (200px + size) * 1)]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [calc-size(fit-content, (100px + size) * -0.5 + (200px + size) * 1.5)]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (-0.3) should be [min-content]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (0) should be [min-content]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (0.5) should be [calc-size(fit-content, 200px + size)]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (1) should be [calc-size(fit-content, 200px + size)]-Fail Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (1.5) should be [calc-size(fit-content, 200px + size)]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (-0.3) should be [min-content]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (0) should be [min-content]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (0.5) should be [calc-size(fit-content, 200px + size)]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (1) should be [calc-size(fit-content, 200px + size)]-Fail Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (1.5) should be [calc-size(fit-content, 200px + size)]\ No newline at end of file+20 Pass+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [calc-size(fit-content, (100px + size) * 1.3 + (200px + size) * -0.3)]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [calc-size(fit-content, (100px + size) * 1 + (200px + size) * 0)]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [calc-size(fit-content, (100px + size) * 0.5 + (200px + size) * 0.5)]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [calc-size(fit-content, (100px + size) * 0 + (200px + size) * 1)]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [calc-size(fit-content, (100px + size) * -0.5 + (200px + size) * 1.5)]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [calc-size(fit-content, (100px + size) * 1.3 + (200px + size) * -0.3)]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [calc-size(fit-content, (100px + size) * 1 + (200px + size) * 0)]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [calc-size(fit-content, (100px + size) * 0.5 + (200px + size) * 0.5)]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [calc-size(fit-content, (100px + size) * 0 + (200px + size) * 1)]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [calc-size(fit-content, (100px + size) * -0.5 + (200px + size) * 1.5)]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (-0.3) should be [min-content]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (0) should be [min-content]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (0.5) should be [calc-size(fit-content, 200px + size)]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (1) should be [calc-size(fit-content, 200px + size)]+Pass Compositing CSS Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (1.5) should be [calc-size(fit-content, 200px + size)]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (-0.3) should be [min-content]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (0) should be [min-content]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (0.5) should be [calc-size(fit-content, 200px + size)]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (1) should be [calc-size(fit-content, 200px + size)]+Pass Compositing Web Animations: property <max-height> underlying [fit-content] from add [min-content] to add [200px] at (1.5) should be [calc-size(fit-content, 200px + size)]\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-max-width-composition.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-max-width-composition.txtindex 8a7247e3a25..2c04cd4c06c 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-max-width-composition.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-max-width-composition.txt@@ -2,34 +2,34 @@ Harness status: OKFound 30 tests-30 Fail-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (-0.3) should be [calc-size(fit-content, 260px + (100px + size) * -0.3)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (0) should be [calc-size(fit-content, 200px + (100px + size) * 0)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (0.5) should be [calc-size(fit-content, 100px + (100px + size) * 0.5)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (1) should be [calc-size(fit-content, 0px + (100px + size) * 1)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (1.5) should be [calc-size(fit-content, -100px + (100px + size) * 1.5)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (-0.3) should be [calc-size(fit-content, 260px + (100px + size) * -0.3)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (0) should be [calc-size(fit-content, 200px + (100px + size) * 0)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (0.5) should be [calc-size(fit-content, 100px + (100px + size) * 0.5)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (1) should be [calc-size(fit-content, 0px + (100px + size) * 1)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (1.5) should be [calc-size(fit-content, -100px + (100px + size) * 1.5)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (-0.3) should be [calc-size(fit-content, 100px + size)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (0) should be [calc-size(fit-content, 100px + size)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (0.5) should be [calc-size(max-content, 100px + size)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (1) should be [calc-size(max-content, 100px + size)]-Fail Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (1.5) should be [calc-size(max-content, 100px + size)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (-0.3) should be [calc-size(fit-content, 100px + size)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (0) should be [calc-size(fit-content, 100px + size)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (0.5) should be [calc-size(max-content, 100px + size)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (1) should be [calc-size(max-content, 100px + size)]-Fail Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (1.5) should be [calc-size(max-content, 100px + size)]-Fail Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (-0.3) should be [calc-size(max-content, 100px + size)]-Fail Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (0) should be [calc-size(max-content, 100px + size)]-Fail Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (0.5) should be [min-content]-Fail Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (1) should be [min-content]-Fail Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (1.5) should be [min-content]-Fail Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (-0.3) should be [calc-size(max-content, 100px + size)]-Fail Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (0) should be [calc-size(max-content, 100px + size)]-Fail Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (0.5) should be [min-content]-Fail Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (1) should be [min-content]-Fail Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (1.5) should be [min-content]\ No newline at end of file+30 Pass+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (-0.3) should be [calc-size(fit-content, 260px + (100px + size) * -0.3)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (0) should be [calc-size(fit-content, 200px + (100px + size) * 0)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (0.5) should be [calc-size(fit-content, 100px + (100px + size) * 0.5)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (1) should be [calc-size(fit-content, 0px + (100px + size) * 1)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (1.5) should be [calc-size(fit-content, -100px + (100px + size) * 1.5)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (-0.3) should be [calc-size(fit-content, 260px + (100px + size) * -0.3)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (0) should be [calc-size(fit-content, 200px + (100px + size) * 0)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (0.5) should be [calc-size(fit-content, 100px + (100px + size) * 0.5)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (1) should be [calc-size(fit-content, 0px + (100px + size) * 1)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [100px] to add [fit-content] at (1.5) should be [calc-size(fit-content, -100px + (100px + size) * 1.5)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (-0.3) should be [calc-size(fit-content, 100px + size)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (0) should be [calc-size(fit-content, 100px + size)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (0.5) should be [calc-size(max-content, 100px + size)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (1) should be [calc-size(max-content, 100px + size)]+Pass Compositing CSS Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (1.5) should be [calc-size(max-content, 100px + size)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (-0.3) should be [calc-size(fit-content, 100px + size)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (0) should be [calc-size(fit-content, 100px + size)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (0.5) should be [calc-size(max-content, 100px + size)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (1) should be [calc-size(max-content, 100px + size)]+Pass Compositing Web Animations: property <max-width> underlying [100px] from add [fit-content] to add [max-content] at (1.5) should be [calc-size(max-content, 100px + size)]+Pass Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (-0.3) should be [calc-size(max-content, 100px + size)]+Pass Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (0) should be [calc-size(max-content, 100px + size)]+Pass Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (0.5) should be [min-content]+Pass Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (1) should be [min-content]+Pass Compositing CSS Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (1.5) should be [min-content]+Pass Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (-0.3) should be [calc-size(max-content, 100px + size)]+Pass Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (0) should be [calc-size(max-content, 100px + size)]+Pass Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (0.5) should be [min-content]+Pass Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (1) should be [min-content]+Pass Compositing Web Animations: property <max-width> underlying [max-content] from add [100px] to add [min-content] at (1.5) should be [min-content]\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-min-height-composition.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-min-height-composition.txtindex 4b643e2016c..d3d5d20d081 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-min-height-composition.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-min-height-composition.txt@@ -2,24 +2,24 @@ Harness status: OKFound 20 tests-20 Fail-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [calc-size(fit-content, (100px + size) * 1.3 + (200px + size) * -0.3)]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [calc-size(fit-content, (100px + size) * 1 + (200px + size) * 0)]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [calc-size(fit-content, (100px + size) * 0.5 + (200px + size) * 0.5)]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [calc-size(fit-content, (100px + size) * 0 + (200px + size) * 1)]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [calc-size(fit-content, (100px + size) * -0.5 + (200px + size) * 1.5)]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [calc-size(fit-content, (100px + size) * 1.3 + (200px + size) * -0.3)]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [calc-size(fit-content, (100px + size) * 1 + (200px + size) * 0)]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [calc-size(fit-content, (100px + size) * 0.5 + (200px + size) * 0.5)]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [calc-size(fit-content, (100px + size) * 0 + (200px + size) * 1)]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [calc-size(fit-content, (100px + size) * -0.5 + (200px + size) * 1.5)]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (-0.3) should be [calc-size(fit-content, 200px + size)]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (0) should be [calc-size(fit-content, 200px + size)]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (0.5) should be [min-content]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (1) should be [min-content]-Fail Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (1.5) should be [min-content]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (-0.3) should be [calc-size(fit-content, 200px + size)]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (0) should be [calc-size(fit-content, 200px + size)]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (0.5) should be [min-content]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (1) should be [min-content]-Fail Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (1.5) should be [min-content]\ No newline at end of file+20 Pass+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [calc-size(fit-content, (100px + size) * 1.3 + (200px + size) * -0.3)]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [calc-size(fit-content, (100px + size) * 1 + (200px + size) * 0)]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [calc-size(fit-content, (100px + size) * 0.5 + (200px + size) * 0.5)]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [calc-size(fit-content, (100px + size) * 0 + (200px + size) * 1)]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [calc-size(fit-content, (100px + size) * -0.5 + (200px + size) * 1.5)]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (-0.3) should be [calc-size(fit-content, (100px + size) * 1.3 + (200px + size) * -0.3)]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (0) should be [calc-size(fit-content, (100px + size) * 1 + (200px + size) * 0)]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (0.5) should be [calc-size(fit-content, (100px + size) * 0.5 + (200px + size) * 0.5)]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (1) should be [calc-size(fit-content, (100px + size) * 0 + (200px + size) * 1)]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [100px] to add [200px] at (1.5) should be [calc-size(fit-content, (100px + size) * -0.5 + (200px + size) * 1.5)]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (-0.3) should be [calc-size(fit-content, 200px + size)]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (0) should be [calc-size(fit-content, 200px + size)]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (0.5) should be [min-content]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (1) should be [min-content]+Pass Compositing CSS Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (1.5) should be [min-content]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (-0.3) should be [calc-size(fit-content, 200px + size)]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (0) should be [calc-size(fit-content, 200px + size)]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (0.5) should be [min-content]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (1) should be [min-content]+Pass Compositing Web Animations: property <min-height> underlying [fit-content] from add [200px] to add [min-content] at (1.5) should be [min-content]\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-min-width-composition.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-min-width-composition.txtindex 585307f2afd..ca7a72530c4 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-min-width-composition.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-min-width-composition.txt@@ -2,18 +2,17 @@ Harness status: OKFound 30 tests-10 Pass-20 Fail-Fail Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (-0.3) should be [calc-size(max-content, (100px + size) * 1.3 + -60px)]-Fail Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (0) should be [calc-size(max-content, (100px + size) * 1 + 0px)]-Fail Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (0.5) should be [calc-size(max-content, (100px + size) * 0.5 + 100px)]-Fail Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (1) should be [calc-size(max-content, (100px + size) * 0 + 200px)]-Fail Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (1.5) should be [calc-size(max-content, (100px + size) * -0.5 + 300px)]-Fail Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (-0.3) should be [calc-size(max-content, (100px + size) * 1.3 + -60px)]-Fail Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (0) should be [calc-size(max-content, (100px + size) * 1 + 0px)]-Fail Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (0.5) should be [calc-size(max-content, (100px + size) * 0.5 + 100px)]-Fail Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (1) should be [calc-size(max-content, (100px + size) * 0 + 200px)]-Fail Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (1.5) should be [calc-size(max-content, (100px + size) * -0.5 + 300px)]+30 Pass+Pass Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (-0.3) should be [calc-size(max-content, (100px + size) * 1.3 + -60px)]+Pass Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (0) should be [calc-size(max-content, (100px + size) * 1 + 0px)]+Pass Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (0.5) should be [calc-size(max-content, (100px + size) * 0.5 + 100px)]+Pass Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (1) should be [calc-size(max-content, (100px + size) * 0 + 200px)]+Pass Compositing CSS Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (1.5) should be [calc-size(max-content, (100px + size) * -0.5 + 300px)]+Pass Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (-0.3) should be [calc-size(max-content, (100px + size) * 1.3 + -60px)]+Pass Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (0) should be [calc-size(max-content, (100px + size) * 1 + 0px)]+Pass Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (0.5) should be [calc-size(max-content, (100px + size) * 0.5 + 100px)]+Pass Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (1) should be [calc-size(max-content, (100px + size) * 0 + 200px)]+Pass Compositing Web Animations: property <min-width> underlying [100px] from add [max-content] to add [100px] at (1.5) should be [calc-size(max-content, (100px + size) * -0.5 + 300px)]Pass Compositing CSS Animations: property <min-width> underlying [min-content] from add [fit-content] to add [max-content] at (-0.3) should be [fit-content]Pass Compositing CSS Animations: property <min-width> underlying [min-content] from add [fit-content] to add [max-content] at (0) should be [fit-content]Pass Compositing CSS Animations: property <min-width> underlying [min-content] from add [fit-content] to add [max-content] at (0.5) should be [max-content]@@ -24,13 +23,13 @@ Pass Compositing Web Animations: property <min-width> underlying [min-content] fPass Compositing Web Animations: property <min-width> underlying [min-content] from add [fit-content] to add [max-content] at (0.5) should be [max-content]Pass Compositing Web Animations: property <min-width> underlying [min-content] from add [fit-content] to add [max-content] at (1) should be [max-content]Pass Compositing Web Animations: property <min-width> underlying [min-content] from add [fit-content] to add [max-content] at (1.5) should be [max-content]-Fail Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (-0.3) should be [calc-size(max-content, 100px + size)]-Fail Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (0) should be [calc-size(max-content, 100px + size)]-Fail Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (0.5) should be [min-content]-Fail Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (1) should be [min-content]-Fail Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (1.5) should be [min-content]-Fail Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (-0.3) should be [calc-size(max-content, 100px + size)]-Fail Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (0) should be [calc-size(max-content, 100px + size)]-Fail Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (0.5) should be [min-content]-Fail Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (1) should be [min-content]-Fail Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (1.5) should be [min-content]\ No newline at end of file+Pass Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (-0.3) should be [calc-size(max-content, 100px + size)]+Pass Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (0) should be [calc-size(max-content, 100px + size)]+Pass Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (0.5) should be [min-content]+Pass Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (1) should be [min-content]+Pass Compositing CSS Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (1.5) should be [min-content]+Pass Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (-0.3) should be [calc-size(max-content, 100px + size)]+Pass Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (0) should be [calc-size(max-content, 100px + size)]+Pass Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (0.5) should be [min-content]+Pass Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (1) should be [min-content]+Pass Compositing Web Animations: property <min-width> underlying [max-content] from add [100px] to add [min-content] at (1.5) should be [min-content]\ No newline at end of filediff --git a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-width-composition.txt b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-width-composition.txtindex 64c153c7b13..f582cb300b9 100644--- a/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-width-composition.txt+++ b/Tests/LibWeb/Text/expected/wpt-import/css/css-values/calc-size/animation/interpolate-size-width-composition.txt@@ -2,35 +2,34 @@ Harness status: OKFound 30 tests-8 Pass-22 Fail-Fail Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (-0.3) should be [170px]+30 Pass+Pass Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (-0.3) should be [170px]Pass Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (0) should be [200px]-Fail Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (0.5) should be [250px]-Fail Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (1) should be [300px]-Fail Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (1.5) should be [350px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (-0.3) should be [170px]+Pass Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (0.5) should be [250px]+Pass Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (1) should be [300px]+Pass Compositing CSS Animations: property <width> underlying [100px] from add [100px] to add [auto] at (1.5) should be [350px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (-0.3) should be [170px]Pass Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (0) should be [200px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (0.5) should be [250px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (1) should be [300px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (1.5) should be [350px]-Fail Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (-0.3) should be [200px]-Fail Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (0) should be [200px]-Fail Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (0.5) should be [300px]-Fail Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (1) should be [300px]-Fail Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (1.5) should be [300px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (-0.3) should be [200px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (0) should be [200px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (0.5) should be [300px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (1) should be [300px]-Fail Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (1.5) should be [300px]-Fail Compositing CSS Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (-0.3) should be [300px]-Fail Compositing CSS Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (0) should be [300px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (0.5) should be [250px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (1) should be [300px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [100px] to add [auto] at (1.5) should be [350px]+Pass Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (-0.3) should be [200px]+Pass Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (0) should be [200px]+Pass Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (0.5) should be [300px]+Pass Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (1) should be [300px]+Pass Compositing CSS Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (1.5) should be [300px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (-0.3) should be [200px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (0) should be [200px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (0.5) should be [300px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (1) should be [300px]+Pass Compositing Web Animations: property <width> underlying [100px] from add [fit-content] to add [auto] at (1.5) should be [300px]+Pass Compositing CSS Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (-0.3) should be [300px]+Pass Compositing CSS Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (0) should be [300px]Pass Compositing CSS Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (0.5) should be [200px]Pass Compositing CSS Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (1) should be [200px]Pass Compositing CSS Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (1.5) should be [200px]-Fail Compositing Web Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (-0.3) should be [300px]-Fail Compositing Web Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (0) should be [300px]+Pass Compositing Web Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (-0.3) should be [300px]+Pass Compositing Web Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (0) should be [300px]Pass Compositing Web Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (0.5) should be [200px]Pass Compositing Web Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (1) should be [200px]Pass Compositing Web Animations: property <width> underlying [max-content] from add [200px] to add [auto] at (1.5) should be [200px]\ No newline at end of file