1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
pdf.js/test/integration
Nicolò Ribaudo b7933d8750
Add origin parameter to updateScale
This parameter allows defining which point should remain
fixed while scaling the document. It can be used, for example,
to implement "zoom around the cursor" or "zoom around
pinch center".

The logic was previously implemented in `web/app.js`, but
moving it to the viewer scaling utilities themselves makes it
easier to implement similar zooming functionalities in
other embedders.
2024-05-28 16:19:47 +02:00
..
.eslintrc Implement a linting rule to discourage using waitForTimeout for new tests 2024-04-09 16:12:15 +02:00
accessibility_spec.mjs Avoid to aria-hide the structure tree (bug 1894849) 2024-05-03 14:39:43 +02:00
annotation_spec.mjs Use waitForSelector instead of waitForFunction for focus checks 2024-05-06 19:35:37 +02:00
caret_browsing_spec.mjs Introduce a getRect utility function for the integration tests 2024-05-23 18:40:03 +02:00
copy_paste_spec.mjs Simplify the copy & paste integration test 2024-03-19 22:29:59 +01:00
find_spec.mjs Fix the "must highlight text in the right position" integration test 2024-04-11 13:42:08 +02:00
freetext_editor_spec.mjs Simplify the integration test in adding a function to turn on/off an editing tool 2024-05-27 11:33:52 +02:00
highlight_editor_spec.mjs Simplify the integration test in adding a function to turn on/off an editing tool 2024-05-27 11:33:52 +02:00
ink_editor_spec.mjs Simplify the integration test in adding a function to turn on/off an editing tool 2024-05-27 11:33:52 +02:00
scripting_spec.mjs Remove most waitForTimeout usage from the scripting integration tests 2024-05-21 18:36:05 +02:00
stamp_editor_spec.mjs Simplify the integration test in adding a function to turn on/off an editing tool 2024-05-27 11:33:52 +02:00
test_utils.mjs Simplify the integration test in adding a function to turn on/off an editing tool 2024-05-27 11:33:52 +02:00
text_field_spec.mjs Remove terminal white spaces when extracting text from annotation appearances 2024-01-09 10:42:53 +01:00
text_layer_spec.mjs Fix flickering on text selection 2024-05-14 14:31:12 +02:00
viewer_spec.mjs Add origin parameter to updateScale 2024-05-28 16:19:47 +02:00