diff options
Diffstat (limited to 'js/yui3/widget-base-ie')
-rw-r--r-- | js/yui3/widget-base-ie/assets/widget-base-core.css | 26 | ||||
-rw-r--r-- | js/yui3/widget-base-ie/widget-base-ie-min.js | 7 |
2 files changed, 33 insertions, 0 deletions
diff --git a/js/yui3/widget-base-ie/assets/widget-base-core.css b/js/yui3/widget-base-ie/assets/widget-base-core.css new file mode 100644 index 000000000..9e5ce67a6 --- /dev/null +++ b/js/yui3/widget-base-ie/assets/widget-base-core.css @@ -0,0 +1,26 @@ +/* +YUI 3.7.3 (build 5687) +Copyright 2012 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ +.yui3-widget-hidden { + display:none; +} + +.yui3-widget-content { + overflow:hidden; +} + +.yui3-widget-content-expanded { + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; + -ms-box-sizing: border-box; + box-sizing:border-box; + height:100%; +} + +/* Only used for IE6, to go from a bigger size to a smaller size when using cb.sizeTo(bb) */ +.yui3-widget-tmp-forcesize { + overflow:hidden !important; +}
\ No newline at end of file diff --git a/js/yui3/widget-base-ie/widget-base-ie-min.js b/js/yui3/widget-base-ie/widget-base-ie-min.js new file mode 100644 index 000000000..19aabbde8 --- /dev/null +++ b/js/yui3/widget-base-ie/widget-base-ie-min.js @@ -0,0 +1,7 @@ +/* +YUI 3.7.3 (build 5687) +Copyright 2012 Yahoo! Inc. All rights reserved. +Licensed under the BSD License. +http://yuilibrary.com/license/ +*/ +YUI.add("widget-base-ie",function(e,t){var n="boundingBox",r="contentBox",i="height",s="offsetHeight",o="",u=e.UA.ie,a=u<7,f=e.Widget.getClassName("tmp","forcesize"),l=e.Widget.getClassName("content","expanded");e.Widget.prototype._uiSizeCB=function(e){var t=this.get(n),c=this.get(r),h=this._bbs;h===undefined&&(this._bbs=h=!(u&&u<8&&t.get("ownerDocument").get("compatMode")!="BackCompat")),h?c.toggleClass(l,e):e?(a&&t.addClass(f),c.set(s,t.get(s)),a&&t.removeClass(f)):c.setStyle(i,o)}},"3.7.3",{requires:["widget-base"]}); |