Bugzilla – Bug 611
Tentatively allow flow content inside <table><caption> and <figure><legend>. (bug 7056)
Last modified: 2009-07-15 08:08:16 CEST
Index: source =================================================================== --- source (revision 3328) +++ source (revision 3329) @@ -28608,7 +28608,7 @@ <dt>Contexts in which this element may be used:</dt> <dd>As the first element child of a <code>table</code> element.</dd> <dt>Content model:</dt> - <dd><span>Phrasing content</span>.</dd> + <dd><span>Flow content</span>, but with no descendant <code>table</code> elements.</dd> <dt>Content attributes:</dt> <dd><span>Global attributes</span></dd> <dt>DOM interface:</dt> @@ -28659,22 +28659,22 @@ and explaining its use, it makes more sense:</p> <pre><caption> -<strong>Table 1.</strong> -This table shows the total score obtained from rolling two six-sided -dice. The first row represents the value of the first die, the first -column the value of the second die. The total is given in the cell -that corresponds to the values of the two dice. +<p>Table 1. +<p>This table shows the total score obtained from rolling two +six-sided dice. The first row represents the value of the first die, +the first column the value of the second die. The total is given in +the cell that corresponds to the values of the two dice. </caption></pre> <p>This provides the user with more context:</p> <table class="dice-example"> <caption> - <strong>Table 1.</strong> - This table shows the total score obtained from rolling two six-sided - dice. The first row represents the value of the first die, the first - column the value of the second die. The total is given in the cell - that corresponds to the values of the two dice. + <p>Table 1. + <p>This table shows the total score obtained from rolling two + six-sided dice. The first row represents the value of the first + die, the first column the value of the second die. The total is + given in the cell that corresponds to the values of the two dice. </caption> <tr> <th> <th> 1 <th> 2 <th> 3 <th> 4 <th> 5 <th> 6 <tr> <th> 1 <td> 2 <td> 3 <td> 4 <td> 5 <td> 6 <td> 7 @@ -44706,9 +44706,10 @@ <dt>Contexts in which this element may be used:</dt> <dd>As the first child of a <code>fieldset</code> element.</dd> <dd>As the first child of a <code>details</code> element.</dd> - <dd>As a child of a <code>figure</code> element, if there are no other <code>legend</code> element children of that element.</dd> + <dd>As the first or last child of a <code>figure</code> element, if there are no other <code>legend</code> element children of that element.</dd> <dt>Content model:</dt> - <dd><span>Phrasing content</span>.</dd> + <dd>When the parent node is a <code>figure</code> element: <span>flow content</span>, but with no descendant <code>figure</code> elements.</dd> + <dd>Otherwise: <span>phrasing content</span>.</dd> <dt>Content attributes:</dt> <dd><span>Global attributes</span></dd> <dt>DOM interface:</dt> @@ -84377,6 +84378,7 @@ Oldřich Vetešník, Oliver Hunt, Oliver Rigby, + Olivier Gendrin, Olli Pettay, Patrick H. Lauke, Paul Norman,
closing this as a duplicate of bug 588 but of course feel free to reopen this if you think it needs to be. I am planning on checking in a change for bug 588 but have not written it up yet *** This bug has been marked as a duplicate of bug 588 ***