JDK-7027641 : Regression: HTML table rendering broken with image/text combination
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-03-15
  • Updated: 2011-03-28
  • Resolved: 2011-03-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7Resolved
Related Reports
Duplicate :  
Relates :  
Description
SYNOPSIS
--------
Regression: HTML table rendering broken with image/text combination

OPERATING SYSTEM
----------------
All (tested with Windows and Linux)


FULL JDK VERSION
----------------
Starts with JDK b70
Reproducible using JDK 7 b132.


PROBLEM DESCRIPTION
-------------------
When rendering HTML, such as in a JEditorPane, with recent JDK 7 builds, table cells overlap if the first cell in a row contains an image and the second cell in a row contains text that needs to be wrapped.

REPRODUCTION INSTRUCTIONS
-------------------------
1. Extract the file from the package provided, ensuring that they are
   all in the same directory.
2. Compile and run TestJDK7HTMLLayoutBug.java
3. Observe the incorrectly overlapping cells in the table.

WORKAROUND
----------
None.