Skip to content
  • mitz@apple.com's avatar
    Reviewed by Darin Adler. · 815ef2f2
    mitz@apple.com authored
            - avoid counting spaces in non-justified text
    
            * rendering/bidi.cpp:
            Removed file-static numSpaces.
            (WebCore::BidiState::addRun): Removed space counting.
            (WebCore::RenderBlock::computeHorizontalPositionsForLine): Added space
            counting, conditional on the block having the text-align: justify
            property value.
            (WebCore::RenderBlock::bidiReorderLine): Removed initialization of
            numSpaces.
    
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@30570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    815ef2f2