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

Side by Side Diff: LayoutTests/fast/css/font-face-src-parsing-expected.txt

Issue 1103273010: Add parseFontFaceDescriptor for @font-face handling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: V5 Created 5 years, 7 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
« no previous file with comments | « LayoutTests/fast/css/font-face-src-parsing.html ('k') | Source/core/css/FontFace.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Test parsing the src descriptor of @font-face. 1 Test parsing the src descriptor of @font-face.
2 2
3 Valid rules form the stylesheet: 3 Valid rules form the stylesheet:
4 4
5 @font-face { src: url(font.ttf); } 5 @font-face { src: url(font.ttf); }
6 @font-face { src: url(http://foo/bar/font.ttf); } 6 @font-face { src: url(http://foo/bar/font.ttf); }
7 @font-face { src: url(font.svg#id); } 7 @font-face { src: url(font.svg#id); }
8 @font-face { src: url(font.ttf) format(truetype); } 8 @font-face { src: url(font.ttf) format(truetype); }
9 @font-face { src: url(font.woff) format(woff), local(font2); } 9 @font-face { src: url(font.woff) format(woff), local(font2); }
10 @font-face { src: url(font2.ttf); } 10 @font-face { src: url(font2.ttf); }
(...skipping 20 matching lines...) Expand all
31 Invalid rules form the stylesheet: 31 Invalid rules form the stylesheet:
32 32
33 @font-face { } 33 @font-face { }
34 @font-face { } 34 @font-face { }
35 @font-face { } 35 @font-face { }
36 @font-face { } 36 @font-face { }
37 @font-face { } 37 @font-face { }
38 @font-face { } 38 @font-face { }
39 @font-face { } 39 @font-face { }
40 @font-face { } 40 @font-face { }
41 @font-face { src: url(foo.ttf) !important; } 41 @font-face { }
42 @font-face { }
43 @font-face { }
44 @font-face { }
42 Expected result for invalid rules: 45 Expected result for invalid rules:
43 46
44 @font-face { } 47 @font-face { }
45 @font-face { } 48 @font-face { }
46 @font-face { } 49 @font-face { }
47 @font-face { } 50 @font-face { }
48 @font-face { } 51 @font-face { }
49 @font-face { } 52 @font-face { }
50 @font-face { } 53 @font-face { }
51 @font-face { } 54 @font-face { }
52 @font-face { } 55 @font-face { }
53 56
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/font-face-src-parsing.html ('k') | Source/core/css/FontFace.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698