CSS column-count render bug since chrome update 70.0.3538.77 (Official Build) (64-bit)









up vote
0
down vote

favorite












Ever since upgrade to chrome v70.0.3538.77, my domain users have been having issues with the rendering of tables when a CSS column-count: 2 is applied.



When scrolling a table within a fixed height div, the scrolled area remains unrendered (white). When the browser window is resized, the content gets redrawn and the content appears as it should have been rendered during scrolling.



The following fiddle demonstrates the issue, make sure to set screen width large enough for the "one" and "two" tables to appear next to each other.



The issue is demonstrated here: https://jsfiddle.net/L2z4srwp/1/



After scrolling the first table (notice the unrendered rows bottom left):
enter image description here
After subsequently resizing the browser window (notice the rows get redrawn):
enter image description here



Here's the CSS giving issues:



div.multiColumn 
-moz-column-count: 2;
-moz-column-gap: 1rem;
-webkit-column-count: 2;
-webkit-column-gap: 1rem;
column-count: 2;
column-gap: 1rem;
padding: 0em;



And the HTML



<div class="multiColumn" id="divMultiColumn">
<ul class="noBullets" id="ulMultiColumn">
<li>
<h3>One</h3>
<div class="scrollingTableDiv">
<table class="teStartenTabel scrollingTable" id="id5be42585873c8">
<tr>[Lot's of rows]</tr>
</table>
</div>
<script>document.getElementById("id5be42585873c8").dataset.scrollBeyond=15;</script>
</li>


<li>
<h3>Two</h3>
<div class="scrollingTableDiv">
<table class="teStartenTabel scrollingTable" id="id5be42585873c89">
<tr><th>Datum</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah.</th><th>Blah</th></tr>
<tr>[Lot's of rows]</tr>
</table>
</div>
<script>document.getElementById("id5be42585873c89").dataset.scrollBeyond=15;</script>
</li>
</ul>
</div>


With javascript:



 <script> 
function makeTablesScroll()
$(".scrollingTable").each(function()
var table = this;
maxRows = parseInt(this.dataset.scrollBeyond) + 1;
var wrapper = table.parentNode;
var rowsInTable = table.rows.length;
var height = 0;
if (rowsInTable > maxRows)
for (var i = 0; i < maxRows; i++)
height += table.rows[i].clientHeight;

wrapper.style.height = height + "px";

);

</script>


Any solutions or workarounds? I have resorted to flexbox css dev version, but that creates a raster with rows and whitespace if the left table takes up more height than the right table. The column strategy neatly balances both columns and aligns object straight beneath eachother irrespective of the height of objects in the other column.



For reference, I added a Chromium bugreport: https://bugs.chromium.org/p/chromium/issues/detail?id=903287










share|improve this question



























    up vote
    0
    down vote

    favorite












    Ever since upgrade to chrome v70.0.3538.77, my domain users have been having issues with the rendering of tables when a CSS column-count: 2 is applied.



    When scrolling a table within a fixed height div, the scrolled area remains unrendered (white). When the browser window is resized, the content gets redrawn and the content appears as it should have been rendered during scrolling.



    The following fiddle demonstrates the issue, make sure to set screen width large enough for the "one" and "two" tables to appear next to each other.



    The issue is demonstrated here: https://jsfiddle.net/L2z4srwp/1/



    After scrolling the first table (notice the unrendered rows bottom left):
    enter image description here
    After subsequently resizing the browser window (notice the rows get redrawn):
    enter image description here



    Here's the CSS giving issues:



    div.multiColumn 
    -moz-column-count: 2;
    -moz-column-gap: 1rem;
    -webkit-column-count: 2;
    -webkit-column-gap: 1rem;
    column-count: 2;
    column-gap: 1rem;
    padding: 0em;



    And the HTML



    <div class="multiColumn" id="divMultiColumn">
    <ul class="noBullets" id="ulMultiColumn">
    <li>
    <h3>One</h3>
    <div class="scrollingTableDiv">
    <table class="teStartenTabel scrollingTable" id="id5be42585873c8">
    <tr>[Lot's of rows]</tr>
    </table>
    </div>
    <script>document.getElementById("id5be42585873c8").dataset.scrollBeyond=15;</script>
    </li>


    <li>
    <h3>Two</h3>
    <div class="scrollingTableDiv">
    <table class="teStartenTabel scrollingTable" id="id5be42585873c89">
    <tr><th>Datum</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah.</th><th>Blah</th></tr>
    <tr>[Lot's of rows]</tr>
    </table>
    </div>
    <script>document.getElementById("id5be42585873c89").dataset.scrollBeyond=15;</script>
    </li>
    </ul>
    </div>


    With javascript:



     <script> 
    function makeTablesScroll()
    $(".scrollingTable").each(function()
    var table = this;
    maxRows = parseInt(this.dataset.scrollBeyond) + 1;
    var wrapper = table.parentNode;
    var rowsInTable = table.rows.length;
    var height = 0;
    if (rowsInTable > maxRows)
    for (var i = 0; i < maxRows; i++)
    height += table.rows[i].clientHeight;

    wrapper.style.height = height + "px";

    );

    </script>


    Any solutions or workarounds? I have resorted to flexbox css dev version, but that creates a raster with rows and whitespace if the left table takes up more height than the right table. The column strategy neatly balances both columns and aligns object straight beneath eachother irrespective of the height of objects in the other column.



    For reference, I added a Chromium bugreport: https://bugs.chromium.org/p/chromium/issues/detail?id=903287










    share|improve this question

























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      Ever since upgrade to chrome v70.0.3538.77, my domain users have been having issues with the rendering of tables when a CSS column-count: 2 is applied.



      When scrolling a table within a fixed height div, the scrolled area remains unrendered (white). When the browser window is resized, the content gets redrawn and the content appears as it should have been rendered during scrolling.



      The following fiddle demonstrates the issue, make sure to set screen width large enough for the "one" and "two" tables to appear next to each other.



      The issue is demonstrated here: https://jsfiddle.net/L2z4srwp/1/



      After scrolling the first table (notice the unrendered rows bottom left):
      enter image description here
      After subsequently resizing the browser window (notice the rows get redrawn):
      enter image description here



      Here's the CSS giving issues:



      div.multiColumn 
      -moz-column-count: 2;
      -moz-column-gap: 1rem;
      -webkit-column-count: 2;
      -webkit-column-gap: 1rem;
      column-count: 2;
      column-gap: 1rem;
      padding: 0em;



      And the HTML



      <div class="multiColumn" id="divMultiColumn">
      <ul class="noBullets" id="ulMultiColumn">
      <li>
      <h3>One</h3>
      <div class="scrollingTableDiv">
      <table class="teStartenTabel scrollingTable" id="id5be42585873c8">
      <tr>[Lot's of rows]</tr>
      </table>
      </div>
      <script>document.getElementById("id5be42585873c8").dataset.scrollBeyond=15;</script>
      </li>


      <li>
      <h3>Two</h3>
      <div class="scrollingTableDiv">
      <table class="teStartenTabel scrollingTable" id="id5be42585873c89">
      <tr><th>Datum</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah.</th><th>Blah</th></tr>
      <tr>[Lot's of rows]</tr>
      </table>
      </div>
      <script>document.getElementById("id5be42585873c89").dataset.scrollBeyond=15;</script>
      </li>
      </ul>
      </div>


      With javascript:



       <script> 
      function makeTablesScroll()
      $(".scrollingTable").each(function()
      var table = this;
      maxRows = parseInt(this.dataset.scrollBeyond) + 1;
      var wrapper = table.parentNode;
      var rowsInTable = table.rows.length;
      var height = 0;
      if (rowsInTable > maxRows)
      for (var i = 0; i < maxRows; i++)
      height += table.rows[i].clientHeight;

      wrapper.style.height = height + "px";

      );

      </script>


      Any solutions or workarounds? I have resorted to flexbox css dev version, but that creates a raster with rows and whitespace if the left table takes up more height than the right table. The column strategy neatly balances both columns and aligns object straight beneath eachother irrespective of the height of objects in the other column.



      For reference, I added a Chromium bugreport: https://bugs.chromium.org/p/chromium/issues/detail?id=903287










      share|improve this question















      Ever since upgrade to chrome v70.0.3538.77, my domain users have been having issues with the rendering of tables when a CSS column-count: 2 is applied.



      When scrolling a table within a fixed height div, the scrolled area remains unrendered (white). When the browser window is resized, the content gets redrawn and the content appears as it should have been rendered during scrolling.



      The following fiddle demonstrates the issue, make sure to set screen width large enough for the "one" and "two" tables to appear next to each other.



      The issue is demonstrated here: https://jsfiddle.net/L2z4srwp/1/



      After scrolling the first table (notice the unrendered rows bottom left):
      enter image description here
      After subsequently resizing the browser window (notice the rows get redrawn):
      enter image description here



      Here's the CSS giving issues:



      div.multiColumn 
      -moz-column-count: 2;
      -moz-column-gap: 1rem;
      -webkit-column-count: 2;
      -webkit-column-gap: 1rem;
      column-count: 2;
      column-gap: 1rem;
      padding: 0em;



      And the HTML



      <div class="multiColumn" id="divMultiColumn">
      <ul class="noBullets" id="ulMultiColumn">
      <li>
      <h3>One</h3>
      <div class="scrollingTableDiv">
      <table class="teStartenTabel scrollingTable" id="id5be42585873c8">
      <tr>[Lot's of rows]</tr>
      </table>
      </div>
      <script>document.getElementById("id5be42585873c8").dataset.scrollBeyond=15;</script>
      </li>


      <li>
      <h3>Two</h3>
      <div class="scrollingTableDiv">
      <table class="teStartenTabel scrollingTable" id="id5be42585873c89">
      <tr><th>Datum</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah</th><th>Blah.</th><th>Blah</th></tr>
      <tr>[Lot's of rows]</tr>
      </table>
      </div>
      <script>document.getElementById("id5be42585873c89").dataset.scrollBeyond=15;</script>
      </li>
      </ul>
      </div>


      With javascript:



       <script> 
      function makeTablesScroll()
      $(".scrollingTable").each(function()
      var table = this;
      maxRows = parseInt(this.dataset.scrollBeyond) + 1;
      var wrapper = table.parentNode;
      var rowsInTable = table.rows.length;
      var height = 0;
      if (rowsInTable > maxRows)
      for (var i = 0; i < maxRows; i++)
      height += table.rows[i].clientHeight;

      wrapper.style.height = height + "px";

      );

      </script>


      Any solutions or workarounds? I have resorted to flexbox css dev version, but that creates a raster with rows and whitespace if the left table takes up more height than the right table. The column strategy neatly balances both columns and aligns object straight beneath eachother irrespective of the height of objects in the other column.



      For reference, I added a Chromium bugreport: https://bugs.chromium.org/p/chromium/issues/detail?id=903287







      javascript html css google-chrome chromium






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 8 at 14:53

























      asked Nov 8 at 13:01









      Jasper

      175212




      175212



























          active

          oldest

          votes











          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53208296%2fcss-column-count-render-bug-since-chrome-update-70-0-3538-77-official-build-6%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53208296%2fcss-column-count-render-bug-since-chrome-update-70-0-3538-77-official-build-6%23new-answer', 'question_page');

          );

          Post as a guest














































































          Popular posts from this blog

          𛂒𛀶,𛀽𛀑𛂀𛃧𛂓𛀙𛃆𛃑𛃷𛂟𛁡𛀢𛀟𛁤𛂽𛁕𛁪𛂟𛂯,𛁞𛂧𛀴𛁄𛁠𛁼𛂿𛀤 𛂘,𛁺𛂾𛃭𛃭𛃵𛀺,𛂣𛃍𛂖𛃶 𛀸𛃀𛂖𛁶𛁏𛁚 𛂢𛂞 𛁰𛂆𛀔,𛁸𛀽𛁓𛃋𛂇𛃧𛀧𛃣𛂐𛃇,𛂂𛃻𛃲𛁬𛃞𛀧𛃃𛀅 𛂭𛁠𛁡𛃇𛀷𛃓𛁥,𛁙𛁘𛁞𛃸𛁸𛃣𛁜,𛂛,𛃿,𛁯𛂘𛂌𛃛𛁱𛃌𛂈𛂇 𛁊𛃲,𛀕𛃴𛀜 𛀶𛂆𛀶𛃟𛂉𛀣,𛂐𛁞𛁾 𛁷𛂑𛁳𛂯𛀬𛃅,𛃶𛁼

          Edmonton

          Crossroads (UK TV series)