* Changed Element#makeClipping to remember the original overflow value, even if it's a non-inline style. [Andrew Dupont]
This commit is contained in:
parent
3dd7bd5b4b
commit
8d3d6cdb04
|
@ -1,5 +1,7 @@
|
|||
*SVN*
|
||||
|
||||
* Changed Element#makeClipping to remember the original overflow value, even if it's a non-inline style. [Andrew Dupont]
|
||||
|
||||
* Cross-browser Event#isLeftClick with the addition of is(Middle|Right)Click. Closes #7520. [Christophe Porteneuve, Richard Quadling, Mislav Marohnić]
|
||||
|
||||
* Changed Selector to use the non-XPath approach for Safari 3 because of bugs in its version of document.evaluate. [Andrew Dupont]
|
||||
|
|
|
@ -466,8 +466,8 @@ Element.Methods = {
|
|||
makeClipping: function(element) {
|
||||
element = $(element);
|
||||
if (element._overflow) return element;
|
||||
element._overflow = element.style.overflow || 'auto';
|
||||
if ((Element.getStyle(element, 'overflow') || 'visible') != 'hidden')
|
||||
element._overflow = Element.getStyle(element, 'overflow') || 'auto';
|
||||
if (element._overflow !== 'hidden')
|
||||
element.style.overflow = 'hidden';
|
||||
return element;
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue