mirror of
https://github.com/servo/servo.git
synced 2025-08-02 20:20:14 +01:00
Add reftest for media queries in link and style tags
This commit is contained in:
parent
e7a06cd241
commit
51ceaed0d0
5 changed files with 31 additions and 0 deletions
|
@ -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
|
||||
|
|
4
tests/ref/css/displaynone.css
Normal file
4
tests/ref/css/displaynone.css
Normal file
|
@ -0,0 +1,4 @@
|
|||
body {
|
||||
display: none;
|
||||
}
|
||||
|
8
tests/ref/external_media_query_link.html
Normal file
8
tests/ref/external_media_query_link.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" type="text/css" href="css/displaynone.css" media="print">
|
||||
</head>
|
||||
<body>
|
||||
Hello
|
||||
</body>
|
||||
</html>
|
5
tests/ref/external_media_query_ref.html
Normal file
5
tests/ref/external_media_query_ref.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<html>
|
||||
<body>
|
||||
Hello
|
||||
</body>
|
||||
</html>
|
12
tests/ref/external_media_query_style.html
Normal file
12
tests/ref/external_media_query_style.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<html>
|
||||
<head>
|
||||
<style type="text/css" media="print">
|
||||
body {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
Hello
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue