- From: Dirk Schulze <dschulze@adobe.com>
- Date: Fri, 23 Nov 2012 07:47:59 -0800
- To: "www-style@w3.org list" <www-style@w3.org>
Hi,
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?
Greetings,
Dirk
[1] http://www.w3.org/TR/css3-background/#the-background
[2] http://jsfiddle.net/WbWSF/
Received on Friday, 23 November 2012 15:48:29 UTC