1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml" class=
"reftest-paged">
5 <title>Media Query - Print mode test - min-width
</title>
6 <style type=
"text/css"><![CDATA[
7 p {height:
10px; width:
100px; color: yellow; }
8 @media print { .a { color: aqua; } }
9 @media screen { .b { color: aqua; } }
11 /* we set the width to
5 inches/
360pt/
127mm in the reftest-paged class, -
0.5 inches
12 for each margin, that makes
4 inches /
288pt /
101.6mm */
14 /* test values less than set */
15 @media (min-width:
3.14in) { .c { color: aqua; } } /* y */
16 @media (min-width:
284pt) { .d { color: aqua; } } /* y */
17 @media (min-width:
31.4mm) { .e { color: aqua; } } /* y */
19 @media print and (min-width:
3.14in) { .f {color: aqua; } } /* y */
20 @media print and (min-width:
284pt) { .g {color: aqua; } }/* y */
21 @media print and (min-width:
31.4mm) { .h {color: aqua; } }/* y */
23 @media all and (min-width:
3.14in) { .i { color: aqua; } } /* y */
26 /* test values greater than set */
27 @media (min-width:
31.4in) { .j { color: aqua; } } /* n */
28 @media (min-width:
3141pt) { .k { color: aqua; } } /* n */
29 @media (min-width:
314mm) { .l { color: aqua; } } /* n */
31 @media print and (min-width:
31.4in) { .m {color: aqua; } } /* n */
32 @media print and (min-width:
3141pt) { .n {color: aqua; } }/* n */
33 @media print and (min-width:
314mm) { .o {color: aqua; } }/* n */
35 @media all and (min-width:
31.4in) { .p { color: aqua; } } /* n */