NEW 78519
RenderTable::addChild() wrapInAnonymousSection is never !child->isPositioned()
https://bugs.webkit.org/show_bug.cgi?id=78519
Summary RenderTable::addChild() wrapInAnonymousSection is never !child->isPositioned()
Robert Hogan
Reported 2012-02-13 12:56:26 PST
void RenderTable::addChild(RenderObject* child, RenderObject* beforeChild) { // Make sure we don't append things after :after-generated content if we have it. if (!beforeChild) beforeChild = afterPseudoElementRenderer(); bool wrapInAnonymousSection = !child->isPositioned(); What was this initialization once for I wonder? The subsequent code means this initial value is not used anymore.
Attachments
Julien Chaffraix
Comment 1 2012-07-27 16:20:39 PDT
I wonder too, CSS 2.1 (section 17.2.1) doesn't special case the 'generate missing child wrappers' for out-of-flow elements. It seems we didn't wrap out-of-flow elements at some point but this regressed. See bug 11363.
Ahmad Saleem
Comment 2 2022-09-10 06:59:08 PDT
This code has been removed with this commit: https://github.com/WebKit/WebKit/commit/69dba55f3051498c5717f2497b6b379cfdc02f05 Is this needed? Thanks!
Note You need to log in before you can comment on or make changes to this bug.