[Libreoffice-bugs] [Bug 122789] New: Writer html image widths messed up when in percentages when opening file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jan 17 16:07:25 UTC 2019


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

            Bug ID: 122789
           Summary: Writer html image widths messed up when in percentages
                    when opening file
           Product: LibreOffice
           Version: 6.1.4.2 release
          Hardware: All
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer Web
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: terry at beam.ltd.uk

Using the Fedora_29 libreoffice system, if you open a html file that has image
widths in percentages, the width is messed up and the image is shown at a very
large size. When this file is saved the image size is wrong.

Example html would be:
<img src="pic.png" name="Image1" alt="Pic" align="bottom" width="70%"
border="0"/>

When saved this becomes:
<img src="pic.png" name="Image1" alt="Pic" align="bottom" width="166%"
height="738" border="0"/>

Also it has added the height parameter as an absolute value even though the
image properties were marked as "Keep ratio" when saved. The "Keep ratio"
option was in effect lost.

-- 
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/20190117/85856902/attachment.html>


More information about the Libreoffice-bugs mailing list