pdf.js/test/integration
Jonas Jenwald 03757d82b7 Replace element ids with custom attributes for Widget-annotations (issue 15056)
We want to avoid adding regular `id`s to Annotation-elements, since that means that they become "linkable" through the URL hash in a way that's not supported/intended. This could end up clashing with "named destinations", and that could easily lead to bugs; see issue 11499 and PR 11503 for some context.

Rather than using `id`s, we'll instead use a *custom* `data-element-id` attribute such that it's still possible to access the Annotation-elements directly.
Unfortunately these changes required updating most of the integration-tests, and to reduce the amount of repeated code a couple of helper functions were added.
2022-06-18 16:43:05 +02:00
..
accessibility_spec.js Add support for basic structure tree for accessibility. 2021-04-09 09:56:28 -07:00
annotation_spec.js Replace element ids with custom attributes for Widget-annotations (issue 15056) 2022-06-18 16:43:05 +02:00
find_spec.js XFA - Support text search in XFA documents. 2021-08-23 08:44:20 -07:00
freetext_editor_spec.js [edition] Add a FreeText editor (#14970) 2022-06-04 18:20:11 +02:00
scripting_spec.js Replace element ids with custom attributes for Widget-annotations (issue 15056) 2022-06-18 16:43:05 +02:00
test_utils.js Replace element ids with custom attributes for Widget-annotations (issue 15056) 2022-06-18 16:43:05 +02:00