Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS Properties mixed up #20

Open
orslumen opened this issue Apr 8, 2011 · 0 comments
Open

CSS Properties mixed up #20

orslumen opened this issue Apr 8, 2011 · 0 comments

Comments

@orslumen
Copy link

orslumen commented Apr 8, 2011

In CSS2Properties of css.js , the setProperty method stores updated CSS properties in the styleIndex variable, but that object is shared between multiple (all?) nodes.

So when a CSS property is dynamically updated in one node, it also changes in all other nodes.

One way to fix is is by storing all changed properties in a separate variable, see orslumen@aa0318d

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

No branches or pull requests

1 participant