From f3741b3cf1c522a3f916df4602ad910195b16a6e Mon Sep 17 00:00:00 2001 From: Sebastian Zartner Date: Fri, 6 Sep 2024 23:11:32 +0200 Subject: [PATCH] Added WebXR DOM Overlays --- csstest.js | 3 +++ tests.js | 2 ++ tests/webxr-dom-overlays-1.js | 20 ++++++++++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 tests/webxr-dom-overlays-1.js diff --git a/csstest.js b/csstest.js index 831a11b..9674c81 100644 --- a/csstest.js +++ b/csstest.js @@ -43,6 +43,9 @@ var devLinkFormat = function (params) { return 'https://drafts.css-houdini.org/' + params.dev; case 'github': return 'https://w3c.github.io/' + params.dev; + case 'iwwg': + // The Immersive Web Working Group + return 'https://immersive-web.github.io/' + params.dev; case 'svgwg': // SVG Working Group Editor Drafts return 'https://svgwg.org/' + params.dev; diff --git a/tests.js b/tests.js index 0cf93db..c81b043 100644 --- a/tests.js +++ b/tests.js @@ -149,6 +149,7 @@ import svg2Text from './tests/svg2-text.js'; import webAnimations1 from './tests/web-animations-1.js'; import webAnimations2 from './tests/web-animations-2.js'; import webVtt from './tests/webvtt.js'; +import webxrDomOverlays1 from './tests/webxr-dom-overlays-1.js'; export default { @@ -303,4 +304,5 @@ export default { 'web-animations-1': webAnimations1, 'web-animations-2': webAnimations2, webvtt: webVtt, + 'webxr-dom-overlays-1': webxrDomOverlays1, }; diff --git a/tests/webxr-dom-overlays-1.js b/tests/webxr-dom-overlays-1.js new file mode 100644 index 0000000..410cd25 --- /dev/null +++ b/tests/webxr-dom-overlays-1.js @@ -0,0 +1,20 @@ +export default { + title: 'WebXR DOM Overlays Module', + links: { + tr: 'webxr-dom-overlays-1', + dev: 'dom-overlays', + devtype: 'iwwg', + }, + status: { + stability: 'experimental', + }, + selectors: { + ':xr-overlay': { + links: { + tr: '#css-pseudo-class', + dev: '#css-pseudo-class', + }, + tests: [':xr-overlay'], + }, + }, +};