summaryrefslogtreecommitdiff
path: root/helpers
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-04-18 12:41:48 +0300
committerIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2022-04-19 14:51:33 +0200
commit5bab8a2d2530d7487064a2560c440269018a56b9 (patch)
treed91363751a754721c332203218ba6afed648ac03 /helpers
parent26cd9a5e8be28097e59188bcdf6bcaa9c75be4e4 (diff)
tdf#148621 Make ScriptForge service tables mobile-friendly
- Introduce <tablehead> element - While considering text-align, I noticed we do not take RTL languages into account. A CSS rule 'html[dir=ltr] th' was added, which does nothing at the moment. We should look into directionality. Change-Id: Ib59aa0c508529c0beaa35542d96bd5cc1aa4db29 Reviewed-on: https://gerrit.libreoffice.org/c/help/+/133114 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
Diffstat (limited to 'helpers')
-rw-r--r--helpers/xmlhelp.dtd7
1 files changed, 6 insertions, 1 deletions
diff --git a/helpers/xmlhelp.dtd b/helpers/xmlhelp.dtd
index 6a4ef9778b..fcb1076b57 100644
--- a/helpers/xmlhelp.dtd
+++ b/helpers/xmlhelp.dtd
@@ -228,7 +228,7 @@ Version Nov 2018
select (sys | appl | distrib | target | ver | lang) #REQUIRED
>
-<!ELEMENT table (caption*, tablerow+)>
+<!ELEMENT table (caption*, tablehead*, tablerow+)>
<!ATTLIST table
name CDATA #IMPLIED
width CDATA #IMPLIED
@@ -254,6 +254,11 @@ Version Nov 2018
unit CDATA #IMPLIED
>
+<!ELEMENT tablehead (tablerow+)>
+<!ATTLIST tablehead
+ class CDATA #IMPLIED
+>
+
<!ELEMENT title (#PCDATA)>
<!ATTLIST title
xml-lang CDATA #IMPLIED