Closed
Bug 242657
Opened 20 years ago
Closed 20 years ago
overflow: hidden not working correctly or not working at all for swf files
Categories
(Core :: Web Painting, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bugzilla.mozilla, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 Galeon/1.3.14 Build Identifier: Mozilla 1.7rc, mozilla 1.6 There are a lot of cases. In Linux, with mozilla 1.6, overflow:hidden does not do anything, it's simply ignored, so, in the page, I see second ant the third box fully while they shoud be clipped. In windows, with mozilla 1.6 and 1.7rc1 the second box (the first swf) is correctly clipped, while the second one (that has not the attribute wmode trasparent) is not clipped at all. Reproducible: Always Steps to Reproduce: 1. 2. 3. Here is the source of the page for reference. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <style type="text/css"> <!-- #testOverflow { overflow: hidden; height: 150px; width: 150px; } --> </style> </head> <body> <div id="testOverflow"> png: <img src="test-y.png" /> </div> <div id="testOverflow"> swf wmode=transparent: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="200"> <param name="movie" value="test-b.swf" /> <param name="quality" value="high" /> <param name="wmode" value="transparent" /> <embed src="test-b.swf" width="200" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed> </object> </div> <div id="testOverflow"> swf: <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="200" height="200"> <param name="movie" value="test-b.swf" /> <param name="quality" value="high" /> <embed src="test-b.swf" width="200" height="200" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed> </object> </div> </body> </html>
Reporter | ||
Updated•20 years ago
|
Component: Browser-General → Layout: View Rendering
Comment 1•20 years ago
|
||
If the wmode is not set, the flash player paints itself directly to the OS graphics subsystem, so we can't possibly clip it (we don't even know the painting is happening). So the behavior on Windows is precisely correct. This is why wmode exists. On Linux, flash doesn't support windowless operation yet (that is, it ignores wmode).
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
Updated•6 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•