diff options
author | tkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2009-12-26 05:26:59 +0000 |
---|---|---|
committer | tkent@chromium.org <tkent@chromium.org@bbb929c8-8fbe-4397-9dbb-9b2b20218538> | 2009-12-26 05:26:59 +0000 |
commit | a57dc993809eb24ad43315576a236a5938748aa2 (patch) | |
tree | e17d37de7281e177bd20654e67d1d371f5936126 /third_party/WebKit/LayoutTests/fast/html/section-element-expected.txt | |
parent | 3e0b3bc1e2b02f505576fa1b64c9dcbccb434e8d (diff) | |
download | chromium_src-a57dc993809eb24ad43315576a236a5938748aa2.zip chromium_src-a57dc993809eb24ad43315576a236a5938748aa2.tar.gz chromium_src-a57dc993809eb24ad43315576a236a5938748aa2.tar.bz2 |
2009-12-25 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler.
Implement HTML5 section element.
https://bugs.webkit.org/show_bug.cgi?id=32936
<section> should behave the same as <nav>.
Test: fast/html/section-element.html
* css/html.css: Add section as a block element.
* editing/htmlediting.cpp:
(WebCore::validBlockTag): Add sectionTag.
* html/HTMLElement.cpp:
(WebCore::HTMLElement::tagPriority): Returns 5 for sectionTag.
(WebCore::blockTagList): Add sectionTag.
* html/HTMLParser.cpp:
(WebCore::HTMLParser::getNode): Add sectionTag.
* html/HTMLTagNames.in: Add section.
2009-12-25 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler.
Implement HTML5 section element.
https://bugs.webkit.org/show_bug.cgi?id=32936
The new test file tests:
- <p> closing,
- Residual style, and
- FormatBlock.
* fast/html/script-tests/TEMPLATE.html: Added.
* fast/html/script-tests/section-element.js: Added.
* fast/html/section-element-expected.txt: Added.
* fast/html/section-element.html: Added.
git-svn-id: svn://svn.chromium.org/blink/trunk@52564 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Diffstat (limited to 'third_party/WebKit/LayoutTests/fast/html/section-element-expected.txt')
-rw-r--r-- | third_party/WebKit/LayoutTests/fast/html/section-element-expected.txt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/fast/html/section-element-expected.txt b/third_party/WebKit/LayoutTests/fast/html/section-element-expected.txt new file mode 100644 index 0000000..c637cf1 --- /dev/null +++ b/third_party/WebKit/LayoutTests/fast/html/section-element-expected.txt @@ -0,0 +1,20 @@ +Various tests for the section element. + +On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". + + +<section> closes <p>: +PASS section1.parentNode.nodeName == "p" is false +<p> does not close <section>: +PASS p1.parentNode.nodeName is "SECTION" +<section> can be nested inside <section>: +PASS section3.parentNode.id is "section2" +Residual style: +PASS getWeight("section4") is "bold" +PASS getWeight("span1") is "bold" +FormatBlock: +PASS document.getElementById("span2").parentNode.nodeName is "SECTION" +PASS successfullyParsed is true + +TEST COMPLETE + |