From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Straubinger Newsgroups: gmane.emacs.devel Subject: Re: W3 and CSS measurements of "em" Date: Mon, 19 Mar 2007 14:56:43 +0100 (CET) Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1174339378 19699 80.91.229.12 (19 Mar 2007 21:22:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2007 21:22:58 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 19 22:22:51 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HTPJa-00018D-QV for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2007 22:22:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTPL4-0008Oe-Ub for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2007 16:24:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTINT-0003XU-W4 for emacs-devel@gnu.org; Mon, 19 Mar 2007 09:58:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTINS-0003XE-8x for emacs-devel@gnu.org; Mon, 19 Mar 2007 09:58:23 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTINR-0003X9-VL for emacs-devel@gnu.org; Mon, 19 Mar 2007 08:58:22 -0500 Original-Received: from smtpde02.sap-ag.de ([155.56.68.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTILz-0006I3-2T for emacs-devel@gnu.org; Mon, 19 Mar 2007 09:56:51 -0400 Original-Received: from sap-ag.de (smtpde02) by smtpde02.sap-ag.de (out) with ESMTP id PAA19037 for ; Mon, 19 Mar 2007 15:56:43 +0200 (MESZ) X-Mailer: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 X-Url-From: http://lists.gnu.org/mailman/listinfo/emacs-devel X-SAP: out X-detected-kernel: Solaris 8 (1) X-Mailman-Approved-At: Mon, 19 Mar 2007 17:24:16 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:68121 Archived-At: Magnus Henoch wrote: > "T. V. Raman" writes: > >> This is possibly due to changes in Emacs 22 in the last few >> months --- I'm not the best to debug this since it took me a few >> months to even notice:-) > > A change in W3 on 15th of December last year, actually. The change had been proposed by me, to correct way too large font sizes. > I've posted about this to the w3-dev list, to find out whether that > change should be reverted. I tried to answer there, but my mail never appeared on the list of archived messages, so I try here. I still think my proposed change is a step in the right direction. It has to be extended, though. 1.) The function css-expand-length should return always a number in the same unit of measurement. The percentage cases still calculate pixels, not points as the other cases. 2.) The callers of this function expect different units of measurement: css-split-font-shorthand expects point values, css-expand-value expects characters(?). These usages should be aligned, for example by using an extra parameter in css-expand-length to indicate in which unit of measurement the return value has to be calculated. -- Klaus Straubinger