Backed out changeset 57d71ba078d7 (bug 1932390) for causing wpt failures @ failures_A...
[gecko.git] / layout / reftests / css-mediaqueries / mq_print_minwidth_updown.xhtml
blobdda7b09333241519f03a42eb1500b23b3f3329c5
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">
4 <head>
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 */
37 ]]></style>
38 </head>
40 <body>
41 <p class="a">a</p>
42 <p class="b">b</p>
44 <p class="c">c</p>
45 <p class="d">d</p>
46 <p class="e">e</p>
47 <p class="f">f</p>
48 <p class="g">g</p>
49 <p class="h">h</p>
50 <p class="i">i</p>
52 <p class="j">j</p>
53 <p class="k">k</p>
54 <p class="l">l</p>
55 <p class="m">m</p>
56 <p class="n">n</p>
57 <p class="o">o</p>
58 <p class="p">p</p>
59 </body>
60 </html>