[OpenJDK 2D-Dev] [14] RFR JDK-8235245: tiff_metadata.html has invalid HTML structure: misplaced </thead> element

Alexey Ivanov alexey.ivanov at oracle.com
Tue Dec 3 18:54:33 UTC 2019


Hi Sergey,

On 03/12/2019 18:23, Sergey Bylokhov wrote:
> Hi, Alexey.
>
> The fix looks fine, how did you find this issue? Axe and w3c online 
> validator are silent about it.

I used W3C validator, it reports the following errors [4]:

Error: Row 2 of a row group established by a |thead| element has no 
cells beginning on it.
 From line 526, column 5; to line 527, column 8
</tr>↩<tr>↩</thead>↩<tbod

Warning: A table row was 0 columns wide, which is less than the column 
count established by the first row (4).
 From line 526, column 5; to line 527, column 8
</tr>↩<tr>↩</thead>↩<tbod

Error: |th| start tag in table body.
 From line 528, column 8; to line 529, column 16
d>↩<tbody>↩<th scope="row">1</th>

These errors could be a bit cryptic… But the root cause is the misplaced 
|</thead>| element. The sequence of elements |<tr></thead>| in the first 
error message above does not look correct.

With the fix, the above errors are gone [5].


[4] 
https://validator.w3.org/nu/?doc=http%3A%2F%2Fcr.openjdk.java.net%2F%7Eaivanov%2F8235245%2Fwebrev.00%2Fraw_files%2Fold%2Fsrc%2Fjava.desktop%2Fshare%2Fclasses%2Fjavax%2Fimageio%2Fmetadata%2Fdoc-files%2Ftiff_metadata.html

[5] 
https://validator.w3.org/nu/?doc=http%3A%2F%2Fcr.openjdk.java.net%2F%7Eaivanov%2F8235245%2Fwebrev.00%2Fraw_files%2Fnew%2Fsrc%2Fjava.desktop%2Fshare%2Fclasses%2Fjavax%2Fimageio%2Fmetadata%2Fdoc-files%2Ftiff_metadata.html

-- 
Regards,
Alexey


More information about the 2d-dev mailing list