Closed Bug 1938352 Opened 2 months ago Closed 1 month ago

[wpt-sync] Sync PR 49780 - Avoid negative available size for page margin boxes.

Categories

(Core :: Layout, task, P4)

task

Tracking

()

RESOLVED FIXED
136 Branch
Tracking Status
firefox136 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Morten Stenshorne <mstensho@chromium.org> wrote:

Avoid negative available size for page margin boxes.

@page margins may be negative, so we cannot use them directly as widths
or heights. Clamp negative values to zero.

Bug: 384959130
Change-Id: Iab23c37ba74b9718c88649a5f3abe743d4202986
Reviewed-on: https://chromium-review.googlesource.com/6110213
WPT-Export-Revision: 142e1d79c9259fdc4f65727fe6740c3912549883

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

CI Results

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

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b24944d1cce5 [wpt PR 49780] - Avoid negative available size for page margin boxes., a=testonly
Status: NEW → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 136 Branch
You need to log in before you can comment on or make changes to this bug.