You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently all browsers return something different, but it fails on what should the be the serialization. The current result is aligned with Firefox result only. It's probably too restrictive.
The specification doesn't seem to have a canonical form requirement.
The test should probably check only that <p>Hello World</p> has been copied.
Which is basically the visible content for the user, the rest seems to be implementation details.
What do you think @saschanaz?
I can probably make a PR in that sense?
The text was updated successfully, but these errors were encountered:
Fix#50744
The specification doesn't have the definition of a canonical form. When writing html through `.write()` we should be able to carry the information which is visible to users.
This should level the playing field in between browsers with their different styles of building HTML during read/write operation of the clipboard API.
Fix#50744
The specification doesn't have the definition of a canonical form. When writing html through `.write()` we should be able to carry the information which is visible to users.
This should level the playing field in between browsers with their different styles of building HTML during read/write operation of the clipboard API.
The specification doesn't have the definition of a canonical form. When writing html through `.write()` we should be able to carry the information which is visible to users.
This should level the playing field in between browsers with their different styles of building HTML during read/write operation of the clipboard API.
wpt/clipboard-apis/async-write-html-read-html.https.html
Lines 20 to 26 in 4cb608c
Currently all browsers return something different, but it fails on what should the be the serialization. The current result is aligned with Firefox result only. It's probably too restrictive.
<head> </head> <body> <p style=\"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;\">Hello World</p> </body>
<head> <title>Title of the document</title> </head> <body> <p>Hello World</p> </body>
<head> <title>Title of the\n document</title> </head> <body> <p>Hello World</p> </body>
The specification doesn't seem to have a canonical form requirement.
The test should probably check only that
<p>Hello World</p>
has been copied.Which is basically the visible content for the user, the rest seems to be implementation details.
What do you think @saschanaz?
I can probably make a PR in that sense?
The text was updated successfully, but these errors were encountered: