Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 4 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/mediaqueries/resizable.tentative.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<link rel="help" href="https://github.com/explainers-by-googlers/additional-windowing-controls/blob/main/README.md" />
<script type="text/javascript" src="/resources/testharness.js"></script>
<script type="text/javascript" src="/resources/testharnessreport.js"></script>
<script type="text/javascript" src="/css/mediaqueries/resources/matchmedia-utils.js"></script>
<script>
query_should_be_known("(resizable: true)");
query_should_be_known("(resizable: false)");
query_should_be_known("(resizable)");
query_should_be_unknown("(resizable: 0)");
query_should_be_unknown("(resizable: 1)");
query_should_be_unknown("(resizable: none)");
query_should_be_unknown("(resizable: random)");
query_should_be_unknown("(resizable: 10px)");
query_should_be_unknown("(resizable: 1%)");
test(() => {
let booleanContext = window.matchMedia("(resizable)");
assert_true(booleanContext.matches);
}, "Check that resizable evaluates to true in the boolean context");
</script>