- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 31 Jul 2009 23:02:02 +0000 (UTC)
- To: Simon Pieters <simonp@opera.com>
- Cc: "public-html@w3.org" <public-html@w3.org>
On Tue, 21 Jul 2009, Simon Pieters wrote: > > "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 'normal'. > ... > 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? > > Consider > > ctx.font='15px/2 serif'; > alert(ctx.font); > > should it alert '15px/2 serif' or '15px serif' (or something else)? "15px serif". I've tried to make it clearer. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 31 July 2009 23:02:37 UTC