RFR: 8296660: Swing HTML table with omitted closing tags misparsed
Jayathirth D V
jdv at openjdk.org
Tue Nov 29 05:24:17 UTC 2022
On Thu, 24 Nov 2022 14:59:37 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> This is in continuation with https://github.com/openjdk/jdk/commit/7133fc93e168f3671d048b2ae654f84ec289b98d fix done for [JDK-7172359](https://bugs.openjdk.org/browse/JDK-7172359) issue where fix was done to rectify invalid tag causing StackOverflowError but it caused alignment issue if the closing tags are optional, so the fix is modified to check for optional closing tag in which case dont return false for legalElementContext()
>
> JDK-7172359 fix and other CI regression tests are fine.
Tested and it works properly with fix.
Also if we can set some size for JFrame in which HTML table is shown would be better.
Without fix when i ran the test, the window was very small and i had to expand it to actually see mangled HTML content.
Or we can add more detail in instruction to expand the frame to see full HTML table in case where issue i seen.
-------------
Marked as reviewed by jdv (Reviewer).
PR: https://git.openjdk.org/jdk/pull/11355
More information about the client-libs-dev
mailing list