Closed Bug 1750289 Opened 4 years ago Closed 3 years ago

[wpt-sync] Sync PR 32388 - [tables] Fix crash with position:absolute display:table marquee.

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 32388 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/32388
Details from upstream follow.

Ian Kilpatrick <ikilpatrick@chromium.org> wrote:

[tables] Fix crash with position:absolute display:table marquee.

During NGBlockNode::ComputeMinMaxSizes we occasionally set the min_size
to zero, (for example if its a \<marquee> element).

This is particularly bad for table layout as we assume that we always
have our min_size being whatever the ComputeMinMaxSizes returned.

This patch breaks the tie between these two constraints, favouring
the table min-constraint.

Bug: 1279129
Change-Id: I8406546ba7b1c514dd194966519735dc9dc4d952
Reviewed-on: https://chromium-review.googlesource.com/3390149
WPT-Export-Revision: 8174a5c3d89b72091e008cf382da05a7e047d22c

Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 11 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests

Status Summary

Firefox

PASS: 1

Chrome

PASS: 1

Safari

PASS: 1

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch
You need to log in before you can comment on or make changes to this bug.