git://git.webkit.org
/
WebKit-https.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated printing test patch
[WebKit-https.git]
/
LayoutTests
/
printing
/
media-queries-print.html
1
<html>
2
<style>
3
div {
4
background: red;
5
width: 100px;
6
height: 100px;
7
}
8
@media print {
9
div {
10
background: green;
11
}
12
span {
13
font-style: italic;
14
}
15
}
16
</style>
17
<script>
18
if (window.layoutTestController)
19
layoutTestController.printToPDF();
20
</script>
21
<body>
22
<div></div>
23
<span>When printing, you should see a green square above and this text should be italic.</span>
24
</body>
25
</html>