Closed
Bug 879169
Opened 11 years ago
Closed 2 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)
Tracking
()
RESOLVED
INVALID
People
(Reporter: smaren, Assigned: bas.schouten)
References
()
Details
(Keywords: testcase)
Attachments
(1 file)
2.11 KB,
image/png
|
Details |
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
Comment 2•11 years ago
|
||
gfx.canvas.azure.backends;skia = cairo helps
Component: Untriaged → Canvas: 2D
Keywords: testcase-wanted → testcase
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
Updated•11 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
gfx.canvas.azure.backends = skia or cairo works. Only seems to malfunction when using direct2d
Flags: needinfo?(smaren)
Assignee: nobody → bas
Assignee | ||
Updated•2 years ago
|
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•