summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2022-03-17 18:45:44 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2022-03-17 18:45:44 +0000
commit92f9f5ebfbdf47568ba1359fab1e904d96194fd9 (patch)
tree012f6d5ee0b5be9f6f25539322a0c66a5b8af0ea /usr.bin
parent711e41fa361d24a72c5a447c546300dbed73e6d3 (diff)
Avoid legacy CSS2 syntax for the "display" property and use the CSS3
two-value syntax "display: inline flow;" instead. In particular, there is no need to establish a new block formatting context with "flow-root", and in fact that's detrimental because it appears to introduce spurious soft-wrap opportunities. jmc@ reported a bogus line break between the opening angle bracket generated by .Aq Mt and the following email address.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/mandoc/mandoc.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/mandoc/mandoc.css b/usr.bin/mandoc/mandoc.css
index 2b19ba68596..2522112295f 100644
--- a/usr.bin/mandoc/mandoc.css
+++ b/usr.bin/mandoc/mandoc.css
@@ -1,4 +1,4 @@
-/* $OpenBSD: mandoc.css,v 1.35 2021/03/30 19:23:50 schwarze Exp $ */
+/* $OpenBSD: mandoc.css,v 1.36 2022/03/17 18:45:43 schwarze Exp $ */
/*
* Standard style sheet for mandoc(1) -Thtml and man.cgi(8).
*
@@ -195,7 +195,7 @@ code.Nm { font-style: normal;
font-family: inherit; }
.Ar { font-style: italic;
font-weight: normal; }
-.Op { display: inline; }
+.Op { display: inline flow; }
.Ic { font-style: normal;
font-weight: bold;
font-family: inherit; }
@@ -250,7 +250,7 @@ a.In { }
/* Physical markup. */
-.Bf { display: inline; }
+.Bf { display: inline flow; }
.No { font-style: normal;
font-weight: normal; }
.Em { font-style: italic;
@@ -267,7 +267,7 @@ h1.Sh, h2.Ss { position: relative; }
.An, .Ar, .Cd, .Cm, .Dv, .Em, .Er, .Ev, .Fa, .Fd, .Fl, .Fn, .Ft,
.Ic, code.In, .Lb, .Lk, .Ms, .Mt, .Nd, code.Nm, .Pa, .Rs,
.St, .Sx, .Sy, .Va, .Vt, .Xr {
- display: inline-block;
+ display: inline flow;
position: relative; }
.An::before { content: "An"; }