Closed Bug 1796748 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 36583 - [dvh] Invalidate dynamic viewport units in LayoutViewportWasResized

Categories

(Core :: CSS Parsing and Computation, task, P4)

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Anders Hartvoll Ruud <andruud@chromium.org> wrote:

[dvh] Invalidate dynamic viewport units in LayoutViewportWasResized

We did an early-out based on static viewport units presence, which
means that any site that only uses dynamic viewport units would not
be invalidated.

The WPT is adjusted to test each case in a fresh iframe, which does
exercise the problem.

Bug: 1377227
Change-Id: I546c108530c7ea1151e2e0a232970bc9104b740b
Reviewed-on: https://chromium-review.googlesource.com/3968910
WPT-Export-Revision: 37f2fba90199d8a7baadbd04d5b1bd0c923a221c

Component: web-platform-tests → CSS Parsing and Computation
Product: Testing → Core
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4412d77abb90 [wpt PR 36583] - [dvh] Invalidate dynamic viewport units in LayoutViewportWasResized, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.