2009-08-13 Maciej Stachowiak <mjs@apple.com>
Reviewed by Sam Weinig.
- Implement HTML5 nav element
https://bugs.webkit.org/show_bug.cgi?id=27937
<nav> should behave essentially the same as <div> for parsing
etc. This is implemented by the changes below.
Tests: fast/html/nav-element.html
* css/html.css:
* editing/htmlediting.cpp:
(WebCore::validBlockTag):
* html/HTMLElement.cpp:
(WebCore::HTMLElement::tagPriority):
(WebCore::blockTagList):
* html/HTMLParser.cpp:
(WebCore::HTMLParser::getNode):
* html/HTMLTagNames.in:
2009-08-13 Maciej Stachowiak <mjs@apple.com>
Reviewed by Sam Weinig.
- Tests for: Implement HTML5 nav element
https://bugs.webkit.org/show_bug.cgi?id=27937
Test aspects of <nav>, including residual style, <p> closing, and FormatBlock.
* fast/html/nav-element-expected.txt: Added.
* fast/html/nav-element.html: Added.
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@47489
268f45cc-cd09-0410-ab3c-
d52691b4dbfc