Bug 1499777 [wpt PR 13575] - [compositing] Inheritance, initial values, a=testonly
authorEric Willigers <ewilligers@users.noreply.github.com>
Thu, 31 Jan 2019 18:10:21 +0000
changeset 457925 b2eee9179c53387670a0a0e621cec4aa269e4798
parent 457924 71bb8a987a27e1d609b35d8af6e6e1fcff5ce018
child 457926 705ca7ce09759585d2c6a52a4c623c58db1bc71e
push id35518
push useropoprus@mozilla.com
push dateFri, 08 Feb 2019 09:55:14 +0000
treeherdermozilla-central@3a3e393396f4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerstestonly
bugs1499777, 13575
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1499777 [wpt PR 13575] - [compositing] Inheritance, initial values, a=testonly Automatic update from web-platform-tests [compositing] Inheritance, initial values (#13575) Properties inherit or not according to the spec. Properties have initial values according to the spec. https://drafts.fxtf.org/compositing-1/#property-index -- wpt-commits: c64721cf2a4edc9266577a61bfaaac4ca58a437e wpt-pr: 13575
testing/web-platform/tests/css/compositing/inheritance.html
new file mode 100644
--- /dev/null
+++ b/testing/web-platform/tests/css/compositing/inheritance.html
@@ -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>