pdf.js/web
Jonas Jenwald 9d7d95ead4 [Bug 1194700] Ensure that the customScaleOption is hidden in e10s
When Firefox is run in e10s mode, which will soon be the default, the PDF.js zoom dropdown menu doesn't look right. This is apparently because the `<select>` DOM element is rendered in the parent, and that all the necessary style information isn't sent up from the child. See the discussion in https://bugzilla.mozilla.org/show_bug.cgi?id=910022.

Besides this causing the PDF.js UI to *look* worse in e10s, notably it also means that the `customScaleOption` isn't hidden like it ought to be.
To work-around that, this patch utilizes the `hidden` attribute, since https://bugzilla.mozilla.org/show_bug.cgi?id=1242450 at least made that work in e10s.

Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1194700.
2016-04-23 15:57:51 +02:00
..
images Add mirrored triangle (TOC item icon) 2015-09-06 15:35:58 +02:00
.gitignore Remove obselete file from .gitignore 2015-01-26 16:44:45 +01:00
annotation_layer_builder.css Implement support for FileAttachment annotations 2016-02-23 22:49:53 +01:00
annotation_layer_builder.js Export the DefaultAnnotationLayerFactory to prevent the viewer components from breaking (PR 7172 followup) 2016-04-13 17:42:04 +02:00
app.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
chrome-i18n-allow-access-to-file-urls.json Add translations of "Allow access to file URLs" 2015-08-14 18:59:55 +02:00
chromecom.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
compatibility.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
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 Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
default_preferences.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
download_manager.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
firefoxcom.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
grab_to_pan.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
hand_tool.js Convert the hand tool to a class 2016-04-16 19:20:37 +02:00
interfaces.js Remove a superfluous "s" in AnnotationsLayerBuilder from files in web/ 2015-12-18 19:55:54 +01:00
mozPrintCallback_polyfill.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
overlay_manager.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
password_prompt.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
pdf_attachment_viewer.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
pdf_document_properties.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
pdf_find_bar.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_find_controller.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_history.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_link_service.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_outline_viewer.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
pdf_page_view.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
pdf_presentation_mode.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_rendering_queue.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_sidebar.js Dispatch a sidebarviewchanged event in PDFSidebar when the view changes 2016-04-16 10:10:28 +02:00
pdf_thumbnail_view.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_thumbnail_viewer.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
pdf_viewer.component.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
pdf_viewer.css Remove a superfluous "s" in AnnotationsLayerBuilder from files in web/ 2015-12-18 19:55:54 +01:00
pdf_viewer.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
pdfjs.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
preferences.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
secondary_toolbar.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00
text_layer_builder.css Use default line height for the text layer 2015-12-02 23:00:12 +01:00
text_layer_builder.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
ui_utils.js Replace pdfjsLib with module that represents pdf.js. 2016-04-13 10:11:34 -05:00
view_history.js Introduces UMD headers to the web/ folder. 2016-04-13 10:09:48 -05:00
viewer-snippet-chrome-extension.html Remove type="text/javascript" from script tags. 2014-05-13 02:41:01 +02:00
viewer-snippet-chrome-overlays.html Add translations of "Allow access to file URLs" 2015-08-14 18:59:55 +02:00
viewer-snippet-firefox-extension.html Remove XHTML leftovers from the viewer HTML files 2016-02-14 13:23:34 +01:00
viewer-snippet-minified.html Remove XHTML leftovers from the viewer HTML files 2016-02-14 13:23:34 +01:00
viewer-snippet-mozPrintCallback-polyfill.html Revert PR 5510, except in WebKit browsers, for breaking print preview in Firefox 2015-03-07 00:16:55 +01:00
viewer-snippet.html Remove XHTML leftovers from the viewer HTML files 2016-02-14 13:23:34 +01:00
viewer.css Fix insertion of blank pages during printing due to non-matching page sizes 2016-03-21 14:21:07 -07:00
viewer.html [Bug 1194700] Ensure that the customScaleOption is hidden in e10s 2016-04-23 15:57:51 +02:00
viewer.js Moves all document.getElementById lookups into viewer.js 2016-04-21 11:39:11 -05:00