<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 - table sheet exported in HTML contains "border-width: NaNcm" style"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124324">124324</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>table sheet exported in HTML contains "border-width: NaNcm" style
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.1.5.1 rc
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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>Calc
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>0libreofficebug@jesuislibre.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</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>