- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Fri, 23 Nov 2012 08:57:27 -0800
- To: Dirk Schulze <dschulze@adobe.com>
- Cc: "www-style@w3.org list" <www-style@w3.org>
On Fri, Nov 23, 2012 at 7:47 AM, Dirk Schulze <dschulze@adobe.com> wrote: > The current syntax of the shorthand requires browsers to bound the two property values for background-clip and background-origin[1]: > > <bg-layer> = <bg-image> || <position> [ / <bg-size> ]? || <repeat-style> || <attachment> || <box>{1,2} > > Making a short test, it seems that most browsers (with exception of FF) support to have a different order[2]: > > background: border-box none content-box; > > The browser stay consistent with the wording: "If two values are present, then the first sets ‘background-origin’ and the second ‘background-clip’." > > Should css3-backgrounds be lees restrictive? If IE, Opera, and WebKit all do it, then it seems reasonable to relax the grammar. ~TJ
Received on Friday, 23 November 2012 16:58:18 UTC