Changeset 55710 in webkit
- Timestamp:
- Mar 8, 2010 10:24:57 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r55705 r55710 1 2010-03-08 Kent Tamura <tkent@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Implement HTML5 <hgroup> element. 6 https://bugs.webkit.org/show_bug.cgi?id=32943 7 8 The new test file tests: 9 - <p> closing, 10 - Residual style, and 11 - FormatBlock. 12 13 * fast/html/hgroup-element-expected.txt: Added. 14 * fast/html/hgroup-element.html: Added. 15 * fast/html/script-tests/hgroup-element.js: Added. 16 1 17 2010-03-08 Tony Chang <tony@chromium.org> 2 18 -
trunk/WebCore/ChangeLog
r55705 r55710 1 2010-03-08 Kent Tamura <tkent@chromium.org> 2 3 Reviewed by Adam Barth. 4 5 Implement HTML5 <hgroup> element. 6 https://bugs.webkit.org/show_bug.cgi?id=33369 7 8 <hgroup> should behave the same as <nav>, <section>, <article>, and <aside>. 9 <hgroup> has no specific parsing rules. 10 11 Test: fast/html/hgroup-element.html 12 13 * css/html.css: Add hgroup as a block element. 14 * editing/htmlediting.cpp: 15 (WebCore::validBlockTag): Add hgroupTag. 16 * html/HTMLElement.cpp: 17 (WebCore::createTagPriorityMap): Returns 5 for hgroupTag. 18 (WebCore::blockTagList): Add hgroupTag. 19 * html/HTMLParser.cpp: 20 (WebCore::HTMLParser::getNode): Add hgroupTag. 21 * html/HTMLTagNames.in: Add hgroup. 22 1 23 2010-03-08 Tony Chang <tony@chromium.org> 2 24 -
trunk/WebCore/css/html.css
r54273 r55710 73 73 } 74 74 75 article, aside, footer, header, nav, section {75 article, aside, footer, header, hgroup, nav, section { 76 76 display: block 77 77 } -
trunk/WebCore/editing/htmlediting.cpp
r55271 r55710 490 490 blockTags.add(h6Tag.localName()); 491 491 blockTags.add(headerTag.localName()); 492 blockTags.add(hgroupTag.localName()); 492 493 blockTags.add(navTag.localName()); 493 494 blockTags.add(pTag.localName()); -
trunk/WebCore/html/HTMLElement.cpp
r55167 r55710 108 108 map->add(footerTag.localName().impl(), 5); 109 109 map->add(headerTag.localName().impl(), 5); 110 map->add(hgroupTag.localName().impl(), 5); 110 111 map->add(nobrTag.localName().impl(), 5); 111 112 map->add(rubyTag.localName().impl(), 5); … … 882 883 tagList.add(h6Tag.localName().impl()); 883 884 tagList.add(headerTag.localName().impl()); 885 tagList.add(hgroupTag.localName().impl()); 884 886 tagList.add(hrTag.localName().impl()); 885 887 tagList.add(isindexTag.localName().impl()); -
trunk/WebCore/html/HTMLParser.cpp
r55203 r55710 939 939 gFunctionMap.set(headTag.localName().impl(), &HTMLParser::headCreateErrorCheck); 940 940 gFunctionMap.set(headerTag.localName().impl(), &HTMLParser::pCloserCreateErrorCheck); 941 gFunctionMap.set(hgroupTag.localName().impl(), &HTMLParser::pCloserCreateErrorCheck); 941 942 gFunctionMap.set(hrTag.localName().impl(), &HTMLParser::pCloserCreateErrorCheck); 942 943 gFunctionMap.set(iTag.localName().impl(), &HTMLParser::nestedStyleCreateErrorCheck); -
trunk/WebCore/html/HTMLTagNames.in
r54649 r55710 56 56 head createWithNew 57 57 header interfaceName=HTMLElement 58 hgroup interfaceName=HTMLElement 58 59 hr interfaceName=HTMLHRElement, createWithNew 59 60 html createWithNew
Note: See TracChangeset
for help on using the changeset viewer.