| OLD | NEW |
| 1 Sky Style Language | 1 Sky Style Language |
| 2 ================== | 2 ================== |
| 3 | 3 |
| 4 Planed changes | 4 Planed changes |
| 5 -------------- | 5 -------------- |
| 6 | 6 |
| 7 Add //-to-end-of-line comments to be consistent with the script | 7 Add //-to-end-of-line comments to be consistent with the script |
| 8 language. | 8 language. |
| 9 | 9 |
| 10 | 10 |
| (...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 In the constructors for the default elements, they add to themselves | 527 In the constructors for the default elements, they add to themselves |
| 528 StyleDeclaration objects as follows: | 528 StyleDeclaration objects as follows: |
| 529 | 529 |
| 530 * ``import`` | 530 * ``import`` |
| 531 * ``template`` | 531 * ``template`` |
| 532 * ``style`` | 532 * ``style`` |
| 533 * ``script`` | 533 * ``script`` |
| 534 * ``content`` | 534 * ``content`` |
| 535 * ``title`` | 535 * ``title`` |
| 536 These all add to themselves the same declaration with value: | 536 These all add to themselves the same declaration with value: |
| 537 ``{ display: { value: null } }`` | 537 ```{ display: { value: null } }``` |
| 538 | 538 |
| 539 * ``img`` | 539 * ``img`` |
| 540 This adds to itself the declaration with value: | 540 This adds to itself the declaration with value: |
| 541 ``{ display: { value: sky.ImageElementLayoutManager } }`` | 541 ```{ display: { value: sky.ImageElementLayoutManager } }``` |
| 542 | 542 |
| 543 * ``span`` | 543 * ``span`` |
| 544 * ``a`` | 544 * ``a`` |
| 545 These all add to themselves the same declaration with value: | 545 These all add to themselves the same declaration with value: |
| 546 ``{ display: { value: sky.InlineLayoutManager } }`` | 546 ```{ display: { value: sky.InlineLayoutManager } }``` |
| 547 | 547 |
| 548 * ``iframe`` | 548 * ``iframe`` |
| 549 This adds to itself the declaration with value: | 549 This adds to itself the declaration with value: |
| 550 ``{ display: { value: sky.IFrameElementLayoutManager } }`` | 550 ```{ display: { value: sky.IFrameElementLayoutManager } }``` |
| 551 | 551 |
| 552 * ``t`` | 552 * ``t`` |
| 553 This adds to itself the declaration with value: | 553 This adds to itself the declaration with value: |
| 554 ``{ display: { value: sky.ParagraphLayoutManager } }`` | 554 ```{ display: { value: sky.ParagraphLayoutManager } }``` |
| 555 | 555 |
| 556 * ``error`` | 556 * ``error`` |
| 557 This adds to itself the declaration with value: | 557 This adds to itself the declaration with value: |
| 558 ``{ display: { value: sky.ErrorLayoutManager } }`` | 558 ```{ display: { value: sky.ErrorLayoutManager } }``` |
| 559 | 559 |
| 560 The ``div`` element doesn't have any default styles. | 560 The ``div`` element doesn't have any default styles. |
| 561 | 561 |
| 562 These declarations are all shared between all the elements (so e.g. if | 562 These declarations are all shared between all the elements (so e.g. if |
| 563 you reach in and change the declaration that was added to a ``title`` | 563 you reach in and change the declaration that was added to a ``title`` |
| 564 element, you're going to change the styles of all the other | 564 element, you're going to change the styles of all the other |
| 565 default-hidden elements). | 565 default-hidden elements). |
| OLD | NEW |