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

Re: Expected behavior of background-clip property on the html element?

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 11 Jan 2011 22:20:10 -0800
Message-ID: <4D2D481A.7080901@inkedblade.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: Boris Zbarsky <bzbarsky@mit.edu>, www-style@w3.org
On 01/10/2011 03:50 PM, Tab Atkins Jr. wrote:
> 2011/1/5 Boris Zbarsky<bzbarsky@mit.edu>:
>>
>> I suspect the key part here is this, from
>> http://www.w3.org/TR/CSS21/colors.html#background :
>>
>>   The background of the root element becomes the background
>>   of the canvas and covers the entire canvas, anchored (for
>>   'background-position') at the same point as it would be if it was
>>   painted only for the root element itself. The root element does
>>   not paint this background again.
>>
>> So the background isn't being painted on the box for the<html>  to start
>> with, hence it would seem that the background-clip of the<html>  box
>> wouldn't apply, unless something somewhere explicitly says otherwise.
>
> Agreed.  The spec explicitly says that the BPA of the root element is
> specially defined.  It could probably use a bit of clarification in
> background-clip, just appending ", and thus background-clip does not
> have any effect when specified on it." to the end of the first
> sentence in that note.

The background-clip property doesn't exist in CSS2.1, so I think it
would be rather incongruous to add such a phrase to the end of that
sentence.

~fantasai
Received on Wednesday, 12 January 2011 06:20:47 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:35 GMT