[Webkit-unassigned] [Bug 40380] [Qt] When a layer is really opaque (ie has a background color that has 255 alpha) we should fill the layer with that color to tell Qt that the pixemap has no alpha.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 28 13:49:12 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=40380
Simon Fraser (smfr) <simon.fraser at apple.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #59933|review? |review-
Flag| |
--- Comment #16 from Simon Fraser (smfr) <simon.fraser at apple.com> 2010-06-28 13:49:12 PST ---
(From update of attachment 59933)
> + if (rendererHasBackground()) {
> + const Color &bgColor = rendererBackgroundColor();
> + m_graphicsLayer->setBackgroundColor(bgColor);
> + } else
> + m_graphicsLayer->clearBackgroundColor();
You can't do this. GraphicsLayers are not always the same size as their elements; in many cases, they are larger (e.g. try one with a box-shadow, or a abs. pos. child).
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list