Update CSS tests to revision 611d962e1b6ae62ec89ab994c9f787e84ce11b15

This commit is contained in:
Ms2ger
2016-06-06 10:11:00 +02:00
parent 1bc94c132e
commit 12fa92b4d6
437 changed files with 11787 additions and 9995 deletions

View File

@@ -2,26 +2,27 @@
<html><head><title>flexbox | computed style | flex-basis: percent</title>
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#flex-basis-property" rel="help">
<link href="reference/ref-pass-body.htm" rel="match">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<meta content="dom" name="flags">
<style>
body {
html {
display: flex;
width: 100px;
}
div {
body {
color: red;
margin: 0;
flex-basis: 100%;
}
.PASS {color: black;}
</style>
</head><body><div id="test"><h1>FAIL, enable javascript</h1>
</head><body><div id="log"></div>
<script>
var test = document.getElementById("test");
test(function() {
var body = document.body;
var passed =
getComputedStyle(test).getPropertyValue("flex-basis") ==
"100%";
test.textContent = test.className = passed ? "PASS" : "FAIL";
assert_equals(getComputedStyle(body).getPropertyValue("flex-basis"),
"100%");
});
</script>
</body></html>
</body></html>