From kde-commits Mon Dec 09 04:05:45 2002 From: Dirk Mueller Date: Mon, 09 Dec 2002 04:05:45 +0000 To: kde-commits Subject: kdelibs/khtml/rendering X-MARC-Message: https://marc.info/?l=kde-commits&m=103940678317018 CVS commit by mueller: compile M +2 -2 render_container.cpp 1.35 M +2 -2 render_form.cpp 1.202 M +2 -1 render_object.cpp 1.196 --- kdelibs/khtml/rendering/render_container.cpp #1.34:1.35 @@ -168,5 +168,5 @@ RenderObject* RenderContainer::removeChi setMinMaxKnown( false ); - if ( isAnonymousBox() && !m_first ) { + if ( isAnonymousBox() && !firstChild() ) { // we are an empty anonymous box. There is no reason for us to continue living. detach(); --- kdelibs/khtml/rendering/render_object.cpp #1.195:1.196 @@ -570,4 +570,5 @@ QString RenderObject::information() cons ts << " (" << xPos() << "," << yPos() << "," << width() << "," << height() << ")" << " [" << minWidth() << "-" << maxWidth() << "]" + << " { mT: " << marginTop() << " mB: " << marginBottom() << "}" << (isTableCell() ? ( QString::fromLatin1(" [r=") + --- kdelibs/khtml/rendering/render_form.cpp #1.201:1.202 @@ -119,5 +119,5 @@ void RenderFormElement::slotClicked() QMouseEvent e2( QEvent::MouseButtonRelease, m_mousePos, m_button, m_state); - element()->dispatchMouseEvent(&e2, m_isDoubleClick ? EventImpl::KHTML_DBLCLICK_EVENT : EventImpl::KHTML_CLICK_EVENT, m_clickCount); + element()->dispatchMouseEvent(&e2, EventImpl::CLICK_EVENT, m_clickCount); m_isDoubleClick = false; deref();