Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / imported / csswg-test / css-shapes-1 / shape-outside-invalid-ellipse-004.html
blob044c001f30cd84e4972123dbbfc30a74cc896c3c
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 <link rel="stylesheet" href="../../../resources/testharness.css">
15 <style>
16 #shape{
17 width: 300px;
18 height: 300px;
19 shape-outside: ellipse(50);
21 </style>
22 </head>
23 <body>
25 <div id="log"></div>
27 <div id="shape"></div>
29 <script>
30 var obj = document.getElementById('shape');
31 var ellipse = getComputedStyle(obj).shapeOutside;
32 test(function() {assert_equals(ellipse, "none", "declaration should be Invalid")});
33 </script>
35 </body>
36 </html>