Side navigation
#2325 closed bug (fixed)
Opened February 12, 2008 04:56PM UTC
Closed June 20, 2010 05:44PM UTC
curCSS doesn't recognize frame scope
Reported by: | jmcgraw | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 1.2.4 |
Component: | core | Version: | 1.2.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Running the following lines should produce the same result, but don't:
$("#default",top[frame name].document).css("background-color");
top[frame name].getComputedStyle(top[frame name].document.getElementById("default"), null).getPropertyValue("background-color");
After browsing the source for jQuery 1.2.3, looks like curCSS() uses the hard coded document variable and not one scoped for the current query.
Attachments (1)
Change History (1)
Changed June 20, 2010 05:44PM UTC by comment:1
resolution: | → fixed |
---|---|
status: | new → closed |
Switched to elem.ownerDocument in 1.4.