-
Notifications
You must be signed in to change notification settings - Fork 143
[css-properties-values-api] Calls to registerProperty() and unregisterProperty() should not trigger a CSS reparse #63
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
Comments
shane: File bug, calls to registerProperty, should not reparse, as would change identity of CSSOM objects. |
Instead just need to reparse specified values of newly registered properties then recompute style. Sadly this implies that the token streams of all custom properties must be kept around to correctly deal with unregisterProperty then registerProperty w. different type on the same custom property. |
There's prose in the specification now for this but I think it could be written up more clearly. In particular:
|
@tabatkins thoughts? |
Want to invoke whatever happens when you change style rules through the CSSOM. --foo: red; if we call: then color is red. |
No description provided.
The text was updated successfully, but these errors were encountered: