Skip to content

Commit

Permalink
Remove tentative from lazy load tests
Browse files Browse the repository at this point in the history
whatwg/html#3752 landed, so
remove comments and tentative extension.
  • Loading branch information
rwlbuis committed Feb 13, 2020
1 parent 12dc834 commit 4d7197d
Show file tree
Hide file tree
Showing 26 changed files with 0 additions and 72 deletions.
Expand Up @@ -30,10 +30,6 @@
onload="visibility_hidden_img.resolve();" onerror="visibility_hidden_img.reject();">
</body>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const scroll_trigger_img = new ElementLoadPromise("visible");
const visible_img = new ElementLoadPromise("visible");
Expand Down
Expand Up @@ -7,10 +7,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const t = async_test("Test that iframes with loading='eager' load immediately regardless of their position with respect to the viewport.");

Expand Down
Expand Up @@ -7,10 +7,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const t = async_test("Test that iframes with loading='lazy' load once they enter the viewport.");

Expand Down
Expand Up @@ -7,10 +7,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const t = async_test("Test that images with loading='eager' load immediately regardless of their position with respect to the viewport.");

Expand Down
Expand Up @@ -8,10 +8,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const t = async_test("Test that below viewport images with loading='lazy' " +
"and changed to loading='eager' load and do not block " +
Expand Down
Expand Up @@ -8,10 +8,6 @@
<script src="/common/get-host-info.sub.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<iframe id="iframe" width="500px" height="500px"></iframe>
<script>
promise_test(async t => {
Expand Down
Expand Up @@ -8,10 +8,6 @@
<script src="/common/get-host-info.sub.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<div style="height:1000vh;"></div>
<iframe id="iframe" width="500px" height="500px"></iframe>
<script>
Expand Down
Expand Up @@ -7,10 +7,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<div style="height:1000vh;"></div>
<iframe id="iframe" sandbox="allow-same-origin"
src="resources/image-loading-lazy-in-viewport-iframe.html">
Expand Down
Expand Up @@ -8,10 +8,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const t = async_test("Test that in viewport images with loading='lazy' and " +
"changed to loading='eager' do not block the window " +
Expand Down
Expand Up @@ -22,10 +22,6 @@
onload="visibility_hidden_img.resolve();" onerror="visibility_hidden_img.reject();">
</body>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const visible_img = new ElementLoadPromise("visible");
const visibility_hidden_img = new ElementLoadPromise("visibility_hidden");
Expand Down
Expand Up @@ -6,10 +6,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<div style="height:1000vh;"></div>
<img loading="lazy"
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAAG0lEQVR42mP8z0A%2BYKJA76jmUc2jmkc1U0EzACKcASfOgGoMAAAAAElFTkSuQmCC">
Expand Down
Expand Up @@ -7,10 +7,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<div style="height:1000vh;"></div>
<iframe id="iframe" src="resources/image-loading-lazy-in-viewport-iframe.html">
</iframe>
Expand Down
Expand Up @@ -7,10 +7,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const t = async_test("Test that images with loading='lazy' under multicol load once they enter the viewport.");

Expand Down
Expand Up @@ -8,10 +8,6 @@
<script src="/resources/testharnessreport.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const t = async_test("Images with loading='lazy' load only when in the viewport");

Expand Down
Expand Up @@ -31,10 +31,6 @@
</script>
</body>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const visibility_hidden_element = document.getElementById("visibility_hidden");
const visibility_hidden_element_explicit_eager =
Expand Down
Expand Up @@ -7,10 +7,6 @@
<script src="common.js"></script>
</head>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<body>
<div id="tall_div" style="height:1000vh"></div>
<div id="below_viewport_div"></div>
Expand Down
Expand Up @@ -27,10 +27,6 @@
<div id="rendered_div"></div>
</body>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const display_none_img = new ElementLoadPromise("display_none");
const attribute_hidden_img = new ElementLoadPromise("attribute_hidden");
Expand Down
Expand Up @@ -21,10 +21,6 @@
</script>
</body>

<!--
Marked as tentative until https://github.com/whatwg/html/pull/3752 is landed.
-->

<script>
const display_none_img = new ElementLoadPromise("display_none");
const attribute_hidden_img = new ElementLoadPromise("attribute_hidden");
Expand Down
File renamed without changes.

0 comments on commit 4d7197d

Please sign in to comment.