X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=blobdiff_plain;f=WebCore%2FChangeLog-2005-08-23;h=d910ecb3c54e60f0effc718bd11480cca8b9a989;hp=7b6fabdf61e2540bb6d44aaf51cc0518578dd41d;hb=ae6dcab277193e73394618e840aac40e3621e82b;hpb=61bd9d5005113557d8566ea4b0a5950387631089 diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23 index 7b6fabdf61e2..d910ecb3c54e 100644 --- a/WebCore/ChangeLog-2005-08-23 +++ b/WebCore/ChangeLog-2005-08-23 @@ -1,3 +1,23 @@ +2005-01-20 Maciej Stachowiak + + Reviewed by Ken. + + editing needs to insert text before applying typing style + + * khtml/editing/htmlediting.cpp: + (khtml::ApplyStyleCommand::addInlineStyleIfNeeded): Remove a FIXME comment. + (khtml::InsertLineBreakCommand::doApply): Apply style to the BR + node after inserting it. + (khtml::InsertTextCommand::prepareForTextInsertion): Don't try to + apply style to any new nodes created before inserting. + (khtml::InsertTextCommand::input): Apply style to the inserted range + after doing the text insert. + * khtml/editing/htmlediting.h: + + This change leads to improved results on one of the layout tests: + + * layout-tests/editing/inserting/insert-div-024-expected.txt: + === Safari-180 === 2005-01-20 Ken Kocienda