mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
Update CSS tests to revision 611d962e1b6ae62ec89ab994c9f787e84ce11b15
This commit is contained in:
@@ -2,22 +2,22 @@
|
||||
<html><head><title>flexbox | computed style | align-items: baseline</title>
|
||||
<link href="http://opera.com" rel="author" title="Opera Software">
|
||||
<link href="http://www.w3.org/TR/css-flexbox-1/#propdef-align-items" 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;
|
||||
align-items: baseline;
|
||||
}
|
||||
.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("align-items") ==
|
||||
"baseline";
|
||||
body.textContent = body.className = passed ? "PASS" : "FAIL";
|
||||
assert_equals(getComputedStyle(body).getPropertyValue("align-items"),
|
||||
"baseline");
|
||||
});
|
||||
</script>
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user