- From: Ian Hickson <ian@hixie.ch>
- Date: Thu, 6 Mar 2014 18:17:46 +0000 (UTC)
- To: Rik Cabanier <cabanier@gmail.com>
- Cc: Justin Novosad <junov@google.com>, WHAT Working Group <whatwg@whatwg.org>
On Wed, 5 Mar 2014, Rik Cabanier wrote: > > Testing all browsers (except IE since > document.implementation.createHTMLDocument() doesn't work) they seem to > handle canvas contexts with no browsing context except when you use > text. Chrome crashes, firefox throws an exception and Safari draws the > text with a very small scale [1] The spec actually defines what happens with fonts when you don't have a defined computed style: # If the computed values are undefined for a particular case (e.g. because # the font style source object is not an element or is not being # rendered), then the relative keywords must be interpreted relative to # the normal-weight 10px sans-serif default. This is needed for text rendering in Workers, if nothing else. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 6 March 2014 18:18:53 UTC