Bug 13228

Summary: background-repeat accepts too many values
Product: WebKit Reporter: Ingo Chao <info>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Minor    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
URL: http://www.satzansatz.de/safari/repeatxrepeaty.html

Ingo Chao
Reported 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.
Attachments
Dave Hyatt
Comment 1 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.
Note You need to log in before you can comment on or make changes to this bug.