[Webkit-unassigned] [Bug 103172] implement the HTML <main> element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Nov 25 02:25:18 PST 2012


https://bugs.webkit.org/show_bug.cgi?id=103172


Steve Faulkner <faulkner.steve at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #175877|                            |review+, commit-queue?
               Flag|                            |




--- Comment #2 from Steve Faulkner <faulkner.steve at gmail.com>  2012-11-25 02:27:27 PST ---
Created an attachment (id=175877)
 --> (https://bugs.webkit.org/attachment.cgi?id=175877&action=review)
patch to add <main> 

changes made to add main support

mapped LandamrkMainRole to mainTag
[WebCore\accessibility\AccessibilityRenderObject.cpp]
Line 2485 :     if (node && node->hasTagName(mainTag))
Line 2486 :     return LandmarkMainRole;

added mainTag as a blockTag
[WebCore\WebKit\editing\FormatBlockCommand.cpp]
Line 139 :         blockTags.add(mainTag);
added mainTag as a stackItem
[WebCore\WebKit\html\parser\HTMLStackItem.h]
Line 171 :             || tagName == HTMLNames::mainTag

added mainTag in tree builder
[WebCore\WebKit\html\parser\HTMLTreeBuilder.cpp]
Line 714 :         || token->name() == mainTag
Line 1726 :         || token->name() == mainTag

added main to following style declaration:
[WebCore\css\html.css]
article, aside, footer, header, hgroup, main, nav, section {
    display: block
}

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list