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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-shapes-1/spec-examples/shape-outside-018.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-margin offset from a polygonal shape-outside</title> 4 <title>CSS Test: shape-margin offset from a polygonal shape-outside</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-box-va lues"/> 7 <link rel="help" href="http://www.w3.org/TR/css-shapes-1/#shapes-from-box-va lues"/>
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 that content flows arou nd the shape-margin 10 <meta name="assert" content="This test verifies that that content flows arou nd the shape-margin
11 defined on a polygonal shape-outside."/> 11 defined on a polygonal shape-outside."/>
12 <!-- This test is derived from Example 10 in this version of the spec: 12 <!-- This test is derived from Example 10 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: 300px; 18 width: 300px;
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 #shape-box { 23 #shape-box {
(...skipping 28 matching lines...) Expand all
52 <span id="line-3">XXXX</span> 52 <span id="line-3">XXXX</span>
53 <span id="line-4">XXX</span> 53 <span id="line-4">XXX</span>
54 <span id="line-5">XXXXXXXXXXXX</span> 54 <span id="line-5">XXXXXXXXXXXX</span>
55 </div> 55 </div>
56 <div id="log"></div> 56 <div id="log"></div>
57 <script> 57 <script>
58 approxShapeTest('test', 'line-', 2, [48, 88, 128, 168, 180, 0]); 58 approxShapeTest('test', 'line-', 2, [48, 88, 128, 168, 180, 0]);
59 </script> 59 </script>
60 </body> 60 </body>
61 </html> 61 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698