- From: Brian Manthos <brianman@microsoft.com>
- Date: Thu, 18 Aug 2011 17:39:15 +0000
- To: Tab Atkins Jr. <jackalmage@gmail.com>
- CC: Øyvind Stenhaug <oyvinds@opera.com>, Alan Gresley <alan@css-class.com>, "www-style@w3.org" <www-style@w3.org>
Shouldn't that be -webkit-initial? If not, please point me to the CR+ spec that defines this keyword. > -----Original Message----- > From: Tab Atkins Jr. [mailto:jackalmage@gmail.com] > Sent: Thursday, August 18, 2011 10:17 AM > To: Brian Manthos > Cc: Øyvind Stenhaug; Alan Gresley; www-style@w3.org > Subject: Re: Splitting background-position in two different attributes > > On Thu, Aug 18, 2011 at 10:00 AM, Brian Manthos > <brianman@microsoft.com> wrote: > > Again, an example... > > background: blue; > > is not equivalent to... > > background-color: blue; > > but rather... > > background-attachment: scroll; > > background-clip: border-box; > > background-color: blue; > > background-image: none; > > background-origin: padding-box; > > background-position: 0% 0%; > > background-repeat: repeat; > > background-size: auto; > > Or, somewhat more simply: > > background-attachment: initial; > background-clip: initial; > background-color: blue; > background-image: initial; > background-origin: initial; > background-position: initial; > background-repeat: initial; > background-size: initial; > > (Same effect, of course. This is what's exposed by the Webkit > Inspector when you expand a shorthand.) > > ~TJ
Received on Thursday, 18 August 2011 17:39:51 UTC