W3C home > Mailing lists > Public > www-style@w3.org > April 2011

Re: [css21] background-color of canvas

From: Anton Prowse <prowse@moonhenge.net>
Date: Thu, 07 Apr 2011 22:02:53 +0200
Message-ID: <4D9E186D.2040403@moonhenge.net>
To: www-style@w3.org
CC: Jack Smiley <zxcv_890@hotmail.com>
On 07/04/2011 21:23, Jack Smiley wrote:
> How is the color of the canvas determined when the colors of the html
> and body elements are not specified?

As I understand it, the canvas is transparent in such a situation, and 
the chrome of the browser shows through (which commonly used to be gray, 
but in modern browsers seems to be white).  Hence it's UA-dependent, as 
you suggested.

Anton Prowse
Received on Thursday, 7 April 2011 20:03:23 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:45 UTC