Skip to content

Non-responsive image loading #195

Closed
Closed

Description

@jgraham

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.

Activity

  1. added
    investigation-effort-proposal
    on Oct 11, 2022
  2. moved this to Proposed in Interop 2023on Oct 11, 2022
  3. nairnandu commented on Feb 1, 2023

    @nairnandu
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    investigation-effort-proposal

    Type

    No type

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions