A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://lists.w3.org/Archives/Public/www-style/2014Apr/0184.html below:

[css-flexbox] percentage paddings, again from Christian Biesinger on 2014-04-16 (www-style@w3.org from April 2014)

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4