1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00
pdf.js/src
Tim van der Meij 30d63b0c50
Annotations: move container border removal to the display layer
The display layer is responsible for creating the HTML elements for the
annotations from the core layer. If we need to ignore border styling for
the containers of certain elements, the display layer should do so and
not the core layer. I noticed this during the implementation of line
annotations, for which we actually need the original border width in the
display layer, even though we ignore it for the container. If we set the
border style to zero in the core layer, this becomes impossible.

To prevent this, this patch moves the container border removal code from
the core layer to the display layer. This makes the core layer output
the unchanged annotation data and lets the display layer remove any
border styling if necessary.
2017-04-09 19:01:38 +02:00
..
core Annotations: move container border removal to the display layer 2017-04-09 19:01:38 +02:00
display Annotations: move container border removal to the display layer 2017-04-09 19:01:38 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Adjust the yoda ESLint rule to apply to inequalities as well 2017-03-19 13:27:14 +01:00
doc_helper.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
license_header.js Replace copyright headers; changes UMD to CommonJS. 2017-02-08 16:35:58 -06:00
main_loader.js Append the contents of FileAttachment annotations to the attachments view of the sidebar, for easier access to the embedded files 2017-01-31 22:26:16 +01:00
pdf.js Fixes pdf.combined.js for webpack. 2017-02-10 11:24:35 -06:00
pdf.worker.entry.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
pdf.worker.js Replacing custom bundling with webpack2. 2017-02-08 16:32:15 -06:00
worker_loader.js Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00