<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 - Incorrect table border when last row flows to second page"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=128415">128415</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Incorrect table border when last row flows to second page
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>6.2.5.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (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>Writer
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>joe@joepeters.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
When the last row of a table flows onto the top of the next page, its top
border will reflect the format of the table's bottom border, rather than the
table's inner horizontal border.

This only happens when a single row is moved to the next page -- if two rows
are displayed, then everything is correct.

If I manually set the format of the row's top border, it displays correctly.

Steps to Reproduce:
1. In a new document, create a table with 2 columns and five rows (actual
number is irrelevant, as long as there's more than two rows).
2. Format the table so that the top, bottom, and inner horizontal borders are
visibly different (ex. top border thick red, bottom border thick purple, inner
horizontal border thin grey)
3. Add line feeds above the table so that the last table row moves to the top
of the second page

Actual Results:
The top border of the last row in the table uses the table's bottom border
format.

Expected Results:
The top border of the last row in the table should use the table's inner
horizontal border format


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.5.2 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: 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>