Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985

This commit is contained in:
Josh Matthews 2017-10-31 08:58:31 -04:00
parent 43a4f01647
commit 64e0a52537
12717 changed files with 59835 additions and 59820 deletions

View file

@ -0,0 +1,34 @@
<!DOCTYPE html>
<html>
<head>
<title>CSS Backgrounds and Borders Test: background shorthand - two &lt;box&gt; values</title>
<link rel="author" title="Intel" href="http://www.intel.com" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-background" />
<meta name="flags" content="dom" />
<meta name="assert" content="Check if two <box> values are present, then the first sets 'background-origin' and the second 'background-clip'" />
<style>
#test {
background: border-box padding-box;
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<div id="test"></div>
<script>
var cs = getComputedStyle(document.getElementById("test"), null);
test(function() {
assert_equals(cs.getPropertyValue("background-origin"),
"border-box", "background specified value for background-origin");
}, "background_specified_box_two_origin");
test(function() {
assert_equals(cs.getPropertyValue("background-clip"),
"padding-box", "background specified value for background-clip");
}, "background_specified_box_two_clip");
</script>
</body>
</html>