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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/script-tests/computed-style-with-zoom.js

Issue 2482753002: Fix matrix3d transform under page zoom (Closed)
Patch Set: Add a comment for zoom Created 4 years, 1 month 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 description('Tests that computed style is not affected by the zoom value'); 1 description('Tests that computed style is not affected by the zoom value');
2 2
3 function testProperty(data) 3 function testProperty(data)
4 { 4 {
5 var prop = data[0]; 5 var prop = data[0];
6 if (data.length == 1) 6 if (data.length == 1)
7 data.push('20px'); 7 data.push('20px');
8 8
9 for (var i = 1; i < data.length; i++) { 9 for (var i = 1; i < data.length; i++) {
10 testPropertyValue(prop, data[i]); 10 testPropertyValue(prop, data[i]);
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 ['-webkit-border-vertical-spacing'], 42 ['-webkit-border-vertical-spacing'],
43 ['-webkit-box-reflect', 'below 20px -webkit-gradient(linear, left top, left bottom, from(transparent), to(white))'], 43 ['-webkit-box-reflect', 'below 20px -webkit-gradient(linear, left top, left bottom, from(transparent), to(white))'],
44 ['-webkit-box-shadow', '20px 20px 20px 20px red'], 44 ['-webkit-box-shadow', '20px 20px 20px 20px red'],
45 ['-webkit-column-rule-width', '20px'], 45 ['-webkit-column-rule-width', '20px'],
46 ['-webkit-mask-box-image-outset'], 46 ['-webkit-mask-box-image-outset'],
47 ['-webkit-mask-box-image-width'], 47 ['-webkit-mask-box-image-width'],
48 ['-webkit-mask-position-x', '20px', '-20px'], 48 ['-webkit-mask-position-x', '20px', '-20px'],
49 ['-webkit-mask-position-y', '20px', '-20px'], 49 ['-webkit-mask-position-y', '20px', '-20px'],
50 ['-webkit-perspective-origin', '20px 20px'], 50 ['-webkit-perspective-origin', '20px 20px'],
51 ['-webkit-text-stroke-width'], 51 ['-webkit-text-stroke-width'],
52 ['-webkit-transform', 'translate(20px, 20px)', 'translate3d(20px, 20px, 20px )'], 52 ['-webkit-transform', 'translate(20px, 20px)', 'translate3d(20px, 20px, 20px )', 'matrix3d(16, 15, 14, 13, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1)'],
53 ['-webkit-transform-origin', '20px 20px', '-20px -20px'], 53 ['-webkit-transform-origin', '20px 20px', '-20px -20px'],
54 ['background-position-x', '20px', '-20px'], 54 ['background-position-x', '20px', '-20px'],
55 ['background-position-y', '20px', '-20px'], 55 ['background-position-y', '20px', '-20px'],
56 ['border-bottom-left-radius'], 56 ['border-bottom-left-radius'],
57 ['border-bottom-right-radius'], 57 ['border-bottom-right-radius'],
58 ['border-bottom-width'], 58 ['border-bottom-width'],
59 ['border-image-outset'], 59 ['border-image-outset'],
60 ['border-image-width'], 60 ['border-image-width'],
61 ['border-left-width'], 61 ['border-left-width'],
62 ['border-right-width'], 62 ['border-right-width'],
(...skipping 20 matching lines...) Expand all
83 ['padding-top'], 83 ['padding-top'],
84 ['right', '20px', '-20px'], 84 ['right', '20px', '-20px'],
85 ['text-shadow', '20px 20px 20px red'], 85 ['text-shadow', '20px 20px 20px red'],
86 ['top', '20px', '-20px'], 86 ['top', '20px', '-20px'],
87 ['vertical-align', '20px', '-20px'], 87 ['vertical-align', '20px', '-20px'],
88 ['width'], 88 ['width'],
89 ['word-spacing', '20px', '-20px'], 89 ['word-spacing', '20px', '-20px'],
90 ]; 90 ];
91 91
92 testData.forEach(testProperty); 92 testData.forEach(testProperty);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698