[Webkit-unassigned] [Bug 32288] :after selector displays in wrong place with nested div

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 9 14:45:50 PST 2010


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





--- Comment #15 from Darin Adler <darin at apple.com>  2010-03-09 14:45:50 PST ---
(From update of attachment 50349)
> +        else if (lastRenderer && lastRenderer->isAnonymousBlock() && isAfterContent(lastRenderer->lastChild())) {
> +            addChild(newChild, lastRenderer->lastChild());
> +            return;
> +        }

Since this is the addChild function, this is a loop written as recursion. Maybe
we should instead make the loop explicit?

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