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: svn://svn.chromium.org/blink/trunk@47489 bbb929c8-8fbe-4397-9dbb-9b2b20218538
diff --git a/WebCore/css/html.css b/WebCore/css/html.css
index 3d0b667..14ca172 100644
--- a/WebCore/css/html.css
+++ b/WebCore/css/html.css
@@ -72,6 +72,10 @@
     display: block
 }
 
+nav {
+    display: block
+}
+
 marquee {
     display: inline-block;
     overflow: -webkit-marquee