Alex Robinson wrote: > At 22:36 -1000 9/3/08, david wrote: >> If you have an HTML document that happens to contain another HTML >> document in an iframe - and one of the two documents triggers quirks >> mode when rendered by itself - is each one rendered in the same mode or >> does the browser somehow do one in standards mode and one in quirks mode? > > I've updated (and moved, but the previous address still works) > > http://www.fu2k.org/alex/css/cssjunk/ie8/xuas > > You can now change the X-UA target and the mode of the document that > calls the iframed documents. > > I can see no difference at all in how the iframe content is rendered > regardless of the containing document's X-UA or mode. > > So, in answer to your question, the latter. Iframed documents > rendering is exactly the same as if they were being displayed outside > of an iframe.
Thanks, Alex. It's something I realize that I was wondering about, but have only twice in my whole life actually used an iframe for anything! > NB. of course there may be some as yet undiscovered condition that > does cause things to break down (and I make no claims about what the > different versions of javascript are doing in each iframe). I would guess that Javascript is independent of document type. Also, any given brower has only ONE Javscript implementation ... but, yes, maybe there could be a difference, depending on what version of Javascript being indicated by a script's type. -- David [EMAIL PROTECTED] authenticity, honesty, community ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
