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

List:       kde-commits
Subject:    KDE/kdelibs/khtml/html
From:       Germain Garand <germain () ebooksfrance ! org>
Date:       2010-01-22 21:12:56
Message-ID: 1264194776.426496.32354.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1078786 by ggarand:

fix many issues in the parser/tokenizer:

.correctly fix tricky issue mentioned in #83284 /wrt to wrong tokenizing of
 lt entity + '!--' as a comment start, by tracking if we are far enough
 from the last encountered entity to be able to look back with confidence
 (also fix similar issue with end-tags:
     <title>&lt;title>should be in title</title>)
.fix crash in some instances of <script .../> due to |script| bool member
 not being set (and thus triggering wrong code path in notifyFinished)
.remove handling of unclosed script elements with 'src' attribute, as it is
 no longer compatible with other UAs and prevents us from correctly
 handling broken comments in |script| elements' content (WONTFIX #58420).
.fix handling of unclosed comments in script elements(#83284 per se -> #c1)
.fix handling of unclosed title element:
  <title>One<p>Two.
.rename |parseSpecial| to more telling |parseRawContent|, along with all
 its dependent members ; add some comments explaining what's
 going on, as well as the purpose of the finish() hackery

CCBUG: 83284
CCBUG: 58420

 M  +3 -0      htmlparser.cpp  
 M  +116 -104  htmltokenizer.cpp  
 M  +15 -15    htmltokenizer.h  


http://websvn.kde.org/?view=rev&revision=1078786
[prev in list] [next in list] [prev in thread] [next in thread] 

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