mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Upgrade Stylo to 2024-12-04 (#34501)
* Upgrade Stylo to 2024-12-04 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Fixup for https://phabricator.services.mozilla.com/D229998 Signed-off-by: Oriol Brufau <obrufau@igalia.com> * Update test expectations Signed-off-by: Oriol Brufau <obrufau@igalia.com> --------- Signed-off-by: Oriol Brufau <obrufau@igalia.com>
This commit is contained in:
parent
3fa1d3d9cf
commit
61ca2dde29
16 changed files with 239 additions and 195 deletions
|
@ -1927,23 +1927,23 @@ impl BlockFlow {
|
|||
.flags
|
||||
.contains(FlowFlags::CONTAINS_TEXT_OR_REPLACED_FRAGMENTS),
|
||||
) {
|
||||
(Float::None, true) => {
|
||||
(None, true) => {
|
||||
computation.content_intrinsic_sizes.preferred_inline_size = max(
|
||||
computation.content_intrinsic_sizes.preferred_inline_size,
|
||||
child_base.intrinsic_inline_sizes.preferred_inline_size,
|
||||
);
|
||||
},
|
||||
(Float::None, false) => {
|
||||
(None, false) => {
|
||||
preferred_inline_size_of_children_without_text_or_replaced_fragments = max(
|
||||
preferred_inline_size_of_children_without_text_or_replaced_fragments,
|
||||
child_base.intrinsic_inline_sizes.preferred_inline_size,
|
||||
)
|
||||
},
|
||||
(Float::Left, _) => {
|
||||
(Some(FloatKind::Left), _) => {
|
||||
left_float_width_accumulator +=
|
||||
child_base.intrinsic_inline_sizes.preferred_inline_size;
|
||||
},
|
||||
(Float::Right, _) => {
|
||||
(Some(FloatKind::Right), _) => {
|
||||
right_float_width_accumulator +=
|
||||
child_base.intrinsic_inline_sizes.preferred_inline_size;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue