[wpt-sync] Sync PR 41740 - [AWC] Add `resizable` CSS @media feature
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 41740 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/41740
Details from upstream follow.
Sonja <laurila@google.com> wrote:
[AWC] Add
resizableCSS @media featureThe new
resizableCSS will enable using CSS or JS @media query to
know if the window can be resized or not. The value is boolean,
defaulting to true if not specified.For example:
@media (resizable: false) { .button { /*CSS to be applied*/ } }window.matchMedia('(resizable: false)').matchesI2P thread
https://groups.google.com/a/chromium.org/g/blink-dev/c/oCxWg8q_OQY/m/LUTw0T5cCQAJPublic explainer is available @
https://github.com/ivansandrk/additional-windowing-controls/blob/main/awc-explainer.mdPrivate doc @ go/additional-windowing-controls
Bug: 1466855, b:288265319
Change-Id: I301053f4a0cc9c9c0c15c88f6fea98f9b52ab405
Reviewed-on: https://chromium-review.googlesource.com/4822511
WPT-Export-Revision: 6ad8fca28f21680d611a21ad0edd39572324d608
| Assignee | ||
Updated•3 years ago
|
Description
•