Attach (recommended) or Link to PDF file here:
[imm5710f(1).pdf](https://github.com/mozilla/pdf.js/files/6924738/imm5710f.1.pdf)

Configuration:
- Web browser and its version: Firefox nightly
- Operating system and its version: Debian

Steps to reproduce the problem:
1. Open the pdf on page 3 
2. See the 2 fields after `DÉTAILS DU TRAVAIL PRÉVU AU CANADA`

What went wrong? (add screenshot)
![image](https://user-images.githubusercontent.com/5641725/128031365-84b17d62-f805-43d1-9d05-e2b535efa3ef.png)

extra.attempt = 0;
      }
      extra.width = Math.max(extra.width, extra.currentWidth);
      break;
    case "rl-row":
    case "row": {
      extra.children.push(html);
      extra.width += w;
      extra.height = Math.max(extra.height, h);
      const height = measureToString(extra.height);
      for (const child of extra.children) {
        child.attributes.style.height = height;
      }
      break;
    }
    case "table": {
      extra.width = Math.min(availableSpace.width, Math.max(extra.width, w));
      extra.height += h;
      extra.children.push(html);
      break;
    }
    case "tb": {
      extra.width = availableSpace.width;
      extra.height += h;
      extra.children.push(html);
      break;
    }
  }
}
function getAvailableSpace(node) {