From 0b8758eda34185538c1f8a4bcedcc9b1bfd24461 Mon Sep 17 00:00:00 2001
From: Eric Kaden <608341+EricKaden@users.noreply.github.com>
Date: Fri, 23 Oct 2026 16:16:40 -0400
Subject: [PATCH] M12: links in XFA rich text become clickable links
---
crates/automation/tests/it/automation.rs | 27 +++++
crates/xfa/src/model.rs | 2 +
crates/xfa/src/parse.rs | 13 ++-
crates/xfa/src/pdf.rs | 102 ++++++++++++++++++-
crates/xfa/src/tests.rs | 121 +++++++++++++++++++++++
crates/xfa/src/text.rs | 17 ++--
parity/acrobat-features.toml | 4 +-
7 files changed, 274 insertions(+), 12 deletions(-)
diff --git a/crates/automation/tests/it/automation.rs b/crates/automation/tests/it/automation.rs
index 9fd5c4269..22bb5ee4a 100644
--- a/crates/automation/tests/it/automation.rs
+++ b/crates/automation/tests/it/automation.rs
@@ -6500,6 +6500,33 @@ fn xfa_rich_text_max_length_is_reported_and_enforced_through_tools() {
assert_eq!(family["value"], "éàöüñ");
}
+/// A link in a dynamic XFA form's rich text is a link on the laid-out page, as link_list reports
+/// it, and stays one after a save and a fresh open.
+#[test]
+fn links_in_xfa_rich_text_are_listed_through_tools() {
+ let dir = workdir("xfa-links");
+ let xdp = r##"
+
+
+