 const js_display_none_img = new ElementLoadPromise("js_display_none");
  const rendered_div_element = document.querySelector('#rendered_div');

  async_test(t => {
    window.addEventListener("load", t.step_func(() => {
      rendered_div.scrollIntoView();
    }));

    const unreached_not_rendered_img_func =
      t.unreached_func("The not-rendered below-viewport loading=lazy images " +
                       "should not attempt to load.");

    display_none_img.promise
      .then(unreached_not_rendered_