Closed Bug 1685207 Opened 4 years ago Closed 4 years ago

Make sure aspect-ratio property doesn't affect internal table boxes

Categories

(Core :: Layout, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
86 Branch
Tracking Status
firefox86 --- fixed

People

(Reporter: boris, Assigned: boris)

References

()

Details

Attachments

(1 file)

We have to make sure internal table boxes don't work with aspect-ratio.

We need a simplified version for ComputeISizeValue() for table cols and
table cells to avoid taking aspect-ratio into account for intrinsic size
keywords.

Besides, if the inline size is length type, we can just call ToLength().

This patch also adds a wpt to test the table element and its inner table boxes
with aspect-ratio.

Summary: Make sure aspect-ratio property doesn't affect table boxes → Make sure aspect-ratio property doesn't affect internal table boxes
Blocks: 1646100
Pushed by bchiou@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/35348a865576 Rewrite the computation for inline size for table cols and table cells. r=TYLin
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/27082 for changes under testing/web-platform/tests
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 86 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: