1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/web
Simon Tatham c164f03e5a /XYZ destinations: default to top left of the page.
The previous default in the absence of provided coordinates was the
bottom left, so that if you followed a PDF link annotation with a
destination of [page /XYZ null null null] then you would see a gutter
followed by the page _after_ the intended one, because pdf.js had
carefully aligned the lower left corner of the target page with the
top of the window.

As part of this change we allow missing x,y parameters in URLs with a
&zoom= parameter to propagate nulls into pageViewScrollIntoView
instead of being replaced with zero in pdfViewSetHash, so as to do
this substitution in one place.
2013-03-03 22:35:30 +00:00
..
images Add more annotation icons and vectorize the logo. 2012-10-27 13:40:13 -04:00
.gitignore Updates webL10n; using viewer.properties as is 2012-11-29 14:02:33 -06:00
compatibility.js Clone the array manually when slice is missing 2013-02-27 22:53:59 +02:00
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.js Adds web/* and test/* for jshint target 2013-02-04 12:01:19 -06:00
firefoxcom.js Replace getUserData()/setUserData() with CustomEvents 2013-02-06 23:31:50 +09:00
index.html.template Update web/index.html.template 2012-10-02 07:26:20 -05:00
viewer-snippet-b2g-activity-header.html Add close button and title bar for b2g. 2012-11-28 11:02:56 -08:00
viewer-snippet-firefox-extension.html Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code. 2012-10-29 12:44:18 -07:00
viewer-snippet.html Updates webL10n; using viewer.properties as is 2012-11-29 14:02:33 -06:00
viewer.css CSS fixes to the sidebar. 2013-02-28 17:02:09 -05:00
viewer.html Don't hide the download/print buttons when view is small. 2013-02-25 16:53:54 -08:00
viewer.js /XYZ destinations: default to top left of the page. 2013-03-03 22:35:30 +00:00