<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - HTML-Export: Tableexport with background supresses border"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126883">126883</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>HTML-Export: Tableexport with background supresses border
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.3.0.4 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>filters and storage
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>robert@familiegrosskopf.de
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=153348" name="attach_153348" title="Export the Writer document to html and have a look at the file with your browser.">attachment 153348</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=153348&action=edit" title="Export the Writer document to html and have a look at the file with your browser.">[details]</a></span>
Export the Writer document to html and have a look at the file with your
browser.
Open the attached Writer-file.
There is a table, which has been formatted by Table > AutoFormat Styles...
Export this table to html or download the exported html-file.
The borders of the table doesn't appear in the exported html-file.
Here is one line of the code:
<td width="25%" bgcolor="#00599d" style="background: #00599d"
style="border-top: none; border-bottom: 1px solid #00599d; border-left: none;
border-right: none; padding: 0cm" sdnum="1031;0;@"><p align="left"
style="font-style: normal; text-decoration: none">
Note:
1) background is defined twice, as bgcolor and as style.
2) the definition of styles appears two times so the first style-definition
destroys the second style-definition. Second style-definition won't be
recognized by the browser.
Solution
1) remove style="background: #00599d"
2) remove the old bgcolor-definition and set the background-style as part of
the other styles: style="border-top: none; border-bottom: 1px solid #00599d;
border-left: none; border-right: none; padding: 0cm; background: #00599d;"
Note: Good CSS-definition ends every time with ";".
This bug won't appear with LO 5.1.5, first appears here with LO 5.2.7.2 and
also with LO 6.3.0.4 on OpenSUSE 15 64bit rpm Linux.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>