https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a50b8dadb93e9a7a20d2e31a7e5d0449ce37cd2c authored by Harald Alvestrand on 22 March 2018, 18:59:43 UTC
Add memory of last SDP offer/answer created
Tip revision: a50b8da
filter-grayscale-002.html
<!doctype html>
<html lang="en">
	<head>
		<title>CSS Filter Test: apply a filter to a div with background-color</title>
		<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
		<link rel="help" href="http://www.w3.org/TR/filter-effects-1/#FilterFunction">
		<link rel="match" href="filter-grayscale-ref.html">
		<meta name="assert" content="grayscale syntax (zero percent)">
		<style type="text/css">
			.testzone{
				position: relative;
			}
			.box{
				background-color: #121212;
				height: 30px;
				width: 30px;
			}
			.filter{
				filter: grayscale(0%);
			}
		</style>
	</head>
	<body>
		<p>The test passes if the little box looks grey.</p>
		<div class="testzone">
			<div class="box filter"></div>
		</div>
	</body>
</html>
back to top