Bug 60113

Summary: framesets with *,900,100,* do not show up
Product: [Applications] konqueror Reporter: Michael Brade <brade>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Brade 2003-06-20 09:38:21 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.3 
OS:          Linux

Hi,

for some strange reason the lower frame is not displayed on www.idokan.de.
It is just a normal, very short html page containing a menu. I guess it might be a
CSS issue, but don't take my word for that.

Thanks,
  Michael
Comment 1 Thiago Macieira 2003-06-20 12:30:04 UTC
I confirm the behaviour. But it's not that the frame isn't shown. It's there, it's just that 
it's so down that it disappears. If you move your mouse pointer to just over the 
status bar in Konqueror, you'll see it turn to a resize pointer. Drag that upwards 
and the frame will appear. 
Comment 2 Stephan Kulow 2003-11-22 23:14:24 UTC
that page is very strange. It got "*,900,100,*" - you can calc yourself how much room is left for * ;)
Comment 3 Pablo Pita Leira 2003-11-25 00:04:13 UTC
I went to the spec (http://www.w3.org/TR/html4/present/frames.html#h-16.2.1) to do a "calculation" :

rows="*,900,100,*"  means we have 4 rows, the second row gets 900 pixels, the third 100 pixels, the first should get 50% of the remaing space, and the forth, the other 50%. I have a resolution of 1024x768, so, even in full screen mode, Konqueror shows just a hint of the 3rd frame, which contains the foot links. It appeared fully after I manually resized it. There is nothing left to display the 1st and 4th frames. 

    
Comment 4 Pablo Pita Leira 2003-11-25 00:18:34 UTC
Oooopps ... I kept reading the spec :

Absolute lengths that do not sum to 100% of the real available space should be adjusted by the user agent. When underspecified, remaining space should be allotted proportionally to each view. When overspecified, each view should be reduced according to its specified proportion of the total space.

As my view is smaller, say 750 pixels, and the frameset is overspecified, each frame should be reduced a certain proportion. But how much is the proportion to give for the first and 4th frames ..... ???
  
Comment 5 Stephan Kulow 2003-11-25 11:04:54 UTC
Subject: Re:  framesets with *,900,100,* do not show up

On Tuesday 25 November 2003 00:18, Pablo Pita Leira wrote:
> As my view is smaller, say 750 pixels, and the frameset is overspecified,
> each frame should be reduced a certain proportion. But how much is the 
> proportion to give for the first and 4th frames ..... ???  
They are empty anyway - to cover displays with more than 1000 pixels I guess

Greetings, Stephan

Comment 6 Germain Garand 2006-03-13 01:50:15 UTC
SVN commit 518068 by ggarand:

apply nice frame calculation enhancements patch
by Niels Leenheer <niels.leenheer@gmail.com>

cf. WC/3587

also, be extra careful not to apply complex masks to frames
in KHTMLView::drawContents.

BUG: 60113, 69074, 101753



 M  +8 -5      khtmlview.cpp  
 M  +1 -2      rendering/render_form.cpp  
 M  +141 -27   rendering/render_frames.cpp