diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2020-10-30 21:34:30 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2020-10-30 21:34:30 +0000 |
commit | 4d2ba9641e15ccb09db359b85362e296e0623941 (patch) | |
tree | b50bea2eb244f0240fe5f4f03795b2aef6a58095 /tbl.c | |
parent | d9210be5084758212876491c59543637fee738d7 (diff) | |
download | mandoc-4d2ba9641e15ccb09db359b85362e296e0623941.tar.gz |
Finally get rid of the "overflow: auto" property of ".Bl-tag > dd"
which has long been know to cause ugly and pointless scroll bars.
Matthew Martin <phy1729 at gmail dot com>
helpfully explained the following two points to me:
1. What we need to do here is establish a new block formatting
context such that the first line of the <dd> content moves down
rather than to the right if the preceding <dt> is wide.
2. A comprehensive list of methods
to establish block formatting context is available in:
https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context
In that list, i found that "column-count: 1" does the job.
It is part of CSS Multi-column Layout Level 1.
While that is still in Working Draft status according to
https://www.w3.org/Style/CSS/current-work ,
it is fully supported by all browsers according to
https://developer.mozilla.org/en-US/docs/Web/CSS/column-count ,
probably because it was already part of the second draft of this
standard almost 20 years ago: WD-css3-multicol-20010118.
Diffstat (limited to 'tbl.c')
0 files changed, 0 insertions, 0 deletions