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,47 @@
<!DOCTYPE html>
<html><head>
<meta charset="utf-8">
<title>CSS Shapes Tests: Circle - invalid r values</title>
<link href="biqing.kwok@qq.com" rel="author" title="biqing">
<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-circle" rel="help">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link href="/resources/testharness.css" rel="stylesheet">
<meta content="dom" name="flags">
<meta content="shape-outside declaration is invalid if circle shape function has an invalid r parameter" name="assert">
<style type="text/css">
.circle {
float: left;
width: 100px;
height: 100px;
}
#circle1 {
shape-outside: circle(auto);
}
#circle2 {
shape-outside: circle(inherit);
}
#circle3 {
shape-outside: circle(#FFFFFF);
}
</style>
</head>
<body>
<div id="log"></div>
<div id="circle1" class="circle"></div>
<div id="circle2" class="circle"></div>
<div id="circle3" class="circle"></div>
<script>
test(function() {
assert_true(getComputedStyle(document.getElementById('circle1')).shapeOutside == 'none');
assert_true(getComputedStyle(document.getElementById('circle2')).shapeOutside == 'none');
assert_true(getComputedStyle(document.getElementById('circle3')).shapeOutside == 'none');
}, 'Circle - invalid r values');
</script>
</body></html>