| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <script src="../resources/testharness.js"></script> | 2 <script src="../resources/testharness.js"></script> |
| 3 <script src="../resources/testharnessreport.js"></script> | 3 <script src="../resources/testharnessreport.js"></script> |
| 4 <style> | 4 <style> |
| 5 #target { | 5 #target { |
| 6 border-style: solid; | 6 border-style: solid; |
| 7 outline-style: solid; | 7 outline-style: solid; |
| 8 column-rule-style: solid; | 8 column-rule-style: solid; |
| 9 } | 9 } |
| 10 </style> | 10 </style> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 'perspective', | 41 'perspective', |
| 42 'r', | 42 'r', |
| 43 'right', | 43 'right', |
| 44 'rx', | 44 'rx', |
| 45 'ry', | 45 'ry', |
| 46 'shapeMargin', | 46 'shapeMargin', |
| 47 'strokeDashoffset', | 47 'strokeDashoffset', |
| 48 'strokeWidth', | 48 'strokeWidth', |
| 49 'top', | 49 'top', |
| 50 'verticalAlign', | 50 'verticalAlign', |
| 51 'webkitBorderHorizontalSpacing', | 51 'borderHorizontalSpacing', |
| 52 'webkitBorderVerticalSpacing', | 52 'borderVerticalSpacing', |
| 53 'columnGap', | 53 'columnGap', |
| 54 'columnRuleWidth', | 54 'columnRuleWidth', |
| 55 'columnWidth', | 55 'columnWidth', |
| 56 'webkitPerspectiveOriginX', | 56 'perspectiveOriginX', |
| 57 'webkitPerspectiveOriginY', | 57 'perspectiveOriginY', |
| 58 'webkitTransformOriginX', | 58 'transformOriginX', |
| 59 'webkitTransformOriginY', | 59 'transformOriginY', |
| 60 'webkitTransformOriginZ', | 60 'transformOriginZ', |
| 61 'width', | 61 'width', |
| 62 'wordSpacing', | 62 'wordSpacing', |
| 63 'x', | 63 'x', |
| 64 'y', | 64 'y', |
| 65 'lineHeight', | 65 'lineHeight', |
| 66 ]; | 66 ]; |
| 67 var expected = {}; | 67 var expected = {}; |
| 68 | 68 |
| 69 setup(() => { | 69 setup(() => { |
| 70 for (var property of lengthProperties) { | 70 for (var property of lengthProperties) { |
| 71 target.style[property] = '10px'; | 71 target.style[property] = '10px'; |
| 72 expected[property] = getComputedStyle(target)[property]; | 72 expected[property] = getComputedStyle(target)[property]; |
| 73 } | 73 } |
| 74 target.style.transition = '1s'; | 74 target.style.transition = '1s'; |
| 75 internals.setZoomFactor(2); | 75 internals.setZoomFactor(2); |
| 76 }); | 76 }); |
| 77 | 77 |
| 78 for (var property of lengthProperties) { | 78 for (var property of lengthProperties) { |
| 79 test(() => { | 79 test(() => { |
| 80 assert_equals(getComputedStyle(target)[property], expected[property]); | 80 assert_equals(getComputedStyle(target)[property], expected[property]); |
| 81 }, 'Computed value of transitionable ' + property + ' should not change when z
oom changes'); | 81 }, 'Computed value of transitionable ' + property + ' should not change when z
oom changes'); |
| 82 } | 82 } |
| 83 </script> | 83 </script> |
| OLD | NEW |