- From: Marat Tanalin <mtanalin@yandex.ru>
- Date: Thu, 10 Apr 2014 22:08:19 +0400
- To: Tab Atkins Jr. <jackalmage@gmail.com>, www-style list <www-style@w3.org>
10.04.2014, 04:41, "Tab Atkins Jr." <jackalmage@gmail.com>: > Could we go ahead and add the *-x/y longhands to the appropriate > background-* properties? šI know that background-position-x/y are > already supported by several impls, and background-repeat-x/y are > supported by WK/Blink at least. > > For context, we have a bug with code ready to make our support for > background-repeat-x/y (inherited from proprietary webkit support) more > robust and normal: <https://codereview.chromium.org/231153003>. > > At minimum it's those two properties, though others could be expanded > out as well if necessary. > > As far as I know, our current plans for handling logical-direction > background stuff are compatible with still adding physical-direction > longhands, since we'll likely do it by adding logical-direction > longhands too (background-position-inline/block, etc), plus some way > of deciding which set of positions to pay attention to. The already-implemented `background-position-x/-y` and some possible non-implemented `-x/-y` properties should probably be considered separately. ======================== background-position-x/-y ======================== `background-position-x/-y` had two interoperable nonprefixed implementations (IE & WebKit) for years. Now we have three implementations (IE, WebKit, Blink) and 4 of 5 major browsers supporting `background-position-x/-y` (IE, Chrome, Safari, Opera 15+). The only reason why Firefox still does not support `background-position-x/-y` properties is that they are formally nonstandard (see http://bugzil.la/550426 ). `background-position-x/-y` should just be finally standardized. Better late than never. =============================== Other possible -x/-y properties =============================== As for other possible `-x/-y` properties, at least `margin-x/-y`, `padding-x/-y`, `border-x/-y` would indeed be welcome.
Received on Thursday, 10 April 2014 18:08:50 UTC