I've noticed a discrepancy in "styling" between my local machine (Windows 7) and a dev server (CentOS 6.8) on Plone 5.0.5 out-of-the-box. In actuality it appears that the theming translations are removing whitespace such that elements have no spacing between them, and no css padding has been defined. This can be corrected with css but since that involves identifying all templates that rely on whitespace padding, it would be nice to prevent the xml translation from doing this.
Example (Windows):
<div class="formControls">
<input id="form-buttons-save" name="form.buttons.save" class="submit-widget button-field context" value="Save" type="submit">
<input id="form-buttons-cancel" name="form.buttons.cancel" class="submit-widget button-field standalone" value="Cancel" type="submit">
<input id="form-buttons-test" name="form.buttons.test" class="submit-widget button-field" value="Save and send test e-mail" type="submit">
</div>
CentOS:
<div class="formControls">
<input id="form-buttons-save" name="form.buttons.save" class="submit-widget button-field context" value="Save" type="submit"><input id="form-buttons-cancel" name="form.buttons.cancel" class="submit-widget button-field standalone" value="Cancel" type="submit"><input id="form-buttons-test" name="form.buttons.test" class="submit-widget button-field" value="Save and send test e-mail" type="submit"></div>
I assume that this is due to differing libxslt libraries between the two operating systems. Is there any setting in plone.app.theming/lxml to prevent it from doing this, or some potential monkey patch I could make? Maybe the barcellonetta theme should be updated to specify css padding.