| OLD | NEW |
| 1 Sky Markup: Syntax | 1 Sky Markup: Syntax |
| 2 ================== | 2 ================== |
| 3 | 3 |
| 4 A Sky file must consist of the following components: | 4 A Sky file must consist of the following components: |
| 5 | 5 |
| 6 1. If the file is intended to be a top-level Sky application, the | 6 1. If the file is intended to be a top-level Sky application, the |
| 7 string "``#!mojo mojo:sky``" followed by a U+0020, U+000A or | 7 string "``#!mojo mojo:sky``" followed by a U+0020, U+000A or |
| 8 U+000D character. | 8 U+000D character. |
| 9 | 9 |
| 10 If the file is intended to be a module, then the string "SKY", a | 10 If the file is intended to be a module, then the string "SKY", a |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 the view manager). (Actually just ensures that any time the element | 197 the view manager). (Actually just ensures that any time the element |
| 198 is mutated, theTitleElement.ownerScope.ownerDocument.title is set | 198 is mutated, theTitleElement.ownerScope.ownerDocument.title is set |
| 199 to the element's contents.) | 199 to the element's contents.) |
| 200 | 200 |
| 201 | 201 |
| 202 Sky Markup: Global Attributes | 202 Sky Markup: Global Attributes |
| 203 ============================= | 203 ============================= |
| 204 | 204 |
| 205 The following attributes are available on all elements: | 205 The following attributes are available on all elements: |
| 206 | 206 |
| 207 id="" (any value) | 207 * ``id=""`` (any value) |
| 208 class="" (any value, space-separated) | 208 * ``class=""`` (any value, space-separated) |
| 209 style="" (declaration part of a Sky style rule) | 209 * ``style=""`` (declaration part of a Sky style rule) |
| 210 lang="" (language code) | 210 * ``lang=""`` (language code) |
| 211 dir="" (ltr or rtl only) | 211 * ``dir=""`` (ltr or rtl only) |
| 212 | 212 * ``contenteditable=""`` (subject to future developments) |
| 213 contenteditable="" (subject to future developments) | 213 * ``tabindex=""`` (subject to future developments) |
| 214 tabindex="" (subject to future developments) | |
| OLD | NEW |