From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74822 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] shr: render table with style Date: Tue, 07 Dec 2010 12:31:40 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: <1291656608-16263-1-git-send-email-julien@danjou.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1291721537 20193 80.91.229.12 (7 Dec 2010 11:32:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 7 Dec 2010 11:32:17 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M23178@lists.math.uh.edu Tue Dec 07 12:32:13 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PPvmF-0005sC-OJ for ding-account@gmane.org; Tue, 07 Dec 2010 12:32:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PPvm3-0002zk-QT; Tue, 07 Dec 2010 05:31:59 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PPvm2-0002zZ-6y for ding@lists.math.uh.edu; Tue, 07 Dec 2010 05:31:58 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PPvlx-0002zK-N4 for ding@lists.math.uh.edu; Tue, 07 Dec 2010 05:31:57 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PPvlw-0000tZ-00 for ; Tue, 07 Dec 2010 12:31:52 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PPvlw-0005kO-3F for ding@gnus.org; Tue, 07 Dec 2010 12:31:52 +0100 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 12:31:52 +0100 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 07 Dec 2010 12:31:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAADFBMVEXr5taDgI66tKxIQFmA R2wyAAACRklEQVQokQ3Qz2vTYACH8W9Th/1xEcGhgrZOK1tE+yesDkSGlyB90y6jawhu3SIeHb1k eRdQ1p48LKsWR0sx61IPO3kRRj17KmLnNpCOwhAPgkhb6uTta44feE4PSFWIpAEhPJsOY1sVzTTE mlaXwmiWGykZN2RLoWNY/XD2Xp7xs6CNGIbOyCUJHytuWzZOXNYgVCAr/I+Mom2IRFV3drJaGjHS fCcTqyiThuohu6G4+qkxl3Mg2tmE6Pxka7J8AbhdSpBsp+2SPPUg0imT94ms6cC9EMY7nOuyoGPi mmCN51bMUxkWsB8QXz7QMplNIQDM0dinsZN68qJ6CzSx/lwKHsSOfBJA1eAT22qHW1ilqEYFGkuQ YBpEQu2tRGOHpKD7+3ns8uPHJmeOvtdPYp73Ux3O3KX+dxkpvpgq8INaqcMJyqNHI9iD3T3ugWyu D4XZrHKTs0Xo5dKh/2H9uNZhs9iyzUSosD6INnsWbCezAWEiQyOHQFuzFwK+oVPL0UkotP55N9x7 oakAGmX3vv60Fx/4PCyF7FqJ0Uv9jagHsTLj9Hyjv2tVQHfN1hXJPD5g1MJKln8tKnxmwfC2aSYf ugbT+P6ylzUZ+2jI8/zXmgDd7JpyRX1T+jfyoWsG+WpMEpTB2Xl0e3FuNNKhIJPiOOl6B/RyuPRt q4IvOcZLSqPC2884hiYbOcmCyY9+MOSnDWOSCiZv3RnhtRhRxiHEO8PwAFen4tXpquqv5H0GLiOy PK1WhfhvXEcSdwORVhTCq3Oh/53BD0Aqu518AAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: Pink Industry's _New Beginning_: "Empty Beech" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:+E4cQtiNGDqHQRxboxZa714AkiQ= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74822 Archived-At: Julien Danjou writes: > Yes it does. The problem is that bgcolor attribute reading is not done > at the same level than style parsing. So, unless you want to special > case bgcolor for in shr-descend, which would be ugly, I do not > see how to deal with that. No, that's fine. There are (apparently) only three tags with pre-CSS colour specs -- , and
, and special-casing those three makes perfect sense. It's only a couple lines extra in each case. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen