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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jan 13 16:09:30 PST 2010


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


Valters Švābe <vsvabe at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vsvabe at gmail.com




--- Comment #1 from Valters Švābe <vsvabe at gmail.com>  2010-01-13 16:09:30 PST ---
If a block element a) contains more than one child block element, and b) has
:after generated content which is inline, then the generated content is
displayed at the wrong place.

Reason - if :after content is contained in an anonymous RenderBlock, then
RenderBlock::addChild doesn't notice it and appends a new child block _after_
the :after-generated content.

Proposed patch adds a check for this case.

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