[css-flexbox] percentage paddings, again

Hi all,

I'd like to get back to the discussion on whether padding-top/bottom
should resolve relative to width or height. The spec says right now:

"Percentage margins and paddings on flex items are always resolved
against their respective dimensions; unlike blocks, they do not always
resolve against the inline dimension of their containing block."

However, neither IE nor Chrome implement this right now (Firefox does):
http://jsfiddle.net/U5KJH/
(if the two boxes look the same, that part is not implemented)

I don't know of a use case for this difference; it is not clear why
flex items should be different from all other CSS boxes in this
respect. What's more,
https://code.google.com/p/chromium/issues/detail?id=229568#c7 has a
use case for not having this difference.

Considering that two out of three browsers don't implement this, any
chance to get the spec changed?

thanks!
-christian

Received on Wednesday, 16 April 2014 23:05:23 UTC