[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677

hyatt hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 07:06:21 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit e32bf97a6dac76061adbbd5deed72ddc22fdf280
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Fri Nov 22 01:57:00 2002 +0000

    	Nested <a>s are never allowed.  Make sure to always pop the
    	<a> blocks.
    
            * khtml/html/htmlparser.cpp:
            (KHTMLParser::getElement):
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@2816 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog-2002-12-03 b/WebCore/ChangeLog-2002-12-03
index b45119c..241c5e1 100644
--- a/WebCore/ChangeLog-2002-12-03
+++ b/WebCore/ChangeLog-2002-12-03
@@ -1,5 +1,13 @@
 2002-11-21  David Hyatt  <hyatt at apple.com>
 
+	Nested <a>s are never allowed.  Make sure to always pop the
+	<a> blocks.
+	
+        * khtml/html/htmlparser.cpp:
+        (KHTMLParser::getElement):
+
+2002-11-21  David Hyatt  <hyatt at apple.com>
+
 	Stop table cells from repainting the whole table when they
 	get a repaint.  Gives another big boost to link rollover
 	performance when links' containing blocks are table cells.
diff --git a/WebCore/ChangeLog-2003-10-25 b/WebCore/ChangeLog-2003-10-25
index b45119c..241c5e1 100644
--- a/WebCore/ChangeLog-2003-10-25
+++ b/WebCore/ChangeLog-2003-10-25
@@ -1,5 +1,13 @@
 2002-11-21  David Hyatt  <hyatt at apple.com>
 
+	Nested <a>s are never allowed.  Make sure to always pop the
+	<a> blocks.
+	
+        * khtml/html/htmlparser.cpp:
+        (KHTMLParser::getElement):
+
+2002-11-21  David Hyatt  <hyatt at apple.com>
+
 	Stop table cells from repainting the whole table when they
 	get a repaint.  Gives another big boost to link rollover
 	performance when links' containing blocks are table cells.
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index b45119c..241c5e1 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,5 +1,13 @@
 2002-11-21  David Hyatt  <hyatt at apple.com>
 
+	Nested <a>s are never allowed.  Make sure to always pop the
+	<a> blocks.
+	
+        * khtml/html/htmlparser.cpp:
+        (KHTMLParser::getElement):
+
+2002-11-21  David Hyatt  <hyatt at apple.com>
+
 	Stop table cells from repainting the whole table when they
 	get a repaint.  Gives another big boost to link rollover
 	performance when links' containing blocks are table cells.
diff --git a/WebCore/khtml/html/htmlparser.cpp b/WebCore/khtml/html/htmlparser.cpp
index e0b0b76..8b655c4 100644
--- a/WebCore/khtml/html/htmlparser.cpp
+++ b/WebCore/khtml/html/htmlparser.cpp
@@ -986,8 +986,8 @@ NodeImpl *KHTMLParser::getElement(Token* t)
 
 // anchor
     case ID_A:
-        if (blockStack && blockStack->id == ID_A)
-            popBlock(ID_A);
+        // Never allow nested <a>s.
+        popBlock(ID_A);
 
         n = new HTMLAnchorElementImpl(document);
         break;

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list