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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside-invalid-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 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="UTF-8"> 4 <meta charset="UTF-8">
5 <meta name="flags" content="dom"> 5 <meta name="flags" content="dom">
6 <meta name="assert" content="shape-outside declaration is invalid if shape i s invalid"> 6 <meta name="assert" content="shape-outside declaration is invalid if shape i s invalid">
7 <title>CSS Shapes Test - shape-outside invalid shape</title> 7 <title>CSS Shapes Test - shape-outside invalid shape</title>
8 <link rel="author" title="noonnightstorm" href="mailto:noonnightstorm@gm ail.com"> 8 <link rel="author" title="noonnightstorm" href="mailto:noonnightstorm@gm ail.com">
9 <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.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-basi c-shapes"> 10 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#supported-basi c-shapes">
11 » <script src="../../../resources/testharness.js"></script> 11 » <script src="/resources/testharness.js"></script>
12 » <script src="../../../resources/testharnessreport.js"></script> 12 » <script src="/resources/testharnessreport.js"></script>
13 » <link rel="stylesheet" href="../../../resources/testharness.css"> 13 » <link rel="stylesheet" href="/resources/testharness.css">
14 14
15 <style> 15 <style>
16 #shape{ 16 #shape{
17 width: 300px; 17 width: 300px;
18 height: 300px; 18 height: 300px;
19 shape-outside: invalid(50px,50px,50px,50px); 19 shape-outside: invalid(50px,50px,50px,50px);
20 } 20 }
21 </style> 21 </style>
22 </head> 22 </head>
23 <body> 23 <body>
24 24
25 <div id="log"></div> 25 <div id="log"></div>
26 26
27 <div id="shape"></div> 27 <div id="shape"></div>
28 28
29 <script> 29 <script>
30 var obj = document.getElementById('shape'); 30 var obj = document.getElementById('shape');
31 var shapeOutside = getComputedStyle(obj).shapeOutside; 31 var shapeOutside = getComputedStyle(obj).shapeOutside;
32 test(function() {assert_equals(shapeOutside, "none", "declaration should be Invalid")}); 32 test(function() {assert_equals(shapeOutside, "none", "declaration should be Invalid")});
33 </script> 33 </script>
34 34
35 </body> 35 </body>
36 </html> 36 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698