Skip to content
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

Non-responsive image loading #195

Closed
jgraham opened this issue Oct 11, 2022 · 1 comment
Closed

Non-responsive image loading #195

jgraham opened this issue Oct 11, 2022 · 1 comment
Labels
investigation-effort-proposal Investigation Effort Proposal

Comments

@jgraham
Copy link
Contributor

jgraham commented Oct 11, 2022

Description

This investigate area will look at what's required to specify image loading that's compatible with web content.

Rationale

Updating gecko to match the spec for loading caused some test failures that pointed to likely webcompat regressions that prevented the patches from landing.

In particular, tests under https://github.com/web-platform-tests/wpt/tree/master/html/canvas/element/drawing-images-to-the-canvas broke when implementing the spec as written. After some investigation and an attempt to "fix" the tests in web-platform-tests/wpt#5060 it was decided that the spec is too different to existing behavior when setting the src attribute for it to be implementable.

The current status of the issue is recorded in various bugs and spec issues:

https://bugzilla.mozilla.org/show_bug.cgi?id=1076583
whatwg/html#2429
whatwg/html#4884
whatwg/html#1872

Having a usable specification of fundamental platform features is required to avoid compat hazards and ensure that all implementations are able to converge on the same behaviour. It also opens the door to confidently adding future functionality without worrying that differences between the spec and implementations may lead to problems when it comes to shipping the features.

Investigation Roadmap

  • Write test cases to cover edge cases of image loading, including observed regressions from implementing the current spec.
  • Run the tests cross-browser to find existing areas of difference.
  • Agree on a model and use it to derive "correct" behaviour for each test.
  • Use telemetry, archive crawls, experimental implementation, etc. to provide supporting data for the web compatibility of the proposed model.
  • Write up the proposal as a PR to the HTML spec.
@jgraham jgraham added the investigation-effort-proposal Investigation Effort Proposal label Oct 11, 2022
@foolip foolip moved this to Proposed in Interop 2023 Oct 11, 2022
@nairnandu
Copy link
Contributor

Thank you for proposing Non-responsive image loading for inclusion in Interop 2023.

We wanted to let you know that this proposal was not selected to be part of Interop this year. We believe this investigation is out of scope for Interop 2023. We encourage you to start a conversation with the WHATWG to get any issues resolved.

For an overview of our process, see the proposal selection summary. Thank you again for contributing to Interop 2023!

Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
investigation-effort-proposal Investigation Effort Proposal
Projects
No open projects
Status: Proposed
Development

No branches or pull requests

2 participants