#8783 closed bug (duplicate)
1.5.2 getComputedStyle bug
Reported by: | Owned by: | Rick Waldron | |
---|---|---|---|
Priority: | blocker | Milestone: | 1.next |
Component: | support | Version: | 1.5.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hello.By using 1.5.1 or 1.5.0 i don't get this error.
Particularly i get"
document.defaultView.getComputedStyle(div, null) is null
stack:
"@:1\n((function (selector, context) {return new jQuery.fn.init(selector, context, rootjQuery);}))@http://deucalion/WebServeCRM/js/jquery/jquery-1.5.2.js:1286\n([object HTMLDocument],[object Array])@http://deucalion/WebServeCRM/js/jquery/jquery-1.5.2.js:975\n()@http://deucalion/WebServeCRM/js/jquery/jquery-1.5.2.js:414\n([object Event])@http://deucalion/WebServeCRM/js/jquery/jquery-1.5.2.js:881\n"
"
The div element at this time is <div style="padding-left: 1px; width: 1px; margin-right: 0pt;"></div>
I suppose that the corrections that you made for bug #3333 broke this one in firefox. Using firefox 4.0 Thanks!
Change History (6)
comment:1 Changed 12 years ago by
Component: | unfiled → css |
---|---|
Owner: | set to Rick Waldron |
Priority: | undecided → blocker |
Status: | new → assigned |
comment:2 Changed 12 years ago by
comment:4 Changed 12 years ago by
Resolution: | → duplicate |
---|---|
Status: | assigned → closed |
comment:6 Changed 12 years ago by
Component: | css → support |
---|
A quick fix, which worked for me:
change line 1283 from
into