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

Side by Side Diff: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-ellipse-margin-left.html

Issue 200633005: [CSS Shapes] Remove deprecated shapes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix test expectations Created 6 years, 9 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 <script src="../../../resources/js-test.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 #container-border { 7 #container-border {
8 border: 1px solid black; 8 border: 1px solid black;
9 margin: 10px; 9 margin: 10px;
10 width: 500px; 10 width: 500px;
11 } 11 }
12 12
13 #container { 13 #container {
14 font: 20px/1 Ahem, sans-serif; 14 font: 20px/1 Ahem, sans-serif;
15 width: 500px; 15 width: 500px;
16 height: 300px; 16 height: 300px;
17 } 17 }
18 18
19 #float-left { 19 #float-left {
20 float: left; 20 float: left;
21 position: relative; 21 position: relative;
22 overflow: visible; 22 overflow: visible;
23 shape-outside: ellipse(225px, 125px, 200px, 100px); 23 shape-outside: ellipse(200px 100px at 225px 125px);
24 shape-margin: 25px; 24 shape-margin: 25px;
25 width: 450px; 25 width: 450px;
26 height: 250px; 26 height: 250px;
27 } 27 }
28 28
29 #svg-shape-ellipse { 29 #svg-shape-ellipse {
30 position: absolute; 30 position: absolute;
31 display:block; 31 display:block;
32 top: 0px; 32 top: 0px;
33 left: 0px; 33 left: 0px;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 shouldBe("elementRect('s2').top", "20"); 79 shouldBe("elementRect('s2').top", "20");
80 shouldBe("elementRect('s2').left", marginEllipseLeftXIntercept(40, 225, 225, 125 ), quiet); 80 shouldBe("elementRect('s2').left", marginEllipseLeftXIntercept(40, 225, 225, 125 ), quiet);
81 81
82 shouldBe("elementRect('s3').top", "40"); 82 shouldBe("elementRect('s3').top", "40");
83 shouldBe("elementRect('s3').left", marginEllipseLeftXIntercept(60, 225, 225, 125 ), quiet); 83 shouldBe("elementRect('s3').left", marginEllipseLeftXIntercept(60, 225, 225, 125 ), quiet);
84 84
85 </script> 85 </script>
86 </html> 86 </html>
87 87
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698