summaryrefslogtreecommitdiff
path: root/writerperfect/Module_writerperfect.mk
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-05-10 16:15:52 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-05-13 11:58:03 +0200
commit2c59f66bf5c0d5982757f5c444dfea7ad504dc3a (patch)
tree90814798f5ec327c7168fe6046f115c5f65b19ab /writerperfect/Module_writerperfect.mk
parent116338b8af38a20e21c1248cc077cfe1f0cc07c0 (diff)
sw XHTML export: output table / table row background format using CSS
The HTML export uses HTML elements / attributes to describe the background color of tables / table rows. CSS markup is used when exporting styles, not direct formatting. This behavior makes sense for the HTML mode, but XHTML wants to CSS markup whenever possible, and usage of CSS markup for the reqif mode is not even optional. Fix the problem by switching to CSS markup for table and table row backgrounds in the XHTML case -- this is OK for reqif when describing tables (the reqif spec only forbids detailed CSS markup for spans, not tables or table rows). This amends the behavior of commit 4cd3c436923bfba281b1bf16d9785208a2119cea (sw reqif-xhtml export: limit values of the style attribute, 2018-04-11), which avoided invalid table row background markup by losing it on export. Conflicts: sw/qa/extras/htmlexport/htmlexport.cxx Change-Id: Ia0858986c3e8a3ea41adf8a24119442fe5068ee3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134257 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'writerperfect/Module_writerperfect.mk')
0 files changed, 0 insertions, 0 deletions