< prev index next >
test/langtools/tools/doclint/html/HtmlVersionTagsAttrsTest.java
Print this page
*** 81,91 ****
* <li>Second</li>
* <li>Third</li>
* </ol>
* <img src="testImg.jpg" alt="imgTest" crossorigin="anonymous">
* <div aria-labelledby="Topics" aria-describedby="t1">
! * <h1 id="Topics">Topics</h1>
* <p id="t1">Aria attribute test</p>
* <p id="t2" aria-label="Label">Label test</p>
* </div>
*/
public void SupportedAttrs_in_html5_not_in_html4() { }
--- 81,91 ----
* <li>Second</li>
* <li>Third</li>
* </ol>
* <img src="testImg.jpg" alt="imgTest" crossorigin="anonymous">
* <div aria-labelledby="Topics" aria-describedby="t1">
! * <h4 id="Topics">Topics</h4>
* <p id="t1">Aria attribute test</p>
* <p id="t2" aria-label="Label">Label test</p>
* </div>
*/
public void SupportedAttrs_in_html5_not_in_html4() { }
*** 96,107 ****
* <font size="3">Font test</font>
* <p>Text <strike>strike</strike></p>
* <p><tt>Teletype text</tt></p>
* <section>
* <hgroup>
! * <h1>Section</h1>
! * <h2> Another heading</h2>
* </hgroup>
* hgroup no longer supported in HTML5.
* </section>
* <details>
* <summary>Summary</summary>
--- 96,107 ----
* <font size="3">Font test</font>
* <p>Text <strike>strike</strike></p>
* <p><tt>Teletype text</tt></p>
* <section>
* <hgroup>
! * <h4>Section</h4>
! * <h5> Another heading</h5>
* </hgroup>
* hgroup no longer supported in HTML5.
* </section>
* <details>
* <summary>Summary</summary>
*** 111,126 ****
public void notSupportedTags_html5() { }
/**
* <section>
* <p>Testing section tag</p>
! * <h1>Section</h1>
* Section text.
* </section>
* <article>
* <p>Testing article tag</p>
! * <h1>Article</h1>
* Article text.
* </article>
* <header>
* <nav>Navigation</nav>
* Testing header
--- 111,126 ----
public void notSupportedTags_html5() { }
/**
* <section>
* <p>Testing section tag</p>
! * <h4>Section</h4>
* Section text.
* </section>
* <article>
* <p>Testing article tag</p>
! * <h5>Article</h5>
* Article text.
* </article>
* <header>
* <nav>Navigation</nav>
* Testing header
*** 131,141 ****
* </footer>
* <main>
* Main content
* </main>
* <aside>
! * <h2>Test aside</h2>
* <p>Description</p>
* </aside>
* <ul>
* <li>Testing<bdi>BDI</bdi></li>
* </ul>
--- 131,141 ----
* </footer>
* <main>
* Main content
* </main>
* <aside>
! * <h4>Test aside</h4>
* <p>Description</p>
* </aside>
* <ul>
* <li>Testing<bdi>BDI</bdi></li>
* </ul>
< prev index next >