mozilla / pdf.js

PDF Reader in JavaScript
https://mozilla.github.io/pdf.js/
Apache License 2.0
48.2k stars 9.96k forks source link

XFA Code appears as text #13750

Open JDziurlaj opened 3 years ago

JDziurlaj commented 3 years ago

Attach (recommended) or Link to PDF file here: http://www.igwp.org.pl/images/pliki/ankiety/Ankieta_Cenowa_IGWP_2016.pdf Configuration:

Steps to reproduce the problem:

  1. enableXfa = true
  2. Open form

What is the expected behavior? (add screenshot) No overlay of JS code image

What went wrong? (add screenshot) image (Page 2)

calixteman commented 3 years ago

A draw element with some html which looks like js code overflows its parent container (with a positioned layout). It seems that we should hide this overflow.