Bug Tracker

Modify

Ticket #5492 (closed enhancement: wontfix)

Opened 4 years ago

Last modified 3 years ago

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:
Blocking: Blocked by:

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

comment:1 Changed 3 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 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to wontfix

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.