Skip to content

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

Open
aplicacionamedida wants to merge 1 commit intokdzwinel:masterfrom
aplicacionamedida:master
Open

Filter only computed properties that have some CSS rule associated#51
aplicacionamedida wants to merge 1 commit intokdzwinel:masterfrom
aplicacionamedida:master

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

Comments