Bug 847983 - Skip script text nodes for content events; r=masayuki
Bug 847983 - Don't include empty elements at end of range; r=masayuki
Bug 847983 - Try harder to get a valid frame; r=masayuki