Closed Bug 264566 Opened 20 years ago Closed 20 years ago

wrong style on flash object

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 236089

People

(Reporter: degregorio.soft, Unassigned)

References

()

Details

Attachments

(4 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913 Firefox/0.10

when a flash have trasparent background tang and border style,the border is wrong

Reproducible: Always
Steps to Reproduce:
try this html :

<table width='3' border='0' cellspacing='0' cellpadding='0' >
	<tr>
		<td align='center' valign='middle'><a name='468'></a><object
classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.#version=5,0,30,0'
width='195' height='141' style='border-right: px solid gray; border-left: px
solid gray; border-top: 30px solid gray; border-bottom: 29px solid gray'
alt='Media Type=FLASH
Width=550 - Height=400
Is Ecard:NO' PROPORTIONATED='1' >
				<param name='scale' value='noborder'>
				<param name='movie'
value='http://degcasterdemo.altervista.org/Generica/Nuova_Bozza.swf'>
				<param name='quality' value='best'>
				<param name='wmode' value='transparent'>
				<param name='play' value='true'>
				<embed  wmode='transparent'
pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'
src='http://degcasterdemo.altervista.org/Generica/Nuova_Bozza.swf'
type='application/x-shockwave-flash' quality='best' play='true' scale='noborder'
width='195' height='141' style='border-right: px solid gray; border-left: px
solid gray; border-top: 30px solid gray; border-bottom: 29px solid gray'
alt='Media Type=FLASH
Width=550 - Height=400
Is Ecard:NO' PROPORTIONATED='1' >
 
			</object></td>
	</tr>
	<tr>
		<td class='titolo_media' align='center'><a
href='ModifyMedia.php?ADDB=mod&CATEG=2&ID=468&Pag=0' title='Media Type=FLASH
Width=550 - Height=400
Is Ecard:NO'>aaa</a></td>
	</tr>
</table>

Actual Results:  
If you try you can see the wrong border

Expected Results:  
The perfect result is possible with a image,check this :

<div id="limmagine">
<a href='http://degcasterdemo.altervista.org/Generica/Gif/dove-ani.gif'
target='_blank'><img
src='http://degcasterdemo.altervista.org/Generica/Gif/dove-ani.gif'  alt='Clicca
peril pop-up dell&acute;immagine' hspace='4' width='184' height='135'
style='border-right: px solid gray; border-left: px solid gray; border-top: 18px
solid gray; border-bottom: 17px solid gray'PROPORTIONATED='1' style='border:
none 0px'></a></div>

This bug is present in FIREFOX PREVIEW and MOZILLA 1.8a4
Ok,i repeat the code more simply

<table width='3' border='0' cellspacing='0' cellpadding='0' >
	<tr>
		<td align='center' valign='middle'><a name='468'></a><object
classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.#version=5,0,30,0'
width='195' height='141' style='border-right: px solid gray; border-left: px
solid gray; border-top: 30px solid gray; border-bottom: 29px solid gray'>
				<param name='scale' value='noborder'>
				<param name='movie'
value='http://degcasterdemo.altervista.org/Generica/Nuova_Bozza.swf'>
				<param name='quality' value='best'>
				<param name='wmode' value='transparent'>
				<param name='play' value='true'>
				<embed  wmode='transparent'
pluginspage='http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash'
src='http://degcasterdemo.altervista.org/Generica/Nuova_Bozza.swf'
type='application/x-shockwave-flash' quality='best' play='true' scale='noborder'
width='195' height='141' style='border-right: px solid gray; border-left: px
solid gray; border-top: 30px solid gray; border-bottom: 29px solid gray'>
</object>
</td>
</tr>
The Border not work correctly on FireFox and Mozilla (all version),
but work perfectly on Internet Explorer and OPERA !!!
> when a flash have trasparent background tang and border style,the border is wrong

in which respect is it wrong?

the URL you put in the url field gives a not found error...

this sounds like a layout bug, what you pasted contains no javascript
Assignee: general → nobody
Component: DOM: CSSOM → Layout
QA Contact: ian → core.layout
(In reply to comment #3)
> > when a flash have trasparent background tang and border style,the border is
wrong
> 
> in which respect is it wrong?
> 
> the URL you put in the url field gives a not found error...
> 
> this sounds like a layout bug, what you pasted contains no javascript

SORRY for the url,the new apache have the problem too,now i restart the apache
server and the url work.
Anyway,the up-border is not up but in center and the down border is not
complementary to flash but distant some pixel.
Now the url work but you can try with the code too

(In reply to comment #3)
> > when a flash have trasparent background tang and border style,the border is
wrong
> 
> in which respect is it wrong?
> 
> the URL you put in the url field gives a not found error...
> 
> this sounds like a layout bug, what you pasted contains no javascript

AND...
check better the code (the second example)
there this style : style='border-right: px solid gray; border-left: px
solid gray; border-top: 30px solid gray; border-bottom: 29px solid gray'

Tank's
reduced reporters testcase and added visible borders and a background
ah, sounds like this is known already

*** This bug has been marked as a duplicate of 236089 ***

*** This bug has been marked as a duplicate of 236089 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
<object style="border-top: 30px solid gray; border-bottom: 29px solid gray;
		    border-left: 4px solid red; border-right: 4px solid red;">
		<embed wmode="transparent" type="application/x-shockwave-flash"

			height="141" width="195">
		</object>
Attached file sizes unified
gif and flash same size 140x200, borders different, but top = bottom
Attached file transparency removed
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: