1 This is a test to make sure ch units work as intended.
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
6 PASS document.getElementById("box_mono_zero").clientWidth is 0
7 PASS document.getElementById("box_mono_four1").clientWidth is document.getElementById("box_mono_four2").clientWidth
8 PASS document.getElementById("box_monofallthrough_four1").clientWidth is document.getElementById("box_monofallthrough_four2").clientWidth
9 PASS document.getElementById("mono_box_alphalen1").clientWidth is document.getElementById("mono_box_alphalen2").clientWidth
10 PASS document.getElementById("box_one").clientWidth * 26 is document.getElementById("box_alphalen").clientWidth
11 PASS document.getElementById("arial_box_one").clientWidth * 26 is document.getElementById("arial_box_alphalen").clientWidth
12 PASS document.getElementById("helvetica_box_one").clientWidth * 26 is document.getElementById("helvetica_box_alphalen").clientWidth
13 PASS document.getElementById("times_box_one").clientWidth * 4 is document.getElementById("box_times_four").clientWidth
14 PASS document.getElementById("arial_box_one").clientWidth * 4 is document.getElementById("box_arial_four").clientWidth
15 PASS document.getElementById("helvetica_box_one").clientWidth * 4 is document.getElementById("box_helvetica_four").clientWidth
16 PASS document.getElementById("ref_box_arial_one").clientWidth is >= document.getElementById("box_arial_one").clientWidth
17 PASS document.getElementById("ref_box_times_one").clientWidth is >= document.getElementById("box_times_one").clientWidth
18 PASS document.getElementById("ref_box_sansserif_one").clientWidth is >= document.getElementById("box_sansserif_one").clientWidth
19 PASS w1 !== w2 || h1 !== h2 is false
20 PASS ps1h > ps2h && ps1h > ps3h is true
21 PASS document.getElementById("box_mono_one").clientWidth is document.getElementById("box_mono").clientWidth
22 PASS successfullyParsed is true
25 This is a test to make sure ch units work as intended. You should not see anything red on this page.
27 Only 'PASS' should be visible:
32 The whole lower case alphabet should be readable:
33 abcdefghijklmnopqrstuvwxyz
34 abcdefghijklmnopqrstuvwxyz
35 abcdefghijklmnopqrstuvwxyz
36 abcdefghijklmnopqrstuvwxyz
37 abcdefghijklmnopqrstuvwxyz
38 Four zeroes should be visible, nothing else:
41 0000 There should be more than one green '|' visible (non-monospaced fonts):
45 This box has a 20px font size. The last two '0's should be the same size.
49 I'm a pseudo selected first line, I should be bigger than the rest.
51 Last in line. But one day... the throne will be mine!