Bug 78164 - FORMATTING: Writer does not respect the specified bottom margin of paragraphs in HTML files
Summary: FORMATTING: Writer does not respect the specified bottom margin of paragraphs...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:html, needsDevEval
Depends on:
Blocks: HTML-Import
  Show dependency treegraph
 
Reported: 2014-05-01 18:02 UTC by Tomas Karger
Modified: 2022-09-22 03:12 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
minimal example html file (1.35 KB, text/html)
2014-05-01 18:02 UTC, Tomas Karger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Karger 2014-05-01 18:02:10 UTC
Created attachment 98313 [details]
minimal example html file

Expected behavior:
Writer respects the margin-bottom:0pt value for paragraphs and makes no extra spaces between them. This is the case if opened in Firefox.

Actual behavior:
Writer ignores the margin-bottom:0pt value and makes 0.2" space below paragraph.

Margin-top seems to work as expected.
Tried to set also padding-bottom with the same result.
Comment 1 Tomas Karger 2014-05-13 14:48:47 UTC
I noticed that the style (when I hit F11 with my cursor in the paragraph) is defined correctly with no spacing. In contrast, when I go Format -> Paragraph, there is 0.2" set in spacing below paragraph. The style is just somehow not applied to the paragraph. When I double-click the style (from the F11 window) to apply it, the paragraph gets formatted correctly.
Comment 2 Joel Madero 2014-05-16 20:35:40 UTC
Thank you for reporting this issue! I have been able to confirm the issue on:
Version 3.0.3.2 
Platform: Ubuntu 14.04 x64
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
As I've been able to confirm this problem on an earlier release I am changing the version number as version is the earliest version that we can confirm the bug, we use comments to say that the bug exists in newer versions as well.

Marking as:

New (confirmed)
Minor -- does not prevent professional quality work but can slow it down
Low - default seems appropriate, not going to affect many users at all

NeedDevEval (proposed easy hack)
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 
LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link:
https://wiki.documentfoundation.org/QA/BugTriage

There are also other ways to get involved including with marketing, UX, documentation, and of course developing -  http://www.libreoffice.org/get-help/mailing-lists/. 

Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material
Comment 3 Robinson Tryon (qubit) 2015-12-13 11:20:54 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2017-01-03 19:46:26 UTC Comment hidden (obsolete)
Comment 5 regs 2017-02-17 02:31:48 UTC
I have a bit different problem, but probably related.

Paragraph margin after gets definitely ignored.

Also @page margins gets ignored on load. margins gets saved into html file, but on on load i get default margins.
Comment 6 QA Administrators 2018-02-18 03:38:26 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2021-04-07 03:53:08 UTC Comment hidden (obsolete)
Comment 8 David Melik 2022-09-22 03:12:04 UTC
This is much wider than HTML; Writer doesn't respect spacing below paragraph setting in *any* file type; same problem in prose (.TXT before you even format as .ODT) forcing 0.08 even when reset to historically-standard zero.