Bug 45655

Summary: Position of image set with CSS via bottom=0px is wrong
Product: [Applications] konqueror Reporter: Rolf Eike Beer <kde>
Component: khtml rendererAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: rockertux
Priority: NOR    
Version: 3.0.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Testcase for CSS "bottom:" attribute

Description Rolf Eike Beer 2002-07-23 13:23:21 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           khtml
Version:           3.0.2 (using KDE 3.0.2 )
Severity:          normal
Installed from:    SuSE
Compiler:          gcc version 2.95.3 20010315 (SuSE)
OS:                Linux (i686) release 2.4.19-rc1
OS/Compiler notes: 

<div style="position:absolute; bottom:0px; right:0px;">
   <img src"...">
   ...
 </div>

Does not work for me. But if I resize the window it is displayed correctly. Hitting Reload after this break it again (the image is displayed from the top of the page upwards so only the last few pixels are visible).

Maybe there is a problem in the order of rendering?

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Jason Keirstead 2002-09-27 01:48:27 UTC
Created attachment 89 [details]
Testcase for CSS "bottom:" attribute

This is a testcase for this bug; Konqueror does not respect the bottom:
property properly. COmpare the result of opening this file in Konqueror to in
Mozilla.
Comment 2 Jason Keirstead 2002-09-27 01:50:06 UTC
I attached a testcase for this bug because I have had simmilar problems with 
the bottom: attribute of a div tag. Konq does not seem to respect bottom: unles 
sposition is set to fixed, it should also repect it for absolute. 
Comment 3 Doug Neal 2003-04-15 03:49:24 UTC
I can confirm that this bug exists in KDE 3.1.1 with the Debian sid packages for i386. 
Comment 4 irv 2003-09-15 13:03:39 UTC
using CVS from 20030907, the problems with the 'bottom' css keyword are still
evident, however they have changed somewhat. An absolutely positioned block
element with bottom:0 renders correctly in konqueror now, however if you use
position:fixed it doesn't appear to be rendered at all (unless its rendered
under the body or something, settign a z-index has no effect, in which case
could it be related to bug 43546?) or it it a new bug which needs its own
report? either way it appears the specifics of this bug report have been fixed :)
Comment 5 Rolf Eike Beer 2004-05-10 18:42:50 UTC
Looks like fixed in 3.2.2

It's some pixel over the bottom of the page but this is not critical, just a bit ugly ;)
Comment 6 RockerTux 2006-03-15 22:57:58 UTC
it is still not working for me =/

bottom: 0

is rendered like:

position: fixed ; bottom: 0

even if i specify:

position: absolute

using gentoo linux ~amd64, gcc 3.4.5, CXXFLAGS="-march=athlon64 -mtune=athlon64 -pipe -O2 -fforce-addr -funit-at-a-time -fpeel-loops -funswitch-loops -fomit-frame-pointer -ftracer -mmmx -msse -m3dnow"
Comment 7 Germain Garand 2006-03-16 09:11:51 UTC
re: #6, what do you mean exactly? please attach a test case.