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

Side by Side Diff: LayoutTests/css3/font-weight-expected.txt

Issue 15994009: Match spec for font-weight: bolder|lighter (Closed) Base URL: https://chromium.googlesource.com/chromium/blink@master
Patch Set: presubmit has svn error, maybe re-upload will fix? Created 7 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
« no previous file with comments | « LayoutTests/css3/font-weight.html ('k') | Source/core/platform/graphics/FontDescription.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 Test that font-weight: bolder and font-weight: lighter behave according to spec.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS getComputedStyle(outer).fontWeight is "100"
7 PASS getComputedStyle(bolder).fontWeight is "normal"
8 PASS getComputedStyle(lighter).fontWeight is "100"
9 PASS getComputedStyle(outer).fontWeight is "200"
10 PASS getComputedStyle(bolder).fontWeight is "normal"
11 PASS getComputedStyle(lighter).fontWeight is "100"
12 PASS getComputedStyle(outer).fontWeight is "300"
13 PASS getComputedStyle(bolder).fontWeight is "normal"
14 PASS getComputedStyle(lighter).fontWeight is "100"
15 PASS getComputedStyle(outer).fontWeight is "normal"
16 PASS getComputedStyle(bolder).fontWeight is "bold"
17 PASS getComputedStyle(lighter).fontWeight is "100"
18 PASS getComputedStyle(outer).fontWeight is "normal"
19 PASS getComputedStyle(bolder).fontWeight is "bold"
20 PASS getComputedStyle(lighter).fontWeight is "100"
21 PASS getComputedStyle(outer).fontWeight is "500"
22 PASS getComputedStyle(bolder).fontWeight is "bold"
23 PASS getComputedStyle(lighter).fontWeight is "100"
24 PASS getComputedStyle(outer).fontWeight is "600"
25 PASS getComputedStyle(bolder).fontWeight is "900"
26 PASS getComputedStyle(lighter).fontWeight is "normal"
27 PASS getComputedStyle(outer).fontWeight is "bold"
28 PASS getComputedStyle(bolder).fontWeight is "900"
29 PASS getComputedStyle(lighter).fontWeight is "normal"
30 PASS getComputedStyle(outer).fontWeight is "bold"
31 PASS getComputedStyle(bolder).fontWeight is "900"
32 PASS getComputedStyle(lighter).fontWeight is "normal"
33 PASS getComputedStyle(outer).fontWeight is "800"
34 PASS getComputedStyle(bolder).fontWeight is "900"
35 PASS getComputedStyle(lighter).fontWeight is "bold"
36 PASS getComputedStyle(outer).fontWeight is "900"
37 PASS getComputedStyle(bolder).fontWeight is "900"
38 PASS getComputedStyle(lighter).fontWeight is "bold"
39 PASS successfullyParsed is true
40
41 TEST COMPLETE
42
OLDNEW
« no previous file with comments | « LayoutTests/css3/font-weight.html ('k') | Source/core/platform/graphics/FontDescription.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698