- From: <tao.yu@nokia.com>
- Date: Thu, 20 Jan 2011 15:36:52 +0000
- To: <www-style@w3.org>
Received on Thursday, 20 January 2011 15:37:34 UTC
Hi,
I was looking at the CSS3 Backgrounds & Borders spec for 'background' shorthand property. The <bg-layer> syntax is:
<bg-layer> = <bg-image> || <bg-position> [/ <bg-size>]? || <repeat-style> || <attachment> || <box>{1,2}
My question here is: if <bg-size> is specified (via a forward slash '/'), should it follow a valid <bg-position> immediately?
Two examples (Example XV & XVI) in spec NOT set <bg-size> after <bg-position> immediately, like Example XVI:
E { background: #CCC top left url("metal.jpg") / 100% auto no-repeat}
Is this correct?
Thanks,
-Tao
Received on Thursday, 20 January 2011 15:37:34 UTC