summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 18:16:37 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-06-30 18:16:37 +0000
commit7811b768ff61d58153a198a273cdb39581a77542 (patch)
tree5baee5165215c6cc92cad759557325f94245f746
parentf6f4e5347cdb27f544707e80c801ed707242678f (diff)
downloadchromium_src-7811b768ff61d58153a198a273cdb39581a77542.zip
chromium_src-7811b768ff61d58153a198a273cdb39581a77542.tar.gz
chromium_src-7811b768ff61d58153a198a273cdb39581a77542.tar.bz2
Linux: start rebaselining and enabling some international layout tests
The first complex text support patch just landed, so it's time to start looking at the layout tests which will now pass. BUG=10293,10344,10345,9768 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19615 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.checksum2
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.pngbin4054 -> 3746 bytes
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.checksum2
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.pngbin8688 -> 6840 bytes
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.checksum2
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.pngbin6351 -> 5633 bytes
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.checksum1
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.pngbin0 -> 15172 bytes
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.txt30
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.checksum1
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.pngbin0 -> 7341 bytes
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.txt13
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.checksum1
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.pngbin0 -> 12826 bytes
-rw-r--r--webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.txt21
-rw-r--r--webkit/tools/layout_tests/test_expectations.txt11
16 files changed, 73 insertions, 11 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.checksum b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.checksum
index b46047c..0a63320 100644
--- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.checksum
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.checksum
@@ -1 +1 @@
-601c95b375a09639e67d733a896add8a \ No newline at end of file
+4d22b8906aca6f5cffe43838862f3c33 \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.png b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.png
index 6565748..cfc6596 100644
--- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.png
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/001-expected.png
Binary files differ
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.checksum b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.checksum
index 9754935..2b67116 100644
--- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.checksum
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.checksum
@@ -1 +1 @@
-7e9e75d2628c31f2e948059994962a2c \ No newline at end of file
+076cd443d91896108761d43a4798268a \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.png b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.png
index 829b6f5..ed4851f 100644
--- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.png
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/002-expected.png
Binary files differ
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.checksum b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.checksum
index a120012..122e706 100644
--- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.checksum
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.checksum
@@ -1 +1 @@
-71b14ebf09e32065d6cb45f6124b7016 \ No newline at end of file
+d53f2309f55d7cd723c6b5aae128808e \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.png b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.png
index ca8405e..e02220c 100644
--- a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.png
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/003-expected.png
Binary files differ
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.checksum b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.checksum
new file mode 100644
index 0000000..7ff4dc6
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.checksum
@@ -0,0 +1 @@
+46b3687640076b4aa59ade51c0546274 \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.png b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.png
new file mode 100644
index 0000000..5587f8d
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.png
Binary files differ
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.txt
new file mode 100644
index 0000000..47a99a4
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-AN-after-empty-run-expected.txt
@@ -0,0 +1,30 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x600
+ RenderBlock {HTML} at (0,0) size 800x600
+ RenderBody {BODY} at (8,8) size 784x584
+ RenderBlock {P} at (0,0) size 784x20
+ RenderText {#text} at (0,0) size 51x19
+ text run at (0,0) width 51: "Test for "
+ RenderInline {I} at (0,0) size 394x19
+ RenderInline {A} at (0,0) size 154x19 [color=#0000EE]
+ RenderText {#text} at (51,0) size 154x19
+ text run at (51,0) width 154: "rdar://problem/6020930"
+ RenderText {#text} at (205,0) size 240x19
+ text run at (205,0) width 240: " Bidi Problem When Resizing Window"
+ RenderText {#text} at (445,0) size 4x19
+ text run at (445,0) width 4: "."
+ RenderBlock {P} at (0,36) size 784x20
+ RenderText {#text} at (0,0) size 306x19
+ text run at (0,0) width 306: "The boxes below should be identical to each other."
+ RenderBlock {DIV} at (0,72) size 90x50 [border: (1px solid #0000FF)]
+ RenderText {#text} at (5,5) size 59x39
+ text run at (5,5) width 55 RTL: "\x{627}\x{644}\x{645}\x{627}\x{626}\x{629} \x{645}\x{644}\x{64A}\x{627}\x{631}"
+ text run at (60,5) width 4: " "
+ text run at (5,25) width 18 RTL: " \x{645}\x{646}"
+ text run at (23,25) width 40: "12345"
+ RenderBlock {DIV} at (0,122) size 90x50 [border: (1px solid #0000FF)]
+ RenderText {#text} at (5,5) size 58x39
+ text run at (5,5) width 55 RTL: "\x{627}\x{644}\x{645}\x{627}\x{626}\x{629} \x{645}\x{644}\x{64A}\x{627}\x{631}"
+ text run at (5,25) width 18 RTL: " \x{645}\x{646}"
+ text run at (23,25) width 40: "12345"
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.checksum b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.checksum
new file mode 100644
index 0000000..c5148abc
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.checksum
@@ -0,0 +1 @@
+05bce6d5f9eda6bc32aaa35be91471ca \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.png b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.png
new file mode 100644
index 0000000..2e8dff5
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.png
Binary files differ
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.txt
new file mode 100644
index 0000000..966e4f2
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-CS-after-AN-expected.txt
@@ -0,0 +1,13 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x88
+ RenderBlock {HTML} at (0,0) size 800x88
+ RenderBody {BODY} at (8,16) size 784x56
+ RenderBlock {P} at (0,0) size 784x20
+ RenderText {#text} at (0,0) size 449x19
+ text run at (0,0) width 449: "The following should look like: Arabic characters 123.4 Arabic characters."
+ RenderBlock {P} at (0,36) size 784x20
+ RenderText {#text} at (0,0) size 76x19
+ text run at (0,0) width 21 RTL: " \x{644}\x{645}\x{646}"
+ text run at (21,0) width 36: "123.4"
+ text run at (57,0) width 19 RTL: "\x{627}\x{628}\x{62C} "
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.checksum b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.checksum
new file mode 100644
index 0000000..10d8b95
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.checksum
@@ -0,0 +1 @@
+cd45202aa1f6bdb39175309ad1693fc6 \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.png b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.png
new file mode 100644
index 0000000..79b7f5e
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.png
Binary files differ
diff --git a/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.txt b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.txt
new file mode 100644
index 0000000..123e96e
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-linux/LayoutTests/fast/text/international/bidi-linebreak-001-expected.txt
@@ -0,0 +1,21 @@
+layer at (0,0) size 800x600
+ RenderView at (0,0) size 800x600
+layer at (0,0) size 800x184
+ RenderBlock {HTML} at (0,0) size 800x184
+ RenderBody {BODY} at (8,16) size 784x152
+ RenderBlock {P} at (0,0) size 784x40
+ RenderText {#text} at (0,0) size 733x39
+ text run at (0,0) width 733: "This HTML tests if the 'while-space' property controls the behavors of line-break characters (U+000A and U+000D) in a"
+ text run at (0,20) width 81: "complex text."
+ RenderBlock {P} at (0,56) size 784x20
+ RenderText {#text} at (0,0) size 485x19
+ text run at (0,0) width 281: "If this test succeeds, you can see three words \""
+ text run at (281,0) width 34 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
+ text run at (315,0) width 170: "\", separated with line-break."
+ RenderBlock {P} at (0,92) size 784x60
+ RenderText {#text} at (0,0) size 34x59
+ text run at (0,0) width 34 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
+ text run at (34,0) width 0: " "
+ text run at (0,20) width 34 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
+ text run at (34,20) width 0: " "
+ text run at (0,40) width 34 RTL: "\x{5E9}\x{5D5}\x{5BC}\x{5E8}\x{5D4}"
diff --git a/webkit/tools/layout_tests/test_expectations.txt b/webkit/tools/layout_tests/test_expectations.txt
index 8f2160d0..082257a 100644
--- a/webkit/tools/layout_tests/test_expectations.txt
+++ b/webkit/tools/layout_tests/test_expectations.txt
@@ -836,7 +836,6 @@ BUG10291 WIN LINUX : LayoutTests/svg/W3C-SVG-1.1/pservers-pattern-01-b.svg = FAI
// Selection wrong.
BUG10292 MAC LINUX : LayoutTests/editing/selection/5354455-1.html = FAIL
-BUG10293 LINUX : LayoutTests/fast/text/international/bidi-linebreak-001.html = FAIL
BUG10293 LINUX : LayoutTests/fast/text/international/bidi-linebreak-002.html = FAIL
BUG10293 LINUX : LayoutTests/fast/text/international/bidi-linebreak-003.html = FAIL
@@ -1259,14 +1258,10 @@ BUG10343 LINUX MAC : LayoutTests/fast/text/international/complex-character-based
BUG10343 LINUX : LayoutTests/fast/text/large-text-composed-char.html = FAIL
// Missing text -- slow font path unimplemented?
-BUG10344 LINUX : LayoutTests/fast/text/international/bidi-AN-after-empty-run.html = FAIL
BUG10344 LINUX : LayoutTests/fast/text/international/bidi-control-chars-treated-as-ZWS.html = FAIL
BUG10344 LINUX : LayoutTests/fast/text/international/bidi-listbox-atsui.html = FAIL
BUG10344 LINUX : LayoutTests/fast/text/should-use-atsui.html = FAIL
-// Missing Arabic font.
-BUG10345 LINUX : LayoutTests/fast/text/international/bidi-CS-after-AN.html = FAIL
-
// Missing Hindi font.
BUG10346 LINUX MAC : LayoutTests/fast/text/international/hindi-spacing.html = FAIL
@@ -2116,9 +2111,9 @@ BUG9768 LINUX WIN : LayoutTests/fast/forms/select-visual-hebrew.html = FAIL
BUG9768 LINUX WIN : LayoutTests/fast/forms/visual-hebrew-text-field.html = FAIL
// Linux looks ok, rebaselined.
BUG9768 WIN : LayoutTests/fast/text/cg-fallback-bolding.html = FAIL
-BUG9768 LINUX WIN : LayoutTests/fast/text/international/001.html = FAIL
-BUG9768 LINUX WIN : LayoutTests/fast/text/international/002.html = FAIL
-BUG9768 LINUX WIN : LayoutTests/fast/text/international/003.html = FAIL
+BUG9768 WIN : LayoutTests/fast/text/international/001.html = FAIL
+BUG9768 WIN : LayoutTests/fast/text/international/002.html = FAIL
+BUG9768 WIN : LayoutTests/fast/text/international/003.html = FAIL
BUG9768 LINUX WIN : LayoutTests/fast/text/international/wrap-CJK-001.html = FAIL
// Merge WebKit 42200:42244 regressions