XML Patch For FOUC
Dirk Mueller
mueller@kde.org
Wed, 15 Jan 2003 21:10:23 +0100
On Mit, 15 Jan 2003, David Hyatt wrote:
> When "display: none" is used, it's very similar to what happens with
> the FOUC patch. You go ahead and attach all the descendants of the
> display: none element, even though none of them create render objects.
> So asserting that you have to have a parentNode->renderer() at the top
> of attach methods is incorrect IMO and should be removed, since it's
> wrong in the "display: none" case even without the FOUC fixes.
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.
We have similiar hacks in many places where a certain CSS setting just
doesn't make any sense (while still being widely employed on webpages).
--
Dirk (received 619 mails today)