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 | 52 getComputedStyle(el).getPropertyValue('grid-area') is |
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 | 55 el.style.getPropertyValue('grid-auto-flow') is |
56 getComputedStyle(el).getPropertyValue('grid-auto-flow') is | 56 getComputedStyle(el).getPropertyValue('grid-auto-flow') is |
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 | 59 el.style.getPropertyValue('grid-template-areas') is |
60 getComputedStyle(el).getPropertyValue('grid-template-areas') is | 60 getComputedStyle(el).getPropertyValue('grid-template-areas') is |
61 | 61 |
62 el.style.setProperty('text-align-last', 'start') | |
63 el.style.getPropertyValue('text-align-last') is | |
64 getComputedStyle(el).getPropertyValue('text-align-last') is | |
65 | |
66 el.style.setProperty('text-justify', 'distribute') | 62 el.style.setProperty('text-justify', 'distribute') |
67 el.style.getPropertyValue('text-justify') is | 63 el.style.getPropertyValue('text-justify') is |
68 getComputedStyle(el).getPropertyValue('text-justify') is | 64 getComputedStyle(el).getPropertyValue('text-justify') is |
69 | 65 |
70 PASS successfullyParsed is true | 66 PASS successfullyParsed is true |
71 | 67 |
72 TEST COMPLETE | 68 TEST COMPLETE |
73 | 69 |
OLD | NEW |