From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/74384 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Cascading styles Date: Fri, 26 Nov 2010 02:16:36 +0100 Organization: Programmerer Ingebrigtsen Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1290734234 567 80.91.229.12 (26 Nov 2010 01:17:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 26 Nov 2010 01:17:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M22749@lists.math.uh.edu Fri Nov 26 02:17:10 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 1PLmw0-0003BW-6f for ding-account@gmane.org; Fri, 26 Nov 2010 02:17:08 +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 1PLmvn-0003Ah-5x; Thu, 25 Nov 2010 19:16:55 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PLmvl-0003AW-VK for ding@lists.math.uh.edu; Thu, 25 Nov 2010 19:16:53 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PLmvh-0006nE-3f for ding@lists.math.uh.edu; Thu, 25 Nov 2010 19:16:53 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PLmvg-00086H-00 for ; Fri, 26 Nov 2010 02:16:48 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PLmvf-00034G-0d for ding@gnus.org; Fri, 26 Nov 2010 02:16:47 +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 ; Fri, 26 Nov 2010 02:16:47 +0100 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Nov 2010 02:16:47 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 35 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUBAAf58dIIBQ3p38DT x6cFAwsCAQiYj3oFAgpCOjcdvl1XAAACWElEQVQ4jWWSTWvbQBCGh0CX9ih8KL2VSdaWj0UGn4MX RG5hQUZHEchWudWuYLu3IJCy1yq0qv5tZ7SW4roDsuR59M7Hu4LkItQpgJ53SRQtFueMfiDp0ypR 0RQzhST91vduBtHiDTjn7G10qYFom9rvUXQJNhB9TKv/wIamiqxK+8NFDx43ev20PRz+yYc9osr1 i8NZmWRacLy9vb6ZN6+s2r3V4Xxq6YKNVVV1e1YnHRB7a0FtdkrdzhsrdWwLEGsCuyQ575zGpgAQ PbCV6dB/CSgdhpjyIF4IKBe35WtoLfFZsEA8UalNXOb+ZRxqWxgwhhTmAVSy3deI9WEkfwp6yT+D YHBnNOL+Z5B03vvYe83gWEof729O9nUeMa+xoT1+PKKv2+vTuB0iZnTRVMcapWyvkxnEdQB3GmMd v4aDGxXUc817yDzz6/Ezoj9HAqRYjQu23t9Mhh+DggG5U/qKcvYEuEcP1jpRlO3KWjs4spubk2IA q36bVrRXlQ3RmVoiNmuo7GdoyYQ+nYjXuH9EsJ0w3rfmgzoBhyhNg9CVhWmkbsupliXjGJDJpsx0 a1YT6KQ3NYIg8Egvia8TcEtTkoJD1HgPT7OiDUAUAmrcw9XcPM+yk+I94hIeJvBAphIoaNqGHsUE 6BRQ5gx0TgDFu6kFnxSDUuuMQCH6AH6RYM97lI2WBJ5NP+0nszyATBO4D8AN3MFkDDy1IiBodWcH BpLGoVl9k8ssABIQ0LIhhRC+4c9lGcziUphRgsb1nMc4AFaMQaV4WCrcrLjQ0E2ArQ2xcufgL4xg NnbUG3AEAAAAAElFTkSuQmCC Mail-Copies-To: never X-Now-Playing: DJ Rupture & Matt Shadetek's _Solar Light Raft_: "Pulshar - Mr Money Man" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:hxEm5IragRtRlgkX9r4uqPqmx54= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:74384 Archived-At: Julien Danjou writes: > Well I had the same problem with background. I resolved it by inserting > the background overlay with rear-advance. > But actually that's not a good fix since it will never stop advancing… > But I need it to be inserted before so the foregrounds will know what > the background is. Ah, right. Hm... this complicates things somewhat. Like with

foo

bar

the inner thing doesn't know what the background is... However, if we did bind `shr-style', then the inner thing could just look what the current background setting is and do its thing. >> So you'd inherit down into the DOM and pop when you exit. However, >> would that be correct? Er, no, not really. So you'd basically have the >> inline thing, plus the stylesheet, but not endlessly combining inline >> things. > > I am missing the why. :) Well, in this case, the colour renderer is interested in seeing what background is, so it's (sort of) inherited downwards, while a border setting is not. Perhaps we should just special-case the colour settings. -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen