41 lines
993 B
HTML
41 lines
993 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<style>
|
|
img, div {
|
|
display: inline-block;
|
|
margin: 20px 20px;
|
|
border: 2px solid black;
|
|
width: 220px;
|
|
height: 220px;
|
|
}
|
|
|
|
.png {
|
|
background-image: url(../../custom/resources/green-checker.png);
|
|
background-repeat: no-repeat;
|
|
background-position: center;
|
|
}
|
|
|
|
.svg {
|
|
background-image: url(resources/circle.svg);
|
|
}
|
|
|
|
.gradient {
|
|
background-image: -webkit-repeating-radial-gradient(top left, red, blue 20px, red 40px);
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body onload="runRepaintTest()">
|
|
<div class="png"></div>
|
|
<div class="svg"></div>
|
|
<div class="gradient"></div>
|
|
<img src="resources/circle.svg"></img>
|
|
|
|
<script>var zoomCount = 3; window.shouldZoomOut = true;</script>
|
|
<script src="../../../fast/repaint/resources/repaint.js"></script>
|
|
<script src="../resources/testPageZoom.js"></script>
|
|
|
|
</body>
|
|
</html>
|