OLD | NEW |
(Empty) | |
| 1 |
| 2 This is a testharness.js-based test. |
| 3 PASS COMMA: "2,2,10,10" (rect) |
| 4 PASS SEMICOLON: "2;2;10;10" (rect) |
| 5 PASS SPACE: "2 2 10 10" (rect) |
| 6 PASS TAB: "2\t2\t10\t10" (rect) |
| 7 PASS FORM FEED: "2\f2\f10\f10" (rect) |
| 8 PASS LINE FEED: "2\n2\n10\n10" (rect) |
| 9 PASS CARRIGAGE RETURN: "2\r2\r10\r10" (rect) |
| 10 FAIL LINE TABULATION: "2\v2\v10\v10" (rect) assert_equals: elementFromPoint(3, 3
) expected Element node <img src="resources/images/blue-border.png" usemap="#x"
i... but got Element node <area id="area" shape="rect" coords="221010"></area
> |
| 11 FAIL LINE NEXT: "2
2
10
10" (rect) assert_equals: elementFromPoint(3, 3) expecte
d Element node <img src="resources/images/blue-border.png" usemap="#x" i... but
got Element node <area id="area" shape="rect" coords="2
2
10
10"></area> |
| 12 FAIL EN QUAD: "2 2 10 10" (rect) assert_equals: elementFromPoint(3, 3) expected
Element node <img src="resources/images/blue-border.png" usemap="#x" i... but go
t Element node <area id="area" shape="rect" coords="2 2 10 10"></area> |
| 13 FAIL abc between numbers: "2a2b20c20,2,10,10" (rect) assert_equals: elementFromP
oint(11, 9) expected Element node <img src="resources/images/blue-border.png" us
emap="#x" i... but got Element node <area id="area" shape="rect" coords="2a2b20c
20,2,10,10"><... |
| 14 FAIL COLON between numbers: "2:2:20:20,2,10,10" (rect) assert_equals: elementFro
mPoint(11, 9) expected Element node <img src="resources/images/blue-border.png"
usemap="#x" i... but got Element node <area id="area" shape="rect" coords="2:2:2
0:20,2,10,10"><... |
| 15 FAIL U+0000 between numbers: "2\02\020\020,2,10,10" (rect) assert_equals: elemen
tFromPoint(11, 9) expected Element node <img src="resources/images/blue-border.p
ng" usemap="#x" i... but got Element node <area id="area" shape="rect" coords="2
\02\020\020,2,10,10"><... |
| 16 PASS leading COMMA: ",2,2,10,10" (rect) |
| 17 PASS leading SPACE: " 2,2,10,10" (rect) |
| 18 PASS leading SEMICOLON: ";2,2,10,10" (rect) |
| 19 PASS trailing COMMA: "2,2,10," (rect) |
| 20 PASS trailing SPACE: "2,2,10 " (rect) |
| 21 PASS trailing SEMICOLON: "2,2,10;" (rect) |
| 22 PASS PERCENT: "2%,2%,10%,10%" (rect) |
| 23 PASS CSS units: "2in,2in,10cm,10cm" (rect) |
| 24 FAIL float: "1.4,1.4,10,10" (rect) assert_equals: elementFromPoint(1, 3) expecte
d Element node <img src="resources/images/blue-border.png" usemap="#x" i... but
got Element node <area id="area" shape="rect" coords="1.4,1.4,10,10"></area> |
| 25 FAIL number starting with PERIOD: ".4,.4,10,10" (rect) assert_equals: elementFro
mPoint(0, 0) expected Element node <img src="resources/images/blue-border.png" u
semap="#x" i... but got Element node <area id="area" shape="rect" coords=".4,.4,
10,10"></area> |
| 26 FAIL sci-not: "2,2,1e1,1e1" (rect) assert_equals: elementFromPoint(3, 3) expecte
d Element node <area id="area" shape="rect" coords="2,2,1e1,1e1"></area> but got
Element node <img src="resources/images/blue-border.png" usemap="#x" i... |
| 27 PASS leading/trailing garbage: "='2,2,10,10' " (rect) |
| 28 PASS non-ascii garbage: "“2,2,10,10\"" (rect) |
| 29 FAIL URL garbage with number: "2,2,10ls/spain/holidays/regions/10/Canary+Islands
/Canary+Islands.html" (rect) assert_equals: elementFromPoint(3, 3) expected Elem
ent node <img src="resources/images/blue-border.png" usemap="#x" i... but got El
ement node <area id="area" shape="rect" coords="2,2,10ls/spain/holid... |
| 30 PASS consecutive COMMAs: "2,,10,10" (rect) |
| 31 PASS consecutive SPACEs: "2 10,10" (rect) |
| 32 PASS consecutive SEMICOLONs: "2;;10,10" (rect) |
| 33 PASS several consecutive separators: ",,2;,;2,;,10 \t\r\n10;;" (rect) |
| 34 PASS one too many numbers, trailing COMMA: "100,100,120,100,100,120,300," (poly)
|
| 35 Harness: the test ran to completion. |
| 36 |
OLD | NEW |