painty / CSS-Used-ChromeExt

Get all css rules used by the selected DOM and its children.
https://chrome.google.com/webstore/detail/css-used/cdopjfddjlonogibjahpnmjpoangjfff
MIT License
263 stars 62 forks source link

inherited properties should be changed to the inherited value if not inherited #27

Open gggiiia opened 4 years ago

gggiiia commented 4 years ago

css properties that are set to intherit should be changed to the value inherited, this could be done by looking at the rendered css properties, and this should be applied only if no actual inherit is possible, when all parents of one element do not have that property, and is likely on a element we don't want to extract, this could be really usefull to get specific elements and save time modifying them to look like in origin.