5 <meta name=
"flags" content=
"dom">
6 <meta name=
"assert" content=
"shape-outside declaration is invalid if circle shape function has an invalid cx param">
7 <title>CSS Shapes Test: Circle - invalid cx value
</title>
8 <link rel=
"author" title=
"Sherlock Zhong" href=
"mailto:sherlock.z0917@gmail.com">
9 <link rel=
"reviewer" title=
"Alan Stearns" href=
"mailto:stearns@adobe.com"> <!-- 11-09-2013 TestTWF Shenzhen -->
10 <link rel=
"help" href=
"http://www.w3.org/TR/css-shapes-1/#supported-basic-shapes">
11 <link rel=
"help" href=
"http://www.w3.org/TR/css-shapes-1/#funcdef-ellipse">
12 <link rel=
"help" href=
"http://www.w3.org/TR/css-shapes-1/#funcdef-circle">
13 <script src=
"../../../resources/testharness.js"></script>
14 <script src=
"../../../resources/testharnessreport.js"></script>
15 <link rel=
"stylesheet" href=
"../../../resources/testharness.css">
20 shape-outside: circle(
50,
50%);
28 <div id=
"shape"></div>
31 var obj
= document
.getElementById('shape');
32 var cx
= getComputedStyle(obj
).shapeOutside
;
33 test(function() {assert_equals(cx
, "none", "declaration should be invalid")});