File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -289,6 +289,26 @@ describe('dom.isInTextBlock', () => {
289289 ` ) ;
290290 assert . isFalse ( isInTextBlock ( target ) ) ;
291291 } ) ;
292+
293+ it ( 'works for inline-grid' , ( ) => {
294+ const target = queryFixture ( `
295+ <div>
296+ <div role="button" style="display: inline">Hello world</div>
297+ <button id="target" style="display: inline-grid">button</button>
298+ </div>
299+ ` ) ;
300+ assert . isFalse ( isInTextBlock ( target ) ) ;
301+ } ) ;
302+
303+ it ( 'works for inline-flex' , ( ) => {
304+ const target = queryFixture ( `
305+ <div>
306+ <div role="button" style="display: inline">Hello world</div>
307+ <button id="target" style="display: inline-flex">button</button>
308+ </div>
309+ ` ) ;
310+ assert . isFalse ( isInTextBlock ( target ) ) ;
311+ } ) ;
292312 } ) ;
293313
294314 describe ( 'options.noLengthCompare' , ( ) => {
You can’t perform that action at this time.
0 commit comments