One more place tht unEm should not have been used.

This commit is contained in:
Davide P. Cervone 2012-08-24 06:53:28 -04:00
parent 3e0f993d7f
commit 38ccfc4cbe
8 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -302,7 +302,7 @@ MathJax.Hub.Register.StartupHook("HTML-CSS Jax Ready",function () {
// Set width/position based on the type of column
//
if (CWIDTH[j].match(/%$/)) {
var pp = HTMLCSS.unEm(CWIDTH[j]) * Wf;
var pp = parseFloat(CWIDTH[j]) * Wf;
if (f === 0) {
CjStyle.width = (wp + pp) + "%"; xp += wp + pp;
Cj = HTMLCSS.createBox(Cj); HTMLCSS.addBox(Cj,C[j].firstChild);