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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-arguments-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, 7 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 Shape Number Values</title> 4 <title>Shape Outside Shape Number Values</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/#typedef-basic- shape"> 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#typedef-basic- shape">
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 <link rel="help" href="http://www.w3.org/TR/cssom-1/#serializing-css-val ues"> 10 <link rel="help" href="http://www.w3.org/TR/cssom-1/#serializing-css-val ues">
11 <meta name="assert" content="The basic shape can contain all valid numbe r formats"> 11 <meta name="assert" content="The basic shape can contain all valid numbe r formats">
12 <meta name="flags" content="dom"> 12 <meta name="flags" content="dom">
13 <script src="../../../../../resources/testharness.js"></script> 13 <script src="/resources/testharness.js"></script>
14 <script src="../../../../../resources/testharnessreport.js"></script> 14 <script src="/resources/testharnessreport.js"></script>
15 <script src="support/parsing-utils.js"></script> 15 <script src="support/parsing-utils.js"></script>
16 </head> 16 </head>
17 <body> 17 <body>
18 <div id="log"></div> 18 <div id="log"></div>
19 <script type="text/javascript"> 19 <script type="text/javascript">
20 // number forms: d, +d, -d, .d, +.d, -.d, d.d, +d.d, -d.d 20 // number forms: d, +d, -d, .d, +.d, -.d, d.d, +d.d, -d.d
21 var shape_number_values_tests = [ 21 var shape_number_values_tests = [
22 { 22 {
23 "name": "Positive number variations", 23 "name": "Positive number variations",
24 "actual": "polygon(nonzero, 1px +2px, .3px +.4px, 5.5px +6.6px )", 24 "actual": "polygon(nonzero, 1px +2px, .3px +.4px, 5.5px +6.6px )",
25 "expected_inline": "polygon(1px 2px, 0.3px 0.4px, 5.5px 6.6px) ", 25 "expected_inline": "polygon(1px 2px, 0.3px 0.4px, 5.5px 6.6px) ",
26 "expected_computed": "polygon(1px 2px, 0.3px 0.4px, 5.5px 6.6p x)" 26 "expected_computed": "polygon(1px 2px, 0.3px 0.4px, 5.5px 6.6p x)"
27 }, 27 },
28 { 28 {
29 "name": "Negative number variations", 29 "name": "Negative number variations",
30 "actual": "polygon(nonzero, -1px -.2px, -1.1px 0px)", 30 "actual": "polygon(nonzero, -1px -.2px, -1.1px 0px)",
31 "expected_inline": "polygon(-1px -0.2px, -1.1px 0px)", 31 "expected_inline": "polygon(-1px -0.2px, -1.1px 0px)",
32 "expected_computed": "polygon(-1px -0.2px, -1.1px 0px)" 32 "expected_computed": "polygon(-1px -0.2px, -1.1px 0px)"
33 } 33 }
34 ]; 34 ];
35 generate_tests( ParsingUtils.testInlineStyle, 35 generate_tests( ParsingUtils.testInlineStyle,
36 ParsingUtils.buildTestCases(shape_number_values_test s, "inline") ); 36 ParsingUtils.buildTestCases(shape_number_values_test s, "inline") );
37 generate_tests( ParsingUtils.testComputedStyle, 37 generate_tests( ParsingUtils.testComputedStyle,
38 ParsingUtils.buildTestCases(shape_number_values_test s, "computed") ); 38 ParsingUtils.buildTestCases(shape_number_values_test s, "computed") );
39 </script> 39 </script>
40 </body> 40 </body>
41 </html> 41 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698