File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -682,6 +682,11 @@ <h2 id=tokenization><span class=secno>4. </span> Tokenization</h2>
682682 tokens with the "id" type are valid < a
683683 href ="http://www.w3.org/TR/selectors/#id-selectors "> ID selectors</ a > .
684684
685+ < p class =note > As a technical note, the tokenizer defined here requires
686+ only three characters of look-ahead. The tokens it produces are designed
687+ to allow Selectors to be parsed with one token of look-ahead, and
688+ additional tokens may be added in the future to maintain this invariant.
689+
685690 < h3 id =token-diagrams > < span class =secno > 4.1. </ span > Token Railroad
686691 Diagrams</ h3 >
687692
Original file line number Diff line number Diff line change @@ -481,6 +481,12 @@ <h2>
481481 The type flag of hash tokens is used in the Selectors syntax [[SELECT]].
482482 Only hash tokens with the "id" type are valid < a href ="http://www.w3.org/TR/selectors/#id-selectors "> ID selectors</ a > .
483483
484+ < p class ='note '>
485+ As a technical note,
486+ the tokenizer defined here requires only three characters of look-ahead.
487+ The tokens it produces are designed to allow Selectors to be parsed with one token of look-ahead,
488+ and additional tokens may be added in the future to maintain this invariant.
489+
484490
485491< h3 id ='token-diagrams '>
486492Token Railroad Diagrams</ h3 >
You can’t perform that action at this time.
0 commit comments