W3C home > Mailing lists > Public > public-html@w3.org > April 2014

Re: iframe@srcdoc

From: Andry Rendy <master.skywalker.88@gmail.com>
Date: Sat, 5 Apr 2014 00:06:29 +0200
Message-ID: <CAGxST9nxzp7w=+j3goBEv_PgjFsSR7aNRXLVfei9EmBS-3Kmuw@mail.gmail.com>
To: public-html@w3.org
I thought that someone would have answered like that, but currently there
are no user agents which fail to support user agents and those which do,
lack the support willingly (such as some search engines). The evidence is
that in XHTML documents the iframe element has "content model: empty".
Modern browsers, i.e. those which support XHTML documents (but even much
older ones, see IE versions < 9) don't need fallback. In addition to this:
 - a proper fallback could actually work as initial content, given the fact
that fallback sentences such as "your browser doesn't support iframes" or
so on are useless to the common user and several guides discourage it in
favour of a link to the embedded resource.
 - the question could be resolved changing the absurd rule that initial
content takes precedence over embedded content: an iframe having both
content and a src attribute could display the embedded resource, so that
the initial content is shown only when a src attribute is not defined or
when it maps to a specific value (e.g. a document fragment matching the ID
of the current iframe). So the content would provide a fallback unless
explicitly exploited (the 2 functions overlap fairly well IMO).
Received on Friday, 4 April 2014 22:06:56 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:38 UTC