This patch adds a new base render object for inline-block elements of MathML. It also sets up the necessary bits for all the rendering objects to follow.
Created attachment 47135 [details] RenderMathMLBlock Patch
Comment on attachment 47135 [details] RenderMathMLBlock Patch In RenderMathMLBlock::styleDidChange, why are you marking the block as needing layout and pref width recalc always? That's really inefficient. I'm also not clear on wny it's necessary. Isn't the style diff doing the right thing in the base classes? In isChildAllowed you don't have to do ? true : false. Just return the conditional itself. stretchToHeight would be cleaner using a for loop to walk the children in my opinion. for (RenderObject* current = firstChild(); current; current = current->nextSibling()); It seems like makeBlockStyle should return a PassRefPtr, since you're wanting to have it be set on some RenderObject presumably.
Created attachment 47154 [details] Update to patch to address issues The styleDidChange method was removed. It isn't necessary in the code. The other changes have been made.
Comment on attachment 47154 [details] Update to patch to address issues r=me
Comment on attachment 47154 [details] Update to patch to address issues Clearing flags on attachment: 47154 Committed r53764: <http://trac.webkit.org/changeset/53764>
All reviewed patches have been landed. Closing bug.