Bug 132914 - In HTML document, "font-style" does not apply to some tags
Summary: In HTML document, "font-style" does not apply to some tags
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:html
Depends on:
Blocks: (X)HTML-Export
  Show dependency treegraph
 
Reported: 2020-05-10 12:50 UTC by Konstantin Kharlamov
Modified: 2023-07-29 03:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (265 bytes, text/html)
2020-05-11 10:03 UTC, Xisco Faulí
Details
Comparison Firefox and LibreOffice 7.0 master (31.68 KB, image/png)
2020-05-11 10:04 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Kharlamov 2020-05-10 12:50:59 UTC
"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
Comment 1 Xisco Faulí 2020-05-11 10:03:13 UTC
Created attachment 160652 [details]
sample file
Comment 2 Xisco Faulí 2020-05-11 10:04:03 UTC
Created attachment 160653 [details]
Comparison Firefox and LibreOffice 7.0 master
Comment 3 Xisco Faulí 2020-05-11 10:04:14 UTC
Reproduced in

Version: 7.0.0.0.alpha1+
Build ID: 86bc13248c1d9f63b10aac304bdf0361d1dcc47f
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 4 Xisco Faulí 2020-05-11 10:05:23 UTC
Also reproduced in

Version: 5.2.0.0.alpha1+
Build ID: 5b168b3fa568e48e795234dc5fa454bf24c9805e
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; 
Locale: ca-ES (ca_ES.UTF-8)

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)
Comment 5 Stéphane Guillou (stragu) 2021-05-19 13:40:48 UTC
Reproduced in:

Version: 7.2.0.0.alpha1+ / LibreOffice Community
Build ID: b1c0734ffe0f395757b6e0cea7830d820231afeb
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-05-18_03:16:20
Calc: threaded
Comment 6 QA Administrators 2023-07-29 03:17:49 UTC
Dear Konstantin Kharlamov,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug