@@ -208,12 +208,12 @@ describe('layout-gap directive', () => {
208208 verifyCorrectMargin ( 'column' , 'margin-bottom' ) ;
209209 } ) ;
210210
211- it ( 'should apply margin-right for row-reverse layouts' , ( ) => {
212- verifyCorrectMargin ( 'row-reverse' , 'margin-right ' ) ;
211+ it ( 'should apply margin-left for row-reverse layouts' , ( ) => {
212+ verifyCorrectMargin ( 'row-reverse' , 'margin-left ' ) ;
213213 } ) ;
214214
215- it ( 'should apply margin-bottom for column-reverse layouts' , ( ) => {
216- verifyCorrectMargin ( 'column-reverse' , 'margin-bottom ' ) ;
215+ it ( 'should apply margin-top for column-reverse layouts' , ( ) => {
216+ verifyCorrectMargin ( 'column-reverse' , 'margin-top ' ) ;
217217 } ) ;
218218
219219 it ( 'should remove obsolete margin and apply valid margin for layout changes' , ( ) => {
@@ -241,7 +241,7 @@ describe('layout-gap directive', () => {
241241 nodes = queryFor ( fixture , 'span' ) ;
242242
243243 expectEl ( nodes [ 0 ] ) . not . toHaveStyle ( { 'margin-right' : '8px' } , styler ) ;
244- expectEl ( nodes [ 0 ] ) . toHaveStyle ( { 'margin-bottom ' : '8px' } , styler ) ;
244+ expectEl ( nodes [ 0 ] ) . toHaveStyle ( { 'margin-top ' : '8px' } , styler ) ;
245245
246246
247247 // layout = row-reverse, use margin-right
@@ -250,7 +250,7 @@ describe('layout-gap directive', () => {
250250 nodes = queryFor ( fixture , 'span' ) ;
251251
252252 expectEl ( nodes [ 0 ] ) . not . toHaveStyle ( { 'margin-bottom' : '8px' } , styler ) ;
253- expectEl ( nodes [ 0 ] ) . toHaveStyle ( { 'margin-right ' : '8px' } , styler ) ;
253+ expectEl ( nodes [ 0 ] ) . toHaveStyle ( { 'margin-left ' : '8px' } , styler ) ;
254254 } ) ;
255255
256256 it ( 'should recognize hidden elements when applying gaps' , ( ) => {
0 commit comments