Bug Tracker

Opened 10 years ago

Closed 9 years ago

#5492 closed enhancement (wontfix)

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#

Change History (2)

comment:1 Changed 10 years ago by dbjdbj

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 )

comment:2 Changed 9 years ago by dmethvin

Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.