failed assert in bidi.cpp

Germain Garand germain at ebooksfrance.org
Sun Sep 28 05:28:55 BST 2003


Hi,
the snippet <button>bla</button> hits the assert

        InlineBox* newBox = obj->createInlineBox(false);
        KHTMLAssert(newBox->isInlineFlowBox());

in khtml::RenderFlow::createLineBoxes (bidi.cpp: 422):

short analysis:
RenderFlow::createInlineBox() tests for isReplaced() (which is the case for 
<button>) and if true, returns RenderObject::createInlineBox()
(hence returns an InlineBox, not an InlineFlowBox).


HIH,
Germain




More information about the kfm-devel mailing list