Version: 4.0 (using KDE 3.0.4) Compiler: gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-112) OS: Linux (i686) release 2.4.18-3 Konqueror hangs up, when I use the stylesheet "display: table-cell" for the body tag. When I use "display: table-cell" for other elements (f.ex. <p>) it works okay. Example: <html> <head> <title>Testseite</title> <style type="text/css"> <!-- body { display : table-cell; } --> </style> </head> <body>Just a test</body> </html>
I can confirm the bug: konqueror hangs on the given page (KDE CVS 3.1.93). Well, there is no problem with the tag body having a property display with a value table-cell. The CSS2 spec concerning the display property is here: http://www.w3.org/TR/CSS2/visuren.html#propdef-display. I read: <em>These values cause an element to behave like a table element (subject to restrictions described in the chapter on tables)</em> When considering the restrictions on tables I find in the spec : <em>User agents may ignore these 'display' property values for HTML documents, since authors should not alter an element's expected behavior.</em> Thus, I believe Konqueror could ignore this display value in the body tag (and all display values giving a bizarre behaviour in the body tag).
Is there any real life web page that would do that beside evil tests like: http://www.bath.ac.uk/%7Epy8ieh/internet/eviltests/htmlbodyheadrendering2.html Webcore got a special hack for that in RenderContainer::addChild - for those interested.
Konqueror 3.4.1 (and 3.5-devel) won't hang on test case. (and evil test case works fine too).