Add frame support

Add checks to resize handling which allow correct percentage calculations when the target table is nested within a child `<frame>`.
Fix syntax problem
Merge pull request #24 from Craga89/patch-1

Add frame support