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

canvas text: line-height and getting .font

From: Simon Pieters <simonp@opera.com>
Date: Tue, 21 Jul 2009 09:09:46 +0200
To: "public-html@w3.org" <public-html@w3.org>
Message-ID: <op.uxeoukodidj3kv@zcorpandell.linkoping.osa>
"The font DOM attribute, on setting, must be parsed the same way as the  
'font' property of CSS ... with the 'line-height' component forced to  
On getting, the font attribute must return the serialized form of the  
current font of the context. [CSSOM]"

What does forcing line-height to normal mean for getting?


ctx.font='15px/2 serif';

should it alert '15px/2 serif' or '15px serif' (or something else)?

Simon Pieters
Opera Software
Received on Tuesday, 21 July 2009 07:10:32 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:15:48 UTC