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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-019.html

Issue 2020943002: update-w3c-deps: Do not modify testharness tests. (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
11 shape defined in the images alpha channel and t he shape-margin."/> 11 shape defined in the images alpha channel and t he shape-margin."/>
12 <!-- This test is derived from Example 11 in this version of the spec: 12 <!-- This test is derived from Example 11 in this version of the spec:
13 http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/ --> 13 http://www.w3.org/TR/2014/WD-css-shapes-1-20140211/ -->
14 <style type="text/css"> 14 <style type="text/css">
15 #test { 15 #test {
16 position: relative; 16 position: relative;
17 color: green; 17 color: green;
18 width: 400px; 18 width: 400px;
19 font-family: Ahem; 19 font-family: Ahem;
20 font-size: 20px; 20 font-size: 20px;
21 line-height: 2em; 21 line-height: 2em;
22 } 22 }
23 #image { 23 #image {
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
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