- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 1 Feb 2011 09:29:53 -0800
- To: Rafal Chlodnicki <rchlodnicki@opera.com>
- Cc: www-style@w3.org
On Tuesday 2011-02-01 12:48 +0100, Rafal Chlodnicki wrote: > Spec ( http://www.w3.org/TR/css3-background/#the-background ) gives > few examples for background shorthand that do not work in neither > Opera, Firefox or Chrome: > > 40% url("chess.png") / 10em gray round fixed border-box > #CCC top left url("metal.jpg") / 100% auto no-repeat > > Syntax of shorthand is defined as: > > <final-bg-layer> = <bg-image> || <bg-position> [ / <bg-size> ]? || > <repeat-style> || <attachment> || <box>{1,2} || <'background-color'> > > Both of these examples have bg-position placed before bg-image and > then only after bg-image they specify "/ bg-size". That looks wrong > to me (and to tested browsers). > > If I move bg-position to be located before "/ bg-size" then it works > in Opera but still doesn't work in Chrome and Firefox. > > Are we dealing with bad examples + incomplete implementations or I'm > doing something wrong? Firefox hasn't yet implemented the additions to the background shorthand in css3-background; the syntax currently in the editor's draft has not reached Candidate Recommendation (CR), declaring it ready for unprefixed implementation, though I expect it will reach CR relatively soon. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/
Received on Tuesday, 1 February 2011 17:30:38 UTC