Small test case for bug in renderer floats

Vadim Plessky lucy-ples at mtu-net.ru
Sat Aug 3 11:31:35 BST 2002


On Thursday 01 August 2002 8:20 pm, Koos Vriezen wrote:
|  On Mon, 29 Jul 2002, Koos Vriezen wrote:
[...]
|  >
|  > Not sure what goes wrong here, but this makes the float be indented by
|  > the body margin twice. First guess would be call
|  > RenderFlow::addOverHangingFloats with child, 0, -child->yPos() and true.
|  > Also helps for http://www.linuxplanet.com/linuxplanet/reviews/4315/1
|  > reported by Hetz Ben Hamo on 18 July to this list.
|
|  Hmmm, this breaks http://msdn.microsoft.com/. Could also be that
|  rendering/render_flow.cpp:1000
|                  if (flow != parent())
|                      special->left += flow->marginLeft();
|  should be
|                  if (flow == parent())
|                      special->left += flow->marginLeft();
|  Works for the above and msdn.

And is Bug#41403 fixed with changes you mention above?

CSS1: incorrect rendering for { float:right } block (misplaced right border) 
[testcase])
http://bugs.kde.org/db/41/41403.html

|
|  Koos

-- 

Vadim Plessky
http://kde2.newmail.ru  (English)
33 Window Decorations and 6 Widget Styles for KDE
http://kde2.newmail.ru/kde_themes.html
KDE mini-Themes
http://kde2.newmail.ru/themes/






More information about the kfm-devel mailing list