projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e76df29
)
html: Implement rotated cells.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 28 Dec 2020 22:12:34 +0000
(14:12 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 28 Dec 2020 22:12:34 +0000
(14:12 -0800)
src/output/html.c
patch
|
blob
|
history
diff --git
a/src/output/html.c
b/src/output/html.c
index 78237675451fea30bae26d2e36944b43e38f52aa..8c4c14a1806b707727e49b05fb44b656818050aa 100644
(file)
--- a/
src/output/html.c
+++ b/
src/output/html.c
@@
-647,6
+647,9
@@
html_output_table (struct html_driver *html, const struct table_item *item)
break;
}
+ if (cell.options & TAB_ROTATE)
+ put_style (&style, "writing-mode", "sideways-lr");
+
if (cell.style->cell_style.valign != TABLE_VALIGN_TOP)
{
put_style (&style, "vertical-align",