зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1174003 late-breaking followup: remove obsolete comment about flex align-self:baseline behavior. (no review, comment-only, DONTBUILD)
There's been a clarification to the spec text that this comment was worried about: https://github.com/w3c/csswg-drafts/issues/2316 And with that clarification, this comment is no longer applicable.
This commit is contained in:
Родитель
fffbf4515b
Коммит
c090d777c6
|
@ -1875,8 +1875,6 @@ FlexItem::FlexItem(ReflowInput& aFlexItemReflowInput,
|
|||
// with special cases elsewhere.
|
||||
// We are treating this case as one where it is appropriate to use the
|
||||
// fallback values defined at https://www.w3.org/TR/css-align/#baseline-values
|
||||
// XXXdholbert That spec text actually says to fall back to 'start'/'end',
|
||||
// not 'flex-start'/'flex-end'... Probably sort this out in bug 1207698.
|
||||
if (!IsBlockAxisCrossAxis()) {
|
||||
if (mAlignSelf == NS_STYLE_ALIGN_BASELINE) {
|
||||
mAlignSelf = NS_STYLE_ALIGN_FLEX_START;
|
||||
|
|
Загрузка…
Ссылка в новой задаче