Attach (recommended) or Link to PDF file here:
https://web.archive.org/web/20210607145115/https://www.hsbc.fr/content/dam/hsbc/fr/docs/pib/Contestation-Transaction-Carte-Bancaire.pdf
(in the test corpus)

What is the expected behavior? (add screenshot)
<img width="175" alt="image" src="https://user-images.githubusercontent.com/942640/121593583-f8e4a480-c9f0-11eb-8901-2b3b63bb34c0.png">

What went wrong? (add screenshot)
<img width="124" alt="image" src="https://user-images.githubusercontent.com/942640/121593765-1a459080-c9f1-11eb-8695-461ef4e65c3d.png">

marginH = this.margin.leftInset + this.margin.rightInset;
      marginV = this.margin.topInset + this.margin.bottomInset;
    }
    if (this.w === "") {
      style.width = measureToString(this[$extra].width + marginH);
    }
    if (this.h === "") {
      style.height = measureToString(this[$extra].height + marginV);
    }
    const html = {
      name: "div",
      attributes,
      children,
    };
    let bbox;
    if (this.w !== "" && this.h !== "") {
      bbox = [this.x, this.y, this.w, this.h];
    } else {
      const width = this.w === "" ? marginH + this[$extra].width : this.w;
      const height = this.h === "" ? marginV + this[$extra].height : this.h;
      bbox = [this.x, this.y, width, height];
    }
    if (this.breakAfter.children.length >= 1) {
      const breakAfter = this.breakAfter.children[0];
      getRoot(this)[$break](breakAfter);
      this[$extra].afterBreakAfter = HTMLResult.success(
        createWrapper(this, html),
        bbox
      );
      return HTMLResult.FAILURE;