[wpt-sync] Sync PR 32635 - Support small/large/dynamic/logical viewport units
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox99 | --- | fixed |
People
(Reporter: mozilla.org, Unassigned)
References
(Depends on 1 open bug, )
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 32635 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/32635
Details from upstream follow.
Anders Hartvoll Ruud <andruud@chromium.org> wrote:
Support small/large/dynamic/logical viewport units
This CL adds support for new units:
- svw, svh (etc): Resolves against the viewport as it would be with
browser controls fully expanded.- lvw, lvh (etc): Resolves against the viewport as it would be with
browser controls fully minimized.- dvw, dvh (etc): Resolves against the viewport as it presently
appears given the current state of browser controls.- vi, vb: Resolves against vw/vh depending on the writing-mode
of the target element.Note that dv* units are deliberately not responsive to browser control
animations, and will always resolve to either sv* or lv* (not some
value in between). This is to avoid excessive scroll-driven relayouts
on mobile devices.This CL uses the existing system/bits for invalidation of viewport
units. Targeted invalidation of dynamic units will come in a
subsequent CL.Bug: 1093055
Change-Id: I3ba55a86de53514f2020a2d5bdda579f06dd9d0a
Reviewed-on: https://chromium-review.googlesource.com/3344791
WPT-Export-Revision: 30f81d7e1678e225879b5a785bb333658113704e
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Pushed to try (stability) https://treeherder.mozilla.org/#/jobs?repo=try&revision=9dd358523dbcd7a3effa7ecdc36a1146ef8cf068
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e1324f6b56d0 [wpt PR 32635] - Support small/large/dynamic/logical viewport units, a=testonly https://hg.mozilla.org/integration/autoland/rev/f374523d85a1 [wpt PR 32635] - Update wpt metadata, a=testonly
Assignee | ||
Comment 3•2 years ago
|
||
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0e024177c3c9 [wpt PR 32635] - Support small/large/dynamic/logical viewport units, a=testonly https://hg.mozilla.org/integration/autoland/rev/3ad6f18b3093 [wpt PR 32635] - Update wpt metadata, a=testonly
Assignee | ||
Comment 5•2 years ago
|
||
Test result changes from PR not available.
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0e024177c3c9
https://hg.mozilla.org/mozilla-central/rev/3ad6f18b3093
Description
•