PASS query (orientation) should be parseable PASS query not (orientation) should not be parseable PASS query only (orientation) should not be parseable PASS query all and (orientation) should be parseable PASS query not all and (orientation) should be parseable PASS query only all and (orientation) should be parseable PASS query (orientation: 'landscape') should not be parseable PASS expression width should be parseable PASS expression width: 0 should be parseable PASS expression width: 0px should be parseable PASS expression width: 0em should be parseable PASS expression width: -0 should be parseable PASS expression min-width: -0 should be parseable PASS expression max-width: -0 should be parseable PASS expression width: -0cm should be parseable PASS expression width: 1px should be parseable PASS expression width: 0.001mm should be parseable PASS expression width: 100000px should be parseable PASS expression width: -1px should not be parseable PASS expression width: '20px' should not be parseable PASS expression min-width: -1px should not be parseable PASS expression max-width: -1px should not be parseable PASS expression min-width: '10px' should not be parseable PASS expression max-width: '10px' should not be parseable PASS expression width: -0.00001mm should not be parseable PASS expression width: -100000em should not be parseable PASS expression min-width should not be parseable PASS expression max-width should not be parseable PASS expression height should be parseable PASS expression height: 0 should be parseable PASS expression height: 0px should be parseable PASS expression height: 0em should be parseable PASS expression height: -0 should be parseable PASS expression min-height: -0 should be parseable PASS expression max-height: -0 should be parseable PASS expression height: -0cm should be parseable PASS expression height: 1px should be parseable PASS expression height: 0.001mm should be parseable PASS expression height: 100000px should be parseable PASS expression height: -1px should not be parseable PASS expression height: '20px' should not be parseable PASS expression min-height: -1px should not be parseable PASS expression max-height: -1px should not be parseable PASS expression min-height: '10px' should not be parseable PASS expression max-height: '10px' should not be parseable PASS expression height: -0.00001mm should not be parseable PASS expression height: -100000em should not be parseable PASS expression min-height should not be parseable PASS expression max-height should not be parseable PASS expression device-width should be parseable PASS expression device-width: 0 should be parseable PASS expression device-width: 0px should be parseable PASS expression device-width: 0em should be parseable PASS expression device-width: -0 should be parseable PASS expression min-device-width: -0 should be parseable PASS expression max-device-width: -0 should be parseable PASS expression device-width: -0cm should be parseable PASS expression device-width: 1px should be parseable PASS expression device-width: 0.001mm should be parseable PASS expression device-width: 100000px should be parseable PASS expression device-width: -1px should not be parseable PASS expression device-width: '20px' should not be parseable PASS expression min-device-width: -1px should not be parseable PASS expression max-device-width: -1px should not be parseable PASS expression min-device-width: '10px' should not be parseable PASS expression max-device-width: '10px' should not be parseable PASS expression device-width: -0.00001mm should not be parseable PASS expression device-width: -100000em should not be parseable PASS expression min-device-width should not be parseable PASS expression max-device-width should not be parseable PASS expression device-height should be parseable PASS expression device-height: 0 should be parseable PASS expression device-height: 0px should be parseable PASS expression device-height: 0em should be parseable PASS expression device-height: -0 should be parseable PASS expression min-device-height: -0 should be parseable PASS expression max-device-height: -0 should be parseable PASS expression device-height: -0cm should be parseable PASS expression device-height: 1px should be parseable PASS expression device-height: 0.001mm should be parseable PASS expression device-height: 100000px should be parseable PASS expression device-height: -1px should not be parseable PASS expression device-height: '20px' should not be parseable PASS expression min-device-height: -1px should not be parseable PASS expression max-device-height: -1px should not be parseable PASS expression min-device-height: '10px' should not be parseable PASS expression max-device-height: '10px' should not be parseable PASS expression device-height: -0.00001mm should not be parseable PASS expression device-height: -100000em should not be parseable PASS expression min-device-height should not be parseable PASS expression max-device-height should not be parseable PASS all and (width: width px) should apply PASS all and (width: width +1 px) should not apply PASS all and (width: width -1 px) should not apply PASS all and (min-width: width px) should apply PASS all and (min-width: width +1 px) should not apply PASS all and (min-width: width -1 px) should apply PASS all and (max-width: width px) should apply PASS all and (max-width: width +1 px) should apply PASS all and (max-width: width +1 px) should not apply PASS all and (min-width: width +1 em) should not apply PASS all and (min-width: width -1 em) should apply PASS all and (max-width: width +1 em) should apply PASS all and (max-width: width -1 em) should not apply PASS all and (height: height px) should apply PASS all and (height: height +1 px) should not apply PASS all and (height: height -1 px) should not apply PASS all and (min-height: height px) should apply PASS all and (min-height: height +1 px) should not apply PASS all and (min-height: height -1 px) should apply PASS all and (max-height: height px) should apply PASS all and (max-height: height +1 px) should apply PASS all and (max-height: height +1 px) should not apply PASS all and (min-height: height +1 em) should not apply PASS all and (min-height: height -1 em) should apply PASS all and (max-height: height +1 em) should apply PASS all and (max-height: height -1 em) should not apply PASS all and (device-width: device-width px) should apply PASS all and (device-width: device-width +1 px) should not apply PASS all and (device-width: device-width -1 px) should not apply PASS all and (min-device-width: device-width px) should apply PASS all and (min-device-width: device-width +1 px) should not apply PASS all and (min-device-width: device-width -1 px) should apply PASS all and (max-device-width: device-width px) should apply PASS all and (max-device-width: device-width +1 px) should apply PASS all and (max-device-width: device-width +1 px) should not apply PASS all and (min-device-width: device-width +1 em) should not apply PASS all and (min-device-width: device-width -1 em) should apply PASS all and (max-device-width: device-width +1 em) should apply PASS all and (max-device-width: device-width -1 em) should not apply PASS all and (device-height: device-height px) should apply PASS all and (device-height: device-height +1 px) should not apply PASS all and (device-height: device-height -1 px) should not apply PASS all and (min-device-height: device-height px) should apply PASS all and (min-device-height: device-height +1 px) should not apply PASS all and (min-device-height: device-height -1 px) should apply PASS all and (max-device-height: device-height px) should apply PASS all and (max-device-height: device-height +1 px) should apply PASS all and (max-device-height: device-height +1 px) should not apply PASS all and (min-device-height: device-height +1 em) should not apply PASS all and (min-device-height: device-height -1 em) should apply PASS all and (max-device-height: device-height +1 em) should apply PASS all and (max-device-height: device-height -1 em) should not apply PASS all and (height) should apply PASS all and (width) should not apply PASS all and (height) should not apply PASS all and (width) should not apply PASS all and (device-height) should apply PASS all and (device-width) should apply PASS all and (height) should not apply PASS all and (width) should apply PASS all and (height) should apply PASS all and (width) should apply PASS expression orientation should be parseable PASS expression orientation: portrait should be parseable PASS expression orientation: landscape should be parseable PASS expression min-orientation should not be parseable PASS expression min-orientation: portrait should not be parseable PASS expression min-orientation: landscape should not be parseable PASS expression max-orientation should not be parseable PASS expression max-orientation: portrait should not be parseable PASS expression max-orientation: landscape should not be parseable PASS (orientation) should apply PASS (orientation: landscape) should apply PASS (orientation: portrait) should not apply PASS not all and (orientation: portrait) should apply PASS (orientation) should apply PASS (orientation: landscape) should not apply PASS not all and (orientation: landscape) should apply PASS (orientation: portrait) should apply PASS (aspect-ratio: 59/80) should apply PASS (aspect-ratio: 58/80) should not apply PASS (aspect-ratio: 59/81) should not apply PASS (aspect-ratio: 60/80) should not apply PASS (aspect-ratio: 59/79) should not apply PASS (aspect-ratio: 177/240) should apply PASS (aspect-ratio: 413/560) should apply PASS (aspect-ratio: 5900/8000) should apply PASS (aspect-ratio: 5901/8000) should not apply PASS (aspect-ratio: 5899/8000) should not apply PASS (aspect-ratio: 5900/8001) should not apply PASS (aspect-ratio: 5900/7999) should not apply PASS (aspect-ratio) should apply PASS (min-aspect-ratio: 59/80) should apply PASS (min-aspect-ratio: 58/80) should apply PASS (min-aspect-ratio: 59/81) should apply PASS (min-aspect-ratio: 60/80) should not apply PASS (min-aspect-ratio: 59/79) should not apply PASS expression min-aspect-ratio should not be parseable PASS (max-aspect-ratio: 59/80) should apply PASS (max-aspect-ratio: 58/80) should not apply PASS (max-aspect-ratio: 59/81) should not apply PASS (max-aspect-ratio: 60/80) should apply PASS (max-aspect-ratio: 59/79) should apply PASS expression max-aspect-ratio should not be parseable PASS (device-aspect-ratio: device-width / device-height) should apply PASS not all and (device-aspect-ratio: device-width + 1 / device-height) should apply PASS all and (device-aspect-ratio: device-width / device-height - 1) should not apply PASS all and (device-aspect-ratio: device-width - 1 / device-height) should not apply PASS not all and (device-aspect-ratio: device-width / device-height + 1) should apply PASS (device-aspect-ratio) should apply PASS (min-device-aspect-ratio: device-width / device-height) should apply PASS not all and (device-aspect-ratio: device-width + 1 / device-height) should not apply PASS not all and (min-device-aspect-ratio: device-width / device-height - 1) should apply PASS not all and (min-device-aspect-ratio: device-width - 1 / device-height) should not apply PASS all and (min-device-aspect-ratio: device-width / device-height + 1) should apply PASS expression min-device-aspect-ratio should not be parseable PASS all and (max-device-aspect-ratio: device-width / device-height) should apply PASS (max-device-aspect-ratio: device-width + 1 / device-height) should apply PASS (max-device-aspect-ratio: device-width / device-height - 1 should apply PASS all and (max-device-aspect-ratio: device-width - 1 / device-height) should not apply PASS not all and (max-device-aspect-ratio: device-width / device-height + 1) should apply PASS expression max-device-aspect-ratio should not be parseable PASS expression max-aspect-ratio: 1/1 should be parseable PASS expression max-aspect-ratio: 1 /1 should be parseable PASS expression max-aspect-ratio: 1 / 1 should be parseable PASS expression max-aspect-ratio: 1/ 1 should be parseable PASS expression max-aspect-ratio: 1 should not be parseable PASS expression max-aspect-ratio: 0.5 should not be parseable PASS expression max-aspect-ratio: 1.0/1 should not be parseable PASS expression max-aspect-ratio: 1/1.0 should not be parseable PASS expression max-aspect-ratio: 1.0/1.0 should not be parseable PASS expression max-aspect-ratio: 0/1 should not be parseable PASS expression max-aspect-ratio: 1/0 should not be parseable PASS expression max-aspect-ratio: 0/0 should not be parseable PASS expression max-aspect-ratio: -1/1 should not be parseable PASS expression max-aspect-ratio: 1/-1 should not be parseable PASS expression max-aspect-ratio: -1/-1 should not be parseable PASS expression device-aspect-ratio: 1/1 should be parseable PASS expression device-aspect-ratio: 1 /1 should be parseable PASS expression device-aspect-ratio: 1 / 1 should be parseable PASS expression device-aspect-ratio: 1/ 1 should be parseable PASS expression device-aspect-ratio: 1 should not be parseable PASS expression device-aspect-ratio: 0.5 should not be parseable PASS expression device-aspect-ratio: 1.0/1 should not be parseable PASS expression device-aspect-ratio: 1/1.0 should not be parseable PASS expression device-aspect-ratio: 1.0/1.0 should not be parseable PASS expression device-aspect-ratio: 0/1 should not be parseable PASS expression device-aspect-ratio: 1/0 should not be parseable PASS expression device-aspect-ratio: 0/0 should not be parseable PASS expression device-aspect-ratio: -1/1 should not be parseable PASS expression device-aspect-ratio: 1/-1 should not be parseable PASS expression device-aspect-ratio: -1/-1 should not be parseable PASS monochrome_and_color PASS find_depth PASS all and (color: depth) should apply PASS all and (color: depth - 1) should not apply PASS all and (color: depth + 1) should not apply PASS all and (max-color: depth) should apply PASS all and (max-color: depth - 1) should not apply PASS all and (max-color: depth + 1) should apply PASS all and (color) should apply PASS expression max-color should not be parseable PASS expression min-color should not be parseable PASS all and (monochrome) should not apply PASS expression max-monochrome should not be parseable PASS expression min-monochrome should not be parseable PASS not all and (monochrome) should apply PASS not all and (color) should not apply PASS only all and (color) should apply PASS only all and (monochrome) should not apply PASS expression color: 1 should be parseable PASS expression color: 327 should be parseable PASS expression color: 0 should be parseable PASS expression color: 1.0 should not be parseable PASS expression color: -1 should not be parseable PASS expression color: 1/1 should not be parseable PASS expression min-monochrome: 1 should be parseable PASS expression min-monochrome: 327 should be parseable PASS expression min-monochrome: 0 should be parseable PASS expression min-monochrome: 1.0 should not be parseable PASS expression min-monochrome: -1 should not be parseable PASS expression min-monochrome: 1/1 should not be parseable FAIL find_resolution assert_false: expected false got true PASS (resolution: dpi) should not apply PASS (resolution: dpi + 1) should not apply FAIL (min-resolution: dpi - 1 ) should apply assert_true: expected true got false FAIL not all and (min-resolution: dpi - 1 ) should not apply assert_false: expected false got true PASS not all and (min-resolution: dpi + 1 ) should apply PASS all and (min-resolution: dpi + 1 ) should not apply FAIL (min-resolution: dpcm (dpi - 1) ) should apply assert_true: expected true got false FAIL (max-resolution: dpcm (dpi + 1) ) should apply assert_true: expected true got false PASS (max-resolution: dpcm (dpi - 1) ) should not apply PASS not all and (min-resolution: dpcm (dpi + 1) ) should apply PASS expression grid should be parseable PASS expression grid: 0 should be parseable PASS expression grid: 1 should be parseable PASS expression grid: 1 should be parseable PASS expression min-grid should not be parseable PASS expression min-grid:0 should not be parseable PASS expression max-grid: 1 should not be parseable PASS expression grid: 2 should not be parseable PASS expression grid: -1 should not be parseable PASS (grid) should not apply PASS (grid: 0) should apply PASS (grid: 1) should not apply PASS (grid: 2) should not apply PASS (grid: -1) should not apply