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

Side by Side Diff: LayoutTests/svg/text/multichar-glyph.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="60"> 18 <glyph unicode="B" d="M0,0 h30 v-40 h-30 z" horiz-adv-x="60">
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 shouldBe("t.getEndPositionOfChar(5).x", '70 + 100 + 70 + 70'); 122 shouldBe("t.getEndPositionOfChar(5).x", '70 + 100 + 70 + 70');
123 shouldBe("t.getEndPositionOfChar(6).x", '70 + 100 + 70 + 70'); 123 shouldBe("t.getEndPositionOfChar(6).x", '70 + 100 + 70 + 70');
124 shouldBe("t.getEndPositionOfChar(7).x", '70 + 100 + 70 + 70 + 80'); 124 shouldBe("t.getEndPositionOfChar(7).x", '70 + 100 + 70 + 70 + 80');
125 shouldBe("t.getEndPositionOfChar(8).x", '70 + 100 + 70 + 70 + 80'); 125 shouldBe("t.getEndPositionOfChar(8).x", '70 + 100 + 70 + 70 + 80');
126 shouldBe("t.getEndPositionOfChar(9).x", '70 + 100 + 70 + 70 + 80 + 60'); 126 shouldBe("t.getEndPositionOfChar(9).x", '70 + 100 + 70 + 70 + 80 + 60');
127 ]]> 127 ]]>
128 </script> 128 </script>
129 </body> 129 </body>
130 </html> 130 </html>
131 131
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698