oaeproject/Hilary — pull request #741 by sathomas (2014-01-09 19:37:13+00:00)
Title: Styles from pdf2htmlEX may overwrite OAE styles

The pdf2htmlEX processor generates style sheets that are incorporated into document preview web pages. The rules in those style sheets may conflict with rules specified by OAE. Issue #3345 revealed one such conflict, but others are possible, for example, `base.css` includes the following rules, any of which could conceivably conflict with an OAE style:

#sidebar {
width: 250px;
}

.loading-indicator {
width: 64px;
height: 64px;
}

span {
vertical-align: baseline;
display: inline-block;
}

And since we have no control over the pdf2htmlEX implementation, others may be added in the future.

To protect OAE styles, we might want to consider scoping the pdf2htmlEX styles so that they only apply to document previews.