https://bugs.freedesktop.org/show_bug.cgi?id=81297
V Stuart Foote <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #6 from V Stuart Foote <[email protected]> --- (In reply to Jay Philips from comment #5) > There are default html styles for html tags and libreoffice should be > following them, as it did in LibO 4.1. > ... > If libreoffice is attempting to act like a WYSIWYG html editor, it should > show html styles like it will be presented in a browser and not document > styles. IMHO. @Jay, I know this is kind of old and moldy, but a browser default color is not specified for <h1> - <h6> elements--is that what you meant? See refs When saved and opened as HTML in a browser a LibreOffice generated HTML document does not specify, nor show a color. It is only when opened with LibreOffice writer with defaults that it currently will show gray in heading 3 <h3> and heading 4 <h4> elements because of Ahmad H. Al Harthi's default template rework in Oct 2013 defining the headline values for the default template style. I've posted a proposed patch to bug 82041 to remove the gray color from headline 3 and headline 4--will allow HTML documents with <h3> and <h4> elements to use defaults. Was it just the color that was objectionable--or was there a more general concern that LibreOffice should behave as if it also embedded "default" CSS2 for HTML 4 elements. Believe these are the "suggested" W3C CSS defaults--note no color specification, but as can be seen in the refs each browser (and application) will set their own. Should LibreOffice? You'll see this or similar described as default CSS Settings for the heading elements -- LibreOffice does not seem to comply when viewing HTML markup. h1 { display: block; font-size: 2em; margin-top: 0.67em; margin-bottom: 0.67em; margin-left: 0; margin-right: 0; font-weight: bold; } h2 { display: block; font-size: 1.5em; margin-top: 0.83em; margin-bottom: 0.83em; margin-left: 0; margin-right: 0; font-weight: bold; } h3 { display: block; font-size: 1.17em; margin-top: 1em; margin-bottom: 1em; margin-left: 0; margin-right: 0; font-weight: bold; } h4 { display: block; margin-top: 1.33em; margin-bottom: 1.33em; margin-left: 0; margin-right: 0; font-weight: bold; } h5 { display: block; font-size: .83em; margin-top: 1.67em; margin-bottom: 1.67em; margin-left: 0; margin-right: 0; font-weight: bold; } h6 { display: block; font-size: .67em; margin-top: 2.33em; margin-bottom: 2.33em; margin-left: 0; margin-right: 0; font-weight: bold; } -=refs=- Geko/Mozilla mxr.mozilla.org/mozilla-central/source/layout/style/html.css#164 Chrome/Safari http://trac.webkit.org/browser/trunk/Source/WebCore/css/html.css Internet Explorer http://www.iecss.com/ -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
