[Webkit-unassigned] [Bug 80794] :first-line pseudo selector ignoring words created from :before

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 10 11:49:33 PDT 2012


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





--- Comment #3 from Robert Hogan <robert at webkit.org>  2012-07-10 11:49:31 PST ---
(From update of attachment 147269)
View in context: https://bugs.webkit.org/attachment.cgi?id=147269&action=review

> Source/WebCore/rendering/RenderObject.cpp:2511
> +    } else if (renderer->isBeforeOrAfterContent() && renderer->parent()->isBlockFlow()) {
> +        // For handling content generated from :before/:after pseudo-element.
> +        if (RenderBlock* firstLineBlock = renderer->parent()->firstLineBlock())
> +            style = firstLineBlock->getCachedPseudoStyle(FIRST_LINE, style);

Don't you have to patch RenderObject::uncachedFirstLineStyle() too?

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