28 lines
702 B
HTML
28 lines
702 B
HTML
<!DOCTYPE html>
|
|
<head>
|
|
<style>
|
|
div {
|
|
width: 200px;
|
|
height: 200px;
|
|
}
|
|
|
|
div.gradient {
|
|
background-image: -webkit-linear-gradient(bottom right, #FF0000 0%, #0000FF 100%);
|
|
}
|
|
|
|
div.image {
|
|
background-image: url("resources/gradient.png");
|
|
}
|
|
</style>
|
|
<script>
|
|
if (window.testRunner)
|
|
testRunner.setShouldInvertColors(true);
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<p>Test inverted color drawing for <<a href="http://webkit.org/b/77382">webkit.org/b/77382</a>>. This test must be run in DumpRenderTree.</p>
|
|
<div class="image"></div>
|
|
<div class="gradient"></div>
|
|
</body>
|
|
</html>
|