mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8006251: doclint: incorrect position for diagnostic for illegal text in tags
Reviewed-by: mcimadamore
This commit is contained in:
parent
7967c92db0
commit
f251cc24ca
17 changed files with 725 additions and 108 deletions
32
langtools/test/tools/doclint/html/TextNotAllowed.java
Normal file
32
langtools/test/tools/doclint/html/TextNotAllowed.java
Normal file
|
@ -0,0 +1,32 @@
|
|||
/*
|
||||
* @test /nodynamiccopyright/
|
||||
* @bug 8004832
|
||||
* @summary Add new doclint package
|
||||
* @library ..
|
||||
* @build DocLintTester
|
||||
* @run main DocLintTester -ref TextNotAllowed.out TextNotAllowed.java
|
||||
*/
|
||||
|
||||
/**
|
||||
* <dl> abc <dt> term </dt> def <dd> description </dd> ghi </dl>
|
||||
* <ol> abc <li> item </li> def <li> item </li> ghi </ol>
|
||||
* <ul> abc <li> item </li> def <li> item </li> ghi </ul>
|
||||
*
|
||||
* <table summary=description> abc </table>
|
||||
* <table summary=description> <thead> abc </thead> </table>
|
||||
* <table summary=description> <tbody> abc </tbody> </table>
|
||||
* <table summary=description> <tfoot> abc </tfoot> </table>
|
||||
* <table summary=description> <tr> abc </tr> </table>
|
||||
*
|
||||
* <dl> & <dt> term </dt> < <dd> description </dd> > </dl>
|
||||
* <ol> & <li> item </li> < <li> item </li> > </ol>
|
||||
* <ul> & <li> item </li> < <li> item </li> > </ul>
|
||||
*
|
||||
* <table summary=description> & </table>
|
||||
* <table summary=description> <thead> & </thead> </table>
|
||||
* <table summary=description> <tbody> & </tbody> </table>
|
||||
* <table summary=description> <tfoot> & </tfoot> </table>
|
||||
* <table summary=description> <tr> & </tr> </table>
|
||||
*
|
||||
*/
|
||||
public class TextNotAllowed { }
|
Loading…
Add table
Add a link
Reference in a new issue