[Webkit-unassigned] [Bug 18445] Assertion failure in CSSGradientValue::image() when the body element has a background gradient

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 3 18:12:38 PST 2008


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


dino at apple.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dino at apple.com




------- Comment #4 from dino at apple.com  2008-12-03 18:12 PDT -------
Note that -webkit-canvas has the same problem.
ASSERT(m_clients.contains(renderer));
in CSSCanvasValue::image

There are a few options.

1. add the canvas and gradient as clients before asking for the images. I
expect this wastes memory in the case where a canvas/gradient is set on the
body, then removed.

2. remove the asserts. Since gradient calls getImage and it causes the renderer
to be added as a client I don't think it is a big deal, but I didn't
investigate much. I didn't try this with canvas.

3. Work out why body elements are not doing the right thing with
updateFillImages from RenderObject::setStyle, which is where other elements add
gradients and canvas as clients.


-- 
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