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

Side by Side Diff: LayoutTests/imported/csswg-test/css-shapes-1/shape-outside/values/shape-outside-ellipse-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 Ellipse Valid Formats</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/#funcdef-ellips e">
9 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside- property">
10 <meta name="assert" content="An elliptical basic shape has two optional components, radii (2) and a position.">
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 valid_ellipse_tests = [
20 {
21 "name": "No arguments",
22 "actual": "ellipse()",
23 "expected_inline": "ellipse(at 50% 50%)",
24 "expected_computed": "ellipse(at 50% 50%)"
25 },
26 {
27 "name": "Radial arguments",
28 "actual": "ellipse(50px 50px)",
29 "expected_inline": "ellipse(50px 50px at 50% 50%)",
30 "expected_computed": "ellipse(50px 50px at 50% 50%)"
31 },
32 {
33 "name": "Position argument",
34 "actual": "ellipse(at 50px 50px)",
35 "expected_inline": "ellipse(at 50px 50px)",
36 "expected_computed": "ellipse(at 50px 50px)"
37 },
38 {
39 "name": "Radial and position argument",
40 "actual": "ellipse(50px 50px at 50px 50px)",
41 "expected_inline": "ellipse(50px 50px at 50px 50px)",
42 "expected_computed": "ellipse(50px 50px at 50px 50px)"
43 }
44 ];
45 generate_tests( ParsingUtils.testInlineStyle,
46 ParsingUtils.buildTestCases(valid_ellipse_tests, "in line") );
47 generate_tests( ParsingUtils.testComputedStyle,
48 ParsingUtils.buildTestCases(valid_ellipse_tests, "co mputed") );
49 </script>
50 </body>
51 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698