[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
Mon May 11 10:07:32 UTC 2020


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

Xisco Faulí <xiscofauli at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |serval2412 at yahoo.fr,
                   |                            |xiscofauli at libreoffice.org

--- Comment #7 from Xisco Faulí <xiscofauli at libreoffice.org> ---
(In reply to Konstantin Kharlamov from comment #6)
> (In reply to Mike Kaganski from comment #5)
> > Playing with InsideClipboard and its Clp file, I was able to make it work
> > with Chrome by replacing in this clipboard HTML:
> > 
> > > <html>
> > > <body>
> > > <!--StartFragment--><span style="color: rgb(0, 0, 0); font-family: "Times New Roman"; font-size: medium; font-style: normal; font-variant-ligatures: 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: underline; display: inline !important; float: none;">Test</span><!--EndFragment-->
> > > </body>
> > > </html>
> > 
> > the string "-webkit-text-stroke-width" with " webkit-text-stroke-width",
> > i.e. removing the leading hyphen.
> 
> Thank you for extensive analysis!
> 
> Worth noting, leading hyphen and underscores are allowed in the CSS selector
> name, and are usually used for browser-specific extensions. So LO CSS parser
> should not bail out upon seeing such syntax.

@Julien, I thought you might be interested in this issue

-- 
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/20200511/89ab1c97/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list