Closed Bug 1785039 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 35483 - FrameSet: Fix weird sizes by a large relative value in a rows/cols attribute

Categories

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

task

Tracking

()

RESOLVED FIXED
106 Branch
Tracking Status
firefox106 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: [wptsync downstream])

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

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

Kent Tamura <tkent@chromium.org> wrote:

FrameSet: Fix weird sizes by a large relative value in a rows/cols attribute

In LayOutAxis(), handling of large relative values were inconsistent:

  • ClampTo\<int> is applied in total_relative computation.
  • ClampTo\<int> is not applied in grid_layout[i] computation.
    It could produce sizes greater than |available_len| and negative sizes.

Bug: 1353277
Change-Id: I3a992ffe05ac9f892182124c934f0df8af34fa50

Reviewed-on: https://chromium-review.googlesource.com/3832987
WPT-Export-Revision: 2faea59aea4678aafeaa21bdec6b869648c028d9

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

CI Results

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

Total 2 tests and 1 subtests

Status Summary

Firefox

OK : 2
PASS: 2

Chrome

OK : 2
FAIL: 2

Safari

OK : 2
PASS: 2

Links

GitHub PR Head
GitHub PR Base

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/87cb0d5a6f51 [wpt PR 35483] - FrameSet: Fix an issue by a large relative value in rows/cols attribute, a=testonly
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 106 Branch
You need to log in before you can comment on or make changes to this bug.