| OLD | NEW |
| 1 Tests that computed styles expand and allow tracing to style rules. | 1 Tests that computed styles expand and allow tracing to style rules. |
| 2 | 2 |
| 3 ==== Computed style for ID1 ==== | 3 ==== Computed style for ID1 ==== |
| 4 --b: 44px; | 4 --b: 44px; |
| 5 44px - #id1 styles-variables.html:8 -> styles-variables.html:8:1 | 5 44px - #id1 styles-variables.html:8 -> styles-variables.html:8:7 |
| 6 display: block; | 6 display: block; |
| 7 block - div user agent stylesheet | 7 block - div user agent stylesheet |
| 8 [expanded] | 8 [expanded] |
| 9 element.style { () | 9 element.style { () |
| 10 | 10 |
| 11 [expanded] | 11 [expanded] |
| 12 #id1 { (styles-variables.html:8 -> styles-variables.html:8:1) | 12 #id1 { (styles-variables.html:8 -> styles-variables.html:8:7) |
| 13 --b: 44px; | 13 --b: 44px; |
| 14 | 14 |
| 15 [expanded] | 15 [expanded] |
| 16 div { (user agent stylesheet) | 16 div { (user agent stylesheet) |
| 17 display: block; | 17 display: block; |
| 18 | 18 |
| 19 value of --a: red | 19 value of --a: red |
| 20 ==== Computed style for ID2 ==== | 20 ==== Computed style for ID2 ==== |
| 21 --a: green; | 21 --a: green; |
| 22 green - #id2 styles-variables.html:12 -> styles-variables.html:12:1 | 22 green - #id2 styles-variables.html:12 -> styles-variables.html:12:7 |
| 23 display: block; | 23 display: block; |
| 24 block - div user agent stylesheet | 24 block - div user agent stylesheet |
| 25 [expanded] | 25 [expanded] |
| 26 element.style { () | 26 element.style { () |
| 27 | 27 |
| 28 [expanded] | 28 [expanded] |
| 29 #id2 { (styles-variables.html:12 -> styles-variables.html:12:1) | 29 #id2 { (styles-variables.html:12 -> styles-variables.html:12:7) |
| 30 --a: green; | 30 --a: green; |
| 31 | 31 |
| 32 [expanded] | 32 [expanded] |
| 33 div { (user agent stylesheet) | 33 div { (user agent stylesheet) |
| 34 display: block; | 34 display: block; |
| 35 | 35 |
| 36 value of --b: 44px | 36 value of --b: 44px |
| 37 ==== Computed style for ID3 ==== | 37 ==== Computed style for ID3 ==== |
| 38 --a: green; | 38 --a: green; |
| 39 inherit - #id3 styles-variables.html:16 -> styles-variables.html:16:1 | 39 inherit - #id3 styles-variables.html:16 -> styles-variables.html:16:7 |
| 40 display: block; | 40 display: block; |
| 41 block - div user agent stylesheet | 41 block - div user agent stylesheet |
| 42 [expanded] | 42 [expanded] |
| 43 element.style { () | 43 element.style { () |
| 44 | 44 |
| 45 [expanded] | 45 [expanded] |
| 46 #id3 { (styles-variables.html:16 -> styles-variables.html:16:1) | 46 #id3 { (styles-variables.html:16 -> styles-variables.html:16:7) |
| 47 --a: inherit; | 47 --a: inherit; |
| 48 | 48 |
| 49 [expanded] | 49 [expanded] |
| 50 div { (user agent stylesheet) | 50 div { (user agent stylesheet) |
| 51 display: block; | 51 display: block; |
| 52 | 52 |
| 53 value of --b: 44px | 53 value of --b: 44px |
| 54 ==== Computed style for ID4 ==== | 54 ==== Computed style for ID4 ==== |
| 55 display: block; | 55 display: block; |
| 56 block - div user agent stylesheet | 56 block - div user agent stylesheet |
| 57 [expanded] | 57 [expanded] |
| 58 element.style { () | 58 element.style { () |
| 59 | 59 |
| 60 [expanded] | 60 [expanded] |
| 61 #id4 { (styles-variables.html:20 -> styles-variables.html:20:1) | 61 #id4 { (styles-variables.html:20 -> styles-variables.html:20:7) |
| 62 --a: var(--z); | 62 --a: var(--z); |
| 63 | 63 |
| 64 [expanded] | 64 [expanded] |
| 65 div { (user agent stylesheet) | 65 div { (user agent stylesheet) |
| 66 display: block; | 66 display: block; |
| 67 | 67 |
| 68 value of --a: undefined | 68 value of --a: undefined |
| 69 | 69 |
| OLD | NEW |