JDK-8182300 : HTML5 cleanup in cssref.html
  • Type: Bug
  • Component: javafx
  • Sub-Component: other
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2017-06-15
  • Updated: 2017-10-11
  • Resolved: 2017-10-11
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
The fix for JDK-8180338 addressed all errors and most warnings from tidy. The latest version of html tidy, version 5.4.0, which checks for HTML5 conformance, lists 114 warnings in cssref.html for using the unsupported "summary" attribute in the <table> tag.

We need to remove all of these and instead add an embedded <caption> tag in each table. Most of them will need an invisible caption, but some might want a visible caption.
Comments
The issues reported by tidy, including those in cssref.html, will be addressed by the fix for JDK-8184220.
11-10-2017

Running an older version of tidy also reveals these 6 warnings: line 4074 column 13 - Warning: missing <li> line 4075 column 17 - Warning: missing <li> line 4075 column 21 - Warning: missing <li> line 4077 column 25 - Warning: missing <li> line 4077 column 29 - Warning: missing <li> line 4546 column 17 - Warning: missing <li> We could probably just add <li> tags for the first 5 (all other similar ones have bullets). Alternatively, we would need some other way to handle nested indentation. The last case looks like a simple problem of what should be an 'outer' </li> being in the wrong place.
16-06-2017

Another cleanup issue is that cssref.html still uses the obsolete "name" attribute for anchor <a> tags. All of them also have an equivalently named "id" attribute, so the "name" attributes should be removed.
16-06-2017