Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upStore Stylesheets in Stylist #1300
Closed
Labels
Comments
|
Yes, we need to preserve The question is, how does this interact with other data structures that we keep around for matching (eg. the rule hashes), especially for the lifetime if selectors and declarations? |
|
We definitely keep Stylesheet objects around now, so this issue doesn't really make sense to leave open. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right now, each Stylesheet is just dropped at the end of
add_stylesheet.We would probably need this to support dynamic style - #976
If this is fine, we can modify
Ruleto refer to the parent StyleRule's correspondingSelectorand the parent'sPropertyDeclarations instead of copying them over.@SimonSapin Do you have any thoughts on this?