blob: 0cdd8c87d1bdcc303b08166b0f7a072ae924f180 [file] [log] [blame]
Verify that media queries are reported properly.
mediaRule #0
text: (max-width: 0px), (min-width: 1000em)
source: mediaRule
range: {"startLine":12,"startColumn":7,"endLine":12,"endColumn":52}
computedText: all and (max-width: 0px), (min-width: 1000em)
mediaQuery #0 active: false
mediaExpression #0
feature: max-width
value: 0
unit: px
mediaQuery #1 active: false
mediaExpression #0
feature: min-width
value: 1000
unit: em
computed length: 16000
mediaRule #1
text: (max-width: 100px), (max-width: 72em)
source: mediaRule
range: {"startLine":21,"startColumn":7,"endLine":21,"endColumn":65}
computedText: (max-width: 100px), (max-width: /* comment inside */ 72em)
mediaQuery #0
mediaExpression #0
feature: max-width
value: 100
unit: px
computed length: 100
mediaQuery #1
mediaExpression #0
feature: max-width
value: 72
unit: em
computed length: 1152
mediaRule #2
text: (max-width: 10px) and (min-width: 20px)
source: mediaRule
range: {"startLine":13,"startColumn":7,"endLine":13,"endColumn":46}
computedText: (min-width: 20px) and (max-width: 10px)
mediaQuery #0 active: false
mediaExpression #0
feature: max-width
value: 10
unit: px
computed length: 10
mediaExpression #1
feature: min-width
value: 20
unit: px
computed length: 20
mediaRule #3
text: (max-width: 200px) and (min-width: 100px)
source: mediaRule
range: {"startLine":6,"startColumn":11,"endLine":6,"endColumn":52}
computedText: (max-width: 200px) and (min-width: 100px)
mediaQuery #0
mediaExpression #0
feature: max-width
value: 200
unit: px
computed length: 200
mediaExpression #1
feature: min-width
value: 100
unit: px
computed length: 100
mediaRule #4
text: (min-monochrome: 8)
source: mediaRule
range: {"startLine":22,"startColumn":11,"endLine":22,"endColumn":38}
computedText: all and (min-monochrome: 8)
mediaQuery #0
mediaExpression #0
feature: min-monochrome
value: 8
unit:
mediaRule #5
text: (min-width: 100px)
source: mediaRule
range: {"startLine":4,"startColumn":7,"endLine":4,"endColumn":25}
computedText: (min-width: 100px)
mediaQuery #0
mediaExpression #0
feature: min-width
value: 100
unit: px
computed length: 100
mediaRule #6
text: (min-width: 100px)
source: mediaRule
range: {"startLine":4,"startColumn":7,"endLine":4,"endColumn":25}
computedText: (min-width: 100px)
mediaQuery #0
mediaExpression #0
feature: min-width
value: 100
unit: px
computed length: 100
mediaRule #7
text: (min-width: 100px)
source: mediaRule
range: {"startLine":4,"startColumn":7,"endLine":4,"endColumn":25}
computedText: (min-width: 100px)
mediaQuery #0
mediaExpression #0
feature: min-width
value: 100
unit: px
computed length: 100
mediaRule #8
text: (min-width: 1px), (max-width: 1000em)
source: mediaRule
range: {"startLine":1,"startColumn":7,"endLine":9,"endColumn":1}
computedText: all\n\nand ( min-width:\n 1px),\n\n (max-width: 1000em\n\n\n)
mediaQuery #0 active: true
mediaExpression #0
feature: min-width
value: 1
unit: px
computed length: 1
mediaQuery #1 active: true
mediaExpression #0
feature: max-width
value: 1000
unit: em
computed length: 16000
mediaRule #9
text: (orientation: landscape), handheld and (max-resolution: 3dppx)
source: importRule
range: {"startLine":3,"startColumn":37,"endLine":3,"endColumn":99}
computedText: (orientation: landscape), handheld and (max-resolution: 3dppx)
mediaQuery #0
mediaExpression #0
feature: max-resolution
value: 3
unit: dppx
mediaRule #10
text: (orientation: portrait)
source: mediaRule
range: {"startLine":14,"startColumn":11,"endLine":14,"endColumn":42}
computedText: all and (orientation: portrait)
mediaList is empty
mediaRule #11
text: handheld and (min-width: 20em), screen and (min-width: 20em)
source: mediaRule
range: {"startLine":8,"startColumn":11,"endLine":8,"endColumn":71}
computedText: handheld and (min-width: 20em), screen and (min-width: 20em)
mediaQuery #0
mediaExpression #0
feature: min-width
value: 20
unit: em
computed length: 320
mediaQuery #1
mediaExpression #0
feature: min-width
value: 20
unit: em
computed length: 320
mediaRule #12
text: not all
source: mediaRule
range: {"startLine":5,"startColumn":7,"endLine":5,"endColumn":43}
computedText: screen and (min-width: 10px) and and
mediaList is empty
mediaRule #13
text: not all
source: mediaRule
range: {"startLine":29,"startColumn":7,"endLine":29,"endColumn":9}
computedText: ()
mediaList is empty
mediaRule #14
text: print and (min-width: 8.5in)
source: linkedSheet
range: undefined
mediaQuery #0
mediaExpression #0
feature: min-width
value: 8.5
unit: in
computed length: 816
mediaRule #15
text: screen and (device-aspect-ratio: 16/9), screen and (device-aspect-ratio: 16/10)
source: mediaRule
range: {"startLine":1,"startColumn":7,"endLine":1,"endColumn":86}
computedText: screen and (device-aspect-ratio: 16/9), screen and (device-aspect-ratio: 16/10)
mediaList is empty
mediaRule #16
text: screen and (max-height: 4000px) and (min-width: 10px)
source: importRule
range: {"startLine":0,"startColumn":37,"endLine":1,"endColumn":42}
computedText: screen and\n(min-width: 10px) and (max-height: 4000px)
mediaQuery #0
mediaExpression #0
feature: max-height
value: 4000
unit: px
computed length: 4000
mediaExpression #1
feature: min-width
value: 10
unit: px
computed length: 10
mediaRule #17
text: screen and (min-resolution: 2dppx)
source: mediaRule
range: {"startLine":7,"startColumn":7,"endLine":7,"endColumn":41}
computedText: screen and (min-resolution: 2dppx)
mediaQuery #0
mediaExpression #0
feature: min-resolution
value: 2
unit: dppx