Results 1 to 6 of 6

Thread: a.getComputedStyle(c.firstChild.firstChild, null) is null

  1. #1
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
      0  

    Exclamation a.getComputedStyle(c.firstChild.firstChild, null) is null

    I cant describe this well becasue there is no visible problem except error in firebug..
    I saw this as a bug report but in 4.0.7 version it still persists.
    Can this be fixed by override (any example)? and will it be finally fixed in 4.1?

    I know that it can be fixed by editing ext source but i d rather not go there everytime new version is out...

    ext-all-debug.js : 6270

    Code:
        {
                identity: 'RightMargin',
                fn: function(doc, div) {
                    var view = doc.defaultView;
                    if(view.getComputedStyle(div.firstChild.firstChild, null)==null){
                    	view = doc.body.defaultView;
                    }
                    return !(view && view.getComputedStyle(div.firstChild.firstChild, null).marginRight != '0px');
                }
    and ext-all-debug.js : 6300

    Code:
            {
                identity: 'TransparentColor',
                fn: function(doc, div, view) {
                    view = doc.defaultView;
                    if(view.getComputedStyle(div.firstChild, null)==null){
                    	view = doc.body.defaultView;
                    }
                    return !(view && view.getComputedStyle(div.lastChild, null).backgroundColor != 'transparent');
                }
            },

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    What class and method is this happening in? All classes can be overridden one method at a time easily.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  3. #3
    Ext JS Premium Member
    Join Date
    Oct 2011
    Posts
    84
    Vote Rating
    0
      0  

    Default

    well, the class is as i said located around line 6270 at ext-all-debug.js (4.0.7).

    What else do you need to know?

    When this bug will be fixed? and again can anybody provide me an override?

  4. #4
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    If you need a hotfix, depending on your support subscription level, you can get one from http://support.sencha.com/
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

  5. #5
    Sencha Premium Member i.stojanovic's Avatar
    Join Date
    Oct 2010
    Location
    Kragujevac, Serbia
    Posts
    24
    Vote Rating
    1
      0  

    Default Problem only in FireFox

    I try Opera,Chrome, IE and only FF have problem with this!!!
    www.codelighter.com
    There are 10 types of people in this world, those who understand binary and those who dont

  6. #6
    Sencha User
    Join Date
    Apr 2013
    Posts
    9
    Vote Rating
    0
      0  

    Default

    I have this same bug in 4.2.1.
    I created a patch for a compressed Version. See https://github.com/approached/extjsFixes

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •