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 44b54aa
Show file tree
Hide file tree
Showing 34 changed files with 0 additions and 105 deletions.
Original file line number Diff line number Diff line change
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
File renamed without changes.
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@
<base href='/loading/lazyload/resources/'>
</head>

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

<script>
const below_viewport_img_promise = new ElementLoadPromise("below_viewport_img");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@
<base href='/loading/lazyload/resources/'>
</head>

<!--
Marked as tentative until Marked as tentative until the HTML Standard
specifies this.
-->

<script>
const below_viewport_iframe_promise = new ElementLoadPromise("below_viewport_iframe");

Expand Down
Original file line number Diff line number Diff line change
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.
-->

<script>
const below_viewport_iframe = new ElementLoadPromise("below_viewport_iframe");
const below_viewport_img = new ElementLoadPromise("below_viewport_img");
Expand Down
Original file line number Diff line number Diff line change
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.
-->

<script>
const crossorigin_img = new ElementLoadPromise("crossorigin_img");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
<script src="common.js"></script>
</head>

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

<script>
const below_viewport_iframe = new ElementLoadPromise("below_viewport_iframe");
const below_viewport_img = new ElementLoadPromise("below_viewport_img");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@
<script src="common.js"></script>
</head>

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

<script>
const in_viewport_img = new ElementLoadPromise("in_viewport_img");
const lazy_attribute_img = new ElementLoadPromise("lazy_attribute_img");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@
<script src="common.js"></script>
</head>

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

<body>
<img id="in_viewport" src='resources/image.png?in_viewport&pipe=trickle(d1)'>
<div style="height:1000vh"></div>
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
4 changes: 0 additions & 4 deletions loading/lazyload/META.yml

This file was deleted.

0 comments on commit 44b54aa

Please sign in to comment.