Closed Bug 879169 Opened 12 years ago Closed 3 years ago

[Azure] Combination of low context.shadowBlur and context.shadowColor with a low alpha value produces a fully opaque shadow. when HWA Enabled

Categories

(Core :: Graphics: Canvas2D, defect)

7 Branch
x86_64
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: smaren, Assigned: bas.schouten)

References

()

Details

(Keywords: testcase)

Attachments

(1 file)

Attached image firefox bug.png
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36 Steps to reproduce: Create an element with a shadow with low blur and alpha on shadow color. var c=document.getElementById("myCanvas"); var ctx=c.getContext("2d"); ctx.shadowBlur= 0.5; ctx.shadowOffsetY = 20; ctx.fillStyle="red"; ctx.shadowColor="rgba(0, 0, 0, 0.5)"; ctx.fillRect(20,20,100,80); So far, only found the bug in windows 7. Actual results: The shadow looks fully opaque black Expected results: The shadow should have been transparent black.
Summary: Low combination of context.shadowBlur and context.shadowColor with a low alpha value produces a fully opaque shadow. → Combination of low context.shadowBlur and context.shadowColor with a low alpha value produces a fully opaque shadow.
Could you attach a testcase (html file), please.
Flags: needinfo?(smaren)
Keywords: testcase-wanted
gfx.canvas.azure.backends;skia = cairo helps
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
Summary: Combination of low context.shadowBlur and context.shadowColor with a low alpha value produces a fully opaque shadow. → [Azure] Combination of low context.shadowBlur and context.shadowColor with a low alpha value produces a fully opaque shadow. when HWA Enabled
Version: 21 Branch → 7 Branch
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 651858
gfx.canvas.azure.backends = skia or cairo works. Only seems to malfunction when using direct2d
Flags: needinfo?(smaren)
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: