Page MenuHomePhabricator

Chrome 77 rendering engine freezes when elements are nested with particular word-wrap / white-space CSS behavior
Open, WishlistPublic

Description

See downstream https://phabricator.wikimedia.org/T232600.

This is a simplified document which freezes Chrome 77:

<html>
  <head>
    <style type="text/css">
      .AAA {
        width: 200px;
        white-space: nowrap;
        word-wrap: break-word;
      }
      .BBB {
        white-space: normal;
      }
    </style>
  </head>
  <body>
    <div class="AAA">
      <span>X</span>
      <a class="BBB">MMMMMMMMMMMMMMMMMMMMMMMMM</a>
    </div>
  </body>
</html>

Related Objects