parser-lib icon indicating copy to clipboard operation
parser-lib copied to clipboard

Unknown property background-position-x/background-position-y

Open rmilecki opened this issue 10 years ago • 2 comments

It seems parser-lib is unaware of background-position-x and background-position-y which results in a warning:

Unknown property 'background-position-x'. Properties should be known (listed in CSS3 specification) or be a vendor-prefixed property. (known-properties)

Could you fix it?

rmilecki avatar Sep 10 '15 07:09 rmilecki

background-position-x and background-position-y are actually nonstandard, although they apparently have been newly approved for CSS v4. See: http://stackoverflow.com/questions/9653685/is-background-position-x-background-position-y-a-standard-w3c-css-property

cscott avatar Feb 03 '16 21:02 cscott

It's "on standards track", we'll say, but the official spec will be https://drafts.csswg.org/css-backgrounds-4/#background-position-longhands and it currently has big warnings plastered across it: "This spec is not yet ready for implementation. It exists in this repository to record the ideas and promote discussion." and "ISSUE 4: This section is still being worked out. The tricky thing is making all the start/end keywords work sanely." It seems premature to implement this at the current time, and so I've applied the "not in latest official spec" label to this issue for now.

cscott avatar Feb 08 '16 19:02 cscott