Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: third_party/WebKit/LayoutTests/animations/transition-zoomed-length.html

Issue 2970883003: Separate out animations tests with prefixing (Closed)
Patch Set: Rebaseline virtual/threaded version of test too Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698