diff --git a/docs/tests/screen.js b/docs/tests/screen.js index 154aa0af..edce155c 100644 --- a/docs/tests/screen.js +++ b/docs/tests/screen.js @@ -170,7 +170,7 @@ const { pixelDepth, } = screen -const { orientation: orientationType } = screen.type || {} +const { type: orientationType } = screen.orientation const vViewport = 'visualViewport' in window ? visualViewport : {} const { width: viewportWidth, height: viewportHeight } = vViewport || {} @@ -245,7 +245,7 @@ patch(el, html`
colorDepth: ${''+colorDepth}
pixelDepth: ${''+pixelDepth}
devicePixelRatio: ${''+devicePixelRatio}
-
orientation: ${''+orientationType}
+
orientation type: ${''+orientationType}
@media orientation: ${''+orientation}
@media display-mode: ${''+displayMode}