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

Filter only computed properties that have some CSS rule associated #51

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

aplicacionamedida
Copy link

The collection of all computed css properties can make problem rendering the snippet. For example, a fixed "width" and "height" can make rendering problems if the snippet doesn't use exactly the same font.

My proposal is to filter only the properties that have some CSS rule associated applying that property.

Based on these links:
https://stackoverflow.com/questions/2952667/find-all-css-rules-that-apply-to-an-element
http://www.javascriptkit.com/domref/cssrule.shtml

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.

1 participant