[Release] Webkit-EFL Ver. 2.0_beta_118996_0.6.22
[framework/web/webkit-efl.git] / LayoutTests / fast / media / mq-relative-constraints-02.html
1 <html>
2 <head>
3 <title>CSS3 media query test: relative constraints test using screen and (min-width: 30em). Using style element, media attribute </title>  
4 <link rel="help" href="http://www.w3.org/TR/css3-mediaqueries/#width" />
5 <style type="text/css" media="screen and (min-width: 30em)">
6 p {
7     color: green;
8 }
9 </style>
10 </head>
11 <body>
12
13 <p> This text should be green if viewport is wider than 30em.  </p>
14
15 <div style="width: 30em; background-color: lightblue;"> div of length 30 em </div>
16 <div style="width: 800px; background-color: lightblue;"> div of length 800px </div>
17 </body>
18 </html>