[Webkit-unassigned] [Bug 178584] Support ::before/::after pseudo elements with display:contents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Oct 21 00:38:00 PDT 2017


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

--- Comment #10 from Antti Koivisto <koivisto at iki.fi> ---
Added this:

(WebCore::RenderTreeUpdater::GeneratedContent::updatePseudoElement):

In the normal case create a render tree position for the pseudo element renderer and use RenderTreePosition::moveToLastChild to make it a valid position. (The existing RenderTreePosition interface didn't have way to move to positions in anonymous boxes) 

In the case of a non box generating display:contents pseudo element, use the current render tree position instead.

Ensure that pseudo element renderers are destroyed before creating the new ones since in display:contents case they are not descendants of the pseudo renderer and don't get cleared automatically.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20171021/471f00b3/attachment.html>


More information about the webkit-unassigned mailing list