Skip to content

output attributes on HTML's <input type=file> element #237

@marcoscaceres

Description

@marcoscaceres

Request for Mozilla Position on an Emerging Web Specification

Other information

Proposal to add various output attributes on HTML's <input> elements that would allow developers to declare some conversions the browser could do to, for example, images and videos.

<input type="file" 
   accept="image/*"
   output="image/jpeg"
   outputDimensions="1:1">

Conversions can include:

  • format
  • size
  • length
  • dimensions
  • compression
  • possibly other things...

This is intended to address the long-tail problem and complexity of converting/editing files by deferring the problem to either the OS or the browser (instead of JS libraries, CDNs, WASM, etc., which, it is argued by those making the proposal, haven't seen adoption in the long tail).

Metadata

Metadata

Assignees

No one assigned

    Labels

    position: neutralvenue: W3C CGSpecifications in W3C Community Groups (e.g., WICG, Privacy CG)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions