Bug 13228 - background-repeat accepts too many values
Summary: background-repeat accepts too many values
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Minor
Assignee: Nobody
URL: http://www.satzansatz.de/safari/repea...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-30 01:10 PDT by Ingo Chao
Modified: 2007-03-30 01:56 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ingo Chao 2007-03-30 01:10:06 PDT
background-repeat: repeat-x, repeat-y;

Webkit does not drop this wrong declaration. 

One 'row' and one 'column' of the background-image are rendered.
Comment 1 Dave Hyatt 2007-03-30 01:55:58 PDT
See:

http://www.w3.org/TR/2005/WD-css3-background-20050216/#layering

This is CSS3 multiple backgrounds.  The current wording of the draft has the # of layers set to:

N = max(M, R, S, P) [shouldn't it be M instead?]

At least with the current draft, this is not a bug.  You have requested two layers, and the image is being rendered twice (once with repeat-x and once with repeat-y).

There is a note that says "shouldn't it be M instead" in which case this would be a bug, but there are use cases for reusing the same image with different repeat offsets, so I don't expect this to change.