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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside-invalid-circle-001.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 r values</title> 4 <title>CSS Shapes Tests: Circle - invalid r values</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 has an invalid r parameter"> 12 <meta name="assert" content="shape-outside declaration is invalid if circle shape function has an invalid r parameter">
13 <style type="text/css"> 13 <style type="text/css">
14 .circle { 14 .circle {
15 float: left; 15 float: left;
16 width: 100px; 16 width: 100px;
17 height: 100px; 17 height: 100px;
18 } 18 }
19 #circle1 { 19 #circle1 {
20 shape-outside: circle(auto); 20 shape-outside: circle(auto);
(...skipping 17 matching lines...) Expand all
38 38
39 test(function() { 39 test(function() {
40 assert_true(getComputedStyle(document.getElementById('circle1')).shapeOu tside == 'none'); 40 assert_true(getComputedStyle(document.getElementById('circle1')).shapeOu tside == 'none');
41 assert_true(getComputedStyle(document.getElementById('circle2')).shapeOu tside == 'none'); 41 assert_true(getComputedStyle(document.getElementById('circle2')).shapeOu tside == 'none');
42 assert_true(getComputedStyle(document.getElementById('circle3')).shapeOu tside == 'none'); 42 assert_true(getComputedStyle(document.getElementById('circle3')).shapeOu tside == 'none');
43 }, 'Circle - invalid r values'); 43 }, 'Circle - invalid r values');
44 44
45 </script> 45 </script>
46 </body> 46 </body>
47 </html> 47 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698