summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-09 14:53:49 +0000
committerdeanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-09 14:53:49 +0000
commit31db0c695037f0e0a0492ee5eb7564ae85357b52 (patch)
treea79144a44bc55300a91c11b3c110b617ad526960
parent1d9391a37096df5cc7e1221a04c52157dcebadc0 (diff)
downloadchromium_src-31db0c695037f0e0a0492ee5eb7564ae85357b52.zip
chromium_src-31db0c695037f0e0a0492ee5eb7564ae85357b52.tar.gz
chromium_src-31db0c695037f0e0a0492ee5eb7564ae85357b52.tar.bz2
Add baselines for new test password-placeholder-text-security.
We match the behavior of upstream Mac, we differ on rendering fonts and controls. Review URL: http://codereview.chromium.org/13289 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@6583 0039d316-1c4b-4281-b951-d872f2087c98
-rwxr-xr-xwebkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.checksum1
-rwxr-xr-xwebkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.pngbin0 -> 7096 bytes
-rwxr-xr-xwebkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.txt35
-rw-r--r--webkit/tools/layout_tests/test_lists/tests_fixable.txt1
4 files changed, 36 insertions, 1 deletions
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.checksum b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.checksum
new file mode 100755
index 0000000..2e8f5f5
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.checksum
@@ -0,0 +1 @@
+40d6fbb892a86bf5b4de476cc5d17365 \ No newline at end of file
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.png b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.png
new file mode 100755
index 0000000..206e993
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.png
Binary files differ
diff --git a/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.txt b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.txt
new file mode 100755
index 0000000..f842b0a
--- /dev/null
+++ b/webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/forms/password-placeholder-text-security-expected.txt
@@ -0,0 +1,35 @@
+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
+ RenderText {#text} at (0,0) size 613x19
+ text run at (0,0) width 613: "This tests that the text security mode switches correctly when the placeholder appears and disappears."
+ RenderBR {BR} at (613,15) size 0x0
+ RenderText {#text} at (0,21) size 339x19
+ text run at (0,21) width 339: "Leave field 1 alone. It should show the placeholder text: "
+ RenderTextControl {INPUT} at (339,20) size 155x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderBR {BR} at (494,36) size 0x0
+ RenderText {#text} at (0,43) size 389x19
+ text run at (0,43) width 142: "Focus field 2 and type. "
+ text run at (142,43) width 247: "It should show bullets for the password.: "
+ RenderTextControl {INPUT} at (389,42) size 155x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderBR {BR} at (544,58) size 0x0
+ RenderText {#text} at (0,65) size 561x19
+ text run at (0,65) width 142: "Focus field 3 and type. "
+ text run at (142,65) width 202: "Clear the value and blur the field. "
+ text run at (344,65) width 217: "It should show the placeholder text: "
+ RenderTextControl {INPUT} at (561,64) size 155x22 [bgcolor=#FFFFFF] [border: (2px inset #000000)]
+ RenderBR {BR} at (716,80) size 0x0
+layer at (349,31) size 151x16
+ RenderBlock {DIV} at (2,3) size 151x16 [color=#A9A9A9]
+ RenderText {#text} at (1,0) size 66x16
+ text run at (1,0) width 66: "placeholder"
+layer at (399,53) size 151x16
+ RenderBlock {DIV} at (2,3) size 151x16
+ RenderText {#text} at (1,0) size 20x16
+ text run at (1,0) width 20: "\x{2022}\x{2022}\x{2022}\x{2022}"
+layer at (571,75) size 151x16
+ RenderBlock {DIV} at (2,3) size 151x16 [color=#A9A9A9]
+ RenderText {#text} at (1,0) size 66x16
+ text run at (1,0) width 66: "placeholder"
diff --git a/webkit/tools/layout_tests/test_lists/tests_fixable.txt b/webkit/tools/layout_tests/test_lists/tests_fixable.txt
index b8d6827..673ebc2 100644
--- a/webkit/tools/layout_tests/test_lists/tests_fixable.txt
+++ b/webkit/tools/layout_tests/test_lists/tests_fixable.txt
@@ -1032,7 +1032,6 @@ LINUX WIN : LayoutTests/fast/block/positioning/replaced-inside-fixed-top-bottom.
LayoutTests/fast/dom/StyleSheet/ownerNode-lifetime-2.html = FAIL
LayoutTests/fast/dom/constructors-cached-navigate.html = FAIL
LayoutTests/fast/dom/constructors-cached.html = FAIL
-LayoutTests/fast/forms/password-placeholder-text-security.html = FAIL
LayoutTests/fast/js/arguments.html = FAIL
LayoutTests/fast/js/construct-global-object.html = FAIL
LayoutTests/fast/js/function-dot-arguments.html = FAIL