Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-31829

HTML tables in user-created content ignore cell padding and spacing

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 11.1
    • Fix Version/s: None
    • Component/s: morpheus
    • Labels:
      None
    • Test Plan:
      Hide

      1/ Check tables output by Sakai tools etc. Have these changes messed up the padding and spacing on tools pages rendering the pages unusable? Check on desktop and mobile.

      2/ Create an HTML page in Resources (using the code below) and view as a standalone page (ie, not embedded within the Home/Overview tool) - does it preserve the cell-padding and spacing? Check on desktop and mobile.

      3/ link to the HTML page from Home/Overview Tool (Site Info URL) and check padding and spacing is preserved. Check on desktop and mobile.

      4/ Paste the following HTML into each and every tool with a ckeditor textarea and check that the padding / spacing is preserved. Check on desktop and mobile.

      5/ Check what happens to other attributes on HTML pages created within Resources. Check on desktop and mobile. Look at:

      a/ is cell colour preserved,
      b/ is align= preserved
      c/ ..... and other attributes

      That code again:

      <p>cell paddding</p>

      <table border="1" cellpadding="10" cellspacing="0" style="width:500px;" summary="summary">
      <caption>caption</caption>
      <tbody>
      <tr>
      <th><a href="https://weblearn.ox.ac.uk/access/content/group/cc2c88fe-a0fe-44d6-0046-89493362b2aa/countdown.html">
      https://weblearn.ox.ac.uk/access/content/group/cc2c88fe-a0fe-44d6-0046-89493362b2aa/countdown.html
      </a>
      </th>
      <th>hghghg jbjhjhj</th>
      </tr>
      <tr>
      <td style="background-color: rgb(255, 0, 0);">nbnkbkbb</td>
      <td>bb.mnbmn</td>
      </tr>
      <tr>
      <td>bvvhvhv</td>
      <td>mbjbjb</td>
      </tr>
      </tbody>
      </table>

      <p> </p>

      <p>cell spacing</p>

      <table border="1" cellpadding="0" cellspacing="10" style="width:500px;">
      <tbody>
      <tr>
      <td>;jkbkjbkjb</td>
      <td>.nbbmb</td>
      </tr>
      <tr>
      <td> </td>
      <td> </td>
      </tr>
      <tr>
      <td> </td>
      <td> </td>
      </tr>
      </tbody>
      </table>

      Show
      1/ Check tables output by Sakai tools etc. Have these changes messed up the padding and spacing on tools pages rendering the pages unusable? Check on desktop and mobile. 2/ Create an HTML page in Resources (using the code below) and view as a standalone page (ie, not embedded within the Home/Overview tool) - does it preserve the cell-padding and spacing? Check on desktop and mobile. 3/ link to the HTML page from Home/Overview Tool (Site Info URL) and check padding and spacing is preserved. Check on desktop and mobile. 4/ Paste the following HTML into each and every tool with a ckeditor textarea and check that the padding / spacing is preserved. Check on desktop and mobile. 5/ Check what happens to other attributes on HTML pages created within Resources. Check on desktop and mobile. Look at: a/ is cell colour preserved, b/ is align= preserved c/ ..... and other attributes That code again: <p>cell paddding</p> <table border="1" cellpadding="10" cellspacing="0" style="width:500px;" summary="summary"> <caption>caption</caption> <tbody> <tr> <th><a href="https://weblearn.ox.ac.uk/access/content/group/cc2c88fe-a0fe-44d6-0046-89493362b2aa/countdown.html"> https://weblearn.ox.ac.uk/access/content/group/cc2c88fe-a0fe-44d6-0046-89493362b2aa/countdown.html </a> </th> <th>hghghg jbjhjhj</th> </tr> <tr> <td style="background-color: rgb(255, 0, 0);">nbnkbkbb</td> <td>bb.mnbmn</td> </tr> <tr> <td>bvvhvhv</td> <td>mbjbjb</td> </tr> </tbody> </table> <p> </p> <p>cell spacing</p> <table border="1" cellpadding="0" cellspacing="10" style="width:500px;"> <tbody> <tr> <td>;jkbkjbkjb</td> <td>.nbbmb</td> </tr> <tr> <td> </td> <td> </td> </tr> <tr> <td> </td> <td> </td> </tr> </tbody> </table>

      Description

      cell padding and spacing in User created tables on HTML pages is being ignored.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  nickwilson Nick Wilson
                  Reporter:
                  adamm Adam Marshall
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Git Source Code