[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75
eric at webkit.org
eric at webkit.org
Thu Oct 29 20:49:31 UTC 2009
The following commit has been merged in the webkit-1.1 branch:
commit 7407726193f2e4d4da493b0f10e2bd9bbb572e36
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Oct 21 13:08:07 2009 +0000
2009-10-21 Girish Ramakrishnan <girish at forwardbias.in>
Reviewed by Holger Freyther.
Plugins: Create manual tests for testing plugins
Create two test files:
1. windowed.html - Test plugin in windowed mode.
2. windowless.html - Test plugin in windowless mode.
https://bugs.webkit.org/show_bug.cgi?id=30503
* manual-tests/plugins/windowed.html: Added.
* manual-tests/plugins/windowless.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49902 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 0ec5a09..3981921 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,18 @@
+2009-10-21 Girish Ramakrishnan <girish at forwardbias.in>
+
+ Reviewed by Holger Freyther.
+
+ Plugins: Create manual tests for testing plugins
+
+ Create two test files:
+ 1. windowed.html - Test plugin in windowed mode.
+ 2. windowless.html - Test plugin in windowless mode.
+
+ https://bugs.webkit.org/show_bug.cgi?id=30503
+
+ * manual-tests/plugins/windowed.html: Added.
+ * manual-tests/plugins/windowless.html: Added.
+
2009-10-21 Satoshi Nakagawa <psychs at limechat.net>
Reviewed by Darin Adler.
diff --git a/WebCore/manual-tests/plugins/windowed.html b/WebCore/manual-tests/plugins/windowed.html
new file mode 100644
index 0000000..917c1b9
--- /dev/null
+++ b/WebCore/manual-tests/plugins/windowed.html
@@ -0,0 +1,96 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>Transparent Flash Test File</title>
+<style>
+ #overlayDiv {
+ position: relative;
+ color: white;
+ background: black;
+ top: 50px;
+ left: -50px;
+ width: 200px;
+ opacity: 0.6;
+ float: left;
+ z-index: 1;
+ display: none;
+ }
+ embed {
+ float: left;
+ -webkit-transition: -webkit-transform 3s ease-in;
+ }
+</style>
+<script>
+ function testResize() {
+ var flashPlugin = document.getElementById('flashPlugin');
+ flashPlugin.width = flashPlugin.width == "200" ? "100" : "200";
+ flashPlugin.height = flashPlugin.height == "200" ? "100" : "200";
+ }
+
+ function testMove() {
+ var flashPlugin = document.getElementById('flashPlugin');
+ var t = parseInt(flashPlugin.style.top);
+ flashPlugin.style['padding-left'] = "100px";
+ }
+
+ function testAnimation() {
+ var flashPlugin = document.getElementById('flashPlugin');
+ flashPlugin.style.webkitTransform='rotate(180deg)';
+ }
+
+ function toggleDivOverFlash() {
+ var overlayDiv = document.getElementById('overlayDiv');
+ if (overlayDiv.style.display != 'block') {
+ overlayDiv.style.display = 'block';
+ } else {
+ overlayDiv.style.display = '';
+ }
+ }
+</script>
+</head>
+
+<body>
+
+ <b> Verify the following tests with and without the page scrolled (including seeming unrelated test cases like printing). <br/>
+ For the Qt port, test with both QtLauncher and QGVLauncher </b> <br/><br/>
+
+ <embed id="flashPlugin" src="http://www.youtube.com/v/loXfcsXRB-w&hl=en&fs=1"
+ width="200" height="200"
+ type="application/x-shockwave-flash">
+ </embed>
+
+ <div id="overlayDiv"> This is an overlay that will display over the flash. In addition, you should be able to see
+ the flash through the div contents. </div>
+
+ <div style="clear:both"/>
+
+ <input type="checkbox" name="resizeCheckBox"> Verify if the flash resizes when element is resized
+ <input type="button" id="resizeButton" value="Test Resize" onClick="testResize()"/><br/>
+
+ <input type="checkbox" name="moveCheckBox"> Verify if the flash moves when element is moved
+ <input type="button" id="moveButton" value="Test Move" onClick="testMove()"/><br/>
+
+ <input type="checkbox" name="animationCheckBox"> Verify css animations with flash
+ <input type="button" id="animationButton" value="Test Animation" onClick="testAnimation()"/><br/>
+
+ <input type="checkbox" name="printCheckBox"> Verify if printing displays flash on the print preview and printer output <br/>
+
+ <input type="checkbox" name="zoomCheckBox"> Verify if elements in flash are correctly painted and clickable after zooming <br/>
+
+ <input type="checkbox" name="screenshotBox"> Verify if taking a screenshot from QtLauncher display flash <br/>
+
+ <input type="checkbox" name="paintSystemsCheckBox"> Verify if flash is displayed with graphicssystems - raster, opengl <br/>
+
+ <input type="checkbox" name="focusCheckBox"> Verify if shifting focus back and forth from flash to html works
+ <input value="Shift focus here"/></br/>
+
+ <input type="checkbox" name="testZIndex"> Test if html can display over flash
+ <input type="button" value="Toggle transparent div" onClick="toggleDivOverFlash()"<br/>
+
+ <input type="checkbox" name="testZIndex"> Test opaque mode by setting wmode to opaque <br/>
+
+ <br/>
+</body>
+
+</html>
diff --git a/WebCore/manual-tests/plugins/windowless.html b/WebCore/manual-tests/plugins/windowless.html
new file mode 100644
index 0000000..d3e0fa5
--- /dev/null
+++ b/WebCore/manual-tests/plugins/windowless.html
@@ -0,0 +1,95 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<title>Transparent Flash Test File</title>
+<style>
+ #overlayDiv {
+ position: relative;
+ color: white;
+ background: black;
+ top: 50px;
+ left: -50px;
+ width: 200px;
+ opacity: 0.6;
+ float: left;
+ z-index: 1;
+ display: none;
+ }
+ embed {
+ float: left;
+ -webkit-transition: -webkit-transform 3s ease-in;
+ }
+</style>
+<script>
+ function testResize() {
+ var flashPlugin = document.getElementById('flashPlugin');
+ flashPlugin.width = flashPlugin.width == "200" ? "100" : "200";
+ flashPlugin.height = flashPlugin.height == "200" ? "100" : "200";
+ }
+
+ function testMove() {
+ var flashPlugin = document.getElementById('flashPlugin');
+ var t = parseInt(flashPlugin.style.top);
+ flashPlugin.style['padding-left'] = "100px";
+ }
+
+ function testAnimation() {
+ var flashPlugin = document.getElementById('flashPlugin');
+ flashPlugin.style.webkitTransform='rotate(180deg)';
+ }
+
+ function toggleDivOverFlash() {
+ var overlayDiv = document.getElementById('overlayDiv');
+ if (overlayDiv.style.display != 'block') {
+ overlayDiv.style.display = 'block';
+ } else {
+ overlayDiv.style.display = '';
+ }
+ }
+</script>
+</head>
+
+<body>
+
+ <b> Verify the following tests with and without the page scrolled (including seeming unrelated test cases like printing). <br/>
+ For the Qt port, test with both QtLauncher and QGVLauncher </b> <br/><br/>
+
+ <embed id="flashPlugin" src="http://www.youtube.com/v/loXfcsXRB-w&hl=en&fs=1"
+ width="200" height="200"
+ wmode="transparent"
+ type="application/x-shockwave-flash">
+ </embed>
+
+ <div id="overlayDiv"> This is an overlay that will display over the flash. In addition, you should be able to see
+ the flash through the div contents. </div>
+
+ <div style="clear:both"/>
+
+ <input type="checkbox" name="resizeCheckBox"> Verify if the flash resizes when element is resized
+ <input type="button" id="resizeButton" value="Test Resize" onClick="testResize()"/><br/>
+
+ <input type="checkbox" name="moveCheckBox"> Verify if the flash moves when element is moved
+ <input type="button" id="moveButton" value="Test Move" onClick="testMove()"/><br/>
+
+ <input type="checkbox" name="animationCheckBox"> Verify css animations with flash
+ <input type="button" id="animationButton" value="Test Animation" onClick="testAnimation()"/><br/>
+
+ <input type="checkbox" name="printCheckBox"> Verify if printing displays flash on the print preview and printer output <br/>
+
+ <input type="checkbox" name="zoomCheckBox"> Verify if elements in flash are correctly painted and clickable after zooming <br/>
+
+ <input type="checkbox" name="screenshotBox"> Verify if taking a screenshot from QtLauncher display flash <br/>
+
+ <input type="checkbox" name="paintSystemsCheckBox"> Verify if flash is displayed with graphicssystems - raster, opengl <br/>
+
+ <input type="checkbox" name="focusCheckBox"> Verify if shifting focus back and forth from flash to html works
+ <input value="Shift focus here"/></br/>
+
+ <input type="checkbox" name="testZIndex"> Test if html can display over flash
+ <input type="button" value="Toggle transparent div" onClick="toggleDivOverFlash()"<br/>
+
+ <br/>
+</body>
+
+</html>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list