Issue 128436

Summary: HTML table has wrongly shifted cell borders when opened in OpenOffice Writer
Product: Writer Reporter: Vladimir Kurdukov <vkurdukov>
Component: open-importAssignee: AOO issues mailing list <issues>
Status: CLOSED DUPLICATE QA Contact:
Severity: Normal    
Priority: P5 (lowest) CC: czeslaw.wolanski, oooforum
Version: 3.3.0 or older (OOo)   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
HTML table with solid-style cell borders opened in OpenOffice Writer none

Description Vladimir Kurdukov 2021-03-06 18:12:35 UTC
Created attachment 87008 [details]
HTML table with solid-style cell borders opened in OpenOffice Writer

HTML table has wrongly shifted cell borders when opened in OpenOffice Writer.

Steps to reproduce:

1. Create .htm file with the contents as below. The main point is that cell borders are made by cell's border:solid style.

<html>
 <body>
  <table height="200">
  <tr>
   <td width=100 bgcolor="red" style="border:solid blue 4pt">
     1
   </td>
   <td width=100 bgcolor="gray" style="border:solid green 4pt">
     2<br>
     3<br>
     4<br>
     5
   </td>
  </tr>
  </table>
 </body>
</html>

2. Open this file in OO Writer.

Actual result: 

Вlue and green borders are inside colored rectangles (please see attached image).

Expected result: 

Blue and green borders are on the edge of colored rectangles.
Comment 1 Czesław Wolański 2021-03-06 19:26:48 UTC
Hi Vladimir,

Perhaps you could add to your report the link you provided
in your mail to users@openoffice.apache.org?

(post on stackoverflow.com)

Regards,
Czesław
Comment 2 Vladimir Kurdukov 2021-03-07 05:46:22 UTC
In addition to the report, here are links about the issue in OO forum and SO:
https://forum.openoffice.org/en/forum/viewtopic.php?f=7&t=104658
https://stackoverflow.com/questions/66437606/html-table-does-not-display-correctly-in-open-office-writer
Comment 3 oooforum (fr) 2021-03-07 18:52:21 UTC
HTML table does not support border style.
Already reported

*** This issue has been marked as a duplicate of issue 932 ***