Closed Bug 948433 Opened 11 years ago Closed 11 years ago

PDF.js needs updating to take account of the new <input type=number> support in Firefox 28

Categories

(Firefox :: PDF Viewer, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 29
Tracking Status
firefox28 --- verified
firefox29 --- verified

People

(Reporter: jwatt, Assigned: jwatt)

References

Details

Attachments

(1 file)

The pref to enable <input type=number> has been flipped for Firefox 28. It seems that PDF.js needs to be updated for that in order to hide the spinner. The mechanism that we've provided to do that is to set |-moz-appearance:textfield| for the <input type=number> instead of the default |-moz-appearance:number-input| that it has.
Pull request at: https://github.com/mozilla/pdf.js/pull/4020 What's the procedure to get this uplifted for aurora?
Assignee: nobody → jwatt
Note that bug 948475 and bug 946184 are also needed to get pdf.js back to looking and behaving as it did/was before the <input type=number> support was enabled.
Depends on: 948475, 946184
So basically, make a patch from the git commit, get approval, land.
Attached patch patchSplinter Review
Did I do this right?
Attachment #8345437 - Flags: review?(bdahl)
Comment on attachment 8345437 [details] [diff] [review] patch Review of attachment 8345437 [details] [diff] [review]: ----------------------------------------------------------------- Sorry I should add to the instructions to remove all the version number changes. It should just be your one line change.
Attachment #8345437 - Flags: review?(bdahl) → review-
Comment on attachment 8345437 [details] [diff] [review] patch Review of attachment 8345437 [details] [diff] [review]: ----------------------------------------------------------------- r+ pending removal of everything else. (guess there was no point to those steps for this one liner)
Attachment #8345437 - Flags: review- → review+
Thanks for that. Nice not to have to re-request review for something trivial. :) https://hg.mozilla.org/integration/mozilla-inbound/rev/fb0fa2c21392
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 29
Comment on attachment 8345437 [details] [diff] [review] patch [Approval Request Comment] Bug caused by (feature/regressing bug #): N/A (or bug 344616 if you need one to blame) User impact if declined: pdf.js UI will be broken (have an ugly spinner in the page number field) Testing completed (on m-c, etc.): landed m-i, merged to m-c Risk to taking this patch (and alternatives if risky): low and early String or IDL/UUID changes made by this patch: none We're early in the cycle so hopefully this is fine to uplift. Probably needed to keep <input type=number> on in v28.
Attachment #8345437 - Flags: approval-mozilla-aurora?
Blocks: 344616
Attachment #8345437 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Target Milestone: Firefox 29 → Firefox 28
Let's leave this open until the updated pdf.js hits m-c as well.
Status: RESOLVED → REOPENED
Flags: needinfo?(ryanvm)
Resolution: FIXED → ---
Target Milestone: Firefox 28 → Firefox 29
This already hit m-c, so nevermind. I'll still mark the dependency on the next official "update pdf.js" bug.
Status: REOPENED → RESOLVED
Closed: 11 years ago11 years ago
Resolution: --- → FIXED
Depends on: 960051
Flags: needinfo?(ryanvm)
Are there any known testcases we can use to verify this is fixed?
Flags: needinfo?(jwatt)
Open any PDF with Firefox's built-in PDF viewer and if the page number field in the UI doesn't have spin buttons then we're good. If this wasn't fixed we'd be getting more bug reports though, so I think we're good.
Flags: needinfo?(jwatt)
Keywords: verifyme
Verified as fixed on the latest Firefox 28.0a2 and Firefox 29.0a1 (January 26th and 27th builds), on Windows 7 64bit, Mac OS X 10.7.5 and Ubuntu 13.04 32bit (reproduced the issue on older Aurora and Nightly builds before verifying the fix).
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: