From: dpvc v. a. <we...@ma...> - 2005-12-22 02:46:14
|
Log Message: ----------- Fixed some problems with alignment in Firefox 1.5 (will be part of 3.1 release, but that is being held up for the moment). Modified Files: -------------- webwork-modperl/htdocs/jsMath: jsMath.js Revision Data ------------- Index: jsMath.js =================================================================== RCS file: /webwork/cvs/system/webwork-modperl/htdocs/jsMath/jsMath.js,v retrieving revision 1.20 retrieving revision 1.21 diff -Lhtdocs/jsMath/jsMath.js -Lhtdocs/jsMath/jsMath.js -u -r1.20 -r1.21 --- htdocs/jsMath/jsMath.js +++ htdocs/jsMath/jsMath.js @@ -70,7 +70,7 @@ jsMath = { - version: "3.0", // change this if you edit the file + version: "3.0-ww", // change this if you edit the file document: document, // the document loading jsMath window: window, // the window of the of loading document @@ -90,7 +90,8 @@ '.typeset': 'font-family: serif; font-style: normal; font-weight: normal', 'div.typeset': 'text-align: center; margin: 1em 0px;', - 'span.typeset': '', + 'span.typeset': 'text-align: left', + '.typeset span': 'text-align: left', // needed for Firefox 1.5 '.typeset .normal': 'font-family: serif; font-style: normal; font-weight: normal', @@ -2426,8 +2427,6 @@ if (y != "none") { if (Math.abs(y) < .0001) {y = 0} html = '<span style="position: absolute; ' - + 'width:'+jsMath.HTML.Em(w)+'; ' // for Firefox 1.5 - + 'height:'+jsMath.HTML.Em(H)+'; ' // for Firefox 1.5 + 'top:'+jsMath.HTML.Em(y)+'; left: 0em;">' + html + ' ' // space normalizes line height in script styles + '</span>'; |