Tue, 24 Sep 2013 10:48:11 -0700
8025050: Doclint doesn't recognize <dfn> tag
Reviewed-by: bpatel
src/share/classes/com/sun/tools/doclint/HtmlTag.java | file | annotate | diff | comparison | revisions | |
test/tools/doclint/html/InlineTagsTest.java | file | annotate | diff | comparison | revisions |
1.1 --- a/src/share/classes/com/sun/tools/doclint/HtmlTag.java Mon Sep 23 15:37:59 2013 -0400 1.2 +++ b/src/share/classes/com/sun/tools/doclint/HtmlTag.java Tue Sep 24 10:48:11 2013 -0700 1.3 @@ -86,6 +86,9 @@ 1.4 DD(BlockType.LIST_ITEM, EndKind.OPTIONAL, 1.5 EnumSet.of(Flag.ACCEPTS_BLOCK, Flag.ACCEPTS_INLINE, Flag.EXPECT_CONTENT)), 1.6 1.7 + DFN(BlockType.INLINE, EndKind.REQUIRED, 1.8 + EnumSet.of(Flag.EXPECT_CONTENT, Flag.NO_NEST)), 1.9 + 1.10 DIV(BlockType.BLOCK, EndKind.REQUIRED, 1.11 EnumSet.of(Flag.ACCEPTS_BLOCK, Flag.ACCEPTS_INLINE)), 1.12
2.1 --- a/test/tools/doclint/html/InlineTagsTest.java Mon Sep 23 15:37:59 2013 -0400 2.2 +++ b/test/tools/doclint/html/InlineTagsTest.java Tue Sep 24 10:48:11 2013 -0700 2.3 @@ -39,6 +39,7 @@ 2.4 * <br> 2.5 * <cite> abc </cite> 2.6 * <code> abc </code> 2.7 + * <dfn> abc </dfn> 2.8 * <em> abc </em> 2.9 * <font> abc </font> 2.10 * <i> abc </i>