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

Side by Side Diff: LayoutTests/fast/css/fontface-properties-expected.txt

Issue 335333002: Make "descriptors" argument of FontFace constructor optional (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « LayoutTests/fast/css/fontface-properties.html ('k') | Source/core/css/FontFace.idl » ('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 getting/setting FontFace properties. 1 Test getting/setting FontFace properties.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS ahemFace.family is "Ahem" 6 PASS ahemFace.family is "Ahem"
7 PASS ahemFace.style is "italic" 7 PASS ahemFace.style is "italic"
8 PASS ahemFace.weight is "300" 8 PASS ahemFace.weight is "300"
9 PASS ahemFace.unicodeRange is "U+0-3FF" 9 PASS ahemFace.unicodeRange is "U+0-3FF"
10 PASS ahemFace.variant is "small-caps" 10 PASS ahemFace.variant is "small-caps"
(...skipping 14 matching lines...) Expand all
25 PASS constructedFace.variant is "small-caps" 25 PASS constructedFace.variant is "small-caps"
26 PASS constructedFace.featureSettings is "'liga' 0" 26 PASS constructedFace.featureSettings is "'liga' 0"
27 27
28 PASS modifiedFace.family is "modified" 28 PASS modifiedFace.family is "modified"
29 PASS modifiedFace.style is "italic" 29 PASS modifiedFace.style is "italic"
30 PASS modifiedFace.weight is "900" 30 PASS modifiedFace.weight is "900"
31 PASS modifiedFace.unicodeRange is "U+0-3FF" 31 PASS modifiedFace.unicodeRange is "U+0-3FF"
32 PASS modifiedFace.variant is "small-caps" 32 PASS modifiedFace.variant is "small-caps"
33 PASS modifiedFace.featureSettings is "'dlig' 1, 'liga' 0" 33 PASS modifiedFace.featureSettings is "'dlig' 1, 'liga' 0"
34 34
35 PASS new FontFace('test', 'invalid_src', {}) threw exception SyntaxError: Failed to construct 'FontFace': The source provided ('invalid_src') could not be parse d as a value list.. 35 PASS new FontFace('test', 'invalid_src') threw exception SyntaxError: Failed to construct 'FontFace': The source provided ('invalid_src') could not be parsed as a value list..
36 PASS face.style = '' threw exception SyntaxError: Failed to set the 'style' prop erty on 'FontFace': Failed to set '' as a property value.. 36 PASS face.style = '' threw exception SyntaxError: Failed to set the 'style' prop erty on 'FontFace': Failed to set '' as a property value..
37 PASS face.weight = 'a' threw exception SyntaxError: Failed to set the 'weight' p roperty on 'FontFace': Failed to set 'a' as a property value.. 37 PASS face.weight = 'a' threw exception SyntaxError: Failed to set the 'weight' p roperty on 'FontFace': Failed to set 'a' as a property value..
38 PASS face.unicodeRange = 'U+' threw exception SyntaxError: Failed to set the 'un icodeRange' property on 'FontFace': Failed to set 'U+' as a property value.. 38 PASS face.unicodeRange = 'U+' threw exception SyntaxError: Failed to set the 'un icodeRange' property on 'FontFace': Failed to set 'U+' as a property value..
39 PASS face.variant = '???' threw exception SyntaxError: Failed to set the 'varian t' property on 'FontFace': Failed to set '???' as a property value.. 39 PASS face.variant = '???' threw exception SyntaxError: Failed to set the 'varian t' property on 'FontFace': Failed to set '???' as a property value..
40 PASS face.featureSettings = null threw exception SyntaxError: Failed to set the 'featureSettings' property on 'FontFace': Failed to set 'null' as a property val ue.. 40 PASS face.featureSettings = null threw exception SyntaxError: Failed to set the 'featureSettings' property on 'FontFace': Failed to set 'null' as a property val ue..
41 PASS successfullyParsed is true 41 PASS successfullyParsed is true
42 42
43 TEST COMPLETE 43 TEST COMPLETE
44 44
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/fontface-properties.html ('k') | Source/core/css/FontFace.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698