image-lcp-followed-by-image-softnav-lcp.tentative.html (750B)
1 <!DOCTYPE HTML> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>Detect simple soft navigation.</title> 6 <script src="/resources/testharness.js"></script> 7 <script src="/resources/testharnessreport.js"></script> 8 <script src="/resources/testdriver.js"></script> 9 <script src="/resources/testdriver-vendor.js"></script> 10 <script src="resources/soft-navigation-helper.js"></script> 11 </head> 12 <body> 13 <a id=link>Click me!</a> 14 <main id=main> 15 <img src="/images/lcp-256x256.png"> 16 </main> 17 <script> 18 testSoftNavigation({ 19 testName: "Test that an image LCP followup by a smaller soft navigation image LCP" 20 + " properly queues an LCP entry", 21 addContent: () => addImageToMain('/images/lcp-96x96.png'), 22 }); 23 </script> 24 </body> 25 </html>