Skip to content

Add note to .css() about retrieving styles for detached elements #653

Closed
@timmywil

Description

@timmywil

Context: jquery/jquery#2086

There is no useful style information before a node is connected to the DOM. jQuery takes a queue here from the native behavior and allows an error to be thrown.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions