[Libreoffice-bugs] [Bug 132914] New: In HTML document, "font-style" does not apply to some tags

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 10 12:50:59 UTC 2020


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

            Bug ID: 132914
           Summary: In HTML document, "font-style" does not apply to some
                    tags
           Product: LibreOffice
           Version: 6.4.3.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: hi-angel at yandex.ru

"font-style" CSS applies to <ins>, but does not apply to <b> nor <u>.

# Steps to reproduce

1. Create file `test.html` with the following content:

    <!DOCTYPE html>
    <html lang="en">
    <head>
      <meta charset="utf-8" />
      <title>test2</title>
      <style>
        u {
            font-style: italic
        }
      </style>
    </head>
    <body>
    <p>  <u>Test</u> </p>
    </body>
    </html>

2. Open it in libreoffice

## Expected

Word "test" is both underlined and italic (as you would see if opened the same
file in a browser)

## Actual

Word "test" has no "italic" style

-- 
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/20200510/1c47660e/attachment.htm>


More information about the Libreoffice-bugs mailing list