- From: Simon Fraser <smfr@me.com>
- Date: Mon, 07 Feb 2011 08:47:26 -0800
- To: irfan mir <theirf@gmail.com>
- Cc: www-style@w3.org
On Jan 8, 2011, at 2:36 am, irfan mir wrote:
> Hello CSS working group,
> I was looking through the latest draft for CSS3 images and I was trying to implement and test some of the proposed and drafted features
> I was wondering and hoping if someone could answer a few questions I had after reading the Editor's draft published on the 15th of December, 2010.
>
> In regards to gradients, I could not get them to work in the latest versions of Webkit or Mozilla Firefox.
> Was there an error in my styling:
> .gradientBox{
> background:linear-gradient(#f5f5f5, #d3d3d3);
> }
>
> or are css3 gradients, the non vendor specific version, as introduced in the draft not yet supported by any browser?
WebKit and Firefox still use a vendor prefix on the gradient images, because the spec is in the very early stages. It hasn't even been published as a Working Draft.
> If so, do you have an estimate when it might be supported in common browsers?
Not really.
> And, finally, is there a method or browser I can use to test these new features and others?
Use the vendor prefixes.
> Thanks in Advance & Best Regards,
> Irfan Mir
>
> P.S. The reason why I do not prefer vendor-specific styling is that it is vendor-specific and it does not validate in the W3C's CSS validation test. Speaking of which, would the linear-gradient / radial-gradient validate or not, I am assuming it would not due to its draft status? In other words, does styling have to be out of draft and recommended for use to validate?
I don't know if the validator checks for vendor-prefixed properties.
Simon
Received on Monday, 7 February 2011 16:48:08 UTC