Skip to content

Commit

Permalink
[compositing] Inheritance, initial values
Browse files Browse the repository at this point in the history
Properties inherit or not according to the spec.
Properties have initial values according to the spec.
https://drafts.fxtf.org/compositing-1/#property-index
  • Loading branch information
ericwilligers committed Oct 17, 2018
1 parent ae45238 commit ef03b22
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions css/compositing/inheritance.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Inheritance of Compositing and Blending properties</title>
<link rel="help" href="https://drafts.fxtf.org/compositing-1/#property-index">
<meta name="assert" content="Properties do not inherit.">
<meta name="assert" content="Properties have initial values according to the spec.">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/inheritance-testcommon.js"></script>
</head>
<body>
<div id="container">
<div id="target"></div>
</div>
<script>
assert_not_inherited('background-blend-mode', 'normal', 'multiply');
assert_not_inherited('isolation', 'auto', 'isolate');
assert_not_inherited('mix-blend-mode', 'normal', 'overlay');
</script>
</body>
</html>

0 comments on commit ef03b22

Please sign in to comment.