forked from w3c/csswg-test
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilters-opacity-001-test.html
More file actions
29 lines (26 loc) · 968 Bytes
/
filters-opacity-001-test.html
File metadata and controls
29 lines (26 loc) · 968 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<!DOCTYPE html>
<html>
<head>
<title>CSS Filter Test: Test opacity shorthand with value 1</title>
<link rel="author" title="Naohiro Nakajima" href="mailto:nakajima.jmg@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="http://www.w3.org/TR/filter-effects-1/#funcdef-opacity">
<link rel="match" href="reference/filters-opacity-001-ref.html">
<meta name="assert" content="CSS opacity filter will apply a transparency to the div element.
Since opacity is 1, it has no affect on the div.">
<style type="text/css">
div {
width: 200px;
height: 200px;
background: green;
filter: opacity(1);
}
</style>
</head>
<body>
<p>Test opacity CSS shorthand.You should see a green box.</p>
<!-- PAGE CONTENT -->
<div></div>
</body>
</html>