summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/visual-viewport/viewport-segments.tentative.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/visual-viewport/viewport-segments.tentative.html')
-rw-r--r--testing/web-platform/tests/visual-viewport/viewport-segments.tentative.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/testing/web-platform/tests/visual-viewport/viewport-segments.tentative.html b/testing/web-platform/tests/visual-viewport/viewport-segments.tentative.html
new file mode 100644
index 0000000000..c90ed29d73
--- /dev/null
+++ b/testing/web-platform/tests/visual-viewport/viewport-segments.tentative.html
@@ -0,0 +1,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>
+