<Swing Dev> [9] Review request for 8058120: Rendering / caret errors with HTMLDocument

dmitry markov dmitry.markov at oracle.com
Mon Sep 29 07:10:44 UTC 2014


Hello,

Could you review the fix for jdk9, please?

     bug: https://bugs.openjdk.java.net/browse/JDK-8058120
     webrev: http://cr.openjdk.java.net/~dmarkov/8058120/jdk9/webrev.00/

Problem description: if some text (not wrapped by HTML tags) is inserted 
via insertAfterEnd() method, the text is added directly to the body of 
HTML document. This will cause incorrect representation of added fragment.
Fix: it is necessary to detect the insertion of the text to the body and 
wrap the text by p-implied tags.

Thanks,
Dmitry



More information about the swing-dev mailing list