Re: hit testing and retained graphics

On 7/1/2011 12:02 AM, Henri Sivonen wrote:
> On Wed, 2011-06-29 at 14:23 +0000, Blessing, Kimberly wrote:
>> Consumer electronics manufacturers are buying in to HTML5 and my
>> understanding is that canvas could be used to render not just the
>> on-screen guides
> <canvas>  seems like a terrible tool for that job compared to HTML text
> styled using CSS. Why would CE manufacturers want to render on-screen
> guides using<canvas>?
>
They might render the background of the onscreen guides, or various 
image effects,
then overlay the onscreen guides using something else.

As far as things go: Canvas is a reasonably simple API. It can be 
implemented
with far less cost than SVG or CSS2.1. That's a good reason for 
independent manufacturers
to consider using only a subset of HTML5 to get things done.

It's also less resource-intensive than SVG/CSS, as it does not require 
specialized
scene graphs. In that sense, it can be programmed much like one programs 
assembly
language when targeting resource constrained environments.

Does that give you some information as to why a company might decide to 
limit
themselves to only a subset of standard web specs ?

-Charles

Received on Friday, 1 July 2011 19:14:58 UTC