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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-polygon-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 <title>Shape Outside Polygon Valid Fill-Rules</title> 4 <title>Shape Outside Polygon Valid Fill-Rules</title>
5 <link rel="author" title="Adobe" href="http://html.adobe.com/"> 5 <link rel="author" title="Adobe" href="http://html.adobe.com/">
6 <link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com"> 6 <link rel="author" title="Bear Travis" href="mailto:betravis@adobe.com">
7 <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com "> <!-- 2014-03-04 --> 7 <link rel="reviewer" title="Alan Stearns" href="mailto:stearns@adobe.com "> <!-- 2014-03-04 -->
8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-polygo n"> 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-polygo n">
9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside- property"> 9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside- property">
10 <meta name="assert" content="A polygonal basic shape's optional fill-rul e may be either 'nonzero' or 'evenodd'"> 10 <meta name="assert" content="A polygonal basic shape's optional fill-rul e may be either 'nonzero' or 'evenodd'">
11 <meta name="flags" content="dom"> 11 <meta name="flags" content="dom">
12 <script src="../../../../../resources/testharness.js"></script> 12 <script src="/resources/testharness.js"></script>
13 <script src="../../../../../resources/testharnessreport.js"></script> 13 <script src="/resources/testharnessreport.js"></script>
14 <script src="support/parsing-utils.js"></script> 14 <script src="support/parsing-utils.js"></script>
15 </head> 15 </head>
16 <body> 16 <body>
17 <div id="log"></div> 17 <div id="log"></div>
18 <script type="text/javascript"> 18 <script type="text/javascript">
19 var valid_fill_rule_tests = [ 19 var valid_fill_rule_tests = [
20 { 20 {
21 "name": "Nonzero", 21 "name": "Nonzero",
22 "actual": "polygon(nonzero, 1px 2px)", 22 "actual": "polygon(nonzero, 1px 2px)",
23 "expected_inline": "polygon(1px 2px)", 23 "expected_inline": "polygon(1px 2px)",
24 "expected_computed": "polygon(1px 2px)" 24 "expected_computed": "polygon(1px 2px)"
25 }, 25 },
26 { 26 {
27 "name": "Evenodd", 27 "name": "Evenodd",
28 "actual": "polygon(evenodd, 1px 2px)", 28 "actual": "polygon(evenodd, 1px 2px)",
29 "expected_inline": "polygon(evenodd, 1px 2px)", 29 "expected_inline": "polygon(evenodd, 1px 2px)",
30 "expected_computed": "polygon(evenodd, 1px 2px)" 30 "expected_computed": "polygon(evenodd, 1px 2px)"
31 } 31 }
32 ]; 32 ];
33 generate_tests( ParsingUtils.testInlineStyle, 33 generate_tests( ParsingUtils.testInlineStyle,
34 ParsingUtils.buildTestCases(valid_fill_rule_tests, ' inline') ); 34 ParsingUtils.buildTestCases(valid_fill_rule_tests, ' inline') );
35 generate_tests( ParsingUtils.testInlineStyle, 35 generate_tests( ParsingUtils.testInlineStyle,
36 ParsingUtils.buildTestCases(valid_fill_rule_tests, ' computed') ); 36 ParsingUtils.buildTestCases(valid_fill_rule_tests, ' computed') );
37 </script> 37 </script>
38 </body> 38 </body>
39 </html> 39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698