File tree 2 files changed +11
-5
lines changed
2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -89,13 +89,14 @@ export function setupTestContainer() {
89
89
}
90
90
91
91
let params = QUnit . urlParams ;
92
- let containerVisibility = params . nocontainer ? 'hidden' : 'visible' ;
93
92
94
93
if ( params . devmode || params . fullscreencontainer ) {
95
- testContainer . className = ' full-screen';
94
+ testContainer . classList . add ( 'ember-testing-container- full-screen') ;
96
95
}
97
96
98
- testContainer . style . visibility = containerVisibility ;
97
+ if ( params . nocontainer ) {
98
+ testContainer . classList . add ( 'ember-testing-container-hidden' ) ;
99
+ }
99
100
}
100
101
101
102
/**
Original file line number Diff line number Diff line change 30
30
transform : translateZ (0 );
31
31
}
32
32
33
- # ember-testing-container .full-screen {
33
+ # ember-testing-container .ember-testing-container- full-screen {
34
34
width : 100% ;
35
35
height : 100% ;
36
36
overflow : auto;
39
39
right : 0 ;
40
40
}
41
41
42
+ # ember-testing-container .ember-testing-container-hidden {
43
+ opacity : 0 ;
44
+ pointer-events : none;
45
+ }
46
+
42
47
# ember-testing {
43
48
width : 200% ;
44
49
height : 200% ;
45
50
transform : scale (0.5 );
46
51
transform-origin : top left;
47
52
}
48
53
49
- .full-screen # ember-testing {
54
+ .ember-testing-container- full-screen # ember-testing {
50
55
position : absolute;
51
56
width : 100% ;
52
57
height : 100% ;
You can’t perform that action at this time.
0 commit comments