Summary: | [testcase][regression]http://ju-ni.org/ not rendered correctly | ||
---|---|---|---|
Product: | [Applications] konqueror | Reporter: | Alejandro Cámara Iglesias <arekusu> |
Component: | khtml renderer | Assignee: | Konqueror Developers <konq-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gravesricharde, holger.hees, kde, maksim, mpf8, pacifistrevolutionary, r087r70, tais.hansen |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | testcase |
Description
Alejandro Cámara Iglesias
2006-10-14 15:27:05 UTC
Kubuntu Forums: http://kubuntuforums.net/forums/index.php?topic=9863.msg39386#msg39386 http://ju-ni.net Forums: http://ju-ni.net/forum/viewtopic.php?t=242 "Konqueror 3.5.3 (using KDE 3.5.4) displays the page without noticeable difficulties." reported by penguin.ch in the kubuntu forums. Nothing to do with AJAX. The JavaScript on the page is so broken it doesn't even do anything. Likely testcase upcoming Created attachment 18130 [details]
testcase
Testcase. Note that this is a very recent regression -- my previous build here
worked. Unfortunately I didn't notice it before I svn up'd, so no r number.
Testcase inline:
<style>
#top_shelf {
width: 780px;
overflow: auto;
border: 2px solid red;
}
#top_shelf_center {
float: left;
width: 236px;
border: 2px solid green;
}
</style>
<body>
<div id="top_shelf">
<div id="top_shelf_center">
<h3>Latest Releases</h3>
</div>
</div>
</body>
</html>
SVN commit 595832 by carewolf: We still need to include floats in the height. BUG: 135639 M +3 -3 render_block.cpp --- branches/KDE/3.5/kdelibs/khtml/rendering/render_block.cpp #595831:595832 @@ -224,7 +224,7 @@ if(oldText->l >= 1) { oldText->ref(); // begin: we need skip leading whitespace so that RenderBlock::findNextLineBreak - // won't think we're continuing from a previous run + // won't think we're continuing from a previous run unsigned int begin = 0; // the position that first-letter begins unsigned int length = 0; // the position that "the rest" begins while ( length < oldText->l && (oldText->s+length)->isSpace() ) @@ -711,7 +711,7 @@ int toAdd = borderBottom() + paddingBottom(); if (m_layer && style()->scrollsOverflow() && style()->height().isVariable()) toAdd += m_layer->horizontalScrollbarHeight(); - if ( hasOverhangingFloats() && !style()->scrollsOverflow() && (isFloatingOrPositioned() || flowAroundFloats()) ) + if ( hasOverhangingFloats() && (isFloatingOrPositioned() || flowAroundFloats()) ) m_overflowHeight = m_height = floatBottom() + toAdd; int oldHeight = m_height; @@ -930,7 +930,7 @@ RenderObject* compactChild = compactInfo.compact(); if (compactChild->height() > child->height()) m_height += compactChild->height() - child->height(); - } + } } void RenderBlock::insertCompactIfNeeded(RenderObject* child, CompactInfo& compactInfo) *** Bug 135720 has been marked as a duplicate of this bug. *** *** Bug 135807 has been marked as a duplicate of this bug. *** SVN commit 596539 by orlovich: Regression test for #135639 that Carewolf fixed. CCBUG:135639 A baseline/floats/135639.html-dom AM baseline/floats/135639.html-dump.png A baseline/floats/135639.html-render A tests/floats/135639.html ** trunk/tests/khtmltests/regression/baseline/floats/135639.html-dump.png #property svn:mime-type + image/png *** Bug 135914 has been marked as a duplicate of this bug. *** *** Bug 136167 has been marked as a duplicate of this bug. *** *** Bug 137321 has been marked as a duplicate of this bug. *** *** Bug 137990 has been marked as a duplicate of this bug. *** *** Bug 144024 has been marked as a duplicate of this bug. *** |