mirror of
https://github.com/servo/servo.git
synced 2025-08-19 12:25:33 +01:00
Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab
This commit is contained in:
parent
1a81b18b9f
commit
2c9faf5363
91915 changed files with 5979820 additions and 0 deletions
|
@ -0,0 +1,36 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"><head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta content="dom" name="flags" />
|
||||
<meta content="shape-outside declaration is invalid if shape is invalid" name="assert" />
|
||||
<title>CSS Shapes Test - shape-outside invalid shape</title>
|
||||
<link href="mailto:noonnightstorm@gmail.com" rel="author" title="noonnightstorm" />
|
||||
<link href="mailto:stearns@adobe.com" rel="reviewer" title="Alan Stearns" />
|
||||
<link href="http://www.w3.org/TR/css-shapes-1/#supported-basic-shapes" rel="help" />
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<link href="/resources/testharness.css" rel="stylesheet" />
|
||||
|
||||
<style>
|
||||
#shape{
|
||||
width: 300px;
|
||||
height: 300px;
|
||||
shape-outside: invalid(50px,50px,50px,50px);
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="log"></div>
|
||||
|
||||
<div id="shape"></div>
|
||||
|
||||
<script>
|
||||
var obj = document.getElementById('shape');
|
||||
var shapeOutside = getComputedStyle(obj).shapeOutside;
|
||||
test(function() {assert_equals(shapeOutside, "none", "declaration should be Invalid")});
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue