wpt / css / filter-effects / filter-hue_rotate-001-test.html

Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/filter-effects/filter-hue_rotate-001-test.html

<!DOCTYPE html>
<html>
<head>
    <title>CSS filter hue rotate: CSS hue rotate filter shorthand</title>
    <link rel="author" title="Tien Le" href="mailto:shonentokyo@gmail.com">
    <link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
    <link rel="help" href="http://www.w3.org/TR/filter-effects-1/#FilterProperty">
    <link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-hue-rotate">
    <link rel="help" href="http://www.w3.org/TR/filter-effects-1/#huerotateEquivalent">
    <link rel="match" href="filter-hue_rotate-001-ref.html">
    <meta name="assert" content="CSS hue rotate filter will apply a matrix to rotate the hue. Since angle is 0, it has
    no affect on the rectangle.">
    <style type="text/css">

	div {
		width: 200px;
		height: 200px;
		background-color: green;
		filter: hue-rotate(0deg);
	}

    </style>
</head>
<body>
    <p>You should see a green rectangle.</p>

	<div></div>
</body>
</html>

/css/filter-effects/filter-hue_rotate-001-ref.html

<!DOCTYPE html>
<html>
<head>
    <title>CSS Filter Hue Rotate  Reference</title>
    <link rel="author" title="Tien Le" href="mailto:shonentokyo@gmail.com">
    <link rel="reviewer" title="Dirk Schulze" href="mailto:dschulze@adobe.com">
    <style type="text/css">

	div {
		width: 200px;
		height: 200px;
		background-color: green;
	}

    </style>
</head>
<body>
    <p>You should see a green rectangle.</p>

	<div></div>
</body>
</html>