Source/core/dom/Text.cpp
// If a whitespace node had no renderer and goes through a recalcStyle it may
// need to create one if the parent style now has white-space: pre.
If a whitespace node had no renderer and goes through a recalcStyle it may
need to create one if the parent style now has white-space: pre.
If a whitespace node had no renderer and goes through a recalcStyle it may need to create one if the parent style now has white - space : pre .
bool Text::needsWhitespaceRenderer()
{
    ASSERT(!renderer());
    if (RenderStyle* style = parentRenderStyle())
        return style->preserveNewline();
    return false;
}
bool Text :: needsWhitespaceRenderer ( ) { ASSERT ( ! renderer ( ) ) ; if ( RenderStyle * style = parentRenderStyle ( ) ) return style -> preserveNewline ( ) ; return false ; }
If a whitespace node had no renderer and goes through a recalcStyle it may
need to create one if the parent style now has white-space: pre.
If a whitespace node had no renderer and goes through a recalcStyle it may need to create one if the parent style now has white - space : pre .