https://bugs.documentfoundation.org/show_bug.cgi?id=114501
Buovjaga <todven...@suomi24.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |UNCONFIRMED
Ever confirmed|1 |0
--- Comment #9 from Buovjaga <todven...@suomi24.fi> ---
Apologies, the <br/> elements inside the empty paragraphs are inserted by
LibreOffice. Confirmed by running this command in Linux after copying the text
from LibreOffice:
xclip -selection clipboard -o -t text/html
(In reply to tbreportbug from comment #8)
> To reiterate, the problem with the current system seems to be:
>
> 1) Paragraphs have default margin-top value. The margin-top value should be
> 0cm!
>From what I am seeing, if the paragraphs have a default margin-top value, it is
not assigned in LibreOffice, but Thunderbird.
Indeed, Richard Marti in the Thunderbird report says: "From toolkit html.css a
margin-block-start: 1em; is applied as default for <p>. You'd need also a
margin-top: 0 to remove all space above the <p>."
If I look at the styles in Firefox dev tools, I can see the 16px margin-top for
the paragraphs in *browser styles*, so this is something the browser (or
Thunderbird) is applying.
It's late and I have to think about this more tomorrow. I don't really have a
clear picture of what should be done or what would be the perfect result.
For reference, I will include below the clipboard text/html contents from
LibreOffice.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8"/>
<title></title>
<meta name="generator" content="LibreOffice 6.1.4.2 (Linux)"/>
<style type="text/css">
@page { size: 21.59cm 27.94cm; margin: 2cm }
p { margin-bottom: 0.25cm; line-height: 120%; background:
transparent }
</style>
</head>
<body lang="fi-FI" link="#000080" vlink="#800000" dir="ltr"><p
style="margin-bottom: 0cm; line-height: 100%">
Text here</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text here</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text here</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text here</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text here</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text here</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br/>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text</p>
<p style="margin-bottom: 0cm; line-height: 100%">Text</p>
<p style="margin-bottom: 0cm; line-height: 100%">End.</p>
</body>
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs