XML Patch For FOUC
Antti Koivisto
koivisto@iki.fi
Thu, 16 Jan 2003 02:14:29 +0200
I ended up removing the assert from RenderContainer::addChild(). Dirk pointed
out that stuff below does not really work either. Seems that in some cases it
is simpler to just have some display:none elements in the rendering tree.
antti
On Wednesday 15 January 2003 23:17, Antti Koivisto wrote:
> On Wednesday 15 January 2003 22:10, Dirk Mueller wrote:
> > Well, its not incorrect. we ignore display: none on some elements, like
> > <HTML> or <FRAMESET>, because clueless webdesigners set it on those
> > elements and this makes the site inaccessible to konqueror.
>
> In that case isn't the right solution to do setDisplay(BLOCK) for the style
> object before using it to create the RenderObject? Having a RenderObject
> with display()==NONE seems wrong to me (and broken because of an assert in
> RenderContainer::addChild()).
>
>
> antti
>
> _______________________________________________
> Khtml-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/khtml-devel