From 798b832f943da2b3ef1251c887e418e6f4c9bc09 Mon Sep 17 00:00:00 2001 From: Ryan Harrison Date: Thu, 7 Jun 2018 20:41:44 +0000 Subject: Add expectations for xfa_node_caption.pdf This test appears to just be confirming that caption layout and content can be controlled via JS. Specifically there is a bunch of listeners for the initialize event that run and setup the page by inspecting and changing values. Clicking and such does nothing interesting, so there is no .evt. BUG=pdfium:1020 Change-Id: I1a24dc6fab058c17362506cce1f184e62dd82500 Reviewed-on: https://pdfium-review.googlesource.com/34491 Reviewed-by: Henrique Nakashima Commit-Queue: Ryan Harrison --- testing/SUPPRESSIONS | 4 +--- .../xfa_specific/xfa_node_caption_expected.pdf.0.png | Bin 0 -> 25885 bytes .../xfa_specific/xfa_node_caption_expected.pdf.1.png | Bin 0 -> 29687 bytes 3 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.0.png create mode 100644 testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.1.png diff --git a/testing/SUPPRESSIONS b/testing/SUPPRESSIONS index 1f22c4c4b5..c4febdd9aa 100644 --- a/testing/SUPPRESSIONS +++ b/testing/SUPPRESSIONS @@ -331,8 +331,6 @@ bug_492.in * nov8 * # TODO(rharrison): Create expectations for existing files. dynamic_list_box_allow_multiple_selection.pdf * * * standard_symbols.pdf * * * -# TODO(rharrison): Remove after pdfium:1095 is fixed +# TODO(rharrison): Remove these after pdfium:1095 is fixed xfa_example.in win * * -xfa_node_caption.pdf * * * -# TODO(rharrison): Remove after pdfium:1095 is fixed xfa_textfield.in win * * diff --git a/testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.0.png b/testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.0.png new file mode 100644 index 0000000000..dd2cb88721 Binary files /dev/null and b/testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.0.png differ diff --git a/testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.1.png b/testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.1.png new file mode 100644 index 0000000000..a0e6fdf2d4 Binary files /dev/null and b/testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.1.png differ -- cgit v1.2.3