22 lines
450 B
HTML
22 lines
450 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>This tests that background images with filters scale properly.</title>
|
|
<script>
|
|
if (window.internals)
|
|
internals.settings.setCoreImageAcceleratedFilterRenderEnabled(false);
|
|
</script>
|
|
<style>
|
|
div {
|
|
background-image: filter(url(../replaced/resources/compass.jpg), sepia(1));
|
|
background-size: 100px 100px;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div></div>
|
|
</body>
|
|
</html>
|