You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 3, 2024. It is now read-only.
ok(true,'window.matchMedia exists, these tests are using the native method');
200
186
}
201
187
var
202
-
W=getWidth(),
203
-
H=getHeight(),
188
+
W=$(window).width(),
189
+
H=$(window).height(),
204
190
DW=screen.width,
205
191
DH=screen.height,
206
192
O=W>H ? 'landscape' : 'portrait';
207
-
193
+
208
194
// orientation
209
195
ok(eCSStender.matchMedia('screen and (orientation:portrait)')==(O=='portrait'),'(orientation:portrait) '+(O=='portrait' ? 'matched' : 'does not match'));
210
196
ok(eCSStender.matchMedia('screen and (orientation:landscape)')==(O=='landscape'),'(orientation:landscape) '+(O=='landscape' ? 'matched' : 'does not match'));
0 commit comments