Hello.
I have a problem with positioning floating tables in QTextEdit.
You can test it using the standard TextEdit example.
Trying to upload the following html file:
Qt Code:
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
  2. <html><head>
  3. <body style="">
  4. <table border="1" style="float: left;" cellspacing="2">
  5. <tr><td>One</td></tr>
  6. <tr><td>1</td></tr></table>
  7. <table border="1" style="float: left;" cellspacing="2">
  8. <tr><td>Two</td></tr>
  9. <tr><td>2</td></tr></table>
  10. </body></html>
To copy to clipboard, switch view to plain text mode 
Initially, the tables are arranged correctly, but if you add some text after the tables, the tables themselves shift to the right.
Tested on Qt 5.12.12 and 5.15.2 under Linux.
Is this a bug?