W3C home > Mailing lists > Public > public-html@w3.org > April 2009

Re: Rendering section issues

From: Ian Hickson <ian@hixie.ch>
Date: Sun, 26 Apr 2009 23:34:34 +0000 (UTC)
To: John-Mark Bell <jmb@netsurf-browser.org>
Cc: public-html@w3.org
Message-ID: <Pine.LNX.4.62.0904262330520.10370@hixie.dreamhostps.com>
On Mon, 23 Mar 2009, John-Mark Bell wrote:
>
> I've just had a quick read through the rendering chapter and spotted the 
> following:
> 
> 1) In the Alignment section, table[align=abdmiddle] probably wants to
>    read table[absmiddle].

Fixed, thanks.


> 2) The font @size parsing algorithm has a couple of issues.
> 
>    Firstly, "value" is never defined. I assume that the second sentence 
>    of step 8 should read "Let value be the resulting number".

Fixed.


>    Secondly, step 9 fails for relative-minus. For example, the current 
>    wording results in <font size=-1> computing an absolute size of -2, 
>    instead of 2. The correct formulation should be something like:
> 
>    if (relative_plus)
>      value = 3 + value;
>    else if (relative_minus)
>      value = 3 - value;

Fixed.


Thanks!!

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Sunday, 26 April 2009 23:35:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 29 September 2014 09:39:02 UTC