[Webkit-unassigned] [Bug 93925] :before/:after pseudo elements do not always apply to the proper element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 4 10:42:23 PDT 2012


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





--- Comment #7 from Elliott Sprehn <esprehn at chromium.org>  2012-10-04 10:42:49 PST ---
(From update of attachment 164480)
View in context: https://bugs.webkit.org/attachment.cgi?id=164480&action=review

> Source/WebCore/ChangeLog:8
> +        Disable sharing a style with sibligs if :after or :before pseudo style

sibligs => siblings

> Source/WebCore/rendering/style/RenderStyle.cpp:264
> +    if (!m_cachedPseudoStyles || !m_cachedPseudoStyles->size())

I don't think this size() check is needed since the loop would just never run. Can you remove it and combine this and the below if statement?

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