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

RE: BasicTiming011

From: Philippe Le Hegaret <plh@w3.org>
Date: Fri, 24 Apr 2009 11:20:49 -0400
To: Sean Hayes <Sean.Hayes@microsoft.com>
Cc: "public-tt@w3.org" <public-tt@w3.org>
Message-Id: <1240586449.25141.86.camel@localhost>
On Wed, 2009-04-15 at 22:18 +0100, Sean Hayes wrote:
> Thanks Phillipe.
> 
> Yes you are correct, there are more than three lines of content, but cctually the three lines in BasicTiming011 is intended to refer to the fact that the extent of the region is (3em), and as the overflow defaults to hidden; if you can see more than three lines at one time, then the implementation is incorrect.

I fixed the default of overflow in my implementation and I now see 2.5
lines. I looked at why this was the case:

The default value of line-height is normal is defined as a "reasonable"
value based on the value of the font-size, which is recommended to be
something between 1.0 and 1.2 (in order words, 1em to 1.2em). The height
of 3em also refers to the size of the font-size. So, if you want to
guarantee that the third line is completely visible, you should also set
a value for line-height in the test and take it into account for the
height of the region.

Philippe
Received on Friday, 24 April 2009 21:04:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 2 November 2009 22:41:42 GMT