blob: c90ed29d730dbaf98b1638893c8688d8b574cf04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html>
<meta charset="utf-8">
<title>Viewport Segments: visualViewport.segments tentative</title>
<link rel="help" href="https://wicg.github.io/visual-viewport/"/>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
"use strict";
test(() => {
assert_true('segments' in visualViewport, "`segments` must be a property of visualViewport.");
assert_equals(visualViewport.segments, null, "For a viewport not segmented, no segments must be exposed.");
});
</script>
|