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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/font-shorthand-from-longhands-expected.txt

Issue 1820773002: getComputedStyle() should return used value for 'line-height' (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 Test the return values for the font properties on the style object. 1 Test the return values for the font properties on the style object.
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 style.font is '' 6 PASS style.font is ''
7 PASS computedStyle.font is 'normal normal normal normal 20px / normal foobar' 7 PASS computedStyle.font is 'normal normal normal normal 20px / 20px foobar'
8 PASS computedStyle.fontSize is '20px' 8 PASS computedStyle.fontSize is '20px'
9 PASS checkFontStyleValue() is true 9 PASS checkFontStyleValue() is true
10 PASS style.font is '' 10 PASS style.font is ''
11 PASS computedStyle.font is 'normal normal normal normal 20px / normal sans-serif ' 11 PASS computedStyle.font is 'normal normal normal normal 20px / 20px sans-serif'
12 PASS computedStyle.fontFamily is 'sans-serif' 12 PASS computedStyle.fontFamily is 'sans-serif'
13 PASS style.font is '' 13 PASS style.font is ''
14 PASS computedStyle.font is 'italic normal normal normal 20px / normal sans-serif ' 14 PASS computedStyle.font is 'italic normal normal normal 20px / 20px sans-serif'
15 PASS computedStyle.fontStyle is 'italic' 15 PASS computedStyle.fontStyle is 'italic'
16 PASS style.font is '' 16 PASS style.font is ''
17 PASS computedStyle.font is 'italic small-caps normal normal 20px / normal sans-s erif' 17 PASS computedStyle.font is 'italic small-caps normal normal 20px / 20px sans-ser if'
18 PASS computedStyle.fontVariant is 'small-caps' 18 PASS computedStyle.fontVariant is 'small-caps'
19 PASS style.font is '' 19 PASS style.font is ''
20 PASS computedStyle.font is 'italic small-caps bold normal 20px / normal sans-ser if' 20 PASS computedStyle.font is 'italic small-caps bold normal 20px / 20px sans-serif '
21 PASS computedStyle.fontWeight is 'bold' 21 PASS computedStyle.fontWeight is 'bold'
22 PASS style.font is '' 22 PASS style.font is ''
23 PASS computedStyle.font is 'italic small-caps bold normal 20px / 40px sans-serif ' 23 PASS computedStyle.font is 'italic small-caps bold normal 20px / 40px sans-serif '
24 PASS computedStyle.lineHeight is '40px' 24 PASS computedStyle.lineHeight is '40px'
25 PASS style.font is 'italic small-caps bold ultra-expanded 20px/40px sans-serif' 25 PASS style.font is 'italic small-caps bold ultra-expanded 20px/40px sans-serif'
26 PASS computedStyle.font is 'italic small-caps bold ultra-expanded 20px / 40px sa ns-serif' 26 PASS computedStyle.font is 'italic small-caps bold ultra-expanded 20px / 40px sa ns-serif'
27 PASS checkFontStyleValue() is true 27 PASS checkFontStyleValue() is true
28 PASS style.font is '' 28 PASS style.font is ''
29 PASS computedStyle.font is 'normal normal normal normal 16px / normal foobar' 29 PASS computedStyle.font is 'normal normal normal normal 16px / 20px foobar'
30 PASS checkFontStyleValue() is true 30 PASS checkFontStyleValue() is true
31 PASS successfullyParsed is true 31 PASS successfullyParsed is true
32 32
33 TEST COMPLETE 33 TEST COMPLETE
34 34
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698