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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-image-margin-001.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../../resources/js-test.js"></script>
5 <script> 5 <script>
6 function imageShapeRect(elementId) 6 function imageShapeRect(elementId)
7 { 7 {
8 var s = document.getElementById("image-shape").getBoundingClientRect(); 8 var s = document.getElementById("image-shape").getBoundingClientRect();
9 var r = document.getElementById(elementId).getBoundingClientRect(); 9 var r = document.getElementById(elementId).getBoundingClientRect();
10 return {left: r.left - s.left, top: r.top - s.top, width: r.width, heigh t: r.height}; 10 return {left: r.left - s.left, top: r.top - s.top, width: r.width, heigh t: r.height};
11 } 11 }
12 12
13 window.onload = function() { 13 window.onload = function() {
14 var quiet = true; // PASS output depends on if subpixel layout has been en abled 14 var quiet = true; // PASS output depends on if subpixel layout has been en abled
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 </head> 49 </head>
50 <body> 50 <body>
51 <p>This test requires the Ahem font. The green content should wrap around the blue rounded rectangle.</p> 51 <p>This test requires the Ahem font. The green content should wrap around the blue rounded rectangle.</p>
52 <div id="content" style="position: relative"> 52 <div id="content" style="position: relative">
53 <div id="image-shape"></div> 53 <div id="image-shape"></div>
54 <span id="a">X</span><br><br><span id="b">X</span><br><span id="c">X</span ><br><br><span id="d">X</span><br><span id="e">XXXX</span> 54 <span id="a">X</span><br><br><span id="b">X</span><br><span id="c">X</span ><br><br><span id="d">X</span><br><span id="e">XXXX</span>
55 </div> 55 </div>
56 <div id="console"></div> 56 <div id="console"></div>
57 </body> 57 </body>
58 </html> 58 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698