Bug 208747

Summary: [CSS 2.1 Conformance] Float and reflow: dynamically floating containers makes them disappear
Product: [Applications] konqueror Reporter: Gérard Talbot (no longer involved) <browserbugs2>
Component: khtmlAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal Keywords: testcase
Priority: NOR    
Version: 4.7.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gérard Talbot (no longer involved) 2009-09-28 06:35:51 UTC
Version:            (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

Testcase
========
http://www.gtalbot.org/BrowserBugsSection/Konqueror4Bugs/float-reflow.html

Original demo webpage from Gabriele Romanato
=====================
http://www.css-zibaldone.com/test/css21/floats/float-reflow-3/index.html

Steps to reproduce
==================
click the Float the containers button. 

Actual results in Konqueror 4.3.1
=================================
the 3 (lime, yellow and orange) containers disappear, become invisible. 

Expected results
================
the 3 (lime, yellow and orange) containers should be laid out side by side. 

Firefox 3.5.3, Opera 10.10 (build 1799), Safari 4.0.3 all pass this test.

Reference
=========
"A floated box is shifted to the left or right until its outer edge touches the containing block edge or the outer edge of another float."
CSS 2.1, section 9.5 Floats
http://www.w3.org/TR/CSS21/visuren.html#floats

Note
====

Konqueror 4.3.1 passes this test:
http://www.gtalbot.org/BrowserBugsSection/MSIE8Bugs/misaligned-floated-links.html

I am using KDE 4.3.1 and Qt 4.5.2 under Linux (Kubuntu) 2.6.28-15-generic.

regards, Gérard
Comment 1 Gérard Talbot (no longer involved) 2009-09-28 06:39:07 UTC
Konqueror 4.3.1 also passes this test:
http://www.gtalbot.org/BrowserBugsSection/MSIE6Bugs/CssFloat.html

regards, Gérard
Comment 2 Gérard Talbot (no longer involved) 2012-01-13 05:45:19 UTC
Now at
http://www.gtalbot.org/BrowserBugsSection/MSIE7Bugs/CssFloat.html
Comment 3 Christoph Cullmann 2024-05-06 18:38:13 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann