6595 |
// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 |
// svg - https://bugzilla.mozilla.org/show_bug.cgi?id=649285 |
6596 |
// MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 |
// MathML - https://bugzilla.mozilla.org/show_bug.cgi?id=491668 |
6597 |
if ( val <= 0 || val == null ) { |
if ( val <= 0 || val == null ) { |
6598 |
|
// HACK for a Safari bug (see rdar #32565741) |
6599 |
|
if (elem.firstChild.offsetHeight > 0) { |
6600 |
|
return elem.firstChild.offsetHeight; |
6601 |
|
} |
6602 |
|
|
6603 |
// Fall back to computed then uncomputed css if necessary |
// Fall back to computed then uncomputed css if necessary |
6604 |
val = curCSS( elem, name, styles ); |
val = curCSS( elem, name, styles ); |
6605 |
if ( val < 0 || val == null ) { |
if ( val < 0 || val == null ) { |