Reviewed by Hyatt
authorkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Oct 2004 23:51:47 +0000 (23:51 +0000)
committerkocienda <kocienda@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 14 Oct 2004 23:51:47 +0000 (23:51 +0000)
commitf8a87a436107bab968dea63c917f80780e247b8f
treecbcf779106f9afcec8c84a5cdecc5b33aafcc84c
parentda86df0b123fb82e3601c053b340ef3617fb557e
    Reviewed by Hyatt

        * khtml/rendering/bidi.cpp:
        (khtml::skipNonBreakingSpace): New helper.
        (khtml::RenderBlock::skipWhitespace): Do not skip non-breaking spaces that are
        at the start of a block. This was preventing users from typing spaces in empty
        documents.
        * layout-tests/editing/inserting/insert-space-in-empty-doc-expected.txt: Added.
        * layout-tests/editing/inserting/insert-space-in-empty-doc.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@7841 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/editing/inserting/insert-space-in-empty-doc-expected.txt [new file with mode: 0644]
LayoutTests/editing/inserting/insert-space-in-empty-doc.html [new file with mode: 0644]
WebCore/ChangeLog-2005-08-23
WebCore/khtml/rendering/bidi.cpp
WebCore/khtml/rendering/render_block.h