File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 404
404
} ) ;
405
405
406
406
test ( '::shadow styles applied' , function ( ) {
407
+ if ( Polymer . Settings . useNativeShadow ) {
408
+ this . skip ( ) ;
409
+ }
407
410
assertComputed ( xFoo . $ . bar2 , '2px' ) ;
408
411
assertComputed ( xFoo . $ . bar2 . $ . baz , '3px' ) ;
409
412
} ) ;
410
413
411
414
test ( '/deep/ styles applied' , function ( ) {
415
+ if ( Polymer . Settings . useNativeShadow ) {
416
+ this . skip ( ) ;
417
+ }
412
418
assertComputed ( xFoo . $ . bar3 , '4px' ) ;
413
419
assertComputed ( xFoo . $ . bar3 . $ . baz , '5px' ) ;
414
420
} ) ;
Original file line number Diff line number Diff line change 213
213
} ) ;
214
214
215
215
test ( '::shadow selectors' , function ( ) {
216
+ if ( Polymer . Settings . useNativeShadow ) {
217
+ this . skip ( ) ;
218
+ }
216
219
assertComputed ( styled . $ . child . $ . shadow , '7px' ) ;
217
220
} ) ;
218
221
219
222
test ( '/deep/ selectors' , function ( ) {
223
+ if ( Polymer . Settings . useNativeShadow ) {
224
+ this . skip ( ) ;
225
+ }
220
226
assertComputed ( styled . $ . child . $ . deep , '8px' ) ;
221
227
} ) ;
222
228
You can’t perform that action at this time.
0 commit comments