img_func)
      .catch(unreached_not_rendered_img_func);

    attribute_hidden_img.promise
      .then(unreached_not_rendered_img_func)
      .catch(unreached_not_rendered_img_func);

    js_display_none_img.promise
      .then(unreached_not_rendered_img_func)
      .catch(unreached_not_rendered_img_func);

    // If none of the above images load after being scrolled to within the below
    // timeout, the test passes.
    t.step_timeout(t.done, 2000);
  }, "Below-viewport loading=lazy not-rendered images s