< prev index next >

test/langtools/tools/doclint/html/HtmlVersionTagsAttrsTest.java

Print this page

        

@@ -81,11 +81,11 @@
      * <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>
+     * <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,12 +96,12 @@
      * <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>
+     * <h4>Section</h4>
+     * <h5> Another heading</h5>
      * </hgroup>
      * hgroup no longer supported in HTML5.
      * </section>
      * <details>
      * <summary>Summary</summary>

@@ -111,16 +111,16 @@
     public void notSupportedTags_html5() { }
 
     /**
      * <section>
      * <p>Testing section tag</p>
-     * <h1>Section</h1>
+     * <h4>Section</h4>
      * Section text.
      * </section>
      * <article>
      * <p>Testing article tag</p>
-     * <h1>Article</h1>
+     * <h5>Article</h5>
      * Article text.
      * </article>
      * <header>
      * <nav>Navigation</nav>
      * Testing header

@@ -131,11 +131,11 @@
      * </footer>
      * <main>
      * Main content
      * </main>
      * <aside>
-     * <h2>Test aside</h2>
+     * <h4>Test aside</h4>
      * <p>Description</p>
      * </aside>
      * <ul>
      * <li>Testing<bdi>BDI</bdi></li>
      * </ul>
< prev index next >