From 87fa719c219ac09e2006e17901defef0e1911c44 Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 15 Oct 2019 14:10:03 +0200 Subject: [PATCH] Make .complete more reliable These changes are in line with all three browsers. Chrome still diverges significantly from the standard & tests though on other aspects. Tests: https://github.com/web-platform-tests/wpt/pull/19298. Fixes #1055, fixes #4475. #4476 remains outstanding. --- source | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/source b/source index c352495e1de..6ace5d4c1f6 100644 --- a/source +++ b/source @@ -26516,7 +26516,6 @@ interface HTMLImageElement : HTMLElement { any of the following conditions is true:

Otherwise, the attribute must return false.

-

The value of complete can thus change while - a script is executing.

-

The currentSrc IDL attribute must return the img element's current request's current URL.

@@ -26568,9 +26561,6 @@ img.decode();
    -
  1. If any of the following conditions are true about this img element: