Show
Ignore:
Timestamp:
03/30/06 11:28:56 (3 years ago)
Author:
justing
Message:

LayoutTests:

Reviewed by darin


http://bugzilla.opendarwin.org/show_bug.cgi?id=6989
REGRESSION: Plain-text mode needed for contenteditable area used in new text field

  • fast/forms/plaintext-mode-1-expected.txt: Added.
  • fast/forms/plaintext-mode-1.html: Added.
  • fast/forms/plaintext-mode-2-expected.checksum: Added.
  • fast/forms/plaintext-mode-2-expected.png: Added.
  • fast/forms/plaintext-mode-2-expected.txt: Added.
  • fast/forms/plaintext-mode-2.html: Added.

WebCore:

Reviewed by darin


http://bugzilla.opendarwin.org/show_bug.cgi?id=6989
REGRESSION: Plain-text mode needed for contenteditable area used in new text field

  • bridge/mac/WebCoreFrameBridge.h:
  • bridge/mac/WebCoreFrameBridge.mm: (-isSelectionEditable): (-isSelectionRichlyEditable):
  • css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
  • css/CSSValueKeywords.in:
  • css/cssparser.cpp: (WebCore::CSSParser::parseValue):
  • dom/Node.cpp: (WebCore::Node::isContentRichlyEditable):
  • dom/Node.h:
  • editing/EditCommand.cpp: (WebCore::EditCommand::apply):
  • editing/JSEditor.cpp:
  • editing/ReplaceSelectionCommand.cpp: (WebCore::ReplacementFragment::ReplacementFragment): (WebCore::ReplaceSelectionCommand::doApply):
  • editing/Selection.h: (WebCore::Selection::rootEditableElement): (WebCore::Selection::isContentEditable): (WebCore::Selection::isContentRichlyEditable):
  • editing/SelectionController.h: (WebCore::SelectionController::rootEditableElement): (WebCore::SelectionController::isContentEditable): (WebCore::SelectionController::isContentRichlyEditable):
  • html/HTMLElement.cpp: (WebCore::HTMLElement::isContentEditable): (WebCore::HTMLElement::contentEditable): (WebCore::HTMLElement::setContentEditable):
  • rendering/RenderTextField.cpp: (WebCore::RenderTextField::createDivStyle):
  • rendering/render_style.h: (WebCore::):

WebKit:

Reviewed by darin


http://bugzilla.opendarwin.org/show_bug.cgi?id=6989
REGRESSION: Plain-text mode needed for contenteditable area used in new text field

  • WebView/WebHTMLView.m: (-[WebHTMLView _canEditRichly]): Added. (-[WebHTMLView _canIncreaseSelectionListLevel]): Use _canEditRichly (-[WebHTMLView _canDecreaseSelectionListLevel]): Ditto. (-[WebHTMLView _increaseSelectionListLevel]): (-[WebHTMLView _decreaseSelectionListLevel]): (-[NSArray validateUserInterfaceItem:]): Split rich text editing actions off from ones that can be applied anywhere. (-[NSArray _applyStyleToSelection:withUndoAction:]): (-[NSArray _applyParagraphStyleToSelection:withUndoAction:]): (-[NSArray _alignSelectionUsingCSSValue:withUndoAction:]):
  • WebView/WebHTMLViewPrivate.h:
Files:
1 modified

Legend:

Unmodified
Added
Removed