Added todo to find frame anchor-types from the style tree

Frames that have no direct anchor-type specified currently have incorrect
behaviour, as these default to not behaving as character frames. The
correct behaviour is to actually examine the style inheritance hierarchy
to find the parent style that sets the default.