2020-06-23 12:27:31 -07:00
|
|
|
/*
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 8247955
|
|
|
|
* @summary Add new doclint package
|
2020-09-23 19:55:08 +00:00
|
|
|
* @modules jdk.javadoc/jdk.javadoc.internal.doclint
|
2020-06-23 12:27:31 -07:00
|
|
|
* @build DocLintTester
|
|
|
|
* @run main DocLintTester -XhtmlVersion:html5 -Xmsgs:-accessibility AccessibilityTest5.java
|
|
|
|
* @run main DocLintTester -XhtmlVersion:html5 -ref AccessibilityTest5.out AccessibilityTest5.java
|
|
|
|
*/
|
|
|
|
|
|
|
|
// This test should be merged into AccessibilityTest.java when we drop support for html4.
|
|
|
|
|
|
|
|
/** */
|
|
|
|
public class AccessibilityTest5 {
|
|
|
|
/**
|
|
|
|
* <table><caption>ok</caption><tr><th>head<tr><td>data</table>
|
|
|
|
*/
|
|
|
|
public void table_with_caption() { }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* <table><tr><th>head<tr><td>data</table>
|
|
|
|
*/
|
|
|
|
public void table_without_caption() { }
|
|
|
|
|
|
|
|
/**
|
|
|
|
* <table role="presentation"><tr><th>head<tr><td>data</table>
|
|
|
|
*/
|
|
|
|
public void table_presentation() { }
|
|
|
|
}
|
|
|
|
|