www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 8dc99cef2d0f8f9e89faffaecafe4251e6ff2bfb
parent 57d85a4f69085332e3ab234570b891f6296519b0
Author: Davide P. Cervone <dpvc@union.edu>
Date:   Thu,  6 Feb 2014 15:20:19 -0500

Add min and max width and height resets to CSS where appropriate.  Resolves issue #517.

Diffstat:
Munpacked/jax/output/HTML-CSS/jax.js | 14+++++++++++---
Munpacked/jax/output/NativeMML/jax.js | 3+++
Munpacked/jax/output/SVG/jax.js | 8+++++++-
3 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/unpacked/jax/output/HTML-CSS/jax.js b/unpacked/jax/output/HTML-CSS/jax.js @@ -224,17 +224,23 @@ "white-space": "nowrap", "float": "none", "direction": "ltr", + "max-width": "none", "max-height": "none", + "min-width": 0, "min-height": 0, border: 0, padding: 0, margin: 0 }, ".MathJax_Display": { position: "relative", display: "block!important", + "max-width": "none", "max-height": "none", + "min-width": 0, "min-height": 0, width: "100%" }, ".MathJax img, .MathJax nobr, .MathJax a": { - border: 0, padding: 0, margin: 0, "max-width": "none", "max-height": "none", + border: 0, padding: 0, margin: 0, + "max-width": "none", "max-height": "none", + "min-width": 0, "min-height": 0, "vertical-align": 0, "line-height": "normal", "text-decoration": "none" }, @@ -275,11 +281,13 @@ ".MathJax_ExBox": { display:"block!important", overflow:"hidden", - width:"1px", height:"60ex" + width:"1px", height:"60ex", + "min-height": 0, "max-height":"none" }, ".MathJax .MathJax_EmBox": { display:"block!important", overflow:"hidden", - width:"1px", height:"60em" + width:"1px", height:"60em", + "min-height": 0, "max-height":"none" }, ".MathJax .MathJax_HitBox": { diff --git a/unpacked/jax/output/NativeMML/jax.js b/unpacked/jax/output/NativeMML/jax.js @@ -101,6 +101,8 @@ "white-space": "nowrap", "float": "none", "direction": "ltr", + "max-width": "none", "max-height": "none", + "min-width": 0, "min-height": 0, border: 0, padding: 0, margin: 0 }, @@ -115,6 +117,7 @@ ".MathJax_mmlExBox": { display:"block!important", overflow:"hidden", height:"1px", width:"60ex", + "min-height": 0, "max-height":"none", padding:0, border: 0, margin: 0 } } diff --git a/unpacked/jax/output/SVG/jax.js b/unpacked/jax/output/SVG/jax.js @@ -52,12 +52,16 @@ "white-space": "nowrap", "float": "none", "direction": "ltr", + "max-width": "none", "max-height": "none", + "min-width": 0, "min-height": 0, border: 0, padding: 0, margin: 0 }, ".MathJax_SVG_Display": { position: "relative", display: "block!important", + "max-width": "none", "max-height": "none", + "min-width": 0, "min-height": 0, width: "100%" }, @@ -81,7 +85,9 @@ ".MathJax_SVG_ExBox": { display:"block!important", overflow:"hidden", - width:"1px", height:"60ex" + width:"1px", height:"60ex", + "min-height": 0, "max-height":"none", + padding:0, border: 0, margin: 0 }, "#MathJax_SVG_Tooltip": {