OLD | NEW |
1 Test getting and setting nonstable css properties to non-default values | 1 Test getting and setting nonstable css properties to non-default values |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 el.style.setProperty('shape-margin', '10px') | 6 el.style.setProperty('shape-margin', '10px') |
7 el.style.getPropertyValue('shape-margin') is 10px | 7 el.style.getPropertyValue('shape-margin') is 10px |
8 getComputedStyle(el).getPropertyValue('shape-margin') is 10px | 8 getComputedStyle(el).getPropertyValue('shape-margin') is 10px |
9 | 9 |
10 el.style.setProperty('shape-outside', 'circle(10px at 10px 10px)') | 10 el.style.setProperty('shape-outside', 'circle(10px at 10px 10px)') |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 getComputedStyle(el).getPropertyValue('grid-area') is 2 / auto / auto / auto | 52 getComputedStyle(el).getPropertyValue('grid-area') is 2 / auto / auto / auto |
53 | 53 |
54 el.style.setProperty('grid-auto-flow', 'column') | 54 el.style.setProperty('grid-auto-flow', 'column') |
55 el.style.getPropertyValue('grid-auto-flow') is column | 55 el.style.getPropertyValue('grid-auto-flow') is column |
56 getComputedStyle(el).getPropertyValue('grid-auto-flow') is column | 56 getComputedStyle(el).getPropertyValue('grid-auto-flow') is column |
57 | 57 |
58 el.style.setProperty('grid-template-areas', '"test"') | 58 el.style.setProperty('grid-template-areas', '"test"') |
59 el.style.getPropertyValue('grid-template-areas') is "test" | 59 el.style.getPropertyValue('grid-template-areas') is "test" |
60 getComputedStyle(el).getPropertyValue('grid-template-areas') is "test" | 60 getComputedStyle(el).getPropertyValue('grid-template-areas') is "test" |
61 | 61 |
62 el.style.setProperty('text-align-last', 'start') | |
63 el.style.getPropertyValue('text-align-last') is start | |
64 getComputedStyle(el).getPropertyValue('text-align-last') is start | |
65 | |
66 el.style.setProperty('text-justify', 'distribute') | 62 el.style.setProperty('text-justify', 'distribute') |
67 el.style.getPropertyValue('text-justify') is distribute | 63 el.style.getPropertyValue('text-justify') is distribute |
68 getComputedStyle(el).getPropertyValue('text-justify') is distribute | 64 getComputedStyle(el).getPropertyValue('text-justify') is distribute |
69 | 65 |
70 PASS successfullyParsed is true | 66 PASS successfullyParsed is true |
71 | 67 |
72 TEST COMPLETE | 68 TEST COMPLETE |
73 | 69 |
OLD | NEW |