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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-019.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>CSS Test: Shape from image - alpha channel, opacity > 0 + shape-margi n</title> 4 <title>CSS Test: Shape from image - alpha channel, opacity > 0 + shape-margi n</title>
5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/> 5 <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
6 <link rel="author" title="Bem Jones-Bey" href="mailto:bemjb@adobe.com"/> 6 <link rel="author" title="Bem Jones-Bey" href="mailto:bemjb@adobe.com"/>
7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image" /> 7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-image" />
8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-prop erty"/> 8 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shape-outside-prop erty"/>
9 <meta name="flags" content="ahem dom"/> 9 <meta name="flags" content="ahem dom"/>
10 <meta name="assert" content="This test verifies that the content flows aroun d the 10 <meta name="assert" content="This test verifies that the content flows aroun d the
(...skipping 18 matching lines...) Expand all
29 position: absolute; 29 position: absolute;
30 top: 0px; 30 top: 0px;
31 left: 0px; 31 left: 0px;
32 width: 300px; 32 width: 300px;
33 height: 300px; 33 height: 300px;
34 background-color: black; 34 background-color: black;
35 clip-path: ellipse(141px 127px at 115px 100px); 35 clip-path: ellipse(141px 127px at 115px 100px);
36 z-index: -1; 36 z-index: -1;
37 } 37 }
38 </style> 38 </style>
39 <script src="../../../../resources/testharness.js"></script> 39 <script src="/resources/testharness.js"></script>
40 <script src="../../../../resources/testharnessreport.js"></script> 40 <script src="/resources/testharnessreport.js"></script>
41 <script src="support/spec-example-utils.js"></script> 41 <script src="support/spec-example-utils.js"></script>
42 </head> 42 </head>
43 <body> 43 <body>
44 <p> 44 <p>
45 The test passes if the short green horizontal bars are the right of the black edge 45 The test passes if the short green horizontal bars are the right of the black edge
46 of circle, the long green bar is beneath it, and no bars intersect the b lack. 46 of circle, the long green bar is beneath it, and no bars intersect the b lack.
47 There should be no red. 47 There should be no red.
48 </p> 48 </p>
49 <div id="test"> 49 <div id="test">
50 <img id="image" src="support/circle-shadow.png"/> 50 <img id="image" src="support/circle-shadow.png"/>
51 <div id="margin-circle"></div> 51 <div id="margin-circle"></div>
52 <span id="line-0">XXXXXX</span> 52 <span id="line-0">XXXXXX</span>
53 <span id="line-1">XXXXXX</span> 53 <span id="line-1">XXXXXX</span>
54 <span id="line-2">XXXXXX</span> 54 <span id="line-2">XXXXXX</span>
55 <span id="line-3">XXXXXX</span> 55 <span id="line-3">XXXXXX</span>
56 <span id="line-4">XXXXXX</span> 56 <span id="line-4">XXXXXX</span>
57 <span id="line-5">XXXXXX</span> 57 <span id="line-5">XXXXXX</span>
58 <span id="line-6">XXXXXXXXXXXXXXX</span> 58 <span id="line-6">XXXXXXXXXXXXXXX</span>
59 </div> 59 </div>
60 <div id="log"></div> 60 <div id="log"></div>
61 <script> 61 <script>
62 approxShapeTest('test', 'line-', 2, [242, 256, 258, 256, 242, 204, 0]); 62 approxShapeTest('test', 'line-', 2, [242, 256, 258, 256, 242, 204, 0]);
63 </script> 63 </script>
64 </body> 64 </body>
65 </html> 65 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698