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

@@ -3,24 +3,24 @@
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#propdef-flex-flow" rel="help">
<link href="http://www.w3.org/TR/css-flexbox-1/#valdef-flex-direction-column" 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 {
color: red;
flex-flow: column;
}
.PASS {color: black;}
</style>
</head><body><h1>FAIL, enable javascript</h1>
</head><body><div id="log"></div>
<script>
test(function() {
var body = document.body;
var passed =
(getComputedStyle(body).getPropertyValue("flex-direction") ==
"column" &&
getComputedStyle(body).getPropertyValue("flex-wrap") ==
"nowrap");
body.textContent = body.className = passed ? "PASS" : "FAIL";
assert_equals(getComputedStyle(body).getPropertyValue("flex-direction"),
"column");
assert_equals(getComputedStyle(body).getPropertyValue("flex-wrap"),
"nowrap");
});
</script>
</body></html>