Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(89)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside-invalid-circle-000.html

Issue 2018883002: Fix testharness paths in imported/csswg-test. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698