| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <head> | 2 <head> |
| 3 <meta charset="utf-8"> | 3 <meta charset="utf-8"> |
| 4 <title>CSS Shapes Tests: Circle - invalid 2 args</title> | 4 <title>CSS Shapes Tests: Circle - invalid 2 args</title> |
| 5 <link rel="author" title="biqing" href="biqing.kwok@qq.com"> | 5 <link rel="author" title="biqing" href="biqing.kwok@qq.com"> |
| 6 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#supported-basic-sh
apes"> | 6 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#supported-basic-sh
apes"> |
| 7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-circle"> | 7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-circle"> |
| 8 <script src="../../../resources/testharness.js"></script> | 8 <script src="/resources/testharness.js"></script> |
| 9 <script src="../../../resources/testharnessreport.js"></script> | 9 <script src="/resources/testharnessreport.js"></script> |
| 10 <link rel="stylesheet" href="../../../resources/testharness.css"> | 10 <link rel="stylesheet" href="/resources/testharness.css"> |
| 11 <meta name="flags" content="dom"> | 11 <meta name="flags" content="dom"> |
| 12 <meta name="assert" content="shape-outside declaration is invalid if circle
shape function only has two parameters"> | 12 <meta name="assert" content="shape-outside declaration is invalid if circle
shape function only has two parameters"> |
| 13 <style type="text/css"> | 13 <style type="text/css"> |
| 14 #float { | 14 #float { |
| 15 shape-outside: circle(50px, 50px); | 15 shape-outside: circle(50px, 50px); |
| 16 float: left; | 16 float: left; |
| 17 width: 100px; | 17 width: 100px; |
| 18 height: 100px; | 18 height: 100px; |
| 19 } | 19 } |
| 20 </style> | 20 </style> |
| 21 </head> | 21 </head> |
| 22 <body> | 22 <body> |
| 23 <div id="log"></div> | 23 <div id="log"></div> |
| 24 | 24 |
| 25 <div id="float"></div> | 25 <div id="float"></div> |
| 26 | 26 |
| 27 <script> | 27 <script> |
| 28 | 28 |
| 29 test(function() { | 29 test(function() { |
| 30 assert_true(getComputedStyle(document.getElementById('float')).shapeOuts
ide == 'none'); | 30 assert_true(getComputedStyle(document.getElementById('float')).shapeOuts
ide == 'none'); |
| 31 }, 'Circle - invalid 2 args'); | 31 }, 'Circle - invalid 2 args'); |
| 32 | 32 |
| 33 </script> | 33 </script> |
| 34 </body> | 34 </body> |
| 35 </html> | 35 </html> |
| OLD | NEW |