mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Media query resolution (#30406)
* Add resolution and device-pixel-ratio media query * Update expectations
This commit is contained in:
parent
5d8d7c79c2
commit
aa41fbd8f6
4 changed files with 33 additions and 37 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue