Skip to content

Commit

Permalink
Stop using White_Space
Browse files Browse the repository at this point in the history
For semantics of something being empty (table cells in this case) we should only consider ASCII whitespace, as we do elsewhere.

Fixes #4854.
  • Loading branch information
annevk committed Aug 30, 2019
1 parent b9997b7 commit 635a599
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -4452,16 +4452,6 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute

<h4>Common parser idioms</h4>

</div>

<p>The <dfn data-x="White_Space">White_Space characters</dfn> are those that have the Unicode
property "White_Space" in the Unicode <code data-x="">PropList.txt</code> data file. <ref spec=UNICODE></p>

<p class="note">This is not to be confused with the "White_Space" value (abbreviated "WS") of the
"Bidi_Class" property in the <code data-x="">Unicode.txt</code> data file.</p>

<div w-nodev>

<p>Some of the micro-parsers described below follow the pattern of having an <var>input</var>
variable that holds the string being parsed, and having a <var>position</var> variable pointing at
the next character to parse in <var>input</var>.</p>
Expand Down Expand Up @@ -42221,8 +42211,8 @@ interface <dfn>HTMLTableCellElement</dfn> : <span>HTMLElement</span> {
data-x="attr-th-scope">scope</code> attribute is in the <span data-x="attr-th-scope-rowgroup">row
group</span> state.</p>

<p>A cell is said to be an <dfn>empty cell</dfn> if it contains no elements and its text content,
if any, consists only of <span>White_Space</span> characters.</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>

</div>

Expand Down Expand Up @@ -124264,6 +124254,7 @@ INSERT INTERFACES HERE
Mark Miller,
Mark Nottingham,
Mark Pilgrim,
Mark Rogers, <!-- dd8 on GitHub -->
Mark Rowe<!--bdash-->,
Mark Schenk,
Mark Vickers,
Expand Down

0 comments on commit 635a599

Please sign in to comment.