From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by fantadrom.bsd.lv (OpenSMTPD) with ESMTP id a2a54f78 for ; Tue, 4 Dec 2018 11:44:18 -0500 (EST) Received: by mail-wr1-f51.google.com with SMTP id l9so16676349wrt.13 for ; Tue, 04 Dec 2018 08:44:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2+0TRpXlBrRdBC+BL7wXt9h46vBm54YocFHaThZk6jY=; b=CU+0TpEE5NqYRrGCc/GBh2GSzMh0d0ek8rMh6hYK69GkeFw+TAuBOeVCH/qQ6O0fgN sHC8nKQ38lpJNcmpXC3ZJ7PZJAjbVd0cvKiSwGbaw/itRpR0V48fQ9lI3b4sAkxgjZu7 RCylZuMCFePuZqnyvXUgX2u/SMFDSerZEjIJI7ggIsOxsmWvNVFu+5almHx/eZDqfk0a iBzEBdRIjHwRXX6YDwUsEPGRlCJz345vnrSjb2SNwLYdutrg5FHlVAhoX8o/WIouDfGN Ykt/Hs25Pw859X5YxTO9Winzf2AJZFujNcersVCpxgqI2SpVqUvqWBRD5BUy98XvoL9Y H0Cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2+0TRpXlBrRdBC+BL7wXt9h46vBm54YocFHaThZk6jY=; b=Wj9azsUqEtEPPbPHiBW0t78MFcpBJJC/6LolCKmhK0wsWs2uJfGwEdvITzMdggrXlO gdQTVfX/XHCbsdVjwdT5SjQAzlauLg+gJTYb7ozM7595KLWeXUiqdv9u8n+5CWG6KZAs HsVb66rO1nD5ARSs/d3nged0PZs4t1C2Cbrl4sxyKgQRUc0boogIhyzwCVXR0e1oX7Da ocU99US5hIEgB6NDzedZPX10JEBzz+orCB4xiTWIB97aWtWc5Fzu4YNyvFZ8Nw61FFEM LyxO0L1THnqWwXlF3kNxGE1Xebl89iTclHsUGdu/eUpV/hBjbRsA8DZ0Gvvt8uytCI+x iCrg== X-Gm-Message-State: AA+aEWateMH+vQ9kFJrVaCPhmxL1l7rOjBLxDTPkjQbaqSgdmEARPUG7 ox97JFMwKfRhmrZ2BuYWGuo= X-Google-Smtp-Source: AFSGD/UWGM8UW9VhQjXJKbWEv3GCW0IV2KK4A/XS/J6sAgkfc5nuTk345+DbLR3yJC9e3H4dBW7Nsg== X-Received: by 2002:adf:a211:: with SMTP id p17mr15377772wra.179.1543941856774; Tue, 04 Dec 2018 08:44:16 -0800 (PST) Received: from pali ([2a02:2b88:2:1::5cc6:2f]) by smtp.gmail.com with ESMTPSA id y8sm9890578wmg.13.2018.12.04.08.44.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 04 Dec 2018 08:44:15 -0800 (PST) Date: Tue, 4 Dec 2018 17:44:14 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Ingo Schwarze Cc: discuss@mandoc.bsd.lv Subject: Re: Broken tables in HTML output Message-ID: <20181204164414.bm4rdirdfcz3aveg@pali> References: <20180716152919.GB85992@athene.usta.de> <20181126212728.GG82448@athene.usta.de> <20181126215826.xepdfaas5fm42ubc@pali> <20181126220133.bf7siow6e5mxahhv@pali> <20181126220516.nrflslyvxufb7xnk@pali> <20181201172057.GD89021@athene.usta.de> <20181203220142.zj5yxqdmgizsmckp@pali> <20181203221454.GD92067@athene.usta.de> <20181203222045.ramwyfizw4lkk4il@pali> <20181203223743.GE92067@athene.usta.de> X-Mailinglist: mandoc-discuss Reply-To: discuss@mandoc.bsd.lv MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y6xj555r7gjoxxfm" Content-Disposition: inline In-Reply-To: <20181203223743.GE92067@athene.usta.de> User-Agent: NeoMutt/20170113 (1.7.2) --y6xj555r7gjoxxfm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Monday 03 December 2018 23:37:43 Ingo Schwarze wrote: > Hi Pali, >=20 > Pali Rohar wrote on Mon, Dec 03, 2018 at 11:20:45PM +0100: > > On Monday 03 December 2018 23:14:54 Ingo Schwarze wrote: > >> Pali Rohar wrote on Mon, Dec 03, 2018 at 11:01:42PM +0100: >=20 > >>> Seems that it is needed to put "border-bottom-style: solid" > >>> for rowspanned td element. At least this is working in chrome. >=20 > >> That would further degrade the quality of the HTML code written by > >> mandoc. As a rule, "style=3D" attributes should be avoided and CSS > >> should instead by used. Unfortunately, that's not possible here > >> because the hard-coded presentational decisions like "draw a border > >> right here" are already contained in the tbl(7) input, and there > >> is no way to convert those purely presentational decisions of the > >> author into semantic or structural markup that could be handled > >> with CSS. > >>=20 > >> But at least the amount of "style=3D" attributes written should be > >> minimized. Only those "style=3D" attributes should be written that > >> are required to correctly express the author's intent. >=20 > > This suggestion is to move border style definition from tr do td. >=20 > That would mean writing more "style=3D" attributes. > If a row intersects N cells, N times more. > That is not good. You can avoid all style=3D attributes in tables, by declaring class=3D attributes instead of them and then in CSS defines border styles for defined classes. --=20 Pali Roh=C3=A1r pali.rohar@gmail.com --y6xj555r7gjoxxfm Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQS4VrIQdKium2krgIWL8Mk9A+RDUgUCXAau3QAKCRCL8Mk9A+RD UsU9AKC4FDs01u27OJpMsDty2vDMWPs+6gCeLct8X8AnPowtQWVZDb25NT9Pk3Q= =L2ZZ -----END PGP SIGNATURE----- --y6xj555r7gjoxxfm-- -- To unsubscribe send an email to discuss+unsubscribe@mandoc.bsd.lv