diff options
author | Russell Brenner <russellbrenner@google.com> | 2010-11-18 17:33:13 -0800 |
---|---|---|
committer | Russell Brenner <russellbrenner@google.com> | 2010-12-02 13:47:21 -0800 |
commit | 6b70adc33054f8aee8c54d0f460458a9df11b8a5 (patch) | |
tree | 103a13998c33944d6ab3b8318c509a037e639460 /WebCore/manual-tests | |
parent | bdf4ebc8e70b2d221b6ee7a65660918ecb1d33aa (diff) | |
download | external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.zip external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.tar.gz external_webkit-6b70adc33054f8aee8c54d0f460458a9df11b8a5.tar.bz2 |
Merge WebKit at r72274: Initial merge by git.
Change-Id: Ie51f0b4a16da82942bd516dce59cfb79ebbe25fb
Diffstat (limited to 'WebCore/manual-tests')
6 files changed, 130 insertions, 0 deletions
diff --git a/WebCore/manual-tests/compositing/caret-in-compositing-frame.html b/WebCore/manual-tests/compositing/caret-in-compositing-frame.html new file mode 100644 index 0000000..703f3b2 --- /dev/null +++ b/WebCore/manual-tests/compositing/caret-in-compositing-frame.html @@ -0,0 +1,7 @@ +<style type="text/css" media="screen"> + iframe { + border: 1px solid black; + width: 400px; + } +</style> +<iframe src="resources/editable-compositing-subframe.html" scrolling="no"></iframe> diff --git a/WebCore/manual-tests/compositing/resources/editable-compositing-subframe.html b/WebCore/manual-tests/compositing/resources/editable-compositing-subframe.html new file mode 100644 index 0000000..24b43e8 --- /dev/null +++ b/WebCore/manual-tests/compositing/resources/editable-compositing-subframe.html @@ -0,0 +1,9 @@ +<style type="text/css" media="screen"> + #editable { + height: 100px; + -webkit-transform: translateZ(0px); + } +</style> +<div id="editable" contenteditable="true"> +The caret should blink correctly when editing this paragraph. +</div> diff --git a/WebCore/manual-tests/display-none-option.html b/WebCore/manual-tests/display-none-option.html new file mode 100644 index 0000000..30071f3 --- /dev/null +++ b/WebCore/manual-tests/display-none-option.html @@ -0,0 +1,11 @@ +<p> +When you click the following <select>, you should see only two options. +Mac Safari doesn't pass this test yet. +See <a href="https://bugs.webkit.org/show_bug.cgi?id=8351">Bug 8351</a> for detail. + +<p> +<select> + <option>First choice</option> + <option style="display: none">You must NOT see this</option> + <option>Second choice</option> +</select> diff --git a/WebCore/manual-tests/print-onload-with-image.html b/WebCore/manual-tests/print-onload-with-image.html new file mode 100644 index 0000000..4d34a11 --- /dev/null +++ b/WebCore/manual-tests/print-onload-with-image.html @@ -0,0 +1,13 @@ +<html> +<head> +<meta http-equiv=Content-Type content="text/html; charset=UTF-8"> +<title>Print Test</title> +</head> +<body onload="window.print()"> +<img src="http://code.google.com/p/chromium/logo?cct=1287781185"> +<H1>Hello, world.</h1> +<p> +This webpage should pop up a print dialog. +</p> +</body> +</html> diff --git a/WebCore/manual-tests/select-scroll.html b/WebCore/manual-tests/select-scroll.html new file mode 100644 index 0000000..95b8a5a --- /dev/null +++ b/WebCore/manual-tests/select-scroll.html @@ -0,0 +1,34 @@ +<p> +When you click the following <select>, you should see a scrollbar, +and should be able to scroll down to see "Z" as the last option. +See <a href="https://bugs.webkit.org/show_bug.cgi?id=49306">Bug 49306</a> for detail. + +<p> +<select> + <option>A</option> + <option>B</option> + <option>C</option> + <option>D</option> + <option>E</option> + <option>F</option> + <option>G</option> + <option>H</option> + <option>I</option> + <option>J</option> + <option>K</option> + <option>L</option> + <option>M</option> + <option>N</option> + <option>O</option> + <option>P</option> + <option>Q</option> + <option>R</option> + <option>S</option> + <option>T</option> + <option>U</option> + <option>V</option> + <option>W</option> + <option>X</option> + <option>Y</option> + <option>Z</option> +</select> diff --git a/WebCore/manual-tests/svg-deep-clone-to-new-doc.html b/WebCore/manual-tests/svg-deep-clone-to-new-doc.html new file mode 100644 index 0000000..faf0ef5 --- /dev/null +++ b/WebCore/manual-tests/svg-deep-clone-to-new-doc.html @@ -0,0 +1,56 @@ +<!DOCTYPE html> +<html lang="en"> +<head> + <meta charset="utf-8" /> + + <!-- To run this test: Open this page, close the window, and (hopefully) don't crash.--> + + <script> + function gc() + { + if (window.GCController) + GCController.collect(); + else + for (var i = 0; i < 10000; ++i) // Allocate a sufficient number of objects to force a GC. + ({}); + } + window.onload = init; + + function init() { + var iframe = document.getElementById("iframe"); + var thesvgdiv = document.getElementById('thediv'); + var theclone = thesvgdiv.cloneNode(true); + iframe.contentDocument.body.appendChild(theclone); + setTimeout(function() { + iframe.style.display = 'none'; + iframe.parentNode.removeChild(iframe); + gc(); + window.close(); + }, 500); + } + </script> +</head> + +<body> + <div> + <div id="thediv"> + <svg id="thesvg" width="12cm" height="3.6cm" viewBox="0 0 1000 300"> + <defs> + <lineargradient id="orange_red" x2="0" y2="1" > + <stop stop-color="yellow" /> + <stop offset="1" stop-color="red" /> + </lineargradient> + </defs> + <path id="MyPath" d="M 100 200 C 200 100 300 0 400 100 C 500 200 600 300 700 200 C 800 100 900 100 900 100" fill="none" stroke="red" /> + <text font-family="Verdana" font-size="72.5" fill="url(#orange_red)" > + <textpath xlink:href="#MyPath"> Look mom, SVG in HTML! </textpath> + </text> + (If you had an HTML5 compliant browser, the previous text would be colored and on a path.) + </svg> + </div> + <div> + <iframe id="iframe" width="50%" height="50%"></iframe> + </div> + </div> +</body> +</html>
\ No newline at end of file |