summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2018-06-07 20:41:44 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-06-07 20:41:44 +0000
commit798b832f943da2b3ef1251c887e418e6f4c9bc09 (patch)
treef8cb12eaab305305ccb1b4d9aa6bc0c6778a3638
parent2c457887402151cfde8ac4842af0c2248eb840a9 (diff)
downloadpdfium-798b832f943da2b3ef1251c887e418e6f4c9bc09.tar.xz
Add expectations for xfa_node_caption.pdfchromium/3453
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 <hnakashima@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
-rw-r--r--testing/SUPPRESSIONS4
-rw-r--r--testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.0.pngbin0 -> 25885 bytes
-rw-r--r--testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.1.pngbin0 -> 29687 bytes
3 files changed, 1 insertions, 3 deletions
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
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.0.png
Binary files 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
--- /dev/null
+++ b/testing/resources/pixel/xfa_specific/xfa_node_caption_expected.pdf.1.png
Binary files differ