pdf.js/test/integration
Calixte Denizet 64635f3b35 [api-minor][Editor] When switching to editing mode, redraw pages containing editable annotations
Right now, editable annotations are using their own canvas when they're drawn, but
it induces several issues:
 - if the annotation has to be composed with the page then the canvas must be correctly
   composed with its parent. That means we should move the canvas under canvasWrapper
   and we should extract composing info from the drawing instructions...
   Currently it's the case with highlight annotations.
 - we use some extra memory for those canvas even if the user will never edit them, which
   the case for example when opening a pdf in Fenix.

So with this patch, all the editable annotations are drawn on the canvas. When the
user switches to editing mode, then the pages with some editable annotations are redrawn but
without them: they'll be replaced by their counterpart in the annotation editor layer.
2024-07-02 14:11:40 +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 [api-minor][Editor] When switching to editing mode, redraw pages containing editable annotations 2024-07-02 14:11:40 +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 Fix a race condition involving the waitForEvent integration test helper function 2024-06-26 15:25:33 +02: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 [api-minor][Editor] When switching to editing mode, redraw pages containing editable annotations 2024-07-02 14:11:40 +02:00
highlight_editor_spec.mjs [Editor] Take into account the page translation when computing the quadpoints when saving an highlight 2024-07-02 10:12:26 +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 Take into account PageOpen and PageClose actions which are present in some fields 2024-06-28 22:21:03 +02:00
stamp_editor_spec.mjs [api-minor][Editor] When switching to editing mode, redraw pages containing editable annotations 2024-07-02 14:11:40 +02:00
test_utils.mjs [api-minor][Editor] When switching to editing mode, redraw pages containing editable annotations 2024-07-02 14:11:40 +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 Overrride the minimum font size when rendering the text layer 2024-06-25 14:58:08 +02:00
viewer_spec.mjs Merge pull request #18218 from nicolo-ribaudo/test-maxCanvasPixels 2024-06-19 16:47:09 +02:00