/home/clopez/webkit/webkit/layout-test-results/svg/text/lengthAdjust-text-metrics-actual.txt

1414PASS lengthToString(svgText.getComputedTextLength()) is "200.0"
1515
1616Test getSubStringLength() API
17 PASS lengthToString(svgText.getSubStringLength(0, 1)) is "61.5"
18 PASS lengthToString(svgText.getSubStringLength(0, 2)) is "117.9"
19 PASS lengthToString(svgText.getSubStringLength(0, 3)) is "169.2"
20 PASS lengthToString(svgText.getSubStringLength(0, 4)) is "200.0"
21 PASS lengthToString(svgText.getSubStringLength(1, 1)) is "56.4"
22 PASS lengthToString(svgText.getSubStringLength(1, 2)) is "107.7"
23 PASS lengthToString(svgText.getSubStringLength(1, 3)) is "138.5"
24 PASS lengthToString(svgText.getSubStringLength(2, 1)) is "51.3"
25 PASS lengthToString(svgText.getSubStringLength(2, 2)) is "82.1"
26 PASS lengthToString(svgText.getSubStringLength(3, 1)) is "30.8"
 17FAIL lengthToString(svgText.getSubStringLength(0, 1)) should be 62.8. Was 61.5.
 18FAIL lengthToString(svgText.getSubStringLength(0, 2)) should be 108.6. Was 117.9.
 19FAIL lengthToString(svgText.getSubStringLength(0, 3)) should be 160.0. Was 169.2.
 20FAIL lengthToString(svgText.getSubStringLength(0, 4)) should be 188.6. Was 200.0.
 21FAIL lengthToString(svgText.getSubStringLength(1, 1)) should be 57.2. Was 56.4.
 22FAIL lengthToString(svgText.getSubStringLength(1, 2)) should be 108.6. Was 107.7.
 23FAIL lengthToString(svgText.getSubStringLength(1, 3)) should be 137.2. Was 138.5.
 24FAIL lengthToString(svgText.getSubStringLength(2, 1)) should be 51.4. Was 51.3.
 25FAIL lengthToString(svgText.getSubStringLength(2, 2)) should be 80.0. Was 82.1.
 26FAIL lengthToString(svgText.getSubStringLength(3, 1)) should be 28.6. Was 30.8.
2727
2828Test getStartPositionOfChar() API
2929PASS pointToString(svgText.getStartPositionOfChar(0)) is "(10.0,20.0)"
30 PASS pointToString(svgText.getStartPositionOfChar(1)) is "(71.5,20.0)"
31 PASS pointToString(svgText.getStartPositionOfChar(2)) is "(127.9,20.0)"
32 PASS pointToString(svgText.getStartPositionOfChar(3)) is "(179.2,20.0)"
 30FAIL pointToString(svgText.getStartPositionOfChar(1)) should be (72.8,20.0). Was (71.5,20.0).
 31FAIL pointToString(svgText.getStartPositionOfChar(2)) should be (118.6,20.0). Was (127.9,20.0).
 32FAIL pointToString(svgText.getStartPositionOfChar(3)) should be (170.0,20.0). Was (179.2,20.0).
3333
3434Test getEndPositionOfChar() API
35 PASS pointToString(svgText.getEndPositionOfChar(0)) is "(71.5,20.0)"
36 PASS pointToString(svgText.getEndPositionOfChar(1)) is "(127.9,20.0)"
37 PASS pointToString(svgText.getEndPositionOfChar(2)) is "(179.2,20.0)"
38 PASS pointToString(svgText.getEndPositionOfChar(3)) is "(210.0,20.0)"
 35FAIL pointToString(svgText.getEndPositionOfChar(0)) should be (72.8,20.0). Was (71.5,20.0).
 36FAIL pointToString(svgText.getEndPositionOfChar(1)) should be (118.6,20.0). Was (127.9,20.0).
 37FAIL pointToString(svgText.getEndPositionOfChar(2)) should be (170.0,20.0). Was (179.2,20.0).
 38FAIL pointToString(svgText.getEndPositionOfChar(3)) should be (198.6,20.0). Was (210.0,20.0).
3939
4040Test getExtentOfChar() API
41 FAIL rectToString(svgText.getExtentOfChar(0)) should be (10.0,1.9)-(61.5x22.3). Was (10.0,2.0)-(61.5x22.0).
42 FAIL rectToString(svgText.getExtentOfChar(1)) should be (71.5,1.9)-(56.4x22.3). Was (71.5,2.0)-(56.4x22.0).
43 FAIL rectToString(svgText.getExtentOfChar(2)) should be (127.9,1.9)-(51.3x22.3). Was (127.9,2.0)-(51.3x22.0).
44 FAIL rectToString(svgText.getExtentOfChar(3)) should be (179.2,1.9)-(30.8x22.3). Was (179.2,2.0)-(30.8x22.0).
 41FAIL rectToString(svgText.getExtentOfChar(0)) should be (10.0,1.9)-(62.8x22.3). Was (10.0,2.0)-(61.5x22.0).
 42FAIL rectToString(svgText.getExtentOfChar(1)) should be (72.8,1.9)-(57.2x22.3). Was (71.5,2.0)-(56.4x22.0).
 43FAIL rectToString(svgText.getExtentOfChar(2)) should be (118.6,1.9)-(51.4x22.3). Was (127.9,2.0)-(51.3x22.0).
 44FAIL rectToString(svgText.getExtentOfChar(3)) should be (170.0,1.9)-(28.6x22.3). Was (179.2,2.0)-(30.8x22.0).
4545
4646Test getRotationOfChar() API
4747PASS svgText.getRotationOfChar(0).toFixed(1) is "0.0"

5959> Testing point=(71.4,10.0)
6060PASS svgText.getCharNumAtPosition(point) is 0
6161> Testing point=(71.6,10.0)
62 PASS svgText.getCharNumAtPosition(point) is 1
 62FAIL svgText.getCharNumAtPosition(point) should be 0. Was 1.
6363> Testing point=(127.8,10.0)
6464PASS svgText.getCharNumAtPosition(point) is 1
6565> Testing point=(128.0,10.0)
66 PASS svgText.getCharNumAtPosition(point) is 2
 66FAIL svgText.getCharNumAtPosition(point) should be 1. Was 2.
6767> Testing point=(179.1,10.0)
68 PASS svgText.getCharNumAtPosition(point) is 2
 68FAIL svgText.getCharNumAtPosition(point) should be 3. Was 2.
6969> Testing point=(179.3,10.0)
7070PASS svgText.getCharNumAtPosition(point) is 3
7171> Testing point=(209.9,10.0)
72 PASS svgText.getCharNumAtPosition(point) is 3
 72FAIL svgText.getCharNumAtPosition(point) should be -1. Was 3.
7373> Testing point=(210.1,10.0)
7474PASS svgText.getCharNumAtPosition(point) is -1
7575> Testing point=(250.0,10.0)