pdf.js/test/integration
Calixte Denizet 7839e7b495 Preserve the whitespaces when getting text from FreeText annotations (bug 1871353)
When the text of an annotation is extracted in using getTextContent, consecutive white spaces
are just replaced by one space and. So this patch add an option to make sure that white
spaces are preserved when appearance is parsed.
For the case where there's no appearance, we can have a fast path to get the correct string
from the Content entry.
When an existing FreeText is edited, space (0x20) are replaced by non-breakable (0xa0) ones
to make to see all of them on screen.
2024-01-05 10:20:32 +01:00
..
accessibility_spec.mjs Convert the integration test-files to JavaScript modules 2023-10-12 13:18:20 +02:00
annotation_spec.mjs Convert the integration test-files to JavaScript modules 2023-10-12 13:18:20 +02:00
copy_paste_spec.mjs Fix keyboard shortcuts on mac and for some tests make sure that all 2023-10-27 16:09:35 +02:00
find_spec.mjs Fix intermittents failure on mac 2023-10-27 16:10:06 +02:00
freetext_editor_spec.mjs Preserve the whitespaces when getting text from FreeText annotations (bug 1871353) 2024-01-05 10:20:32 +01:00
highlight_editor_spec.mjs [Editor] Highlight must keep selected after the document has been scrolled 2023-12-05 23:22:35 +01:00
ink_editor_spec.mjs Use page.evaluateHandle when we want to await on document promises in integration tests 2023-12-07 17:00:12 +01:00
scripting_spec.mjs Set a print listener as soon as possible in the autoprint integration test 2023-12-09 16:59:43 +01:00
stamp_editor_spec.mjs Use page.evaluateHandle when we want to await on document promises in integration tests 2023-12-07 17:00:12 +01:00
test_utils.mjs Merge pull request #17400 from calixteman/autoprint_test 2023-12-09 20:12:45 +01:00