The media features in Table 1.2 are listed in the latest W3C recommendation for
media queries, dated 6 June 2007.13
Table 1.2: Media Features
Description Min/Max Value Feature
number of bits per color component yes integer color
number of entries in the color lookup
table
yes integer color-index
aspect ratio yes integer/integer device-aspect-ratio
height of the output device yes length device-height
width of the output device yes length device-width
true for a grid-based device no integer grid
height of the rendering surface yes length height
number of bits per pixel in a
monochrome frame buffer
yes integer monochrome
resolution yes resolution
("dpi" or
"dpcm")
resolution
scanning process of "tv" media types no "progressive"
or
"interlaced"
scan
width of the rendering surface yes length width
13 http://www.w3.org/TR/css3-mediaqueries/
The device-width and device-height features refer to the dimensions of the output
device (that is, the screen size).
The width and height features, on the other hand, refer to the dimensions of the
rendering surface, which is the viewport (for example, the browser window) for
screen media, or the page box for print media.
Pages:
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64