OLD | NEW |
(Empty) | |
| 1 This test verifies that formatBlock adds the containing block element's inline s
tyle to the block-style element that replaces it. |
| 2 |
| 3 Before FormatBlock: |
| 4 | " |
| 5 " |
| 6 | <div> |
| 7 | style="color: green" |
| 8 | "<#selection-anchor>hello<#selection-focus>" |
| 9 | " |
| 10 " |
| 11 |
| 12 After FormatBlock: |
| 13 | " |
| 14 " |
| 15 | <h1> |
| 16 | style="color: green" |
| 17 | "<#selection-anchor>hello<#selection-focus>" |
| 18 | " |
| 19 " |
| 20 |
| 21 Before FormatBlock: |
| 22 | " |
| 23 " |
| 24 | <div> |
| 25 | style="color: green" |
| 26 | <#selection-caret> |
| 27 | <br> |
| 28 | " |
| 29 " |
| 30 |
| 31 After FormatBlock: |
| 32 | " |
| 33 " |
| 34 | <h1> |
| 35 | style="color: green" |
| 36 | <#selection-caret> |
| 37 | <br> |
| 38 | " |
| 39 " |
| 40 |
| 41 Before FormatBlock: |
| 42 | " |
| 43 " |
| 44 | <span> |
| 45 | style="color: green" |
| 46 | "<#selection-anchor>hello<#selection-focus>" |
| 47 | " |
| 48 " |
| 49 |
| 50 After FormatBlock: |
| 51 | " |
| 52 " |
| 53 | <h1> |
| 54 | <span> |
| 55 | style="color: green" |
| 56 | "<#selection-anchor>hello<#selection-focus>" |
OLD | NEW |