Changeset 47489 in webkit
- Timestamp:
- Aug 18, 2009 10:09:35 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r47472 r47489 1 2009-08-13 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 - Tests for: Implement HTML5 nav element 6 https://bugs.webkit.org/show_bug.cgi?id=27937 7 8 Test aspects of <nav>, including residual style, <p> closing, and FormatBlock. 9 10 * fast/html/nav-element-expected.txt: Added. 11 * fast/html/nav-element.html: Added. 12 1 13 2009-08-18 Oliver Hunt <oliver@apple.com> 2 14 -
trunk/WebCore/ChangeLog
r47482 r47489 1 2009-08-13 Maciej Stachowiak <mjs@apple.com> 2 3 Reviewed by Sam Weinig. 4 5 - Implement HTML5 nav element 6 https://bugs.webkit.org/show_bug.cgi?id=27937 7 8 <nav> should behave essentially the same as <div> for parsing 9 etc. This is implemented by the changes below. 10 11 Tests: fast/html/nav-element.html 12 13 * css/html.css: 14 * editing/htmlediting.cpp: 15 (WebCore::validBlockTag): 16 * html/HTMLElement.cpp: 17 (WebCore::HTMLElement::tagPriority): 18 (WebCore::blockTagList): 19 * html/HTMLParser.cpp: 20 (WebCore::HTMLParser::getNode): 21 * html/HTMLTagNames.in: 22 1 23 2009-08-18 Anders Carlsson <andersca@apple.com> 2 24 -
trunk/WebCore/css/html.css
r47420 r47489 73 73 } 74 74 75 nav { 76 display: block 77 } 78 75 79 marquee { 76 80 display: inline-block; -
trunk/WebCore/editing/htmlediting.cpp
r46681 r47489 462 462 bool validBlockTag(const String& blockTag) 463 463 { 464 // FIXME: convert this to a HashSet 464 465 if (blockTag == "address" || 465 466 blockTag == "blockquote" || … … 474 475 blockTag == "h5" || 475 476 blockTag == "h6" || 477 blockTag == "nav" || 476 478 blockTag == "p" || 477 479 blockTag == "pre") -
trunk/WebCore/html/HTMLElement.cpp
r47420 r47489 93 93 if (hasLocalName(addressTag) || hasLocalName(ddTag) || hasLocalName(dtTag) || hasLocalName(noscriptTag) || hasLocalName(rpTag) || hasLocalName(rtTag)) 94 94 return 3; 95 if (hasLocalName(centerTag) || hasLocalName(nobrTag) || hasLocalName(rubyTag) )95 if (hasLocalName(centerTag) || hasLocalName(nobrTag) || hasLocalName(rubyTag) || hasLocalName(navTag)) 96 96 return 5; 97 97 if (hasLocalName(noembedTag) || hasLocalName(noframesTag)) … … 883 883 tagList.add(marqueeTag.localName().impl()); 884 884 tagList.add(menuTag.localName().impl()); 885 tagList.add(navTag.localName().impl()); 885 886 tagList.add(noembedTag.localName().impl()); 886 887 tagList.add(noframesTag.localName().impl()); -
trunk/WebCore/html/HTMLParser.cpp
r47420 r47489 922 922 gFunctionMap.set(mapTag.localName().impl(), &HTMLParser::mapCreateErrorCheck); 923 923 gFunctionMap.set(menuTag.localName().impl(), &HTMLParser::pCloserCreateErrorCheck); 924 gFunctionMap.set(navTag.localName().impl(), &HTMLParser::pCloserCreateErrorCheck); 924 925 gFunctionMap.set(nobrTag.localName().impl(), &HTMLParser::nestedCreateErrorCheck); 925 926 gFunctionMap.set(noembedTag.localName().impl(), &HTMLParser::noembedCreateErrorCheck); -
trunk/WebCore/html/HTMLTagNames.in
r47469 r47489 73 73 menu createWithNew 74 74 meta createWithNew 75 nav interfaceName=HTMLElement, createWithNew 75 76 nobr interfaceName=HTMLElement, createWithNew 76 77 noembed interfaceName=HTMLElement, createWithNew
Note: See TracChangeset
for help on using the changeset viewer.