summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/manual-tests/show-hide-object.html
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2011-05-13 06:44:40 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-05-13 06:44:40 -0700
commit08014c20784f3db5df3a89b73cce46037b77eb59 (patch)
tree47749210d31e19e6e2f64036fa8fae2ad693476f /Source/WebCore/manual-tests/show-hide-object.html
parent860220379e56aeb66424861ad602b07ee22b4055 (diff)
parent4c3661f7918f8b3f139f824efb7855bedccb4c94 (diff)
downloadexternal_webkit-08014c20784f3db5df3a89b73cce46037b77eb59.zip
external_webkit-08014c20784f3db5df3a89b73cce46037b77eb59.tar.gz
external_webkit-08014c20784f3db5df3a89b73cce46037b77eb59.tar.bz2
Merge changes Ide388898,Ic49f367c,I1158a808,Iacb6ca5d,I2100dd3a,I5c1abe54,Ib0ef9902,I31dbc523,I570314b3
* changes: Merge WebKit at r75315: Update WebKit version Merge WebKit at r75315: Add FrameLoaderClient PageCache stubs Merge WebKit at r75315: Stub out AXObjectCache::remove() Merge WebKit at r75315: Fix ImageBuffer Merge WebKit at r75315: Fix PluginData::initPlugins() Merge WebKit at r75315: Fix conflicts Merge WebKit at r75315: Fix Makefiles Merge WebKit at r75315: Move Android-specific WebCore files to Source Merge WebKit at r75315: Initial merge by git.
Diffstat (limited to 'Source/WebCore/manual-tests/show-hide-object.html')
-rw-r--r--Source/WebCore/manual-tests/show-hide-object.html64
1 files changed, 64 insertions, 0 deletions
diff --git a/Source/WebCore/manual-tests/show-hide-object.html b/Source/WebCore/manual-tests/show-hide-object.html
new file mode 100644
index 0000000..88bfbc8
--- /dev/null
+++ b/Source/WebCore/manual-tests/show-hide-object.html
@@ -0,0 +1,64 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
+ "http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en">
+<head>
+</head>
+<body>
+<p><b>BUG ID:</b> <a href="rdar://problem/3572507">3572507</a> Flash in div with display:none style will not redraw when style changed to display:block (3479)</p>
+
+<p id="test" style="background-color:skyblue; padding:3px;"><b>STEPS TO TEST:</b> <br>
+1. Verify that there is a Flash animation playing below.<br>
+2. Click "Hide Flash".<br>
+3. Click "Show Flash".<br>
+</p>
+
+<p id="success" style="background-color:palegreen; padding:3px;"><b>TEST PASS:</b>
+The Flash movie hides when "Hide Flash" is clicked, and shows again when "Show Flash" is clicked.
+</p>
+
+<p id="failure" style="background-color:#FF3300; padding:3px;"><b>TEST FAIL:</b>
+The Flash movie hides when "Hide Flash" is clicked, but does not show again when "Show Flash" is clicked. Clicking on "Hide Flash" and then "Show Flash" again will show the movie.
+</p>
+
+<script language="JavaScript">
+
+ // 2 html tabs for multiple flash/java
+ var selected = "tab1";
+
+ function tabClick(whichTab) {
+ selected = whichTab;
+
+ if (whichTab == "tab1") {
+ document.getElementById('tab1').style.display = "block";
+ document.getElementById('tab2').style.display = "none";
+ }
+ else if (whichTab == "tab2") {
+ document.getElementById('tab2').style.display = "block";
+ document.getElementById('tab1').style.display = "none";
+ }
+ }
+</script>
+
+<div>
+
+ <input type=button value="Hide Flash" onClick="tabClick('tab2')"><input type=button value="Show Flash" onClick="tabClick('tab1')">
+
+
+ <div id="tab2" style="display: none">
+ Flash hidden.
+ </div>
+
+ <div id="tab1">
+ <object id="scopeFlash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="300" height="200" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0">
+ <param name="movie" value="resources/spinbox.swf">
+ <param name="quality" value="high">
+ <comment>
+ <embed src="resources/spinbox.swf" width="300" height="200" quality="high" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
+ </embed>
+ </comment>
+ </object>
+ </div>
+</div>
+
+</body>
+</html>