Fix computation of depths to not use width as the default (oops).
This commit is contained in:
parent
d786c11add
commit
29efa89877
|
@ -1249,7 +1249,7 @@
|
||||||
child.style.width = 0; child.style.margin = CHTML.Em(-h)+" 0 "+CHTML.Em(-d);
|
child.style.width = 0; child.style.margin = CHTML.Em(-h)+" 0 "+CHTML.Em(-d);
|
||||||
if (values.width !== "") w = this.CHTMLdimen(values.width,"w",w,0);
|
if (values.width !== "") w = this.CHTMLdimen(values.width,"w",w,0);
|
||||||
if (values.height !== "") h = this.CHTMLdimen(values.height,"h",h,0);
|
if (values.height !== "") h = this.CHTMLdimen(values.height,"h",h,0);
|
||||||
if (values.depth !== "") d = this.CHTMLdimen(values.depth,"d",w,0);
|
if (values.depth !== "") d = this.CHTMLdimen(values.depth,"d",d,0);
|
||||||
if (values.voffset !== "") {
|
if (values.voffset !== "") {
|
||||||
y = this.CHTMLdimen(values.voffset);
|
y = this.CHTMLdimen(values.voffset);
|
||||||
if (y) {
|
if (y) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user