-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why does the value of img.complete can thus change while a script is executing? #1055
Comments
The purpose is to match what (some) browsers did when this was specified (I believe IE at least). But I think this can probably be changed without breaking the Web, in particular because some other browsers (Gecko?) don't match the current spec. Also see |
Thanks for your reply, @zcorpan. |
We shouldn't remove the test, but the pass condition can be flipped. |
I see, thanks. |
It would be nice if the specification reflected reality here. |
@annevk It would be good to address this if we can. Right now every single browser fails the relevant web platform test (see web-platform-tests/wpt#4195) so either the test is wrong or the spec doesn't really match reality. |
Align them somewhat with more modern practices and fix one test that expects img.complete to change during a while loop. Helps with whatwg/html#1055 and issues pointed out from there.
These changes are in line with all three browsers. Chrome still diverges significantly from the standard & tests though on other aspects. Tests: web-platform-tests/wpt#19298. Fixes #1055, fixes #4475. #4476 remains outstanding.
Align them somewhat with more modern practices and fix one test that expects img.complete to change during a while loop. Helps with whatwg/html#1055 and issues pointed out from there. whatwg/html#4934 has proposed HTML Standard changes.
…tonly Automatic update from web-platform-tests HTML: update <img>.complete tests Align them somewhat with more modern practices and fix one test that expects img.complete to change during a while loop. Helps with whatwg/html#1055 and issues pointed out from there. whatwg/html#4934 has proposed HTML Standard changes. -- wpt-commits: dc2e245a955c832e88d24e6a1af5f718da5491bd wpt-pr: 19298
…tonly Automatic update from web-platform-tests HTML: update <img>.complete tests Align them somewhat with more modern practices and fix one test that expects img.complete to change during a while loop. Helps with whatwg/html#1055 and issues pointed out from there. whatwg/html#4934 has proposed HTML Standard changes. -- wpt-commits: dc2e245a955c832e88d24e6a1af5f718da5491bd wpt-pr: 19298
…tonly Automatic update from web-platform-tests HTML: update <img>.complete tests Align them somewhat with more modern practices and fix one test that expects img.complete to change during a while loop. Helps with whatwg/html#1055 and issues pointed out from there. whatwg/html#4934 has proposed HTML Standard changes. -- wpt-commits: dc2e245a955c832e88d24e6a1af5f718da5491bd wpt-pr: 19298 UltraBlame original commit: c775395917748fc6bf05f54e385767b974109d4a
…tonly Automatic update from web-platform-tests HTML: update <img>.complete tests Align them somewhat with more modern practices and fix one test that expects img.complete to change during a while loop. Helps with whatwg/html#1055 and issues pointed out from there. whatwg/html#4934 has proposed HTML Standard changes. -- wpt-commits: dc2e245a955c832e88d24e6a1af5f718da5491bd wpt-pr: 19298 UltraBlame original commit: c775395917748fc6bf05f54e385767b974109d4a
…tonly Automatic update from web-platform-tests HTML: update <img>.complete tests Align them somewhat with more modern practices and fix one test that expects img.complete to change during a while loop. Helps with whatwg/html#1055 and issues pointed out from there. whatwg/html#4934 has proposed HTML Standard changes. -- wpt-commits: dc2e245a955c832e88d24e6a1af5f718da5491bd wpt-pr: 19298 UltraBlame original commit: c775395917748fc6bf05f54e385767b974109d4a
These changes are in line with all three browsers. Chrome still diverges significantly from the standard & tests though on other aspects. Tests: web-platform-tests/wpt#19298. Fixes #1055, fixes #4475. #4476 remains outstanding.
These changes are in line with all three browsers. Chrome still diverges significantly from the standard & tests though on other aspects. Tests: web-platform-tests/wpt#19298. Fixes #1055, fixes #4475. #4476 remains outstanding.
See https://html.spec.whatwg.org/multipage/embedded-content.html#dom-img-complete.
Is there any particular purpose for this behavior?
The text was updated successfully, but these errors were encountered: