NNKL.COM
welcome to my space
X
Search:  
 HOME   [2.0] Element.mask() IE6 issue when the element has some padding
[2.0] Element.mask() IE6 issue when the element has some padding
Published by: rose 2009-01-07
Welcome to:nnkl.com

  • In IE6, when you apply a mask to an element that has padding, the mask doesn't cover the horizontal padding area.

    So the current code

    if(Ext.isIE && !(Ext.isIE7 && Ext.isStrict) && this.getStyle('height') == 'auto'){ // ie will not expand full height automatically
    this._mask.setHeight(this.getHeight());
    }


    should probably be

    if(Ext.isIE && !(Ext.isIE7 && Ext.isStrict)){
    Modules: Theme related | drupal.org::
    the-fly rounded corners for any HTML DIV element, that Issue:#342115: Padding causes elements to stretch. Works in sub-directory drupal installations.
    http://drupal.org/project/Modules/category/73
    HOME
    this._mask.setSize(this.getSize());
    }


  • Thanks Jack!

    The clientWidth thing is working for my case, but what if this.getStyle('height') is not 'auto'? Is that possible?


  • Bump.


  • If height is not auto then height has a height and hasLayout will be true. If hasLayout is true then the workaround shouldn't be required. Hopefully that makes sense. ;)


  • Thanks Ivaylo. Please check out the workaround I put in SVN.





  • I Am a Sinner – What About You?
    Global Sourcing and Supplier Online by Dylan

    You are looking at:nnkl.com's [2.0] Element.mask() IE6 issue when the element has some padding, click nnkl.com to home
  • ok seriously what is our total as of 11 1
  • get rich or die trying 2 thumbs down
  • tell the truth and shame the devils
  • happy news or pitiful ruse
  • how can you run in a district you don t live in
  • is it over for team booker
  • the break down of the vote
  • special council meeting tonight
  • baraka wins council at large
  • 5 steps to a safe halloween
  • eminent domain power play
  • newark muggings
  • vote for the best forum discussions
  •  
  • france s version of newark riots ongoing 9 cities out of control and growing
  • ot mrs jon corzine the woman scorned
  • the shame of es county nothing has changed
  • french riots 11 cities and growing
  • candidate say children in newark playing on roof tops
  • newark is getting on my last nerves
  • a tale of two cities 20 years of sharpe’s trickle down newarkonomics
  • street racing bust in newark
  • thanks for support at rally for ron event
  • black girls learn love hard
  • new community corporation still newark s largest slumlord
  • safe haven event for youth tonight
  • parents of murdered youth 11th annual memorial dinner
  • two fake tributes yesterday
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 nnkl.com        Site made:CFZ