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

Unified Diff: third_party/WebKit/LayoutTests/svg/text/lengthAdjust-text-metrics-expected.txt

Issue 1773403002: Update SVG text layout to use shaped glyph data & go fast (O(n^2)->O(n)) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@1773353003
Patch Set: Fix TestExpectations collision Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/svg/text/lengthAdjust-text-metrics-expected.txt
diff --git a/third_party/WebKit/LayoutTests/svg/text/lengthAdjust-text-metrics-expected.txt b/third_party/WebKit/LayoutTests/svg/text/lengthAdjust-text-metrics-expected.txt
index 917f66195f9e427d97bce0db0861e67a450b7aed..08c5223f2604ecb1f51cedf73e0876f85eae5116 100644
--- a/third_party/WebKit/LayoutTests/svg/text/lengthAdjust-text-metrics-expected.txt
+++ b/third_party/WebKit/LayoutTests/svg/text/lengthAdjust-text-metrics-expected.txt
@@ -14,7 +14,7 @@ Test getComputedTextLength() API
PASS lengthToString(svgText.getComputedTextLength()) is "200.0"
Test getSubStringLength() API
-FAIL lengthToString(svgText.getSubStringLength(0, 1)) should be 61.5. Was 66.6.
+FAIL lengthToString(svgText.getSubStringLength(0, 1)) should be 61.5. Was 54.5.
FAIL lengthToString(svgText.getSubStringLength(0, 2)) should be 117.9. Was 115.2.
FAIL lengthToString(svgText.getSubStringLength(0, 3)) should be 169.2. Was 169.7.
PASS lengthToString(svgText.getSubStringLength(0, 4)) is "200.0"
@@ -27,19 +27,19 @@ FAIL lengthToString(svgText.getSubStringLength(3, 1)) should be 30.8. Was 30.3.
Test getStartPositionOfChar() API
PASS pointToString(svgText.getStartPositionOfChar(0)) is "(10.0,20.0)"
-FAIL pointToString(svgText.getStartPositionOfChar(1)) should be (71.5,20.0). Was (76.6,20.0).
+FAIL pointToString(svgText.getStartPositionOfChar(1)) should be (71.5,20.0). Was (64.5,20.0).
FAIL pointToString(svgText.getStartPositionOfChar(2)) should be (127.9,20.0). Was (125.2,20.0).
FAIL pointToString(svgText.getStartPositionOfChar(3)) should be (179.2,20.0). Was (179.7,20.0).
Test getEndPositionOfChar() API
-FAIL pointToString(svgText.getEndPositionOfChar(0)) should be (71.5,20.0). Was (76.6,20.0).
+FAIL pointToString(svgText.getEndPositionOfChar(0)) should be (71.5,20.0). Was (64.5,20.0).
FAIL pointToString(svgText.getEndPositionOfChar(1)) should be (127.9,20.0). Was (125.2,20.0).
FAIL pointToString(svgText.getEndPositionOfChar(2)) should be (179.2,20.0). Was (179.7,20.0).
PASS pointToString(svgText.getEndPositionOfChar(3)) is "(210.0,20.0)"
Test getExtentOfChar() API
-FAIL rectToString(svgText.getExtentOfChar(0)) should be (10.0,1.9)-(61.5x22.3). Was (10.0,2.0)-(66.6x22.0).
-FAIL rectToString(svgText.getExtentOfChar(1)) should be (71.5,1.9)-(56.4x22.3). Was (76.6,2.0)-(48.6x22.0).
+FAIL rectToString(svgText.getExtentOfChar(0)) should be (10.0,1.9)-(61.5x22.3). Was (10.0,2.0)-(54.5x22.0).
+FAIL rectToString(svgText.getExtentOfChar(1)) should be (71.5,1.9)-(56.4x22.3). Was (64.5,2.0)-(60.6x22.0).
FAIL rectToString(svgText.getExtentOfChar(2)) should be (127.9,1.9)-(51.3x22.3). Was (125.2,2.0)-(54.5x22.0).
FAIL rectToString(svgText.getExtentOfChar(3)) should be (179.2,1.9)-(30.8x22.3). Was (179.7,2.0)-(30.3x22.0).
@@ -57,9 +57,9 @@ PASS svgText.getCharNumAtPosition(point) is -1
> Testing point=(10.1,10.0)
PASS svgText.getCharNumAtPosition(point) is 0
> Testing point=(71.4,10.0)
-PASS svgText.getCharNumAtPosition(point) is 0
+FAIL svgText.getCharNumAtPosition(point) should be 0. Was 1.
> Testing point=(71.6,10.0)
-FAIL svgText.getCharNumAtPosition(point) should be 1. Was 0.
+PASS svgText.getCharNumAtPosition(point) is 1
> Testing point=(127.8,10.0)
FAIL svgText.getCharNumAtPosition(point) should be 1. Was 2.
> Testing point=(128.0,10.0)
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/LayoutTests/svg/text/ligature-queries.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698