legalthings / pdf.js-viewer

Compiled version of pdf.js viewer, modified to run embedded
Apache License 2.0
45 stars 55 forks source link

Wrong prefix #22

Open Paulsky opened 7 years ago

Paulsky commented 7 years ago

When the CSS get's prefixed, the CSS format becomes invalid. This is because '@keyframes progressIndeterminate { 0% { left: -142px; } 100% { left: 0; } }'

becomes '@keyframes progressIndeterminate { .pdfjs 0% { left: -142px; } .pdfjs 100% { left: 0; } }'.

Which is an invalid syntax. Please see this issue: https://github.com/substack/css-prefix/issues/6