| OLD | NEW |
| 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 816 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 this token. | 827 this token. |
| 828 3. If there's a ``template`` element in the _stack of open | 828 3. If there's a ``template`` element in the _stack of open |
| 829 nodes_ above _node_, then skip this token. | 829 nodes_ above _node_, then skip this token. |
| 830 4. Pop nodes from the _stack of open nodes_ until _node_ has been | 830 4. Pop nodes from the _stack of open nodes_ until _node_ has been |
| 831 popped. | 831 popped. |
| 832 5. If _node_'s tag name is ``script``, then yield until _imported | 832 5. If _node_'s tag name is ``script``, then yield until _imported |
| 833 modules_ contains no entries with unresolved promises, then | 833 modules_ contains no entries with unresolved promises, then |
| 834 execute the script given by the element's contents, using the | 834 execute the script given by the element's contents, using the |
| 835 associated names as appropriate. | 835 associated names as appropriate. |
| 836 - If _token_ is an automatic end tag token: | 836 - If _token_ is an automatic end tag token: |
| 837 1. Pop the top node from the _stack of open nodes_, if any. | 837 1. Pop the top node from the _stack of open nodes_, unless it is |
| 838 the document. |
| 838 4. Yield until _imported modules_ has no promises. | 839 4. Yield until _imported modules_ has no promises. |
| 839 5. Fire a ``load`` event at the _parsing context_ object. | 840 5. Fire a ``load`` event at the _parsing context_ object. |
| OLD | NEW |