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

Side by Side Diff: LayoutTests/svg/text/text-overflow-ellipsis-svgfont.html

Issue 766163002: SVG font support was removed from Blink, deleting SVG test cases (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « LayoutTests/svg/custom/svg-fonts-in-html-linebreaks-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>Test for text-overflow: ellipsis using SVG font</title>
5 <style>
6
7 @font-face {
8 font-family: 'ABCFont';
9 src: local('☺'), url('../../svg/custom/resources/ABCFont.svg#ABCFont') forma t('svg');
10 font-weight: normal;
11 font-style: normal;
12 }
13
14 .ellipsis {
15 width: 180px;
16 margin: 0 0 20px 0;
17 border: 1px solid black;
18 text-overflow: ellipsis;
19 overflow: hidden;
20 white-space: nowrap;
21 }
22
23 .svgfont {
24 font-family: 'ABCFont';
25 }
26 </style>
27 </head>
28 <body>
29
30 This test checks that the text-overflow: ellipsis property is handled correctly when using an SVG font.<br><br>
31
32 Pass if some text is shown followed by an ellipsis (NOT just the ellipsis by its elf).
33 <br><br>
34
35 <div class="ellipsis svgfont">
36 abc abc abc abc abc abc abc abc abc abc
37 </div>
38
39 </body>
40 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/svg-fonts-in-html-linebreaks-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698