[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
Fri Aug 31 11:59:30 PDT 2012


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





--- Comment #3 from Darin Adler <darin at apple.com>  2012-08-31 11:59:38 PST ---
(From update of attachment 161625)
View in context: https://bugs.webkit.org/attachment.cgi?id=161625&action=review

> Source/WebCore/css/StyleResolver.cpp:2283
> +    // If we have first-letter, before or after pseudo style, do not share this style.
> +    if (style->hasPseudoStyle(FIRST_LETTER) || style->hasPseudoStyle(BEFORE) || style->hasPseudoStyle(AFTER))
>          style->setUnique();

Is removing the optimization the only practical way to fix this problem?

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