-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support multiline textfields for printing #12176
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good with the comments addressed (only the second commit was checked here since the rest is in another PR).
0ce33be
to
0255383
Compare
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/c6d638315bba106/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 1 Live output at: http://54.215.176.217:8877/210370c17404f51/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/c6d638315bba106/output.txt Total script time: 27.14 mins
Image differences available at: http://54.67.70.0:8877/c6d638315bba106/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.215.176.217:8877/210370c17404f51/output.txt Total script time: 29.09 mins
Image differences available at: http://54.215.176.217:8877/210370c17404f51/reftest-analyzer.html#web=eq.log |
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/d8e6829479eef88/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/d8e6829479eef88/output.txt Total script time: 3.51 mins Published |
This doesn't seem to be working correctly. I tried inserting text into the multiline textfield from https://github.com/mozilla/pdf.js/blob/master/test/pdfs/annotation-text-widget.pdf (and other PDFs), but the print result is an empty textfield. Note that this is also a good test document for the combs patch (it was created by Acrobat so it should be according to the specification). Could you check what's going wrong here? |
I didn't manage to reproduce using print button but I managed to have an incorrect behaviour using keyboard shortcut (and in this case |
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/a931282262c09f9/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/a931282262c09f9/output.txt Total script time: 3.48 mins Published |
Unfortunately the problem remains. Steps to reproduce:
Attached is the result I get from this: |
@@ -462,7 +462,7 @@ class TextWidgetAnnotationElement extends WidgetAnnotationElement { | |||
element.setAttribute("value", textContent); | |||
} | |||
|
|||
element.addEventListener("change", function (event) { | |||
element.addEventListener("input", function (event) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this is a problem here, shouldn't it also be changed for checkbox and radio button widgets from previous PRs? If so, please change that in a separate commit.
It was because of the alignment var created after its use... I wonder why neither the linter nor firefox dev edition didn't catch it... |
/botio-linux preview |
1 similar comment
/botio-linux preview |
From: Bot.io (Linux m4)ReceivedCommand cmd_preview from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/4a1ee2567cfed4a/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/4a1ee2567cfed4a/output.txt Total script time: 3.40 mins Published |
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.67.70.0:8877/1f9adaa5e814b17/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @timvandermeij received. Current queue size: 0 Live output at: http://54.215.176.217:8877/6304f783de0a303/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/1f9adaa5e814b17/output.txt Total script time: 27.04 mins
Image differences available at: http://54.67.70.0:8877/1f9adaa5e814b17/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://54.215.176.217:8877/6304f783de0a303/output.txt Total script time: 30.00 mins
Image differences available at: http://54.215.176.217:8877/6304f783de0a303/reftest-analyzer.html#web=eq.log |
This works fine now; thanks! |
No description provided.