From 6bf0a5cb5034a7e684dcc3500e841785237ce2dd Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 19:32:43 +0200 Subject: Adding upstream version 1:115.7.0. Signed-off-by: Daniel Baumann --- .../web-platform/tests/webxr/dom-overlay/META.yml | 1 + .../webxr/dom-overlay/ar_dom_overlay.https.html | 298 +++++++++++++++++++++ .../dom-overlay/ar_dom_overlay_hit_test.https.html | 128 +++++++++ .../webxr/dom-overlay/idlharness.https.window.js | 20 ++ .../webxr/dom-overlay/nested_fullscreen.https.html | 81 ++++++ 5 files changed, 528 insertions(+) create mode 100644 testing/web-platform/tests/webxr/dom-overlay/META.yml create mode 100644 testing/web-platform/tests/webxr/dom-overlay/ar_dom_overlay.https.html create mode 100644 testing/web-platform/tests/webxr/dom-overlay/ar_dom_overlay_hit_test.https.html create mode 100644 testing/web-platform/tests/webxr/dom-overlay/idlharness.https.window.js create mode 100644 testing/web-platform/tests/webxr/dom-overlay/nested_fullscreen.https.html (limited to 'testing/web-platform/tests/webxr/dom-overlay') diff --git a/testing/web-platform/tests/webxr/dom-overlay/META.yml b/testing/web-platform/tests/webxr/dom-overlay/META.yml new file mode 100644 index 0000000000..be2b6e613a --- /dev/null +++ b/testing/web-platform/tests/webxr/dom-overlay/META.yml @@ -0,0 +1 @@ +spec: https://immersive-web.github.io/dom-overlays/ diff --git a/testing/web-platform/tests/webxr/dom-overlay/ar_dom_overlay.https.html b/testing/web-platform/tests/webxr/dom-overlay/ar_dom_overlay.https.html new file mode 100644 index 0000000000..250adf9b24 --- /dev/null +++ b/testing/web-platform/tests/webxr/dom-overlay/ar_dom_overlay.https.html @@ -0,0 +1,298 @@ + + + + + + + + +
+
+
+
+
+ + + + +
+
+

test text

+
+ + diff --git a/testing/web-platform/tests/webxr/dom-overlay/ar_dom_overlay_hit_test.https.html b/testing/web-platform/tests/webxr/dom-overlay/ar_dom_overlay_hit_test.https.html new file mode 100644 index 0000000000..6fdf2498ed --- /dev/null +++ b/testing/web-platform/tests/webxr/dom-overlay/ar_dom_overlay_hit_test.https.html @@ -0,0 +1,128 @@ + + + + + + + + + +
+
+
+ + + + +
+ + diff --git a/testing/web-platform/tests/webxr/dom-overlay/idlharness.https.window.js b/testing/web-platform/tests/webxr/dom-overlay/idlharness.https.window.js new file mode 100644 index 0000000000..0f901e5b5d --- /dev/null +++ b/testing/web-platform/tests/webxr/dom-overlay/idlharness.https.window.js @@ -0,0 +1,20 @@ +// META: script=/resources/WebIDLParser.js +// META: script=/resources/idlharness.js + +'use strict'; + +// https://immersive-web.github.io/dom-overlays/ + +idl_test( + ['webxr-dom-overlays'], + ['webxr', 'html', 'dom', 'SVG'], + async idl_array => { + self.svgElement = document.createElementNS('http://www.w3.org/2000/svg', 'svg'); + idl_array.add_objects({ + Document: ['document'], + HTMLElement: ['document.body'], + SVGElement: ['svgElement'], + Window: ['window'] + }); + } +); diff --git a/testing/web-platform/tests/webxr/dom-overlay/nested_fullscreen.https.html b/testing/web-platform/tests/webxr/dom-overlay/nested_fullscreen.https.html new file mode 100644 index 0000000000..a8fc70fca6 --- /dev/null +++ b/testing/web-platform/tests/webxr/dom-overlay/nested_fullscreen.https.html @@ -0,0 +1,81 @@ + + + + + + + + + + +
+ + +
+
+

test text

+
+ + -- cgit v1.2.3