8be7f23d84a9ad54ccead9d24fc585c5f60e65c1
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-shapes / shape-outside-invalid-ellipse-004.html
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4         <meta charset="UTF-8">
5         <meta name="flags" content="dom">
6     <meta name="assert" content="shape-outside declaration is invalid if ellipse function has one invalid argument">
7         <title>CSS Shapes Test - Ellipse - invalid 1 arg</title>
8         <link rel="author" title="noonnightstorm" href="mailto:noonnightstorm@gmail.com">
9         <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com">
10         <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#supported-basic-shapes">
11         <script src="/resources/testharness.js"></script>
12         <script src="/resources/testharnessreport.js"></script>
13
14         <style>
15 #shape{
16         width: 300px;
17         height: 300px;
18         shape-outside: ellipse(50);
19 }
20         </style>
21 </head>
22 <body>
23
24         <div id="log"></div>
25
26         <div id="shape"></div>
27
28         <script>
29         var obj = document.getElementById('shape');
30         var ellipse = getComputedStyle(obj).shapeOutside;
31         test(function() {assert_equals(ellipse, "none", "declaration should be Invalid")});
32         </script>
33
34 </body>
35 </html>