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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-shape-notation-000.html

Issue 816533002: Import CSSWG Shapes tests (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: One more test expectations update Created 6 years 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Shape Outside Valid Basic Shape Functional Notation</title>
5 <link rel="author" title="Adobe" href="http://html.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 -->
8 <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/cssom/#serializing-css-value s">
10 <meta name="assert" content="Basic shapes use functional notation, and m ay contain optional whitespace inside the parentheses">
11 <meta name="flags" content="dom">
12 <script src="../../../../../resources/testharness.js"></script>
13 <script src="../../../../../resources/testharnessreport.js"></script>
14 <script src="support/parsing-utils.js"></script>
15 </head>
16 <body>
17 <div id="log"></div>
18 <script type="text/javascript">
19 var shape_functional_notation_tests = [
20 {
21 "name": "No whitespace",
22 "actual": "polygon(nonzero,1px 2px,3px 4px)",
23 "expected_inline": "polygon(1px 2px, 3px 4px)",
24 "expected_computed": "polygon(1px 2px, 3px 4px)"
25 },
26 {
27 "name": "Extra whitespace",
28 "actual": "polygon( nonzero , 1px 2px\n\t,\n\t3px\n\t4px\n\t)" ,
29 "expected_inline": "polygon(1px 2px, 3px 4px)",
30 "expected_computed": "polygon(1px 2px, 3px 4px)"
31 }
32 ];
33 generate_tests( ParsingUtils.testInlineStyle,
34 ParsingUtils.buildTestCases(shape_functional_notatio n_tests, "inline") );
35 generate_tests( ParsingUtils.testComputedStyle,
36 ParsingUtils.buildTestCases(shape_functional_notatio n_tests, "computed") );
37 </script>
38 </body>
39 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698