Skip to content

Clarifying clipboard.readText() behaviour #236

Open
@Gae24

Description

@Gae24

I found the steps involved in creating a representation to be a bit unclear.

  1. Let representation be a new representation.
  2. If representation’s MIME type essence is "text/plain", then:

How can it be "text/plain"? Shouldn't we check the essence of mimeType, which is:

  1. Let mimeType be the result of running the well-known mime type from os specific format algorithm given systemClipboardRepresentation’s name.

Lastly what should we actually do with data from clipboard? Spec is not clear about it, currently Servo implementation resolve representation's data with it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions