/[svn]/doc/tmpl/js/jquery-1.11.2.js
ViewVC logotype

Diff of /doc/tmpl/js/jquery-1.11.2.js

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3275 by schoenebeck, Mon Jun 5 15:08:11 2017 UTC revision 3276 by schoenebeck, Mon Jun 5 15:19:14 2017 UTC
# Line 6596  function getWidthOrHeight( elem, name, e Line 6596  function getWidthOrHeight( elem, name, e
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)                  // HACK for a Safari bug (see rdar #32565741)
6599                  if (elem.firstChild.offsetHeight > 0) {                  if (name === "width") {
6600                          return elem.firstChild.offsetHeight;                          if (elem.firstChild.offsetWidth > 0) {
6601                                    return elem.firstChild.offsetWidth;
6602                            }
6603                    } else {
6604                            if (elem.firstChild.offsetHeight > 0) {
6605                                    return elem.firstChild.offsetHeight;
6606                            }
6607                  }                  }
6608    
6609                  // Fall back to computed then uncomputed css if necessary                  // Fall back to computed then uncomputed css if necessary

Legend:
Removed from v.3275  
changed lines
  Added in v.3276

  ViewVC Help
Powered by ViewVC