Closed Bug 1697414 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 27972 - [TablesNG] fix caption negative margins

Categories

(Core :: Layout: Tables, task, P4)

task

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

b'Aleks Totic <atotic@chromium.org>' wrote:

[TablesNG] fix caption negative margins

How should tables handle captions with negative
block margins?
This is a corner case.

FF/Legacy shift table grid up with no limit.
FF keeps wrapper size constant even when grid shifts.
Legacy shrinks wrapper.

The fix matches FF behavior.

Bug: 1185786
Change-Id: I9dd62accfc22325edf2ad6a54383000a86a20be0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2746481
Reviewed-by: Ian Kilpatrick \<ikilpatrick@chromium.org>
Commit-Queue: Aleks Totic \<atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#861421}

Component: web-platform-tests → Layout: Tables
Product: Testing → Core

CI Results

Ran 14 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

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/261df8690fa6 [wpt PR 27972] - [TablesNG] fix caption negative margins, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.