There are a few places in layout code where we have something like > for (int32_t i = aIndent; --i >= 0; ) fputs(" ", out); // Indent but we generally use the utility method nsFrame::IndentBy() to accomplish this in one centralized implementation. I suspect the hardcoded-fputs-loops predate IndentBy(), and they were never switched over. Filing this bug on replacing the fputs-loops with IndentBy() calls.
Created attachment 669231 [details] [diff] [review] fix
Comment on attachment 669231 [details] [diff] [review] fix r=me