Bugzilla – Bug 399
<img> in a section has to be the only paragraph in that section.
Last modified: 2009-11-23 17:17:10 CET
Index: source =================================================================== --- source (revision 2481) +++ source (revision 2482) @@ -16178,11 +16178,13 @@ element that contains a <code>legend</code> element that contains content other than <span>inter-element whitespace</span>.</li> - <li>The <code>img</code> element is the only <code>img</code> - element without an <code title="attr-img-alt">alt</code> - attribute in its <span title="concept-section">section</span>, - and its <span title="concept-section">section</span> has an - associated heading.</li> + <li>The <code>img</code> element is part of the only + <span>paragraph</span> directly in its <span + title="concept-section">section</span>, and is the only + <code>img</code> element without an <code + title="attr-img-alt">alt</code> attribute in its section, and its + <span title="concept-section">section</span> has an associated + heading.</li> </ul> @@ -16204,8 +16206,10 @@ <p>It could also be marked up like this:</p> - <pre><h1>Bubbles traveled everywhere with us.</h1> - <strong><img src="1100670787_6a7c664aef.jpg"></strong></pre> + <pre><article> + <h1>Bubbles traveled everywhere with us.</h1> + <strong><img src="1100670787_6a7c664aef.jpg"></strong> +</article></pre> <p>In either case, though, it would be better if a detailed description of the important parts of the image obtained from the