Add missing 0
Delta semántico
Ninguna definición cambió: el cambio es de texto, documentación o datos.
1 archivos · +2 −2
- src/compute/flexbox.rs +2 −2
diff --git a/src/compute/flexbox.rs b/src/compute/flexbox.rs
index 976848d98..1a0eaddcd 100644
--- a/src/compute/flexbox.rs
+++ b/src/compute/flexbox.rs
@@ -680,8 +680,8 @@ fn determine_flex_base_size(
.main(constants.dir);
};
- // Floor flex-basis by the padding_border_sum (floors inner_flex_basis at 0)
- // This seems to be in violation of the spec which explicitly states that the content box should not be floored at
+ // Floor flex-basis by the padding_border_sum (floors inner_flex_basis at zero)
+ // This seems to be in violation of the spec which explicitly states that the content box should not be floored at zero
// (like it usually is) when calculating the flex-basis. But including this matches both Chrome and Firefox's behaviour.
//
// TODO: resolve spec violation