[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: branches/KDE/3.5/kdelibs/khtml/html
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2006-06-18 13:37:31
Message-ID: 200606181537.32161.germain () ebooksfrance ! org
[Download RAW message or body]

Le Vendredi 16 Juin 2006 14:05, Allan Sandfeld Jensen a écrit :
> SVN commit 552019 by carewolf:
>
> Don't save misplaced BASE elements inside BODY, no other browser does
> bug: 67313
>
>
>  M  +1 -1      htmlparser.cpp
>
>
> --- branches/KDE/3.5/kdelibs/khtml/html/htmlparser.cpp #552018:552019
> @@ -413,7 +413,7 @@

context:
           case ID_META:
           case ID_LINK:
           case ID_ISINDEX:
>          case ID_BASE:
>              if( !head )
>                  createHead();
> -            if( head ) {
> +            if( head && !inBody ) {
>                  if ( head->addChild(n) ) {
>  #if SPEED_DEBUG < 2
>                      if(!n->attached() && HTMLWidget)

what about those other 3 elements? 
at least, misplaced stylesheet inclusion statements are quite common and 
honoured by all browsers IIRC

Germain

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic