summaryrefslogtreecommitdiff
path: root/testing/resources/bug_890322.in
diff options
context:
space:
mode:
authorLei Zhang <thestig@chromium.org>2018-10-02 18:01:26 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-10-02 18:01:26 +0000
commit3d3cf800a8aae4cd7ff237714e31f9a217667ad8 (patch)
tree2b982ec2f89eaf4f4d18324d7bd2126f98ea61a1 /testing/resources/bug_890322.in
parente8b02fb54234ed66eeab30927b4495ecc9ca1669 (diff)
downloadpdfium-3d3cf800a8aae4cd7ff237714e31f9a217667ad8.tar.xz
Normalize widget bounding boxes when flattening.
BUG=chromium:890322 Change-Id: I11050b84cf440f8d6bb00c661360de4e389dc031 Reviewed-on: https://pdfium-review.googlesource.com/c/43290 Reviewed-by: Henrique Nakashima <hnakashima@chromium.org> Commit-Queue: Lei Zhang <thestig@chromium.org>
Diffstat (limited to 'testing/resources/bug_890322.in')
-rw-r--r--testing/resources/bug_890322.in56
1 files changed, 56 insertions, 0 deletions
diff --git a/testing/resources/bug_890322.in b/testing/resources/bug_890322.in
new file mode 100644
index 0000000000..ea55ac652f
--- /dev/null
+++ b/testing/resources/bug_890322.in
@@ -0,0 +1,56 @@
+{{header}}
+{{object 1 0}} <<
+ /Type /Catalog
+ /Pages 2 0 R
+ /AcroForm << /Fields [ 4 0 R ] >>
+>>
+endobj
+{{object 2 0}} <<
+ /Type /Pages /Count 1 /Kids [ 3 0 R ]
+>>
+endobj
+{{object 3 0}} <<
+ /Type /Page
+ /Parent 2 0 R
+ /MediaBox [ 0 0 200 200 ]
+ /Contents 6 0 R
+ /Annots [ 4 0 R ]
+>>
+endobj
+{{object 4 0}} <<
+ /Type /Annot
+ /Subtype /Widget
+ /F 4
+ /FT /Btn
+ /Rect [ 75 80 125 120 ]
+ /T (PushButton)
+ /Ff 65536
+ /H
+ /P
+ /AP << /N 5 0 R >>
+ /MK << /BG [ 1.0 0.0 0.0 ] >>
+>>
+endobj
+{{object 5 0}} <<
+ /Subtype /Form
+ /BBox [ 0 40 50 00 ]
+ {{streamlen}}
+>>
+stream
+q
+0 0 1 rg
+0 0 50 40 re B*
+Q
+endstream
+{{object 6 0}} <<
+ {{streamlen}}
+>>
+stream
+q
+Q
+endstream
+endobj
+{{xref}}
+{{trailer}}
+{{startxref}}
+%%EOF