Commit e32bf97a authored by hyatt's avatar hyatt

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
parent 878ccf1e
2002-11-21 David Hyatt <hyatt@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@apple.com>
Stop table cells from repainting the whole table when they
......
2002-11-21 David Hyatt <hyatt@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@apple.com>
Stop table cells from repainting the whole table when they
......
2002-11-21 David Hyatt <hyatt@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@apple.com>
Stop table cells from repainting the whole table when they
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment