This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 10094 - hello there. if the given context.font string has: "12px/2", shouldnt the evaluated string have "6px"? Otherwise I don't understand what the "/2" means.
Summary: hello there. if the given context.font string has: "12px/2", shouldnt the eva...
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: pre-LC1 HTML Canvas 2D Context (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-06 01:51 UTC by contributor
Modified: 2010-10-05 12:59 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2010-07-06 01:51:41 UTC
Section: http://www.whatwg.org/specs/web-apps/current-work/complete.html#dom-context-2d-font

Comment:
hello there. if the given context.font string has: "12px/2", shouldnt the
evaluated string have "6px"? Otherwise I don't understand what the "/2" means.

Posted from: 68.125.48.81
Comment 1 Simon Pieters 2010-07-06 08:07:43 UTC
/2 is the line-height.

http://www.w3.org/TR/CSS2/fonts.html#font-shorthand