- From: Brian Manthos <brianman@microsoft.com>
- Date: Tue, 1 Feb 2011 19:57:16 +0000
- To: "L. David Baron" <dbaron@dbaron.org>, Rafal Chlodnicki <rchlodnicki@opera.com>, "www-style@w3.org" <www-style@w3.org>
Internet Explorer 9 Beta and Platform Preview 7 have these implemented. http://ie.microsoft.com/testdrive/info/downloads/Default.html http://ie.microsoft.com/testdrive/info/ReleaseNotes/Default.html Note that those builds do not respect the specification requirement that <bg-size> must be immediately preceded by <bg-position> in the shorthand. It's something we would like to address in future builds. I'm not aware of any other CSS3 background properties parsing issues with those builds. - Brian > -----Original Message----- > From: www-style-request@w3.org [mailto:www-style-request@w3.org] On > Behalf Of L. David Baron > Sent: Tuesday, February 01, 2011 9:30 AM > To: Rafal Chlodnicki > Cc: www-style@w3.org > Subject: Re: Parsing background shorthand > > 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 19:57:52 UTC