https://bugs.documentfoundation.org/show_bug.cgi?id=126883

            Bug ID: 126883
           Summary: HTML-Export: Tableexport with background supresses
                    border
           Product: LibreOffice
           Version: 6.3.0.4 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rob...@familiegrosskopf.de

Created attachment 153348
  --> https://bugs.documentfoundation.org/attachment.cgi?id=153348&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to