Previous Message
Next Message

Safari background-position, mixing lenght values and keywords

Sent by Philippe Wittenbergh on 12 March 2005 14:02


On 12 Mar 2005, at 9:56 pm, John Lewis wrote:

>> Is this correct?
>> background-position: 0.5em bottom;
>
> Yes. CSS 2.1 says "Combinations of keyword, length and percentage 
> values are allowed..."
> <http://www.w3.org/TR/CSS21/colors.html#propdef-background-position>
>
>> but Safari neglects it (won't show the image at all) unless I try
>> background-position: 0.5em 100%;
>
> That sounds like a bug.

Safari follows the css 2.0 specs here
<http://www.w3.org/TR/REC-CSS2/colors.html#propdef-background-position>
"Keywords cannot be combined with percentage values or length values 
(all possible combinations are given above)"

I wouldn't label it as a bug. Remember, CSS2.1 is still not a Rec.
Philippe
---/---
Philippe Wittenbergh
now live : <http://emps.l-c-n.com/>
code | design | web projects : <http://www.l-c-n.com/>
IE5 Mac bugs and oddities : <http://www.l-c-n.com/IE5tests/>

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: