test/tools/doclint/html/TagNotAllowed.java

changeset 1507
967052c425a1
parent 1465
a22f23fb7abf
child 2525
2eb010b6cb22
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/test/tools/doclint/html/TagNotAllowed.java	Mon Jan 21 10:07:37 2013 -0800
     1.3 @@ -0,0 +1,30 @@
     1.4 +/*
     1.5 + * @test /nodynamiccopyright/
     1.6 + * @bug 8004832
     1.7 + * @summary Add new doclint package
     1.8 + * @library ..
     1.9 + * @build DocLintTester
    1.10 + * @run main DocLintTester -ref TagNotAllowed.out TagNotAllowed.java
    1.11 + */
    1.12 +
    1.13 +/**
    1.14 + * <dl> <b>abc</b> <dt> term </dt> <b>def</b> <dd> description </dd> <b>ghi</b> </dl>
    1.15 + * <ol> <b>abc</b> <li> item </li> <b>def</b> <li> item </li> <b>ghi</b> </ol>
    1.16 + * <ul> <b>abc</b> <li> item </li> <b>def</b> <li> item </li> <b>ghi</b> </ul>
    1.17 + *
    1.18 + * <table summary=description> <b>abc</b> </table>
    1.19 + * <table summary=description> <thead> <b>abc</b> </thead> </table>
    1.20 + * <table summary=description> <tbody> <b>abc</b> </tbody> </table>
    1.21 + * <table summary=description> <tfoot> <b>abc</b> </tfoot> </table>
    1.22 + * <table summary=description> <tr> <b>abc</b> </tr> </table>
    1.23 + *
    1.24 + * <pre>
    1.25 + *   <img alt="image" src="image.png">
    1.26 + *   <p> para </p>
    1.27 + *   <big> text </big>
    1.28 + *   <small> text </small>
    1.29 + *   <sub> text </sub>
    1.30 + *   <sup> text </sup>
    1.31 + * </pre>
    1.32 + */
    1.33 +public class TagNotAllowed { }

mercurial