[Webkit-unassigned] [Bug 23090] Redraw issue with width and opacity change

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 3 18:39:53 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23090





------- Comment #4 from darin at apple.com  2009-01-03 18:39 PDT -------
(From update of attachment 26393)
> +            } else if (m_style->hasTransform() != newStyle->hasTransform() ||
> +                       m_style->hasOpacity() != newStyle->hasOpacity()) {
> +                // If we don't have a layer yet, but we are going to get one because of a transform or opacity change, then
>                  // we need to repaint the old position of the object

The comment is right, but the code is wrong. This will decide to repaint
something that already has a layer if its opacity is going to change. Can we do
a better check that gets this right? We want to repaint if "gets own layer" is
going to change, so that's what we should be checking.


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list