| Summary: | [GTK] Clipboard copy adds extra font style | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Milan Crha <mcrha> |
| Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | bugs-noreply, burcheri.massimo+bugs-webkit |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Milan Crha
2023-01-02 07:15:25 PST
This is even worse with WebKitGTK 2.40.0, it doesn't add the SPAN, but it adds styles to each DIV/element with the appearance information, even when those values are defaults: `<div style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); font-family: Cantarell; font-size: 14.666667px; 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-tap-highlight-color: rgba(0, 0, 0, 0.4); -webkit-text-stroke-width: 0px; text-decoration: none;">Pasted Text</div>` > This is even worse with WebKitGTK 2.40.0
Aha, it's not a new thing in the 2.40.0, there depends whether a single-line text or multiple lines are copied.
|