[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 15:36:52 PST 2010


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


Darin Adler <darin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #50357|review?                     |review+
               Flag|                            |




--- Comment #17 from Darin Adler <darin at apple.com>  2010-03-09 15:36:51 PST ---
(From update of attachment 50357)
> +        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

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