Add reftest for media queries in link and style tags

This commit is contained in:
Mikko Perttunen 2015-03-07 21:00:26 +02:00
parent e7a06cd241
commit 51ceaed0d0
5 changed files with 31 additions and 0 deletions

View file

@ -74,6 +74,8 @@ flaky_cpu == append_style_a.html append_style_b.html
== counters_simple_a.html counters_simple_ref.html
== data_img_a.html data_img_b.html
== empty_cells_a.html empty_cells_ref.html
== external_media_query_link.html external_media_query_ref.html
== external_media_query_style.html external_media_query_ref.html
== filter_opacity_a.html filter_opacity_ref.html
== filter_sepia_a.html filter_sepia_ref.html
== first_child_pseudo_a.html first_child_pseudo_b.html

View file

@ -0,0 +1,4 @@
body {
display: none;
}

View file

@ -0,0 +1,8 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/displaynone.css" media="print">
</head>
<body>
Hello
</body>
</html>

View file

@ -0,0 +1,5 @@
<html>
<body>
Hello
</body>
</html>

View file

@ -0,0 +1,12 @@
<html>
<head>
<style type="text/css" media="print">
body {
display: none;
}
</style>
</head>
<body>
Hello
</body>
</html>