Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1517)

Side by Side Diff: sky/specs/parsing.md

Issue 680103003: Specs: typo in 'named character reference' state name (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Parsing 1 Parsing
2 ======= 2 =======
3 3
4 Parsing in Sky is a strict pipeline consisting of five stages: 4 Parsing in Sky is a strict pipeline consisting of five stages:
5 5
6 - decoding, which converts incoming bytes into Unicode characters 6 - decoding, which converts incoming bytes into Unicode characters
7 using UTF-8. 7 using UTF-8.
8 8
9 - normalising, which manipulates the sequence of characters. 9 - normalising, which manipulates the sequence of characters.
10 10
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 run the _emitting operation_ with a unicode character having the 698 run the _emitting operation_ with a unicode character having the
699 scalar value _value_; otherwise, run the _emitting operation_ with 699 scalar value _value_; otherwise, run the _emitting operation_ with
700 the character U+FFFD. Then, in either case, switch to the _return 700 the character U+FFFD. Then, in either case, switch to the _return
701 state_. 701 state_.
702 702
703 * Anything else: Run the _emitting operation_ for all but the last 703 * Anything else: Run the _emitting operation_ for all but the last
704 character in _raw value_, and switch to the **data state** without 704 character in _raw value_, and switch to the **data state** without
705 consuming the current character. 705 consuming the current character.
706 706
707 707
708 #### **Named character reference L** state #### 708 #### **Named character reference** state ####
709 709
710 Append the current character to _raw value_. 710 Append the current character to _raw value_.
711 711
712 If the current character is... 712 If the current character is...
713 713
714 * '``;``': Consume the character. 714 * '``;``': Consume the character.
715 If the _raw value_ is... 715 If the _raw value_ is...
716 716
717 - '``&``: Emit Run the _emitting operation_ for the character 717 - '``&``: Emit Run the _emitting operation_ for the character
718 '``&``'. 718 '``&``'.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
785 there isn't one, skip this token. 785 there isn't one, skip this token.
786 2. If there's a ``template`` element in the _stack of open 786 2. If there's a ``template`` element in the _stack of open
787 nodes_ above _node_, then skip this token. 787 nodes_ above _node_, then skip this token.
788 3. Pop nodes from the _stack of open nodes_ until _node_ has been 788 3. Pop nodes from the _stack of open nodes_ until _node_ has been
789 popped. 789 popped.
790 4. If _node_'s tag name is ``script``, then yield until there 790 4. If _node_'s tag name is ``script``, then yield until there
791 are no pending import loads, then execute the script given by 791 are no pending import loads, then execute the script given by
792 the element's contents. 792 the element's contents.
793 3. Yield until there are no pending import loads. 793 3. Yield until there are no pending import loads.
794 3. Fire a ``load`` event at the _parsing context_ object. 794 3. Fire a ``load`` event at the _parsing context_ object.
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698