Closed Bug 1348378 Opened 8 years ago Closed 8 years ago

Remove SVGImageContext::mGlobalOpacity

Categories

(Core :: Layout: Images, Video, and HTML Frames, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: u459114, Assigned: u459114)

References

Details

We pass SVGImageContext, which contains opacity value in mGlobalOpacity, and aOpacity to imgIContainer::Draw function. VectorImage::Draw uses SVGImageContext::mGlobalOpacity and discard aOpacity; RasterImage::Draw uses aOpacity and discard SVGImageContext. I think we should just remove SVGImageContext::mGlobalOpacity, and only pass opacity from aOpacity
See Also: → 1346618
Fix this in bug 1346618 directly
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.