blob: 9d50b036561e10c23fb548cffe60cd393496ee87 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<title>CSS Test: color-filter affects box-shadow color</title>
<link rel="author" title="Apple" href="http://www.apple.com/">
<link rel="match" href="color-filter-box-shadow-expected.html">
<meta name="assert" content="color-filter affects box-shadow color">
<style type="text/css">
.test
{
width: 200px;
height: 200px;
background-color: rgb(255, 128, 255);
box-shadow: 50px 50px 0 yellow;
color-filter: invert();
}
</style>
<script>
if (window.internals)
internals.settings.setColorFilterEnabled(true);
</script>
</head>
<body>
<p>Test passes if there is a green square with an offset blue square behind it.</p>
<div class="test"></div>
</body>
</html>