Skip to content

Don't fill jQuery.cssProps if mapping isn't needed #3986

@dmethvin

Description

@dmethvin

While working on jquery/jquery-migrate#291 the tests failed indicating that we are using jQuery.cssProps still in a somewhat insidious way. Each time someone accesses a CSS property we're populating it with properties like { width: "width" }. That makes it hard for Migrate to warn since just about anything can end up there through no fault of external code. For now I won't land this warning and leave jquery/jquery-migrate#283 open until we can change the logic to only populate jQuery.cssProps when it needs to actually change the property name.

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