Changeset 62398 in webkit
- Timestamp:
- Jul 2, 2010 12:45:28 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r62397 r62398 1 2010-07-02 Peter Beverloo <peter@lvp-media.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Add the HTML5 <mark> element. Text content of the element will have 6 a yellow background color and black text. 7 8 Tests for <p> closing, phrasing child content and residual style. 9 10 * fast/html/mark-element-expected.txt: Added. 11 * fast/html/mark-element.html: Added. 12 * fast/html/script-tests/mark-element.js: Added. 13 1 14 2010-07-02 Zhenyao Mo <zmo@google.com> 2 15 -
trunk/WebCore/ChangeLog
r62397 r62398 1 2010-07-02 Peter Beverloo <peter@lvp-media.com> 2 3 Reviewed by Maciej Stachowiak. 4 5 Add the HTML5 <mark> element. Text content of the element will have 6 a yellow background color and black text. 7 8 Test: fast/html/mark-element.html 9 Tests for <p> closing, phrasing child content and residual style. 10 11 * css/html.css: 12 (mark): 13 * html/HTMLElement.cpp: 14 (WebCore::inlineTagList): 15 * html/HTMLTagNames.in: 16 * html/LegacyHTMLTreeBuilder.cpp: 17 (WebCore::LegacyHTMLTreeBuilder::getNode): 18 (WebCore::LegacyHTMLTreeBuilder::isInline): 19 (WebCore::LegacyHTMLTreeBuilder::isResidualStyleTag): 20 1 21 2010-07-02 Zhenyao Mo <zmo@google.com> 2 22 -
trunk/WebCore/css/html.css
r61993 r62398 632 632 } 633 633 634 mark { 635 background-color: yellow; 636 color: black 637 } 638 634 639 big { 635 640 font-size: larger -
trunk/WebCore/html/HTMLElement.cpp
r61637 r62398 859 859 tagList.add(progressTag.localName().impl()); 860 860 tagList.add(meterTag.localName().impl()); 861 tagList.add(markTag.localName().impl()); 861 862 } 862 863 return &tagList; -
trunk/WebCore/html/HTMLTagNames.in
r60418 r62398 75 75 listing interfaceName=HTMLPreElement 76 76 map 77 mark interfaceName=HTMLElement 77 78 marquee 78 79 menu -
trunk/WebCore/html/LegacyHTMLTreeBuilder.cpp
r62079 r62398 945 945 mapTagsToFunc(gFunctionMap, nestedCreateErrorTags, &LegacyHTMLTreeBuilder::nestedCreateErrorCheck); 946 946 947 QualifiedName nestedStyleCreateErrorTags[] = { bTag, bigTag, iTag, sTag, smallTag, strikeTag, ttTag, uTag };947 QualifiedName nestedStyleCreateErrorTags[] = { bTag, bigTag, iTag, markTag, sTag, smallTag, strikeTag, ttTag, uTag }; 948 948 mapTagsToFunc(gFunctionMap, nestedStyleCreateErrorTags, &LegacyHTMLTreeBuilder::nestedStyleCreateErrorCheck); 949 949 … … 1058 1058 e->hasLocalName(supTag) || e->hasLocalName(spanTag) || e->hasLocalName(nobrTag) || 1059 1059 e->hasLocalName(noframesTag) || e->hasLocalName(nolayerTag) || 1060 e->hasLocalName(noembedTag) )1060 e->hasLocalName(noembedTag) || e->hasLocalName(markTag)) 1061 1061 return true; 1062 1062 #if !ENABLE(XHTMLMP) … … 1078 1078 QualifiedName tagNames[] = { aTag, fontTag, ttTag, uTag, bTag, iTag, 1079 1079 sTag, strikeTag, bigTag, smallTag, emTag, strongTag, dfnTag, 1080 codeTag, sampTag, kbdTag, varTag, nobrTag };1080 codeTag, sampTag, kbdTag, varTag, nobrTag, markTag }; 1081 1081 addTags(residualStyleTags, tagNames); 1082 1082 }
Note: See TracChangeset
for help on using the changeset viewer.