| Summary: | [TESTCASE] Yahoo's Fantasy Hockey Page Partially Blank http://hockey.fantasysports.yahoo.com/hockey/ | ||
|---|---|---|---|
| Product: | [Applications] konqueror | Reporter: | Richard Fujimoto <rfujimoto> | 
| Component: | khtml | Assignee: | Konqueror Bugs <konqueror-bugs-null> | 
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bluedzins, maksim | 
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | A large screenshot of the problem | ||
| 
        
          Description
        
        
          Richard Fujimoto
        
        
        
        
          2006-02-09 16:30:12 UTC
        
       Created attachment 14621 [details]
A large screenshot of the problemSince it's hockey related, may be I'll take a look :-) My reduction:
<style type="text/css">
#promotable h3 {
  position:relative;
  display:inline;
}
#promotable h3 div {
  position:absolute;
  top:2px;
}
</style>
<table>
 <tr>
  <td>
    TextTextTextTextTextTextTextText<br>TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText<br>TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText<br>TextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextTextText
    <table id="promotable">
        <tr>
            <td id="promocontent">
            <h3>Fantasy Sports Profile <div></div></h3>
            </td>
        </tr>
    </table>
  </td>
 </tr>
</table>
SVN commit 514862 by ggarand:
Merge interesting pos children relayout fixlet from WebCore.
Takes down Maks's gimme-my-hockey bug, as a side effect.
BUG: 121653
 M  +3 -2      render_block.cpp  
--- branches/KDE/3.5/kdelibs/khtml/rendering/render_block.cpp #514861:514862
@@ -588,6 +588,7 @@
 
     clearFloats();
 
+    int previousHeight = m_height;
     m_height = 0;
     m_overflowHeight = 0;
     m_clearStatus = CNONE;
@@ -648,14 +649,14 @@
     int oldHeight = m_height;
     calcHeight();
     if (oldHeight != m_height) {
-        relayoutChildren = true;
-
         // If the block got expanded in size, then increase our overflowheight to match.
         if (m_overflowHeight > m_height)
             m_overflowHeight -= (borderBottom()+paddingBottom());
         if (m_overflowHeight < m_height)
             m_overflowHeight = m_height;
     }
+    if (previousHeight != m_height)
+        relayoutChildren = true;
 
     if (isTableCell()) {
         // Table cells need to grow to accommodate both overhanging floats and
bah, not solved - just alleviated. Reopening. I *hate* layout-flaging bugs. SVN commit 516516 by ggarand: - relayout/repaint fixes (really fix #121653 rather than voodoo merging) - widget masks fixes: unbork stacking context walking and layer translation, various optimisations, update widget when clearing mask. Now www.hdlma.co.uk is OK too. George's seatguru test site has unfortunately changed its layout at a bad time but problem was similar to www.bea.com - bad layer translation. I'll now close 31121. Oh Yes I will. BUG: 121653 BUG: 31121 M +25 -0 ChangeLog M +14 -35 khtmlview.cpp M +6 -6 rendering/render_block.cpp M +7 -3 rendering/render_canvas.cpp M +23 -16 rendering/render_layer.cpp M +2 -2 rendering/render_layer.h M +39 -12 rendering/render_object.cpp M +1 -0 rendering/render_object.h M +19 -12 rendering/render_replaced.cpp M +2 -0 rendering/render_replaced.h *** Bug 123308 has been marked as a duplicate of this bug. *** |