| <!DOCTYPE html> | |
| <html> | |
| <body> | |
| <p>This test passes if it doesn't say FAIL below.</p> | |
| <div style="display: contents"><span>FAIL</span></div> | |
| <div style="display: contents">FAIL</div> | |
| <script> | |
| for (const div of document.querySelectorAll('div')) { | |
| div.getBoundingClientRect(); | |
| div.style.display = 'none'; | |
| } | |
| </script> | |
| </body> | |
| </html> |