From 20830920ca028f551dcdb54e5170317d61254419 Mon Sep 17 00:00:00 2001 From: Henrique Nakashima Date: Mon, 19 Mar 2018 21:21:46 +0000 Subject: Add more options to combobox_form.pdf resource. This causes a scrollbar to appear. We need a test case that contains an AcroForm combobox with a popup that is large enough to create a scrollbar. Bug: chromium:823378, chromium:820278 Change-Id: I6e93bda5b938f9f7c08ceeef7989794ea7764532 Reviewed-on: https://pdfium-review.googlesource.com/28750 Commit-Queue: Henrique Nakashima Reviewed-by: Lei Zhang --- testing/resources/combobox_form.in | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) (limited to 'testing/resources/combobox_form.in') diff --git a/testing/resources/combobox_form.in b/testing/resources/combobox_form.in index 77085f2861..4d243b0fa6 100644 --- a/testing/resources/combobox_form.in +++ b/testing/resources/combobox_form.in @@ -14,7 +14,7 @@ endobj /Type /Page /Parent 2 0 R /Resources 4 0 R - /MediaBox [ 0 0 300 300 ] + /MediaBox [ 0 0 300 600 ] /Contents 7 0 R /Annots [ 8 0 R 9 0 R 10 0 R ] >> @@ -38,7 +38,7 @@ stream BT 0 0 0 rg /F1 12 Tf -100 150 Td +100 450 Td (Test Form) Tj ET endstream @@ -50,7 +50,7 @@ endobj /Ff 393216 /T (Combo_Editable) /DA (0 0 0 rg /F1 12 Tf) - /Rect [ 100 50 200 80 ] + /Rect [ 100 350 200 380 ] /Subtype /Widget /Opt [[(foo) (Foo)] [(bar) (Bar)] [(qux) (Qux)]] >> @@ -62,9 +62,12 @@ endobj /Ff 131072 /T (Combo1) /DA (0 0 0 rg /F1 12 Tf) - /Rect [ 100 100 200 130 ] + /Rect [ 100 400 200 430 ] /Subtype /Widget - /Opt [(Apple) (Banana) (Cherry)] + /Opt [(Apple) (Banana) (Cherry) (Date) (Elderberry) (Fig) (Guava) (Honeydew) + (Indian Fig) (Jackfruit) (Kiwi) (Lemon) (Mango) (Nectarine) (Orange) + (Persimmon) (Quince) (Raspberry) (Strawberry) (Tamarind) (Ugli Fruit) + (Voavanga) (Wolfberry) (Xigua) (Yangmei) (Zucchini)] /V (Banana) >> endobj @@ -75,7 +78,7 @@ endobj /Ff 131073 /T (Combo_ReadOnly) /DA (0 0 0 rg /F1 12 Tf) - /Rect [ 100 200 200 230 ] + /Rect [ 100 500 200 530 ] /Subtype /Widget /Opt [(Dog) (Elephant) (Frog)] >> -- cgit v1.2.3