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

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

Issue 1419013007: update-w3c-deps import using blink 83a52878976eaffc8753993a7689c9c178664fba: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 Circle args - calc() values</title> 4 <title>Shape Outside Circle args - calc() 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="Rebecca Hauck" href="mailto:rhauck@adobe.com"> 6 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@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-circle "> 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#funcdef-circle ">
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/css3-values/#calc"> 10 <link rel="help" href="http://www.w3.org/TR/css3-values/#calc-notation">
11 <meta name="assert" content="A circle's arguments may be in calc() value s."> 11 <meta name="assert" content="A circle's arguments may be in calc() value s.">
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 var circle_calc_tests = []; 20 var circle_calc_tests = [];
21 ParsingUtils.calcTestValues.forEach(function(value) { 21 ParsingUtils.calcTestValues.forEach(function(value) {
22 testCase = ['circle('+ value[0] +')', 'circle('+ value[1] + ' at 50% 50%)']; 22 testCase = ['circle('+ value[0] +')', 'circle('+ value[1] + ' at 50% 50%)'];
23 if(Object.prototype.toString.call( value[2] ) === '[object Array ]' && value[2].length == 2) { 23 if(Object.prototype.toString.call( value[2] ) === '[object Array ]' && value[2].length == 2) {
24 testCase.push([ 'circle('+ value[2][0] + ' at 50% 50%)', 'ci rcle('+ value[2][1] + ' at 50% 50%)']); 24 testCase.push([ 'circle('+ value[2][0] + ' at 50% 50%)', 'ci rcle('+ value[2][1] + ' at 50% 50%)']);
25 } else { 25 } else {
26 testCase.push('circle('+ value[2] + ' at 50% 50%)'); 26 testCase.push('circle('+ value[2] + ' at 50% 50%)');
27 } 27 }
28 circle_calc_tests.push(testCase); 28 circle_calc_tests.push(testCase);
29 }); 29 });
30 generate_tests(ParsingUtils.testInlineStyle, ParsingUtils.buildCalcT ests(circle_calc_tests, 'value')); 30 generate_tests(ParsingUtils.testInlineStyle, ParsingUtils.buildCalcT ests(circle_calc_tests, 'value'));
31 generate_tests(ParsingUtils.testComputedStyle, ParsingUtils.buildCal cTests(circle_calc_tests, 'computed')); 31 generate_tests(ParsingUtils.testComputedStyle, ParsingUtils.buildCal cTests(circle_calc_tests, 'computed'));
32 </script> 32 </script>
33 </body> 33 </body>
34 </html> 34 </html>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-circle-011.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698