[Libreoffice-bugs] [Bug 124324] New: table sheet exported in HTML contains "border-width: NaNcm" style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Mar 25 12:36:33 UTC 2019


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

            Bug ID: 124324
           Summary: table sheet exported in HTML contains "border-width:
                    NaNcm" style
           Product: LibreOffice
           Version: 6.1.5.1 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: 0libreofficebug at jesuislibre.net

Description:
I exported a table sheet with Libreoffice Calc in HTML using the File->export
menu.

In the HTML file, I found not valid style value :

.ce2 { font-family:Liberation Sans; border-width:NaNcm; border-style:solid;
border-color:#000000; }

There is a NaN here.
The with of the cell border is the default one in Calc (so 0,05 pt)

My config : Debian testing
Version: 6.1.5.2
Build ID: 1:6.1.5-1
Threads CPU : 4; OS : Linux 4.19; UI Render : par défaut; VCL: gtk3; 
Locale : fr-BE (fr_BE.utf8); Calc: group threaded


Steps to Reproduce:
1. Open calc
2. Add cell borders using the icon tool (black border on all cells selected)
3. Export to HTML
4. look at the HTML code and search for "NaN"

Actual Results:
I found this in the HTML file:
.ce2 { font-family:Liberation Sans; border-width:NaNcm; border-style:solid;
border-color:#000000; }

Expected Results:
I should have get :
.ce2 { font-family:Liberation Sans; border-width:0.05pt; border-style:solid;
border-color:#000000; }


Reproducible: Always


User Profile Reset: No



Additional Info:
My config : Debian testing
Version: 6.1.5.2
Build ID: 1:6.1.5-1
Threads CPU : 4; OS : Linux 4.19; UI Render : par défaut; VCL: gtk3; 
Locale : fr-BE (fr_BE.utf8); Calc: group threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190325/bcfae148/attachment.html>


More information about the Libreoffice-bugs mailing list