summaryrefslogtreecommitdiff
path: root/wizards
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-05-10 16:15:52 +0200
committerMiklos Vajna <vmiklos@collabora.com>2022-05-10 17:19:59 +0200
commitc3c3303516c3da9372dce3f05f38f15a104e961c (patch)
tree5193b10c8bbab3f7ef7d8e30574efd804a35fe6b /wizards
parent4cc3a144ef2ecc019da42bb9b115267a18e9559f (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. Change-Id: Ia0858986c3e8a3ea41adf8a24119442fe5068ee3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134119 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
Diffstat (limited to 'wizards')
0 files changed, 0 insertions, 0 deletions