Skip to content

Conversation

putermancer
Copy link

All instances of CSS2Properties currently share an instance of a single object for this.styleIndex. This makes it so that if you set a style on divA, divB also reflects the change.

This patch addresses the issue by extending a new object with supportedStyles for each instance of CSS2Properties.

@putermancer
Copy link
Author

Bit me during some tests. I just noticed however that this is a duplicate pull request. Pull request #19 addresses this issue in the same manner, but also allows access ti styles set through innerHTML -- it may be worth looking at instead of this pull request.

#19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants