[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 17:01:39 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=32288
--- Comment #18 from Valters Švābe <vsvabe at gmail.com> 2010-03-09 17:01:39 PST ---
(In reply to comment #17)
> (From update of attachment 50357 [details])
> > + if (isAfterContent(lastRenderer))
> > + beforeChild = lastRenderer;
> > + else if (lastRenderer && lastRenderer->isAnonymousBlock() && isAfterContent(lastRenderer->lastChild()))
> > + beforeChild = lastRenderer->lastChild();
>
> Is there ever a case with more than one level of anonymous block? If so, we
> might need a loop instead.
>
> r=me
AFAICT there isn't. Anyway, these lines don't cause any further searching down
the tree. After beforeChild is set, it is clear where to insert newChild.
--
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