Bug 1889047 - Revise flex container log. r=dholbert
commit9e7e6eacf6138437a100119806db909bc9a18ad6
authorTing-Yu Lin <tlin@mozilla.com>
Wed, 3 Apr 2024 07:24:24 +0000 (3 07:24 +0000)
committerTing-Yu Lin <tlin@mozilla.com>
Wed, 3 Apr 2024 07:24:24 +0000 (3 07:24 +0000)
treee201063991896f542cb119a04dbf954484985562
parent9bfe9985033ab1a198cf6a04fcd68b5594aa36d9
Bug 1889047 - Revise flex container log. r=dholbert

* Add `FLEX_ITEM_LOG` so that the log print starts from "Flex item". Visually,
  this better groups the operations of the same flex item together than those
  "for flex item" at the end of the sentence.
* Make `FLEX_LOGV` indent with two spaces, and change all the `FLEX_LOG` logs
  with indentation to `FLEX_LOGV`.

Differential Revision: https://phabricator.services.mozilla.com/D206319
layout/generic/nsFlexContainerFrame.cpp