Media query resolution (#30406)

* Add resolution and device-pixel-ratio media query

* Update expectations
This commit is contained in:
Samson 2023-09-22 18:18:00 +02:00 committed by GitHub
parent 5d8d7c79c2
commit aa41fbd8f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 33 additions and 37 deletions

View file

@ -17,24 +17,6 @@
[Test parsing ' color ), ( color' with matchMedia]
expected: FAIL
[Test parsing '(min-resolution: 1x)' with matchMedia]
expected: FAIL
[Test parsing '(resolution: 2x)' with matchMedia]
expected: FAIL
[Test parsing '(max-resolution: 7x)' with matchMedia]
expected: FAIL
[Test parsing '(resolution: 2dppx)' with matchMedia]
expected: FAIL
[Test parsing '(resolution: 600dpi)' with matchMedia]
expected: FAIL
[Test parsing '(resolution: 77dpcm)' with matchMedia]
expected: FAIL
[Test parsing '(min-resolution: calc(1x))' with matchMedia]
expected: FAIL

View file

@ -17,33 +17,15 @@
[Test parsing ' color ), ( color' with matchMedia]
expected: FAIL
[Test parsing '(min-resolution: 1x)' with matchMedia]
expected: FAIL
[Test parsing '(min-resolution: calc(1x))' with matchMedia]
expected: FAIL
[Test parsing '(resolution: 2x)' with matchMedia]
expected: FAIL
[Test parsing '(resolution: calc(2x))' with matchMedia]
expected: FAIL
[Test parsing '(max-resolution: 7x)' with matchMedia]
expected: FAIL
[Test parsing '(max-resolution: calc(7x))' with matchMedia]
expected: FAIL
[Test parsing '(resolution: 2dppx)' with matchMedia]
expected: FAIL
[Test parsing '(resolution: 600dpi)' with matchMedia]
expected: FAIL
[Test parsing '(resolution: 77dpcm)' with matchMedia]
expected: FAIL
[Test parsing '(resolution: calc(1x + 2x))' with matchMedia]
expected: FAIL