W3C home > Mailing lists > Public > www-style@w3.org > April 2016

Re: [css-backgrounds][css-masking] background-position as a shorthand for x and y

From: L. David Baron <dbaron@dbaron.org>
Date: Thu, 28 Apr 2016 13:22:22 -0700
To: Greg Whitworth <gwhit@microsoft.com>
Cc: www-style list <www-style@w3.org>
Message-ID: <20160428202222.GA9619@pescadero.dbaron.org>
On Sunday 2015-08-02 23:47 +0000, Greg Whitworth wrote:
> We would like to standardize background-position-x and background-position-y which is currently supported by Blink, Webkit, Trident and Edge. This would need for the spec to reference background-position as a shorthand for the longhands of background-position-x and background-position-y, also the addition of these longhands.
> 
> Here is a simple testcase: http://jsbin.com/wabewoxibe/edit?html,css,output

Gecko is implementing these as well, and also for mask-position-x/y.

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Thursday, 28 April 2016 20:22:52 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:02 UTC