Skip to main content

Bug Tracker

Side navigation

#5492 closed enhancement (wontfix)

Opened November 12, 2009 02:11AM UTC

Closed June 13, 2010 06:30PM UTC

Computed CSS handled differently in CHROME

Reported by: dbjdbj Owned by:
Priority: major Milestone:
Component: unfiled Version: 1.3.2
Keywords: CHROME computed CSS Cc:
Blocked by: Blocking:
Description

Computed CSS on newly made but not attached elements is not avaiable in CHROME.

For example:

$("<div style='color:red!important' ><div><div><div class='a b c'>ABC</div></div></div></div>").find(".b").css("color")

Returns "red" in FF and IE, but "" in CHROME.

Please see : http://groups.google.co.uk/group/jquery-dev/browse_thread/thread/53f078e736ed3816/c4eb4302999ac769?lnk=gst&q=DBJ#

Attachments (0)
Change History (2)

Changed November 26, 2009 02:14AM UTC by dbjdbj comment:1

This has to be followed and re-tested in Chrome, as it goes through frequent releases cycle. Currently.

(mine is 4.0.249.11 , today )

Changed June 13, 2010 06:30PM UTC by dmethvin comment:2

resolution: → wontfix
status: newclosed

This can't be worked around by jQuery since attaching an element to the document might change the css properties.