If HTML page has multiple frames and each frames opens an HTML page and since each of this html pages has different Doctype, then how browser would decide the Mode.
My actual requirement is to keep my webpages in quirks mode but i have a frames where i make use to render third party UI controls which supports only Standard Modes. So i want to keep only that frame in a Std Mode(using <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">)
as per my testing so far, even after changing doctype to Std mode, it is still behaving as quirks mode. The parent frame is still kept with doctype use to support quirk mode.