removal of display-sanity checking

Dirk Mueller mueller at kde.org
Sat Oct 25 19:07:59 CEST 2003


Hi, 

--- WebCore-old/khtml/rendering/render_box.cpp  2003-10-22 03:59:54.000000000 
+0200
+++ WebCore/khtml/rendering/render_box.cpp      2003-10-08 23:43:42.000000000 
+0200
@@ -66,23 +66,13 @@
 
 void RenderBox::setStyle(RenderStyle *_style)
 {
-    // Make sure the root element retains its display:block type even across 
style
-    // changes.
-    if (isRoot() && _style->display() != NONE)
-        _style->setDisplay(BLOCK);
-    
     RenderObject::setStyle(_style);


any reason why this was removed? (besides that it should be isCanvas() now 
anyway). 



-- 
> Looking for a KDE-related EMail-Alias ? Get one at kdemail.net for FREE! <


More information about the Khtml-devel mailing list