(no bug) clarify a code comment about flexbox layout. (comment-only, DONTBUILD)

This commit is contained in:
Daniel Holbert 2013-11-23 23:55:27 -08:00
parent 5a56056193
commit 41073e8f62

View File

@ -1393,8 +1393,8 @@ nsFlexContainerFrame::ResolveFlexibleLengths(
PR_LOG(GetFlexContainerLog(), PR_LOG_DEBUG,
(" available free space = %d\n", availableFreeSpace));
// If sign of free space matches flexType, give each flexible
// item a portion of availableFreeSpace.
// If sign of free space matches the type of flexing that we're doing, give
// each flexible item a portion of availableFreeSpace.
if ((availableFreeSpace > 0 && havePositiveFreeSpace) ||
(availableFreeSpace < 0 && !havePositiveFreeSpace)) {