Closed Bug 629012 Opened 14 years ago Closed 7 years ago

Flash wont paint using FF hardware acceleration, wmode=opaque/transparent and when the parent element using overflow:hidden and border-radius css rules.

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows 7
defect
Not set
normal

Tracking

(blocking2.0 -)

RESOLVED INCOMPLETE
Tracking Status
blocking2.0 --- -

People

(Reporter: patrice, Unassigned)

References

()

Details

(Keywords: regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows NT 6.1; rv:2.0b10) Gecko/20100101 Firefox/4.0b10
Build Identifier: Mozilla/5.0 (Windows NT 6.1; rv:2.0b10) Gecko/20100101 Firefox/4.0b10

The flash animation in opaque/transparent wmode when the parent element has overflow hidden and border-radius corner when the Hardware Acceleration is enabled.

FF versions : 4.0 beta 10 Win32, hardware acceleration enabled.
Flash versions : 10.1.102.64 or 10.2.152.14


Reproducible: Always

Steps to Reproduce:
1. Firefox Hardware acceleration
2. Flash with wmode opaque or transparent
3. Parent div element with a border-radius and overflow:hidden

Can be reproduice on Win 7 and Win XP.

Actual Results:  
The flash is not painted.

Expected Results:  
The flash animation should be painted.

HTML testcase :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr" >
<head>
    <title>Testcase  - Skyrock</title>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />

<!-- please use Hardware accelerated rendering on FF4b10 win32 with Flash 10.1.102.64 or 10.2.152.14 -->

<style>
.global {
    overflow: hidden;
    border: 1px solid red;
    width: 350px;
    text-align: center;
}

.radius {
    border-radius: 10px;
}

embed, p {
    border: 1px solid green;
}
</style>

</head>
<body>

<div class="global radius">
	<embed width="300" height="250" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="OAS_AD_Right2" undefined="" swliveconnect="false" wmode="opaque" flashvars="" quality="autohigh" loop="true" src="http://oas.skyregie.com/RealMedia/ads/Creatives/OasDefault/FR_CAISSE_NAT_8415_33755_0111-2/300x250.swf" />
	<p>Blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
</div>

<hr />

<div class="global">
	<embed width="300" height="250" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" name="OAS_AD_Right2" undefined="" swliveconnect="false" wmode="opaque" flashvars="" quality="autohigh" loop="true" src="http://oas.skyregie.com/RealMedia/ads/Creatives/OasDefault/FR_CAISSE_NAT_8415_33755_0111-2/300x250.swf" />
	<p>Blaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa</p>
</div>

</body>
</html>
Confirmed
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b11pre) Gecko/20110126 Firefox/4.0b11pre ID:20110126030333

Shockwave Flash
    File: NPSWF32.dll
    Version: 10.1.102.64
    Shockwave Flash 10.1 r102

Graphics
    Adapter Description: ATI Radeon HD 4300/4500 Series
    Vendor ID: 1002
    Device ID: 954f
    Adapter RAM: 512
    Adapter Drivers: aticfx64 aticfx64 aticfx32 aticfx32 atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64
    Driver Version: 8.801.0.0
    Driver Date: 
    Direct2D Enabled: true
    DirectWrite Enabled: true
    WebGL Renderer: TransGaming Inc. -- ANGLE -- OpenGL ES 2.0 (git-devel Jan 13 2011 03:37:36)
    GPU Accelerated Windows: 1/1 Direct3D 10


Regression window(m-c hourly):
Works;
http://hg.mozilla.org/mozilla-central/rev/212a391d3b79
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101109 Firefox/4.0b8pre ID:20101110052514
Fails:
http://hg.mozilla.org/mozilla-central/rev/bdbef533364f
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b8pre) Gecko/20101109 Firefox/4.0b8pre ID:20101110081923
Pushlog:
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=212a391d3b79&tochange=bdbef533364f
Blocks: 596451
Status: UNCONFIRMED → NEW
blocking2.0: --- → ?
Ever confirmed: true
Keywords: regression
Version: unspecified → Trunk
Could this be related to bug 601512 comment 24?
Would bug 628745 help?
Depends on: 628745
bug 628745 would help in that we get rid of the complex clip in more cases.
(In reply to comment #2)
> Could this be related to bug 601512 comment 24?
> Would bug 628745 help?

(In reply to comment #3)
> bug 628745 would help in that we get rid of the complex clip in more cases.

It was fixed by landing of bug 628745.
http://hg.mozilla.org/mozilla-central/rev/8149e1a06476
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b11pre) Gecko/20110125 Firefox/4.0b11pre ID:20110126103957
I bet you can still see the bug if you make the bounds of the plugin intersect the corners of the overflow: hidden rounded rectangle.
Depends on: 601512, 562746
It's probably the same underlying problem (in Cairo) as in bug 601512
which is about an outside box-shadow causing it.
So changing the dependency to the Cairo update instead, bug 562746.
No longer depends on: 601512
Not blocking. Bug 562746 is not blocking either.
blocking2.0: ? → -
Depends on: 678505
No longer depends on: 678505
Resolving old bugs which are likely not relevant any more, since NPAPI plugins are deprecated.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: