Bug 127649 - background-position doesn't support "center 50% top"
Summary: background-position doesn't support "center 50% top"
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-26 05:20 PST by Dirk Schulze
Modified: 2014-02-07 14:05 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.