Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

<th scope> has no auto keyword #10446

Merged
merged 3 commits into from
Jul 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 17 additions & 19 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -43850,15 +43850,12 @@ interface <dfn interface>HTMLTableCellElement</dfn> : <span>HTMLElement</span> {
<td><dfn attr-value for="th/scope"><code data-x="attr-th-scope-colgroup">colgroup</code></dfn>
<td><dfn data-x="attr-th-scope-colgroup-state">column group</dfn>
<td>The header cell applies to all the remaining cells in the column group.
<tr>
<td><dfn attr-value for="th/scope"><code data-x="attr-th-scope-auto">auto</code></dfn>
<td><dfn data-x="attr-th-scope-auto-state">auto</dfn>
<td>The header cell applies to a set of cells selected based on context.
</table>

<p>The attribute's <i data-x="missing value default">missing value default</i> and <i
data-x="invalid value default">invalid value default</i> are both the <span
data-x="attr-th-scope-auto-state">auto</span> state.</p>
data-x="invalid value default">invalid value default</i> are both the <dfn
data-x="attr-th-scope-auto-state">auto</dfn> state. (In this state the header cell applies to a
set of cells selected based on context.)</p>

<p>A <code>th</code> element's <code data-x="attr-th-scope">scope</code> attribute must not be in
the <span data-x="attr-th-scope-rowgroup-state">row group</span> state if the element is not anchored in
Expand Down Expand Up @@ -43919,8 +43916,8 @@ interface <dfn interface>HTMLTableCellElement</dfn> : <span>HTMLElement</span> {
<p>The headers in the first row all apply directly down to the rows in their column.</p>

<p>The headers with a <code data-x="attr-th-scope">scope</code> attribute in the <span
data-x="attr-th-scope-rowgroup">rowgroup</span> state apply to all the cells in their row group
other than the cells in the first column.</p>
data-x="attr-th-scope-rowgroup-state">rowgroup</span> state apply to all the cells in their row
group other than the cells in the first column.</p>

<p>The remaining headers apply just to the cells to the right of them.</p>

Expand Down Expand Up @@ -44791,11 +44788,11 @@ interface <dfn interface>HTMLTableCellElement</dfn> : <span>HTMLElement</span> {

<ul>
<li><p>the cell's <code data-x="attr-th-scope">scope</code> attribute is in the <span
data-x="attr-th-scope-col">column</span> state; or</p></li>
data-x="attr-th-scope-column-state">column</span> state; or</p></li>

<li><p>the cell's <code data-x="attr-th-scope">scope</code> attribute is in the <span
data-x="attr-th-scope-auto">auto</span> state, and there are no data cells in any of the cells
covering slots with <var>y</var>-coordinates <var>y</var> .. <span
data-x="attr-th-scope-auto-state">auto</span> state, and there are no data cells in any of the
cells covering slots with <var>y</var>-coordinates <var>y</var> .. <span
data-x=""><var>y</var>+<var>height</var>-1</span>.</p></li>
</ul>

Expand All @@ -44805,21 +44802,21 @@ interface <dfn interface>HTMLTableCellElement</dfn> : <span>HTMLElement</span> {

<ul>
<li><p>the cell's <code data-x="attr-th-scope">scope</code> attribute is in the <span
data-x="attr-th-scope-row">row</span> state; or</p></li>
data-x="attr-th-scope-row-state">row</span> state; or</p></li>

<li><p>the cell's <code data-x="attr-th-scope">scope</code> attribute is in the <span
data-x="attr-th-scope-auto">auto</span> state, the cell is not a <span>column header</span>, and
there are no data cells in any of the cells covering slots with <var>x</var>-coordinates
<var>x</var> .. <var>x</var>+<var>width</var>-1.</p></li>
data-x="attr-th-scope-auto-state">auto</span> state, the cell is not a <span>column
header</span>, and there are no data cells in any of the cells covering slots with
<var>x</var>-coordinates <var>x</var> .. <var>x</var>+<var>width</var>-1.</p></li>
</ul>

<p>A header cell is said to be a <dfn>column group header</dfn> if its <code
data-x="attr-th-scope">scope</code> attribute is in the <span data-x="attr-th-scope-colgroup">column
group</span> state.</p>
data-x="attr-th-scope">scope</code> attribute is in the <span
data-x="attr-th-scope-colgroup-state">column group</span> state.</p>

<p>A header cell is said to be a <dfn>row group header</dfn> if its <code
data-x="attr-th-scope">scope</code> attribute is in the <span data-x="attr-th-scope-rowgroup">row
group</span> state.</p>
data-x="attr-th-scope">scope</code> attribute is in the <span
data-x="attr-th-scope-rowgroup-state">row group</span> state.</p>

<p>A cell is said to be an <dfn>empty cell</dfn> if it contains no elements and its <span>child
text content</span>, if any, consists only of <span>ASCII whitespace</span>.</p>
Expand Down Expand Up @@ -144249,6 +144246,7 @@ INSERT INTERFACES HERE
Josh Levenberg,
Josh Matthews,
Joshua Bell,
Joshua Chen, <!-- Josh-Cena on GitHub -->
Joshua Randall,
Juan Olvera, <!-- thinkxl on GitHub -->
Juanmi Huertas,
Expand Down