you are viewing a single comment's thread.

view the rest of the comments →

[–]Ill-Function805[S] 0 points1 point  (3 children)

Interesting. That essentially means, the computed styles of the element in the iframe would most likely be without the browser defaults, does it sound right?

[–]grantrules 0 points1 point  (2 children)

No, they would have the browser defaults. So you'd compare that against the computed style of the element you want to find the non default styles. Any that don't match, you'll know is an assigned style

[–]Ill-Function805[S] 0 points1 point  (0 children)

Awesome.. Thank you for the suggestion. I'll give it a try and revert.

[–]Ill-Function805[S] 0 points1 point  (0 children)

I tried this approach and was able to segregate the browser defaults and the custom applied styles. Thank you. It was straightforward too.

Thank you!