From: Ben Pfaff Date: Mon, 28 Dec 2020 22:12:34 +0000 (-0800) Subject: html: Implement rotated cells. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;ds=sidebyside;h=8d3420cd3839364be7b0ff57e59001b2762a2bb9;p=pspp html: Implement rotated cells. --- diff --git a/src/output/html.c b/src/output/html.c index 7823767545..8c4c14a180 100644 --- 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",