blob: c44fdccef1ee2ff81fab4d80fe83600b1bb51f6f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!DOCTYPE html>
<html><head><title>flexbox | computed style | order: integer</title>
<link href="http://opera.com" rel="author" title="Opera Software">
<link href="http://www.w3.org/TR/css-flexbox-1/#propdef-order" rel="help">
<meta content="dom" name="flags">
<style>
body {
color: red;
order: 5;
}
.PASS {color: black;}
</style>
</head><body><h1>FAIL, enable javascript</h1>
<script>
var body = document.body;
var passed =
getComputedStyle(body).getPropertyValue("order") ==
"5";
body.textContent = body.className = passed ? "PASS" : "FAIL";
try{top.opener.rr(passed)}catch(e){}
</script>
</body></html>
|