* mandoc: Avoid legacy CSS2 syntax for the "display" property and use the
@ 2022-03-17 18:46 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2022-03-17 18:46 UTC (permalink / raw)
To: source
Log Message:
-----------
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.
Modified Files:
--------------
mandoc:
mandoc.css
Revision Data
-------------
Index: mandoc.css
===================================================================
RCS file: /home/cvs/mandoc/mandoc/mandoc.css,v
retrieving revision 1.48
retrieving revision 1.49
diff -Lmandoc.css -Lmandoc.css -u -p -r1.48 -r1.49
--- mandoc.css
+++ mandoc.css
@@ -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"; }
--
To unsubscribe send an email to source+unsubscribe@mandoc.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-17 18:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-17 18:46 mandoc: Avoid legacy CSS2 syntax for the "display" property and use the schwarze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).