changeset 20253:8e84701d7da0

8025050: Doclint doesn't recognize <dfn> tag Reviewed-by: bpatel
author jjg
date Tue, 24 Sep 2013 10:48:11 -0700
parents fae5c47ba7a4
children 8246fe4d6638
files langtools/src/share/classes/com/sun/tools/doclint/HtmlTag.java langtools/test/tools/doclint/html/InlineTagsTest.java
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/langtools/src/share/classes/com/sun/tools/doclint/HtmlTag.java	Mon Sep 23 15:37:59 2013 -0400
+++ b/langtools/src/share/classes/com/sun/tools/doclint/HtmlTag.java	Tue Sep 24 10:48:11 2013 -0700
@@ -86,6 +86,9 @@
     DD(BlockType.LIST_ITEM, EndKind.OPTIONAL,
             EnumSet.of(Flag.ACCEPTS_BLOCK, Flag.ACCEPTS_INLINE, Flag.EXPECT_CONTENT)),
 
+    DFN(BlockType.INLINE, EndKind.REQUIRED,
+            EnumSet.of(Flag.EXPECT_CONTENT, Flag.NO_NEST)),
+
     DIV(BlockType.BLOCK, EndKind.REQUIRED,
             EnumSet.of(Flag.ACCEPTS_BLOCK, Flag.ACCEPTS_INLINE)),
 
--- a/langtools/test/tools/doclint/html/InlineTagsTest.java	Mon Sep 23 15:37:59 2013 -0400
+++ b/langtools/test/tools/doclint/html/InlineTagsTest.java	Tue Sep 24 10:48:11 2013 -0700
@@ -39,6 +39,7 @@
      *  <br>
      *  <cite> abc </cite>
      *  <code> abc </code>
+     *  <dfn> abc </dfn>
      *  <em> abc </em>
      *  <font> abc </font>
      *  <i> abc </i>