RFR: JDK-8266856 Make <wbr> element void
    Jonathan Gibbons 
    jjg at openjdk.java.net
       
    Tue May 18 23:30:42 UTC 2021
    
    
  
On Tue, 18 May 2021 17:36:44 GMT, Vicente Romero <vromero at openjdk.org> wrote:
>> Please review a simple fix to treat `war` as a void element.
>
> test/langtools/tools/doclint/html/HtmlVersionTagsAttrsTest.java line 154:
> 
>> 152:      * </template>
>> 153:      * <p>Test current time is <time>10:00</time> at night</p>
>> 154:      * <p>Test<wbr>text</p>
> 
> this is a positive test shouldnt we have negative tests too?
I guess I felt this was close to a `noreg-trivial` change to an element that is rarely used, at least in doc comments. The only reason there's a test at at is because it is a holdover from the HTML5 conversion.
-------------
PR: https://git.openjdk.java.net/jdk/pull/4098
    
    
More information about the javadoc-dev
mailing list