Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Run quirks mode in one frame and standards mode in another?

I have an old application that uses frames (not iframes) was was written back in the IE6 days so it runs in quirks mode.

Is it possible (Using IE 7 or 8) to have one frame still in quirks mode and another in standards mode or must the whole browser be in one mode or another?

I've been trying with no success.

I've seen this answer, that applies to iframes, but what about plain-old-frames?

like image 212
Diodeus - James MacFarlane Avatar asked Feb 04 '11 19:02

Diodeus - James MacFarlane


2 Answers

I believe that you don't get the same option with frames as you do with an iframe. As the linked question's answer stated, the target in an iframe is not dependent upon the parent. In regular frames the pages all rely on the parent. I don't think you can separate the types out.

like image 114
Jeremy B. Avatar answered Sep 22 '22 16:09

Jeremy B.


I'm not sure if this helps, but according to the Mozilla Dev center Firefox makes it's quirksmode decisions based on doctype only.

https://developer.mozilla.org/en/Mozilla's_DOCTYPE_sniffing

You'll notice using the old frameset doctype triggers "almost standards" mode, which could show up as quirksmode.

like image 23
Graham Conzett Avatar answered Sep 24 '22 16:09

Graham Conzett