[Libreoffice-bugs] [Bug 132773] Copying an underlined word from an html document loses underline property

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 6 17:12:42 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=132773

V Stuart Foote <vstuart.foote at utsa.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |markus.mohrhard at googlemail.
                   |                            |com,
                   |                            |mikekaganski at hotmail.com,
                   |                            |vstuart.foote at utsa.edu

--- Comment #3 from V Stuart Foote <vstuart.foote at utsa.edu> ---
Not clear this is a LibreOffice import filter issue. Looking at a clipboard
content viewer (Nirsoft's InsideClipboard) seems more that the copy to
clipboard function for the browser impacts usefulness of the inline CSS applied
to the copied content.

Checking results of clipboard paste when opening the sample HTML in each of
Chrome, Edge, and Firefox are quite different. Paste Special content from MS
Edge browser receives the Underline decoration.


Clipboard contents for Chrome's (81.0.4044.129) HTML Format 49414 include the
CSS for the span.

00000240   30 70 78 3B 20 74 65 78 74 2D 64 65 63 6F 72 61    0px; text-decora
00000250   74 69 6F 6E 3A 20 75 6E 64 65 72 6C 69 6E 65 3B    tion: underline;

but the text does not receive the underline decoration.

Contrasted with MS Edge (44.18362.449.0) HTML Format 49414 also includes CSS
for the span; and does style the text with underline.

00000180   20 6C 65 66 74 3B 20 74 65 78 74 2D 64 65 63 6F     left; text-deco
00000190   72 61 74 69 6F 6E 3A 20 75 6E 64 65 72 6C 69 6E    ration: underlin
000001A0   65 3B 20 74 65 78 74 2D 69 6E 64 65 6E 74 3A 20    e; text-indent: 

While the Firefox (75.0) HTML Format 49414 does not include the CSS for the
span. And has no decoration as I'd expect.

Also, the index (acting as prioroty for import) is sequenced differently for
each of the browsers clipboard export.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200506/76203873/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list