[Webkit-unassigned] [Bug 62098] Update layout for msub, msup, msubsup to handle script changes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 9 14:25:12 PST 2012


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


Yong Li <yong.li.webkit at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yong.li.webkit at gmail.com




--- Comment #22 from Yong Li <yong.li.webkit at gmail.com>  2012-03-09 14:25:12 PST ---
Alex, what if the new child is an anonymous one and its node() is null? The actual child with node() will later be added to the anonymous one.

See RenderObject::addChild

            table = new (renderArena()) RenderTable(document() /* is anonymous */);
            RefPtr<RenderStyle> newStyle = RenderStyle::create();
            newStyle->inheritFrom(style());
            newStyle->setDisplay(TABLE);
            table->setStyle(newStyle.release());
            addChild(table, beforeChild);
        }
        table->addChild(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