diff options
Diffstat (limited to 'Source/WebCore/manual-tests/gtk')
-rw-r--r-- | Source/WebCore/manual-tests/gtk/caret-browsing.html | 7 | ||||
-rw-r--r-- | Source/WebCore/manual-tests/gtk/copy-htmltext.html | 24 | ||||
-rw-r--r-- | Source/WebCore/manual-tests/gtk/cursor-image.html | 4 | ||||
-rw-r--r-- | Source/WebCore/manual-tests/gtk/floatingdiv.html | 149 | ||||
-rw-r--r-- | Source/WebCore/manual-tests/gtk/paste-richtext-from-firefox.html | 30 | ||||
-rw-r--r-- | Source/WebCore/manual-tests/gtk/plugin-resize-scroll.html | 28 | ||||
-rw-r--r-- | Source/WebCore/manual-tests/gtk/resources/cell.cur | bin | 0 -> 326 bytes | |||
-rw-r--r-- | Source/WebCore/manual-tests/gtk/resources/long_cell.cur | 0 |
8 files changed, 242 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/gtk/caret-browsing.html b/Source/WebCore/manual-tests/gtk/caret-browsing.html new file mode 100644 index 0000000..182b043 --- /dev/null +++ b/Source/WebCore/manual-tests/gtk/caret-browsing.html @@ -0,0 +1,7 @@ +<html> +<body> +<p>Manual test for Caret Browsing. Resize your window until the first paragraph fills at least two lines of text . Enable caret browsing mode (usually by pressing theF7 key). Press down. Now you should be on the second line of the first paragraph. Press up. Now you should be on the first line again. Now press Ctrl+Down.</p> +<p>You should be on the first line of the second paragraph now. Press Ctrl+Down again.</p> +<p>You should be on the first line of the third paragraph now. Press Ctrl+Up, and you should be back on the second paragraph.</p> +</body> +</html> diff --git a/Source/WebCore/manual-tests/gtk/copy-htmltext.html b/Source/WebCore/manual-tests/gtk/copy-htmltext.html new file mode 100644 index 0000000..0b811f6 --- /dev/null +++ b/Source/WebCore/manual-tests/gtk/copy-htmltext.html @@ -0,0 +1,24 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>Copy HTML content</title> + </head> + <body> + <h1>Copy HTML content from currently editable area</h1> + <div title="EditableArea" contentEditable="true" + style="display: block; border: 2px solid black; margin: 5px; padding: 15px;"> + Here is a Editable Area,<br /> + <img title="It's the test image" src="http://webkit.org/images/icon-gold.png" /><br /><br /> + <b>STEPS TO TEST:</b><br /> + <ol> + <li>Select all that text or picture in this editable area (type <b>Ctrl-A</b> / Option-A)</li> + <li><b>Copy</b> them use <b>Ctrl-C</b> / Option-C</li> + <li>Move the cursor to a blank line below</li> + <li>Paste them use <b>Ctrl-V</b> / Option-V</li> + </ol> + <p><b>Ensure</b> that text and image has been pasted with formats and no garbled.</p> + <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> + </div> + </body> +</html> diff --git a/Source/WebCore/manual-tests/gtk/cursor-image.html b/Source/WebCore/manual-tests/gtk/cursor-image.html new file mode 100644 index 0000000..a231337 --- /dev/null +++ b/Source/WebCore/manual-tests/gtk/cursor-image.html @@ -0,0 +1,4 @@ +<div>Mouse over the grey block below to change the cursor to a small cross.</div> +<div style="width: 100px; height: 100px; background: lightblue; cursor:url(resources/cell.cur), default;"> </div> +<div>Mouse over the grey block below to change the cursor to three small crosses.</div> +<div style="width: 100px; height: 100px; background: lightblue; cursor:url(resources/long_cell.cur), default;"> </div> diff --git a/Source/WebCore/manual-tests/gtk/floatingdiv.html b/Source/WebCore/manual-tests/gtk/floatingdiv.html new file mode 100644 index 0000000..b7169c7 --- /dev/null +++ b/Source/WebCore/manual-tests/gtk/floatingdiv.html @@ -0,0 +1,149 @@ +<html> +<body> +1<br /> +2<br /> +3<br /> +4<br /> +5<br /> +6<br /> +7<br /> +8<br /> +9<br /> +10<br /> +11<br /> +12<br /> +13<br /> +14<br /> +15<br /> +16<br /> +17<br /> +18<br /> +19<br /> +20<br /> +21<br /> +22<br /> +23<br /> +24<br /> +25<br /> +26<br /> +27<br /> +28<br /> +29<br /> +30<br /> +31<br /> +32<br /> +33<br /> +34<br /> +35<br /> +36<br /> +37<br /> +38<br /> +39<br /> +40<br /> +41<br /> +42<br /> +43<br /> +44<br /> +45<br /> +46<br /> +47<br /> +48<br /> +49<br /> +50<br /> +51<br /> +52<br /> +53<br /> +54<br /> +55<br /> +56<br /> +57<br /> +58<br /> +59<br /> +60<br /> +61<br /> +62<br /> +63<br /> +64<br /> +65<br /> +66<br /> +67<br /> +68<br /> +69<br /> +70<br /> +71<br /> +72<br /> +73<br /> +74<br /> +75<br /> +76<br /> +77<br /> +78<br /> +79<br /> +80<br /> +<div style="border : solid 2px #ff0000; position: absolute; float: right; background : #000000; color : #ffffff; padding : 4px; width : 200px; height : 100px; overflow : auto; "> +1<br /> +2<br /> +3<br /> +4<br /> +5<br /> +6<br /> +7<br /> +8<br /> +9<br /> +10<br /> +61<br /> +62<br /> +63<br /> +64<br /> +65<br /> +66<br /> +67<br /> +68<br /> +69<br /> +70<br /> +</div> +127<br /> +128<br /> +129<br /> +130<br /> +131<br /> +132<br /> +133<br /> +134<br /> +135<br /> +136<br /> +137<br /> +138<br /> +139<br /> +140<br /> +141<br /> +142<br /> +143<br /> +144<br /> +145<br /> +146<br /> +147<br /> +148<br /> +149<br /> +150<br /> +151<br /> +152<br /> +153<br /> +154<br /> +155<br /> +156<br /> +157<br /> +158<br /> +159<br /> +160<br /> +161<br /> +162<br /> +163<br /> +164<br /> +165<br /> +166<br /> +167<br /> +168<br /> +169<br /> +170<br /> +</body> diff --git a/Source/WebCore/manual-tests/gtk/paste-richtext-from-firefox.html b/Source/WebCore/manual-tests/gtk/paste-richtext-from-firefox.html new file mode 100644 index 0000000..c739a59 --- /dev/null +++ b/Source/WebCore/manual-tests/gtk/paste-richtext-from-firefox.html @@ -0,0 +1,30 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> + <title>Paste rich text from firefox</title> + </head> + <body> + <p><b>BUG ID:</b> + <a href="https://bugs.webkit.org/show_bug.cgi?id=26791">Bugzilla bug 26791</a> + [Gtk] Paste of rich text from firefox results garbled markup + </p> + <h1>Paste rich text from firefox</h1> + <p> + <b>STEPS TO TEST:</b><br> + <ol> + <li>Launch FireFox to browse <a href="http://www.apple.com">http://www.apple.com</a></li> + <li>Select that text or picture from FireFox page</li> + <li>Copy them use <b>Ctrl-C</b> / Option-C, (or just select them on Linux)</li> + <li>Back in WebkitGtk, click inside the EditableArea below, </li> + <li>Paste them use <b>Ctrl-V</b> / Option-V, (or just Middle Mouse Click on Linux)</li> + </ol> + <p><b>Ensure</b> that text or picture has been pasted with formats and no garbled.</p> + <div title="EditableArea" contentEditable="true" + style="display: block; border: 1px solid green; margin: 5px; padding: 15px;"> + <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> <br /> + </div> + </p> + </body> +</html> + diff --git a/Source/WebCore/manual-tests/gtk/plugin-resize-scroll.html b/Source/WebCore/manual-tests/gtk/plugin-resize-scroll.html new file mode 100644 index 0000000..d452b95 --- /dev/null +++ b/Source/WebCore/manual-tests/gtk/plugin-resize-scroll.html @@ -0,0 +1,28 @@ +<html> + <head> + <style> + html, body { + background-color: blue; + color: white; + } + #spacer { + width: 100%; + height: 1000px; + background-color: yellow; + } + </style> + </script> + </head> + <body> + <p> + Resize the browser, ensure that the plugin resizes and does not produce a greyish border. + Scroll the view, ensure that plugin scrolls out of view. + </p> + + <embed id="embed" height="100" style="width: 100%" pbgcolor="green" + src="http://www.tizag.com/pics/example.swf" type="application/x-shockwave-flash"/> + + <div id="spacer"><p>content</p></div> + </body> +</html> + diff --git a/Source/WebCore/manual-tests/gtk/resources/cell.cur b/Source/WebCore/manual-tests/gtk/resources/cell.cur Binary files differnew file mode 100644 index 0000000..decfbdc --- /dev/null +++ b/Source/WebCore/manual-tests/gtk/resources/cell.cur diff --git a/Source/WebCore/manual-tests/gtk/resources/long_cell.cur b/Source/WebCore/manual-tests/gtk/resources/long_cell.cur new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/Source/WebCore/manual-tests/gtk/resources/long_cell.cur |