Update CSS tests to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab

This commit is contained in:
James Graham
2015-03-27 09:18:12 +00:00
parent 1a81b18b9f
commit 2c9faf5363
91915 changed files with 5979820 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html><head>
<meta charset="UTF-8">
<meta content="dom" name="flags">
<meta content="shape-outside declaration is invalid if circle shape function has an invalid cx param" name="assert">
<title>CSS Shapes Test: Circle - invalid cx value</title>
<link href="mailto:sherlock.z0917@gmail.com" rel="author" title="Sherlock Zhong">
<link href="mailto:stearns@adobe.com" rel="reviewer" title="Alan Stearns"> <!-- 11-09-2013 TestTWF Shenzhen -->
<link href="http://www.w3.org/TR/css-shapes-1/#supported-basic-shapes" rel="help">
<link href="http://www.w3.org/TR/css-shapes-1/#funcdef-ellipse" rel="help">
<link href="http://www.w3.org/TR/css-shapes-1/#funcdef-circle" 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: circle(50, 50%);
}
</style>
</head>
<body>
<div id="log"></div>
<div id="shape"></div>
<script>
var obj = document.getElementById('shape');
var cx = getComputedStyle(obj).shapeOutside;
test(function() {assert_equals(cx, "none", "declaration should be invalid")});
</script>
</body></html>