- From: Karl Dubost <notifications@github.com>
- Date: Thu, 27 Nov 2025 21:40:11 -0800
- To: w3c/clipboard-apis <clipboard-apis@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/clipboard-apis/issues/246/3587985265@github.com>
karlcow left a comment (w3c/clipboard-apis#246)
Starting to collect very simple tests and checking. what is stored in the Clipboard.
Fun is in the details. I'll put them somewhere at a point.
There are very different behaviors depending on the browsers.
Also Safari carried the background-color, so the case where it wasn't must be more complex and I need to reduce it a bit more.
## test 01
```
<body>
<div>This is a simple test in a div. Select all and copy-paste to check the style.</div>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 472 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;">This is a simple test in a div. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 77 characters
Content:
This is a simple test in a div. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 478 characters
Content:
<div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a simple test in a div. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 79 characters
Content:
This is a simple test in a div. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 602 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;">This is a simple test in a div. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 77 characters
Content:
This is a simple test in a div. Select all and copy-paste to check the style.
```
## test 02
```
<body>
<span>This is a simple test in a span. Select all and copy-paste to check the style.</span>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 473 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;">This is a simple test in a span. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 78 characters
Content:
This is a simple test in a span. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 907 characters
Content:
<span 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a simple test in a span. Select all and copy-paste to check the style.</span><span style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: -webkit-standard; font-size: medium; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; display: inline !important; float: none;"></span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 80 characters
Content:
This is a simple test in a span. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 603 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;">This is a simple test in a span. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 78 characters
Content:
This is a simple test in a span. Select all and copy-paste to check the style.
```
## test 03
```
<body>
<div>This is a simple test. Select all and copy-paste to check the style.</div>
<div>This is a simple test. Select all and copy-paste to check the style.</div>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 938 characters
Content:
<div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">This is a simple test. Select all and copy-paste to check the style.</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">This is a simple test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 137 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
This is a simple test. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 938 characters
Content:
<div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a simple test. Select all and copy-paste to check the style.</div><div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a simple test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 139 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
This is a simple test. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 1100 characters
Content:
<div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial;">This is a simple test. Select all and copy-paste to check the style.</div><div style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial;">This is a simple test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 137 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
This is a simple test. Select all and copy-paste to check the style.
```
## Test 04
```
<style>div {color: rgb(128, 0, 128);}</style>
<body>
<div>This is a simple test. Select all and copy-paste to check the style.</div>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 471 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(128, 0, 128); color: rgb(128, 0, 128); font-size: medium; float: none; display: inline !important;">This is a simple test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 68 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 469 characters
Content:
<div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a simple test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 70 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 597 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(128, 0, 128); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;">This is a simple test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 68 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
## Test 05
```
<style>div {background-color: rgb(255, 215, 0); color: rgb(128, 0, 128);}</style>
<body>
<div>This is a simple test. Select all and copy-paste to check the style.</div>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 507 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(128, 0, 128); color: rgb(128, 0, 128); font-size: medium; background-color: rgb(255, 215, 0); float: none; display: inline !important;">This is a simple test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 68 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 469 characters
Content:
<div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a simple test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 70 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 633 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(128, 0, 128); font-family: Times; font-size: medium; font-variant-ligatures: normal; background-color: rgb(255, 215, 0); text-decoration-color: initial; float: none; display: inline !important;">This is a simple test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 68 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
## Test 06
```
<style>
body {background-color: rgb(255, 215, 0);}
div {color: rgb(128, 0, 128);}
</style>
<body>
<div>This is a simple test. Select all and copy-paste to check the style.</div>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 507 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(128, 0, 128); color: rgb(128, 0, 128); font-size: medium; background-color: rgb(255, 215, 0); float: none; display: inline !important;">This is a simple test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 68 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 469 characters
Content:
<div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a simple test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 70 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 633 characters
Content:
<span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(128, 0, 128); font-family: Times; font-size: medium; font-variant-ligatures: normal; background-color: rgb(255, 215, 0); text-decoration-color: initial; float: none; display: inline !important;">This is a simple test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 68 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
## Test 07
```
<style>
span {visibility: hidden;}
</style>
<body>
<div>This is a <span>simple</span> test. Select all and copy-paste to check the style.</div>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 1396 characters
Content:
<head><meta charset="UTF-8"></head><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;">This is a<span class="Apple-converted-space">Â </span></span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid; visibility: hidden; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);"></span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;"><span class="Apple-converted-space">Â </span>test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 62 characters
Content:
This is a test. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 553 characters
Content:
<head><meta charset="UTF-8"></head><div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a<span class="Apple-converted-space"> </span><span></span>test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 63 characters
Content:
This is a test. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 1677 characters
Content:
<head><meta charset="UTF-8"></head><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;">This is a<span>Â </span></span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; visibility: hidden; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial;"></span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;"><span>Â </span>test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 62 characters
Content:
This is a test. Select all and copy-paste to check the style.
```
## Test 08
```
<body>
<div>This is a <span>simple</span> test. Select all and copy-paste to check the style.</div>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 1382 characters
Content:
<head><meta charset="UTF-8"></head><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;">This is a<span class="Apple-converted-space">Â </span></span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);">simple</span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;"><span class="Apple-converted-space">Â </span>test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 68 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 603 characters
Content:
<head><meta charset="UTF-8"></head><div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a<span class="Apple-converted-space"> </span><span>simple</span><span class="Apple-converted-space"> </span>test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 70 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 1663 characters
Content:
<head><meta charset="UTF-8"></head><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;">This is a<span>Â </span></span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial;">simple</span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;"><span>Â </span>test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 68 characters
Content:
This is a simple test. Select all and copy-paste to check the style.
```
## Test 09
```
<style>span {display: none;}</style>
<body>
<div>This is a <span>simple</span> test. Select all and copy-paste to check the style.</div>
</body>
```
### Safari
```
📄 TEXT/HTML:
──────────────────────────────
Length: 929 characters
Content:
<head><meta charset="UTF-8"></head><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;">This is a<span class="Apple-converted-space"> </span></span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-size: medium; float: none; display: inline !important;">test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 61 characters
Content:
This is a test. Select all and copy-paste to check the style.
```
### Firefox
```
📄 TEXT/HTML:
──────────────────────────────
Length: 462 characters
Content:
<div 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: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: auto; text-decoration-style: solid;">This is a test. Select all and copy-paste to check the style.</div>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 63 characters
Content:
This is a test. Select all and copy-paste to check the style.
```
### Edge
```
📄 TEXT/HTML:
──────────────────────────────
Length: 1159 characters
Content:
<head><meta charset="UTF-8"></head><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;">This is a<span>Â </span></span><span style="font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-line: none; text-decoration-thickness: initial; text-decoration-style: initial; color: rgb(0, 0, 0); font-family: Times; font-size: medium; font-variant-ligatures: normal; text-decoration-color: initial; float: none; display: inline !important;">test. Select all and copy-paste to check the style.</span>
📄 TEXT/PLAIN:
──────────────────────────────
Length: 61 characters
Content:
This is a test. Select all and copy-paste to check the style.
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/clipboard-apis/issues/246#issuecomment-3587985265
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/clipboard-apis/issues/246/3587985265@github.com>
Received on Friday, 28 November 2025 05:40:17 UTC