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

Side by Side Diff: LayoutTests/svg/custom/altglyph.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 orange or green boxes. In addition, all 4 left edges of their containing orange 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" xmlns:xlink="http://www.w3.org/1999/xlin k"> 8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k" 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 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 shouldBe("t.getEndPositionOfChar(5).x", '70 + 100 + 70 + 70'); 124 shouldBe("t.getEndPositionOfChar(5).x", '70 + 100 + 70 + 70');
125 shouldBe("t.getEndPositionOfChar(6).x", '70 + 100 + 70 + 70'); 125 shouldBe("t.getEndPositionOfChar(6).x", '70 + 100 + 70 + 70');
126 shouldBe("t.getEndPositionOfChar(7).x", '70 + 100 + 70 + 70 + 80'); 126 shouldBe("t.getEndPositionOfChar(7).x", '70 + 100 + 70 + 70 + 80');
127 shouldBe("t.getEndPositionOfChar(8).x", '70 + 100 + 70 + 70 + 80'); 127 shouldBe("t.getEndPositionOfChar(8).x", '70 + 100 + 70 + 70 + 80');
128 shouldBe("t.getEndPositionOfChar(9).x", '70 + 100 + 70 + 70 + 80 + 200'); 128 shouldBe("t.getEndPositionOfChar(9).x", '70 + 100 + 70 + 70 + 80 + 200');
129 ]]> 129 ]]>
130 </script> 130 </script>
131 </body> 131 </body>
132 </html> 132 </html>
133 133
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698