Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions css/filter-effects/filter-hue_rotate-002-ref.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>

<head>
<title>CSS filter: hue-rotate turns red to green reference</title>
<link rel="author" title="Ezzeldin Ibrahim" href="mailto:[email protected]">
<style type="text/css">
div {
width: 200px;
height: 200px;
background-color: #007100;
}
</style>
</head>

<body>
<p>You should see a green(#007100) rectangle.</p>

<div></div>
</body>

</html>
28 changes: 28 additions & 0 deletions css/filter-effects/filter-hue_rotate-002-test.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html>
<head>
<title>CSS filter: hue-rotate turns red to green</title>
<link rel="author" title="Ezzeldin Ibrahim" href="mailto:[email protected]">
<link rel="help" href="https://www.w3.org/TR/filter-effects-1/#funcdef-filter-hue-rotate">
<link rel="help" href="https://www.w3.org/TR/filter-effects-1/#huerotateEquivalent">
<link rel="match" href="filter-hue_rotate-002-ref.html">

<meta name="assert"
content="Applying filter: hue-rotate(120deg) to a red rectangle should produce a green(#007100) rectangle.">

<style type="text/css">
div {
width: 200px;
height: 200px;
background-color: red;
filter: hue-rotate(120deg);
}
</style>
</head>

<body>
<p>You should see a green(#007100) rectangle.</p>
<div></div>
</body>

</html>