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

Side by Side Diff: LayoutTests/fast/shapes/shape-inside/shape-inside-polygon-padding-003.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 src="../resources/subpixel-utils.js"></script> 5 <script src="../resources/subpixel-utils.js"></script>
6 <style> 6 <style>
7 #shape-inside { 7 #shape-inside {
8 position: relative; 8 position: relative;
9 margin: 0; 9 margin: 0;
10 padding: 0; 10 padding: 0;
11 width: 500px; 11 width: 500px;
12 height: 500px; 12 height: 500px;
13 shape-inside: polygon(0px 0px, 400px 0px, 400px 350px, 0px 350px, 200px 175px); 13 shape-inside: polygon(0px 0px, 400px 0px, 400px 350px, 0px 350px, 200px 175px);
14 shape-padding: 50px; 14 shape-padding: 50px;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 shouldBe("shapeInsideRect('b').top", "150"); 76 shouldBe("shapeInsideRect('b').top", "150");
77 shouldBeCloseTo("shapeInsideRect('b').left", 250, 1) 77 shouldBeCloseTo("shapeInsideRect('b').left", 250, 1)
78 shouldBe("shapeInsideRect('b').width", "100"); 78 shouldBe("shapeInsideRect('b').width", "100");
79 79
80 shouldBe("shapeInsideRect('c').top", "250"); 80 shouldBe("shapeInsideRect('c').top", "250");
81 shouldBeCloseTo("shapeInsideRect('c').left", SubPixelLayout.snapToLayoutUnit(1 90.215), 1, quiet); 81 shouldBeCloseTo("shapeInsideRect('c').left", SubPixelLayout.snapToLayoutUnit(1 90.215), 1, quiet);
82 shouldBe("shapeInsideRect('c').width", "150"); 82 shouldBe("shapeInsideRect('c').width", "150");
83 </script> 83 </script>
84 </html> 84 </html>
85 85
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698