[Webkit-unassigned] [Bug 87533] Crash in styleForFirstLetter (pseudoStyle is null)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 29 16:34:20 PDT 2012


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





--- Comment #9 from Eric Seidel <eric at webkit.org>  2012-05-29 16:34:20 PST ---
(From update of attachment 144630)
View in context: https://bugs.webkit.org/attachment.cgi?id=144630&action=review

Interesting.  I would have assumed that getCachedPsuedoStyle might have returned the normal style when there is no pseudo.

> Source/WebCore/rendering/RenderBlock.cpp:6024
> +    if (!pseudoStyle)
> +        return;

What if the style changed to detach? or to no longer be a first letter?  Is this early-return safe?

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