Bug 127649

Summary: background-position doesn't support "center 50% top"
Product: WebKit Reporter: Dirk Schulze <krit>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: betravis, bjonesbe, rwlbuis, zoltan
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Description Dirk Schulze 2014-01-26 05:20:57 PST
background-position doesn't support "center 50% top".

This is also the case for basic shapes that use the same syntax.
Comment 1 Dirk Schulze 2014-01-26 05:21:58 PST
Ditto for center "50px center 50%".
Comment 2 Dirk Schulze 2014-01-26 05:22:23 PST
(In reply to comment #1)
> Ditto for center "50px center 50%".

Sorry, meant "center 50px center 50%".
Comment 3 Dirk Schulze 2014-01-26 05:27:41 PST
"top 50px", "center 50% top 50%" don't work either
Comment 4 Bear Travis 2014-01-27 09:53:52 PST
Offsets from center are not allowed as part of the background position syntax. See:
http://www.w3.org/TR/css3-background/#the-background-position
Comment 5 Zoltan Horvath 2014-02-07 14:05:21 PST
(In reply to comment #4)
> Offsets from center are not allowed as part of the background position syntax. See:
> http://www.w3.org/TR/css3-background/#the-background-position

That's the point. Closing the bug as invalid.