HTML Standard Tracker

Filter

File a bug

SVNBugCommentTime (UTC)
602812526apply wg decision (introductory text for <img>)2011-04-25 23:09
@@ -144,20 +144,26 @@
    specification unambiguously disallows the use of <code>table</code>
    elements for layout purposes.</li>
 
    <li>The W3C version requires authors who are writing HTML e-mails
    with images to people they know can see the images (e.g. a wife
    sending her husband photos of their child) to nonetheless include
    textual alternatives to those images, because of <a
    href="http://lists.w3.org/Archives/Public/public-html/2011Apr/0451.html">a
    working group decision from April 2011</a>.</li>
 
+   <li>The W3C version does not state that the <code>img</code>
+   element's <code title="attr-img-alt">alt</code> attribute is its
+   <span>fallback content</span>, because of <a
+   href="http://lists.w3.org/Archives/Public/public-html/2011Apr/0452.html">a
+   working group decision from April 2011</a>.</li>
+
   </ul>
 
   <p>Features that are part of HTML (and this specification) but that
   are currently published as separate specifications as well, and are
   not included in the W3C HTML5 specification, consist of:</p>
 
   <ul class="brief">
    <li><a href="#2dcontext">Canvas 2D Graphics Context</a><!--2DCONTEXT-->
    <li><a href="#microdata">Microdata</a><!--MD-->
    <li><a href="#mdvocabs">Microdata vocabularies</a>
@@ -11617,20 +11623,23 @@ background: transparent">blue&lt;/span>.&lt;/p></pre>
 
   <p>Elements that are from namespaces other than the <span>HTML
   namespace</span> and that convey content but not metadata, are
   <span>embedded content</span> for the purposes of the content models
   defined in this specification. (For example, MathML, or SVG.)</p>
 
   <p>Some embedded content elements can have <dfn>fallback
   content</dfn>: content that is to be used when the external resource
   cannot be used (e.g. because it is of an unsupported format). The
   element definitions state what the fallback is, if any.</p>
+  <!-- we might not need to define fallback content at all. consider
+  removing it if we don't end up using it anywhere (e.g. Selection)
+  -->
 
 
   <h6>Interactive content</h6>
 
 <!--
 TESTS:
 http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20html%3E%0A%3Cp%20tabindex%3D1%3Etest%20%3Ca%20href%3D%22%22%3E%20%3Cem%3Etest%3C/em%3E%20%3C/a%3E%0A%3Cscript%3E%0A%20function%20test%20%28e%29%20%7B%20w%28e.type%20+%20%27%20on%20%27%20+%20e.target.tagName%20+%20%27%20through%20%27%20+%20e.currentTarget.tagName%29%3B%20%7D%0A%20document.getElementsByTagName%28%27a%27%29%5B0%5D.addEventListener%28%27click%27%2C%20test%2C%20false%29%3B%0A%20document.getElementsByTagName%28%27a%27%29%5B0%5D.addEventListener%28%27DOMActivate%27%2C%20test%2C%20false%29%3B%0A%20document.getElementsByTagName%28%27p%27%29%5B0%5D.addEventListener%28%27click%27%2C%20test%2C%20false%29%3B%0A%20document.getElementsByTagName%28%27p%27%29%5B0%5D.addEventListener%28%27DOMActivate%27%2C%20test%2C%20false%29%3B%0A%3C/script%3E%0A
 http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0A%3Ca%20href%3Dhttp%3A//google.com/%20target%3Da%3EA%3C/a%3E%3Ca%20href%3Dhttp%3A//yahoo.com/%20target%3Db%3EB%3C/a%3E%3Cbr%3E%0A%3Ciframe%20name%3Da%3E%3C/iframe%3E%3Ciframe%20name%3Db%3E%3C/iframe%3E%0A%3Cscript%3E%0A%20var%20a%20%3D%20document.getElementsByTagName%28%27a%27%29%5B0%5D%3B%0A%20var%20b%20%3D%20document.getElementsByTagName%28%27a%27%29%5B1%5D%3B%0A%20a.appendChild%28b%29%3B%0A%3C/script%3E
 http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0A%3Cform%20action%3D%22http%3A//google.com/%22%20onsubmit%3D%22w%28%27onsubmit%27%29%22%3E%3Cem%3EA%3C/em%3E%3C/form%3E%0A%3Cscript%3E%0Adocument.getElementsByTagName%28%27form%27%29%5B0%5D.attachEvent%28%27onsubmit%27%2C%20function%20%28%29%20%7B%20w%28%27submit%20fired%27%29%20%7D%29%3B%0Adocument.getElementsByTagName%28%27form%27%29%5B0%5D.fireEvent%28%27onsubmit%27%29%3B%0A%3C/script%3E
 http://software.hixie.ch/utilities/js/live-dom-viewer/?%3C%21DOCTYPE%20HTML%3E%0A%3Cform%20action%3D%22http%3A//google.com/%22%3EX%3C/form%3E%0A%3Cscript%3E%0Avar%20evt%20%3D%20document.createEvent%28%22Events%22%29%3B%0Aevt.initEvent%28%22submit%22%2C%20true%2C%20true%29%3B%0Adocument.getElementsByTagName%28%27form%27%29%5B0%5D.dispatchEvent%28evt%29%3B%0A%3C/script%3E
@@ -23363,23 +23372,29 @@ interface <dfn>HTMLImageElement</dfn> : <span>HTMLElement</span> {
        Slight hitch: their images are at a different origin, and we
        don't want to allow arbitrary cross-origin inspection (privacy
        leak risk).
 
      * See note at rel=noreferrer.
 
   -->
 
   <p>The image given by the <dfn
   title="attr-img-src"><code>src</code></dfn> attribute is the
-  embedded content, and the value of the <dfn
-  title="attr-img-alt"><code>alt</code></dfn> attribute is the
-  <code>img</code> element's <span>fallback content</span>.</p>
+  embedded content; the value of the <dfn
+  title="attr-img-alt"><code>alt</code></dfn> attribute provides
+  equivalent content for those who cannot process images or who have
+  image loading disabled<!--
+--><!--END w3c-html--><!--FORK--><!--
+  --> (i.e. it is the <code>img</code> element's <span>fallback
+  content</span>)<!--
+--><!--START w3c-html--><!--FORK--><!--
+  -->.</p>
 
   <p>The <code title="attr-img-src">src</code> attribute must be
   present, and must contain a <span>valid non-empty URL potentially
   surrounded by spaces</span> referencing a non-interactive,
   optionally animated, image resource that is neither paged nor
   scripted.</p>
 
   <p class="note">Images can thus be static bitmaps (e.g. PNGs, GIFs,
   JPEGs), single-page vector documents (single-page PDFs, XML files
   with an SVG root element), animated bitmaps (APNGs, animated GIFs),

|