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

Side by Side Diff: LayoutTests/svg/text/kerning.svg

Issue 26390004: Rework SVG sizing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mishap during rebase in svg.css Created 6 years, 8 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 <html xmlns="http://www.w3.org/1999/xhtml" style="width: 100%; height: 100%;"> 1 <html xmlns="http://www.w3.org/1999/xhtml" style="width: 100%; height: 100%;">
2 <body> 2 <body>
3 <p>The left edges of the black boxes below should line up with the 3 <p>The left edges of the black boxes below should line up with the
4 left edges of their containing red or green boxes. In addition, all 4 left edges of their containing red or green boxes. In addition, all
5 the assertions below should pass.</p> 5 the assertions below should pass.</p>
6 6
7 <div style="width: 800px; height: 200px;"> 7 <div style="width: 800px; height: 200px;">
8 <svg xmlns="http://www.w3.org/2000/svg"> 8 <svg xmlns="http://www.w3.org/2000/svg" width="100%" height="100%">
9 <font> 9 <font>
10 <font-face font-family="xyzzy" units-per-em="100" ascent="100" descent="500"> 10 <font-face font-family="xyzzy" units-per-em="100" ascent="100" descent="500">
11 </font-face> 11 </font-face>
12 <glyph unicode="BD" d="M0,0 h40 v-80 h-40 z" horiz-adv-x="80"> 12 <glyph unicode="BD" d="M0,0 h40 v-80 h-40 z" horiz-adv-x="80">
13 </glyph> 13 </glyph>
14 <glyph unicode="GG" d="M0,0 h20 v-60 h-20 z" horiz-adv-x="70"> 14 <glyph unicode="GG" d="M0,0 h20 v-60 h-20 z" horiz-adv-x="70">
15 </glyph> 15 </glyph>
16 <glyph unicode="BB" d="M0,0 h20 v-70 h-20 z" horiz-adv-x="70"> 16 <glyph unicode="BB" d="M0,0 h20 v-70 h-20 z" horiz-adv-x="70">
17 </glyph> 17 </glyph>
18 <glyph unicode="B" d="M0,0 h30 v-40 h-30 z" horiz-adv-x="80"> 18 <glyph unicode="B" d="M0,0 h30 v-40 h-30 z" horiz-adv-x="80">
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 shouldBe("t.getStartPositionOfChar(5).x", '0 + 70 + 100 + 70'); 113 shouldBe("t.getStartPositionOfChar(5).x", '0 + 70 + 100 + 70');
114 shouldBe("t.getStartPositionOfChar(6).x", '0 + 70 + 100 + 70'); 114 shouldBe("t.getStartPositionOfChar(6).x", '0 + 70 + 100 + 70');
115 shouldBe("t.getStartPositionOfChar(7).x", '0 + 70 + 100 + 70 + 70'); 115 shouldBe("t.getStartPositionOfChar(7).x", '0 + 70 + 100 + 70 + 70');
116 shouldBe("t.getStartPositionOfChar(8).x", '0 + 70 + 100 + 70 + 70 + 80'); 116 shouldBe("t.getStartPositionOfChar(8).x", '0 + 70 + 100 + 70 + 70 + 80');
117 shouldBe("t.getStartPositionOfChar(9).x", '0 + 70 + 100 + 70 + 70 + 80 + 100'); 117 shouldBe("t.getStartPositionOfChar(9).x", '0 + 70 + 100 + 70 + 70 + 80 + 100');
118 ]]> 118 ]]>
119 </script> 119 </script>
120 </body> 120 </body>
121 </html> 121 </html>
122 122
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698