diff options
author | Teng-Hui Zhu <ztenghui@google.com> | 2010-11-10 15:31:59 -0800 |
---|---|---|
committer | Teng-Hui Zhu <ztenghui@google.com> | 2010-11-17 13:35:59 -0800 |
commit | 28040489d744e0c5d475a88663056c9040ed5320 (patch) | |
tree | c463676791e4a63e452a95f0a12b2a8519730693 /WebCore/manual-tests | |
parent | eff9be92c41913c92fb1d3b7983c071f3e718678 (diff) | |
download | external_webkit-28040489d744e0c5d475a88663056c9040ed5320.zip external_webkit-28040489d744e0c5d475a88663056c9040ed5320.tar.gz external_webkit-28040489d744e0c5d475a88663056c9040ed5320.tar.bz2 |
Merge WebKit at r71558: Initial merge by git.
Change-Id: Ib345578fa29df7e4bc72b4f00e4a6fddcb754c4c
Diffstat (limited to 'WebCore/manual-tests')
9 files changed, 304 insertions, 0 deletions
diff --git a/WebCore/manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj/project.pbxproj b/WebCore/manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj/project.pbxproj index 22c6659..a8a08f3 100644 --- a/WebCore/manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj/project.pbxproj +++ b/WebCore/manual-tests/NPN_Invoke/NPN_Invoke.xcodeproj/project.pbxproj @@ -113,7 +113,14 @@ isa = PBXProject; buildConfigurationList = 149C298708902C53008A9EFC /* Build configuration list for PBXProject "NPN_Invoke" */; compatibilityVersion = "Xcode 2.4"; + developmentRegion = English; hasScannedForEncodings = 1; + knownRegions = ( + English, + Japanese, + French, + German, + ); mainGroup = 089C166AFE841209C02AAC07 /* NetscapeMoviePlugIn */; projectDirPath = ""; projectRoot = ""; diff --git a/WebCore/manual-tests/autocorrection/continue-typing-to-dismiss-reversion.html b/WebCore/manual-tests/autocorrection/continue-typing-to-dismiss-reversion.html new file mode 100644 index 0000000..b8521c0 --- /dev/null +++ b/WebCore/manual-tests/autocorrection/continue-typing-to-dismiss-reversion.html @@ -0,0 +1,49 @@ +<html> +<head> + +<style> +.editing { + border: 2px solid red; + padding: 12px; + font-size: 24px; +} +</style> +<script src=../../../LayoutTests/editing/editing.js language="JavaScript" type="text/JavaScript" ></script> + +<script> +function editingTest() { + typeCharacterCommand('t'); + typeCharacterCommand('h'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + typeCharacterCommand('m'); + typeCharacterCommand('e'); + typeCharacterCommand('s'); + typeCharacterCommand('a'); + typeCharacterCommand('g'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + execMoveSelectionBackwardByCharacterCommand(); +} + +</script> + +<title>Continue Typing to Dismiss Reversion Panel Test</title> +</head> +<body> +<div><p>This test verifies that, after reversion panel is shown, continue typing will dismiss the reversion panel.</p> +<p>After seeing the reversion panel, start typing (excluding whitespace). You should see the panel being +dismissed once you start typing.</p> +<p style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously +frequently revert 'message' to 'mesage'. To fix this, remove all files in ~/Library/Spelling, then kill AppleSpell.service process.</p> +<div contenteditable id="root" class="editing"> +<span id="test"></span> +</div> + + +<script> +runEditingTest(); +</script> + +</body> +</html> diff --git a/WebCore/manual-tests/autocorrection/delete-to-dismiss-reversion.html b/WebCore/manual-tests/autocorrection/delete-to-dismiss-reversion.html new file mode 100644 index 0000000..c39b2ac --- /dev/null +++ b/WebCore/manual-tests/autocorrection/delete-to-dismiss-reversion.html @@ -0,0 +1,49 @@ +<html> +<head> + +<style> +.editing { + border: 2px solid red; + padding: 12px; + font-size: 24px; +} +</style> +<script src=../../../LayoutTests/editing/editing.js language="JavaScript" type="text/JavaScript" ></script> + +<script> +function editingTest() { + typeCharacterCommand('t'); + typeCharacterCommand('h'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + typeCharacterCommand('m'); + typeCharacterCommand('e'); + typeCharacterCommand('s'); + typeCharacterCommand('a'); + typeCharacterCommand('g'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + execMoveSelectionBackwardByCharacterCommand(); +} + +</script> + +<title>Delete to Dismiss Reversion Panel Test</title> +</head> +<body> +<div><p>This test verifies that, after reversion panel is shown, continue deleting the word will dismiss the reversion panel.</p> +<p>After seeing the reversion panel, start deleting the corrected word character by character. You should see the panel being +dismissed once you start deleting.</p> +<p style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously +frequently revert 'message' to 'mesage'. To fix this, remove all files in ~/Library/Spelling, then kill AppleSpell.service process.</p> +<div contenteditable id="root" class="editing"> +<span id="test"></span> +</div> + + +<script> +runEditingTest(); +</script> + +</body> +</html> diff --git a/WebCore/manual-tests/autocorrection/delete-to-end-of-word-to-show-reversion.html b/WebCore/manual-tests/autocorrection/delete-to-end-of-word-to-show-reversion.html new file mode 100644 index 0000000..320ed8c --- /dev/null +++ b/WebCore/manual-tests/autocorrection/delete-to-end-of-word-to-show-reversion.html @@ -0,0 +1,49 @@ +<html> +<head> + +<style> +.editing { + border: 2px solid red; + padding: 12px; + font-size: 24px; +} +</style> +<script src=../../../LayoutTests/editing/editing.js language="JavaScript" type="text/JavaScript" ></script> + +<script> +function editingTest() { + typeCharacterCommand('t'); + typeCharacterCommand('h'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + typeCharacterCommand('m'); + typeCharacterCommand('e'); + typeCharacterCommand('s'); + typeCharacterCommand('a'); + typeCharacterCommand('g'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + execDeleteCommand(); +} + +</script> + +<title>Delete to End of Word to Show Reversion Panel Test</title> +</head> +<body> +<div><p>This test verifies that reversion panel is shown when user moves carret to previously corrected word using delete key.</p> +<p>After seeing the reversion panel, press ESC key, then space key. You should see the phrase "the mesage" +where "mesage" has red mispell underline. </p> +<p style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously +frequently revert 'message' to 'mesage'. To fix this, remove all files in ~/Library/Spelling, then kill AppleSpell.service process.</p> +<div contenteditable id="root" class="editing"> +<span id="test"></span> +</div> + + +<script> +runEditingTest(); +</script> + +</body> +</html> diff --git a/WebCore/manual-tests/autocorrection/move-to-end-of-word-to-show-reversion.html b/WebCore/manual-tests/autocorrection/move-to-end-of-word-to-show-reversion.html new file mode 100644 index 0000000..8ca2a6b --- /dev/null +++ b/WebCore/manual-tests/autocorrection/move-to-end-of-word-to-show-reversion.html @@ -0,0 +1,49 @@ +<html> +<head> + +<style> +.editing { + border: 2px solid red; + padding: 12px; + font-size: 24px; +} +</style> +<script src=../../../LayoutTests/editing/editing.js language="JavaScript" type="text/JavaScript" ></script> + +<script> +function editingTest() { + typeCharacterCommand('t'); + typeCharacterCommand('h'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + typeCharacterCommand('m'); + typeCharacterCommand('e'); + typeCharacterCommand('s'); + typeCharacterCommand('a'); + typeCharacterCommand('g'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + execMoveSelectionBackwardByCharacterCommand(); +} + +</script> + +<title>Move to End of Word to Show Reversion Panel Test</title> +</head> +<body> +<div><p>This test verifies that reversion panel is shown when user moves carret to previously corrected word</p> +<p>After seeing the reversion panel, press ESC key, then space key. You should see the phrase "the mesage" +where "mesage" has red mispell underline. </p> +<p style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously +frequently revert 'message' to 'mesage'. To fix this, remove all files in ~/Library/Spelling, then kill AppleSpell.service process.</p> +<div contenteditable id="root" class="editing"> +<span id="test"></span> +</div> + + +<script> +runEditingTest(); +</script> + +</body> +</html> diff --git a/WebCore/manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html b/WebCore/manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html new file mode 100644 index 0000000..eeea0f7 --- /dev/null +++ b/WebCore/manual-tests/autocorrection/type-whitespace-to-dismiss-reversion.html @@ -0,0 +1,50 @@ +<html> +<head> + +<style> +.editing { + border: 2px solid red; + padding: 12px; + font-size: 24px; +} +</style> +<script src=../../../LayoutTests/editing/editing.js language="JavaScript" type="text/JavaScript" ></script> + +<script> +function editingTest() { + typeCharacterCommand('t'); + typeCharacterCommand('h'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + typeCharacterCommand('m'); + typeCharacterCommand('e'); + typeCharacterCommand('s'); + typeCharacterCommand('a'); + typeCharacterCommand('g'); + typeCharacterCommand('e'); + typeCharacterCommand(' '); + execMoveSelectionBackwardByCharacterCommand(); +} + +</script> + +<title>Type Whitespace to Dismiss Reversion Panel Test</title> +</head> +<body> +<div><p>This test verifies that, after reversion panel is shown, typing whitespace will dismiss the reversion panel. +It also keep the existing autocorrection underline.</p> +<p>After seeing the reversion panel, type whitespace. You should see the panel being dismissed once you start typing. +However, the word "message" still has blue underline.</p> +<p style="color:green">Note, this test can fail due to user specific spell checking data. If the user has previously +frequently revert 'message' to 'mesage'. To fix this, remove all files in ~/Library/Spelling, then kill AppleSpell.service process.</p> +<div contenteditable id="root" class="editing"> +<span id="test"></span> +</div> + + +<script> +runEditingTest(); +</script> + +</body> +</html> diff --git a/WebCore/manual-tests/frames/nested-iframe-blit-on-scroll.html b/WebCore/manual-tests/frames/nested-iframe-blit-on-scroll.html new file mode 100644 index 0000000..6d4d30e --- /dev/null +++ b/WebCore/manual-tests/frames/nested-iframe-blit-on-scroll.html @@ -0,0 +1,31 @@ +<html> +<head> + <style type="text/css"> + iframe { + position: relative; + z-index: 1; + left: 10px; + top: 10px; + border: 1px solid black; + } + + #overlap { + position: absolute; + width: 100px; + height: 100px; + z-index: 2; + left: 10px; + top: 100px; + background-color: blue; + } + p { + margin-top: 50px; + } + </style> +</head> +<body> +<div id="overlap"></div> +<iframe id="frame" src="resources/blit-on-scroll-subframe.html" scrolling="no"></iframe> +<p>The blue box should not get "smeared" when you scroll the inner iframe.</p> +</body> +</html> diff --git a/WebCore/manual-tests/frames/resources/blit-on-scroll-subframe.html b/WebCore/manual-tests/frames/resources/blit-on-scroll-subframe.html new file mode 100644 index 0000000..b0dc4b9 --- /dev/null +++ b/WebCore/manual-tests/frames/resources/blit-on-scroll-subframe.html @@ -0,0 +1,10 @@ +<style type="text/css" media="screen"> + iframe { + border: 1px solid black; + } + + body { + height: 1000px; + } +</style> +<iframe id="subframe" src="blit-on-scroll-subsubframe.html" width="280" height="250"></iframe> diff --git a/WebCore/manual-tests/frames/resources/blit-on-scroll-subsubframe.html b/WebCore/manual-tests/frames/resources/blit-on-scroll-subsubframe.html new file mode 100644 index 0000000..9084096 --- /dev/null +++ b/WebCore/manual-tests/frames/resources/blit-on-scroll-subsubframe.html @@ -0,0 +1,10 @@ +<style type="text/css" media="screen"> + iframe { + padding: 10px; + } + + body { + background-color: gray; + height: 1000px; + } +</style> |