Changeset 53809 in webkit


Ignore:
Timestamp:
Jan 25, 2010 11:20:06 AM (14 years ago)
Author:
dbates@webkit.org
Message:

2010-01-25 Daniel Bates <dbates@webkit.org>

Reviewed by Adam Barth.

https://bugs.webkit.org/show_bug.cgi?id=34073

Fixes misspelled words in comments.

  • accessibility/AccessibilityListBox.cpp: (WebCore::AccessibilityListBox::addChildren): (WebCore::AccessibilityListBox::doAccessibilityHitTest):
  • accessibility/mac/AccessibilityObjectWrapper.mm: (-[AccessibilityObjectWrapper detach]): (AXAttributeStringSetElement):
  • bindings/js/JSDOMBinding.cpp: (WebCore::completeURL):
  • bindings/js/JSDOMWindowBase.cpp:
  • bindings/js/JSDOMWindowBase.h:
  • bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::getOwnPropertySlot):
  • bindings/js/JSSVGPODTypeWrapper.h:
  • bindings/js/ScriptController.cpp: (WebCore::ScriptController::evaluateInWorld):
  • bridge/NP_jsobject.cpp: (_NPN_SetException):
  • bridge/jni/jsc/JavaInstanceJSC.cpp: (JavaInstance::invokeMethod): (JObjectWrapper::JObjectWrapper):
  • bridge/objc/objc_instance.mm: (ObjcInstance::setValueOfUndefinedField): (ObjcInstance::getValueOfUndefinedField):
  • css/CSSFontSelector.cpp: (WebCore::CSSFontSelector::addFontFaceRule):
  • css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::CSSStyleSelector): (WebCore::CSSStyleSelector::sortMatchedRules): (WebCore::CSSStyleSelector::applyDeclarations): (WebCore::CSSStyleSelector::applyProperty):
  • dom/Document.cpp: (WebCore::Document::updateLayoutIgnorePendingStylesheets): (WebCore::Document::detach):
  • dom/Document.h:
  • dom/Element.cpp: (WebCore::Element::updateFocusAppearance):
  • dom/Element.h:
  • dom/MessagePortChannel.h:
  • dom/MouseRelatedEvent.cpp: (WebCore::MouseRelatedEvent::receivedTarget):
  • dom/Node.cpp: (WebCore::Node::isFocusable): (WebCore::Node::shadowAncestorNode):
  • dom/Node.h:
  • dom/Position.cpp: (WebCore::Position::upstream):
  • dom/Position.h:
  • dom/Range.cpp: (WebCore::Range::processContents):
  • dom/StyledElement.cpp: (WebCore::StyledElement::addCSSColor):
  • editing/ApplyStyleCommand.cpp: (WebCore::StyleChange::reconcileTextDecorationProperties): (WebCore::StyleChange::extractTextStyles): (WebCore::prepareEditingStyleToApplyAt):
  • editing/DeleteButtonController.cpp: (WebCore::isDeletableElement):
  • editing/DeleteSelectionCommand.cpp: (WebCore::DeleteSelectionCommand::initializeStartEnd):
  • editing/Editor.cpp: (WebCore::Editor::learnSpelling):
  • inspector/front-end/ConsoleView.js: (WebInspector.ConsoleMessage.prototype._format):
  • loader/Cache.cpp: (WebCore::Cache::pruneLiveResources): (WebCore::Cache::pruneDeadResources):
  • loader/Cache.h:
  • loader/CachedResource.cpp: (WebCore::CachedResource::makePurgeable):
  • loader/CachedResource.h:
  • loader/CachedResourceHandle.h:
  • loader/DocumentLoader.h:
  • loader/FTPDirectoryParser.cpp: (WebCore::parseOneFTPLine):
  • loader/FrameLoader.cpp: (WebCore::FrameLoader::didExplicitOpen):
  • loader/ResourceLoader.cpp: (WebCore::ResourceLoader::didCancel):
  • loader/WorkerThreadableLoader.h:
  • loader/appcache/ApplicationCacheStorage.cpp: (WebCore::ApplicationCacheStorage::spaceNeeded):
  • notifications/NotificationPresenter.h: (WebCore::NotificationPresenter::):
  • page/animation/AnimationController.cpp: (WebCore::AnimationController::updateAnimations):
  • platform/LinkHash.cpp: (WebCore::cleanPath):
  • platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::calculateDrawingMode):
  • platform/graphics/cg/PatternCG.cpp: (WebCore::Pattern::createPlatformPattern):
  • platform/graphics/mac/ComplexTextController.cpp: (WebCore::ComplexTextController::offsetForPosition):
  • platform/graphics/mac/GraphicsLayerCA.h:
  • platform/graphics/mac/GraphicsLayerCA.mm: (WebCore::GraphicsLayerCA::ensureStructuralLayer):
  • platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::doSeek): (WebCore::MediaPlayerPrivate::setClosedCaptionsVisible): (WebCore::MediaPlayerPrivate::hasAvailableVideoFrame):
  • platform/mac/PasteboardMac.mm: (WebCore::Pasteboard::writeSelection): (WebCore::Pasteboard::writePlainText): (WebCore::Pasteboard::writeURL):
  • platform/text/TextCodecICU.cpp: (WebCore::TextCodecICU::registerExtendedEncodingNames):
  • platform/text/TextEncodingDetectorICU.cpp: (WebCore::detectTextEncoding):
  • rendering/AutoTableLayout.cpp: (WebCore::AutoTableLayout::calcEffectiveWidth): (WebCore::AutoTableLayout::layout):
  • rendering/RenderBox.cpp: (WebCore::RenderBox::calcAbsoluteHorizontalValues): (WebCore::RenderBox::calcAbsoluteVerticalValues): (WebCore::RenderBox::calcAbsoluteHorizontalReplaced): (WebCore::RenderBox::calcAbsoluteVerticalReplaced):
  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::scrollByRecursively): (WebCore::RenderLayer::paintLayer): (WebCore::RenderLayer::hitTestLayer):
  • rendering/RenderObject.cpp: (WebCore::RenderObject::destroy):
  • rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::setInnerTextValue):
  • rendering/RenderTheme.cpp: (WebCore::RenderTheme::stateChanged):
  • rendering/SVGRenderSupport.cpp: (WebCore::SVGRenderBase::mapLocalToContainer):
  • rendering/SVGRootInlineBox.cpp: (WebCore::SVGRootInlineBox::buildTextChunks):
  • rendering/TransformState.cpp: (WebCore::TransformState::flattenWithTransform):
  • wml/WMLInputElement.cpp: (WebCore::WMLInputElement::dispatchBlurEvent): (WebCore::WMLInputElement::suggestedValue):
Location:
trunk/WebCore
Files:
62 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r53808 r53809  
     12010-01-25  Daniel Bates  <dbates@webkit.org>
     2
     3        Reviewed by Adam Barth.
     4
     5        https://bugs.webkit.org/show_bug.cgi?id=34073
     6
     7        Fixes misspelled words in comments.
     8
     9        * accessibility/AccessibilityListBox.cpp:
     10        (WebCore::AccessibilityListBox::addChildren):
     11        (WebCore::AccessibilityListBox::doAccessibilityHitTest):
     12        * accessibility/mac/AccessibilityObjectWrapper.mm:
     13        (-[AccessibilityObjectWrapper detach]):
     14        (AXAttributeStringSetElement):
     15        * bindings/js/JSDOMBinding.cpp:
     16        (WebCore::completeURL):
     17        * bindings/js/JSDOMWindowBase.cpp:
     18        * bindings/js/JSDOMWindowBase.h:
     19        * bindings/js/JSDOMWindowCustom.cpp:
     20        (WebCore::JSDOMWindow::getOwnPropertySlot):
     21        * bindings/js/JSSVGPODTypeWrapper.h:
     22        * bindings/js/ScriptController.cpp:
     23        (WebCore::ScriptController::evaluateInWorld):
     24        * bridge/NP_jsobject.cpp:
     25        (_NPN_SetException):
     26        * bridge/jni/jsc/JavaInstanceJSC.cpp:
     27        (JavaInstance::invokeMethod):
     28        (JObjectWrapper::JObjectWrapper):
     29        * bridge/objc/objc_instance.mm:
     30        (ObjcInstance::setValueOfUndefinedField):
     31        (ObjcInstance::getValueOfUndefinedField):
     32        * css/CSSFontSelector.cpp:
     33        (WebCore::CSSFontSelector::addFontFaceRule):
     34        * css/CSSStyleSelector.cpp:
     35        (WebCore::CSSStyleSelector::CSSStyleSelector):
     36        (WebCore::CSSStyleSelector::sortMatchedRules):
     37        (WebCore::CSSStyleSelector::applyDeclarations):
     38        (WebCore::CSSStyleSelector::applyProperty):
     39        * dom/Document.cpp:
     40        (WebCore::Document::updateLayoutIgnorePendingStylesheets):
     41        (WebCore::Document::detach):
     42        * dom/Document.h:
     43        * dom/Element.cpp:
     44        (WebCore::Element::updateFocusAppearance):
     45        * dom/Element.h:
     46        * dom/MessagePortChannel.h:
     47        * dom/MouseRelatedEvent.cpp:
     48        (WebCore::MouseRelatedEvent::receivedTarget):
     49        * dom/Node.cpp:
     50        (WebCore::Node::isFocusable):
     51        (WebCore::Node::shadowAncestorNode):
     52        * dom/Node.h:
     53        * dom/Position.cpp:
     54        (WebCore::Position::upstream):
     55        * dom/Position.h:
     56        * dom/Range.cpp:
     57        (WebCore::Range::processContents):
     58        * dom/StyledElement.cpp:
     59        (WebCore::StyledElement::addCSSColor):
     60        * editing/ApplyStyleCommand.cpp:
     61        (WebCore::StyleChange::reconcileTextDecorationProperties):
     62        (WebCore::StyleChange::extractTextStyles):
     63        (WebCore::prepareEditingStyleToApplyAt):
     64        * editing/DeleteButtonController.cpp:
     65        (WebCore::isDeletableElement):
     66        * editing/DeleteSelectionCommand.cpp:
     67        (WebCore::DeleteSelectionCommand::initializeStartEnd):
     68        * editing/Editor.cpp:
     69        (WebCore::Editor::learnSpelling):
     70        * inspector/front-end/ConsoleView.js:
     71        (WebInspector.ConsoleMessage.prototype._format):
     72        * loader/Cache.cpp:
     73        (WebCore::Cache::pruneLiveResources):
     74        (WebCore::Cache::pruneDeadResources):
     75        * loader/Cache.h:
     76        * loader/CachedResource.cpp:
     77        (WebCore::CachedResource::makePurgeable):
     78        * loader/CachedResource.h:
     79        * loader/CachedResourceHandle.h:
     80        * loader/DocumentLoader.h:
     81        * loader/FTPDirectoryParser.cpp:
     82        (WebCore::parseOneFTPLine):
     83        * loader/FrameLoader.cpp:
     84        (WebCore::FrameLoader::didExplicitOpen):
     85        * loader/ResourceLoader.cpp:
     86        (WebCore::ResourceLoader::didCancel):
     87        * loader/WorkerThreadableLoader.h:
     88        * loader/appcache/ApplicationCacheStorage.cpp:
     89        (WebCore::ApplicationCacheStorage::spaceNeeded):
     90        * notifications/NotificationPresenter.h:
     91        (WebCore::NotificationPresenter::):
     92        * page/animation/AnimationController.cpp:
     93        (WebCore::AnimationController::updateAnimations):
     94        * platform/LinkHash.cpp:
     95        (WebCore::cleanPath):
     96        * platform/graphics/cg/GraphicsContextCG.cpp:
     97        (WebCore::calculateDrawingMode):
     98        * platform/graphics/cg/PatternCG.cpp:
     99        (WebCore::Pattern::createPlatformPattern):
     100        * platform/graphics/mac/ComplexTextController.cpp:
     101        (WebCore::ComplexTextController::offsetForPosition):
     102        * platform/graphics/mac/GraphicsLayerCA.h:
     103        * platform/graphics/mac/GraphicsLayerCA.mm:
     104        (WebCore::GraphicsLayerCA::ensureStructuralLayer):
     105        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
     106        (WebCore::MediaPlayerPrivate::doSeek):
     107        (WebCore::MediaPlayerPrivate::setClosedCaptionsVisible):
     108        (WebCore::MediaPlayerPrivate::hasAvailableVideoFrame):
     109        * platform/mac/PasteboardMac.mm:
     110        (WebCore::Pasteboard::writeSelection):
     111        (WebCore::Pasteboard::writePlainText):
     112        (WebCore::Pasteboard::writeURL):
     113        * platform/text/TextCodecICU.cpp:
     114        (WebCore::TextCodecICU::registerExtendedEncodingNames):
     115        * platform/text/TextEncodingDetectorICU.cpp:
     116        (WebCore::detectTextEncoding):
     117        * rendering/AutoTableLayout.cpp:
     118        (WebCore::AutoTableLayout::calcEffectiveWidth):
     119        (WebCore::AutoTableLayout::layout):
     120        * rendering/RenderBox.cpp:
     121        (WebCore::RenderBox::calcAbsoluteHorizontalValues):
     122        (WebCore::RenderBox::calcAbsoluteVerticalValues):
     123        (WebCore::RenderBox::calcAbsoluteHorizontalReplaced):
     124        (WebCore::RenderBox::calcAbsoluteVerticalReplaced):
     125        * rendering/RenderLayer.cpp:
     126        (WebCore::RenderLayer::scrollByRecursively):
     127        (WebCore::RenderLayer::paintLayer):
     128        (WebCore::RenderLayer::hitTestLayer):
     129        * rendering/RenderObject.cpp:
     130        (WebCore::RenderObject::destroy):
     131        * rendering/RenderTextControl.cpp:
     132        (WebCore::RenderTextControl::setInnerTextValue):
     133        * rendering/RenderTheme.cpp:
     134        (WebCore::RenderTheme::stateChanged):
     135        * rendering/SVGRenderSupport.cpp:
     136        (WebCore::SVGRenderBase::mapLocalToContainer):
     137        * rendering/SVGRootInlineBox.cpp:
     138        (WebCore::SVGRootInlineBox::buildTextChunks):
     139        * rendering/TransformState.cpp:
     140        (WebCore::TransformState::flattenWithTransform):
     141        * wml/WMLInputElement.cpp:
     142        (WebCore::WMLInputElement::dispatchBlurEvent):
     143        (WebCore::WMLInputElement::suggestedValue):
     144
    11452010-01-25  Geoffrey Garen  <ggaren@apple.com>
    2146
  • trunk/WebCore/accessibility/AccessibilityListBox.cpp

    r50444 r53809  
    7979    for (unsigned i = 0; i < length; i++) {
    8080        // The cast to HTMLElement below is safe because the only other possible listItem type
    81         // would be a WMLElement, but WML builds don't use accessbility features at all.
     81        // would be a WMLElement, but WML builds don't use accessibility features at all.
    8282        AccessibilityObject* listOption = listBoxOptionAccessibilityObject(static_cast<HTMLElement*>(listItems[i]));
    8383        if (listOption)
     
    171171        IntRect rect = toRenderListBox(m_renderer)->itemBoundingBoxRect(parentRect.x(), parentRect.y(), i);
    172172        // The cast to HTMLElement below is safe because the only other possible listItem type
    173         // would be a WMLElement, but WML builds don't use accessbility features at all.
     173        // would be a WMLElement, but WML builds don't use accessibility features at all.
    174174        if (rect.contains(point))
    175175            return listBoxOptionAccessibilityObject(static_cast<HTMLElement*>(listItems[i]));
  • trunk/WebCore/accessibility/mac/AccessibilityObjectWrapper.mm

    r52994 r53809  
    193193{
    194194    // Send unregisterUniqueIdForUIElement unconditionally because if it is
    195     // ever accidently not done (via other bugs in our AX implementation) you
     195    // ever accidentally not done (via other bugs in our AX implementation) you
    196196    // end up with a crash like <rdar://problem/4273149>.  It is safe and not
    197197    // expensive to send even if the object is not registered.
     
    439439{
    440440    if (object && object->isAccessibilityRenderObject()) {
    441         // make a serialiazable AX object
     441        // make a serializable AX object
    442442       
    443443        RenderObject* renderer = static_cast<AccessibilityRenderObject*>(object)->renderer();
  • trunk/WebCore/bindings/js/JSDOMBinding.cpp

    r53808 r53809  
    782782KURL completeURL(ExecState* exec, const String& relativeURL)
    783783{
    784     // For histoical reasons, we need to complete the URL using the dynamic frame.
     784    // For historical reasons, we need to complete the URL using the dynamic frame.
    785785    Frame* frame = toDynamicFrame(exec);
    786786    if (!frame)
  • trunk/WebCore/bindings/js/JSDOMWindowBase.cpp

    r53785 r53809  
    172172}
    173173
    174 // JSDOMGlobalObject* is ignored, accesing a window in any context will
     174// JSDOMGlobalObject* is ignored, accessing a window in any context will
    175175// use that DOMWindow's prototype chain.
    176176JSValue toJS(ExecState* exec, JSDOMGlobalObject*, DOMWindow* domWindow)
  • trunk/WebCore/bindings/js/JSDOMWindowBase.h

    r51512 r53809  
    9393
    9494    // Returns a JSDOMWindow or jsNull()
    95     // JSDOMGlobalObject* is ignored, accesing a window in any context will
     95    // JSDOMGlobalObject* is ignored, accessing a window in any context will
    9696    // use that DOMWindow's prototype chain.
    9797    JSC::JSValue toJS(JSC::ExecState*, JSDOMGlobalObject*, DOMWindow*);
  • trunk/WebCore/bindings/js/JSDOMWindowCustom.cpp

    r53706 r53809  
    268268    }
    269269
    270     // FIXME: Search the whole frame hierachy somewhere around here.
     270    // FIXME: Search the whole frame hierarchy somewhere around here.
    271271    // We need to test the correct priority order.
    272272
  • trunk/WebCore/bindings/js/JSSVGPODTypeWrapper.h

    r53666 r53809  
    5050// passed around as const reference. SVG DOM demands these objects to be "live", changes to any
    5151// of the writable attributes of SVGMatrix need to be reflected in the object which exposed the
    52 // SVGMatrix object (ie. 'someElement.transform.matrix.a = 50.0', in that case 'SVGTransform').
     52// SVGMatrix object (i.e. 'someElement.transform.matrix.a = 50.0', in that case 'SVGTransform').
    5353// The SVGTransform class stores its "TransformationMatrix m_matrix" object on the stack. If it would
    5454// be stored as pointer we could just build an auto-generated JSSVG* wrapper object around it
     
    115115};
    116116
    117 // Represents a JS wrapper object for SVG POD types (not for SVGAnimated* clases). Any modification to the SVG POD
     117// Represents a JS wrapper object for SVG POD types (not for SVGAnimated* classes). Any modification to the SVG POD
    118118// types don't cause any updates unlike JSSVGDynamicPODTypeWrapper. This class is used for return values (ie. getBBox())
    119 // and for properties where SVG specification explicitely states, that the contents of the POD type are immutable.
     119// and for properties where SVG specification explicitly states, that the contents of the POD type are immutable.
    120120
    121121template<typename PODType>
  • trunk/WebCore/bindings/js/ScriptController.cpp

    r53766 r53809  
    103103
    104104    // evaluate code. Returns the JS return value or 0
    105     // if there was none, an error occured or the type couldn't be converted.
     105    // if there was none, an error occurred or the type couldn't be converted.
    106106
    107107    // inlineCode is true for <a href="javascript:doSomething()">
  • trunk/WebCore/bridge/NP_jsobject.cpp

    r51512 r53809  
    380380void _NPN_SetException(NPObject*, const NPUTF8* message)
    381381{
    382     // Ignorning the NPObject param is consistent with the Mozilla implementation.
     382    // Ignoring the NPObject param is consistent with the Mozilla implementation.
    383383    UString exception(message);
    384384    CInstance::setGlobalException(exception);
  • trunk/WebCore/bridge/jni/jsc/JavaInstanceJSC.cpp

    r53557 r53809  
    153153
    154154    // Try to use the JNI abstraction first, otherwise fall back to
    155     // nornmal JNI.  The JNI dispatch abstraction allows the Java plugin
     155    // normal JNI.  The JNI dispatch abstraction allows the Java plugin
    156156    // to dispatch the call on the appropriate internal VM thread.
    157157    RootObject* rootObject = this->rootObject();
     
    321321    assert(instance);
    322322
    323     // Cache the JNIEnv used to get the global ref for this java instanace.
     323    // Cache the JNIEnv used to get the global ref for this java instance.
    324324    // It'll be used to delete the reference.
    325325    m_env = getJNIEnv();
  • trunk/WebCore/bridge/objc/objc_instance.mm

    r53541 r53809  
    349349
    350350    // This check is not really necessary because NSObject implements
    351     // setValue:forUndefinedKey:, and unfortnately the default implementation
     351    // setValue:forUndefinedKey:, and unfortunately the default implementation
    352352    // throws an exception.
    353353    if ([targetObject respondsToSelector:@selector(setValue:forUndefinedKey:)]){
     
    377377
    378378    // This check is not really necessary because NSObject implements
    379     // valueForUndefinedKey:, and unfortnately the default implementation
     379    // valueForUndefinedKey:, and unfortunately the default implementation
    380380    // throws an exception.
    381381    if ([targetObject respondsToSelector:@selector(valueForUndefinedKey:)]){
  • trunk/WebCore/css/CSSStyleSelector.cpp

    r53709 r53809  
    442442
    443443    if (root)
    444         m_rootDefaultStyle = styleForElement(root, 0, false, true); // dont ref, because the RenderStyle is allocated from global heap
     444        m_rootDefaultStyle = styleForElement(root, 0, false, true); // don't ref, because the RenderStyle is allocated from global heap
    445445
    446446    if (m_rootDefaultStyle && view) {
     
    464464    m_authorStyle = new CSSRuleSet();
    465465   
    466     // Add rules from elments like SVG's <font-face>
     466    // Add rules from elements like SVG's <font-face>
    467467    if (mappedElementSheet)
    468468        m_authorStyle->addRulesFromSheet(mappedElementSheet, *m_medium, this);
     
    760760    }
    761761
    762     // Peform a merge sort for larger lists.
     762    // Perform a merge sort for larger lists.
    763763    unsigned mid = (start + end) / 2;
    764764    sortMatchedRules(start, mid);
     
    28752875                    case CSSPropertyZoom:
    28762876                        // these have to be applied first, because other properties use the computed
    2877                         // values of these porperties.
     2877                        // values of these properties.
    28782878                        first = true;
    28792879                        break;
     
    30403040        if (primitiveValue) {
    30413041            if (primitiveValue->getIdent() == CSSValueWapMarquee) {
    3042                 // Initialize Wap Marquee style
     3042                // Initialize WAP Marquee style
    30433043                m_style->setOverflowX(OMARQUEE);
    30443044                m_style->setOverflowY(OMARQUEE);
  • trunk/WebCore/dom/Document.cpp

    r53607 r53809  
    14681468            // If new nodes have been added or style recalc has been done with style sheets still pending, some nodes
    14691469            // may not have had their real style calculated yet. Normally this gets cleaned when style sheets arrive
    1470             // but here we need up-to-date style immediatly.
     1470            // but here we need up-to-date style immediately.
    14711471            recalcStyle(Force);
    14721472    }
     
    15551555   
    15561556    // This is required, as our Frame might delete itself as soon as it detaches
    1557     // us. However, this violates Node::detach() symantics, as it's never
     1557    // us. However, this violates Node::detach() semantics, as it's never
    15581558    // possible to re-attach. Eventually Document::detach() should be renamed,
    15591559    // or this setting of the frame to 0 could be made explicit in each of the
     
    45474547}
    45484548
    4549 // FF method for accessing the selection added for compatability.
     4549// FF method for accessing the selection added for compatibility.
    45504550DOMSelection* Document::getSelection() const
    45514551{
  • trunk/WebCore/dom/Document.h

    r53595 r53809  
    824824    void cancelFocusAppearanceUpdate();
    825825       
    826     // FF method for accessing the selection added for compatability.
     826    // FF method for accessing the selection added for compatibility.
    827827    DOMSelection* getSelection() const;
    828828   
  • trunk/WebCore/dom/Element.cpp

    r53736 r53809  
    12791279    }
    12801280    // FIXME: I'm not sure all devices will want this off, but this is
    1281     // currently turned off for Andriod.
     1281    // currently turned off for Android.
    12821282#if !ENABLE(DIRECTIONAL_PAD_NAVIGATION)
    12831283    else if (renderer() && !renderer()->isWidget())
  • trunk/WebCore/dom/Element.h

    r53548 r53809  
    7575    DEFINE_ATTRIBUTE_EVENT_LISTENER(submit);
    7676
    77     // These 4 attribute event handler attributes are overrided by HTMLBodyElement
     77    // These four attribute event handler attributes are overridden by HTMLBodyElement
    7878    // and HTMLFrameSetElement to forward to the DOMWindow.
    7979    DEFINE_VIRTUAL_ATTRIBUTE_EVENT_LISTENER(blur);
  • trunk/WebCore/dom/MessagePortChannel.h

    r50464 r53809  
    6363        static PassOwnPtr<MessagePortChannel> create(PassRefPtr<PlatformMessagePortChannel>);
    6464
    65         // Entangles the channel with a port (called when a port has been cloned, after the clone has been marshalled to its new owning thread and is ready to receive messages).
     65        // Entangles the channel with a port (called when a port has been cloned, after the clone has been marshaled to its new owning thread and is ready to receive messages).
    6666        // Returns false if the entanglement failed because the port was closed.
    6767        bool entangleIfOpen(MessagePort*);
  • trunk/WebCore/dom/MouseRelatedEvent.cpp

    r49551 r53809  
    152152
    153153    // Adjust layerX/Y to be relative to the layer.
    154     // FIXME: We're pretty sure this is the wrong defintion of "layer."
     154    // FIXME: We're pretty sure this is the wrong definition of "layer."
    155155    // Our RenderLayer is a more modern concept, and layerX/Y is some
    156156    // other notion about groups of elements (left over from the Netscape 4 days?);
  • trunk/WebCore/dom/Node.cpp

    r53564 r53809  
    850850    else
    851851        // If the node is in a display:none tree it might say it needs style recalc but
    852         // the whole document is atually up to date.
     852        // the whole document is actually up to date.
    853853        ASSERT(!document()->childNeedsStyleRecalc());
    854854   
     
    14681468{
    14691469#if ENABLE(SVG)
    1470     // SVG elements living in a shadow tree only occour when <use> created them.
     1470    // SVG elements living in a shadow tree only occur when <use> created them.
    14711471    // For these cases we do NOT want to return the shadowParentNode() here
    14721472    // but the actual shadow tree element - as main difference to the HTML forms
  • trunk/WebCore/dom/Node.h

    r53690 r53809  
    252252
    253253    // Called by the parser when this element's close tag is reached,
    254     // signalling that all child tags have been parsed and added.
     254    // signaling that all child tags have been parsed and added.
    255255    // This is needed for <applet> and <object> elements, which can't lay themselves out
    256256    // until they know all of their nested <param>s. [Radar 3603191, 4040848].
  • trunk/WebCore/dom/Position.cpp

    r53494 r53809  
    499499        }
    500500
    501         // If we've moved to a position that is visually disinct, return the last saved position. There
     501        // If we've moved to a position that is visually distinct, return the last saved position. There
    502502        // is code below that terminates early if we're *about* to move to a visually distinct position.
    503503        if (endsOfNodeAreVisuallyDistinctPositions(currentNode) && currentNode != boundary)
  • trunk/WebCore/dom/Position.h

    r51522 r53809  
    136136    bool atLastEditingPositionForNode() const;
    137137
    138     // Retuns true if the visually equivalent positions around have different editability
     138    // Returns true if the visually equivalent positions around have different editability
    139139    bool atEditingBoundary() const;
    140140   
  • trunk/WebCore/dom/Range.cpp

    r52388 r53809  
    667667
    668668    // Complex case: Start and end containers are different.
    669     // There are three possiblities here:
     669    // There are three possibilities here:
    670670    // 1. Start container == commonRoot (End container must be a descendant)
    671671    // 2. End container == commonRoot (Start container must be a descendant)
  • trunk/WebCore/dom/StyledElement.cpp

    r52312 r53809  
    347347   
    348348    // we're emulating IEs color parser here. It maps transparent to black, otherwise it tries to build a rgb value
    349     // out of everyhting you put in. The algorithm is experimentally determined, but seems to work for all test cases I have.
     349    // out of everything you put in. The algorithm is experimentally determined, but seems to work for all test cases I have.
    350350   
    351351    // the length of the color value is rounded up to the next
  • trunk/WebCore/editing/ApplyStyleCommand.cpp

    r53680 r53809  
    138138    }
    139139
    140     // If text-decration is set to "none", remove the property because we don't want to add redundant "text-decoration: none".
     140    // If text-decoration is set to "none", remove the property because we don't want to add redundant "text-decoration: none".
    141141    if (textDecoration && !textDecoration->isValueList())
    142142        style->removeProperty(CSSPropertyTextDecoration);
     
    251251                    m_applyFontSize = "7";
    252252            }
    253             // Huge quirk in Microsft Entourage is that they understand CSS font-size, but also write
     253            // Huge quirk in Microsoft Entourage is that they understand CSS font-size, but also write
    254254            // out legacy 1-7 values in font tags (I guess for mailers that are not CSS-savvy at all,
    255255            // like Eudora). Yes, they write out *both*. We need to write out both as well.
     
    452452void prepareEditingStyleToApplyAt(CSSMutableStyleDeclaration* editingStyle, Position pos)
    453453{
    454     // ReplaceSelectionCommand::handleStyleSpans() requiers that this function only removes the editing style.
    455     // If this function was modified in the futureto delete all redundant properties, then add a boolean value to indicate
     454    // ReplaceSelectionCommand::handleStyleSpans() requires that this function only removes the editing style.
     455    // If this function was modified in the future to delete all redundant properties, then add a boolean value to indicate
    456456    // which one of editingStyleAtPosition or computedStyle is called.
    457457    RefPtr<CSSMutableStyleDeclaration> style = editingStyleAtPosition(pos);
  • trunk/WebCore/editing/DeleteButtonController.cpp

    r52312 r53809  
    6767        return false;
    6868
    69     // In general we want to only draw the UI arround object of a certain area, but we still keep the min width/height to
     69    // In general we want to only draw the UI around object of a certain area, but we still keep the min width/height to
    7070    // make sure we don't end up with very thin or very short elements getting the UI.
    7171    const int minimumArea = 2500;
  • trunk/WebCore/editing/DeleteSelectionCommand.cpp

    r53085 r53809  
    122122        end = Position(end.node(), 1);
    123123   
    124     // FIXME: This is only used so that moveParagraphs can avoid the bugs in special element expanion.
     124    // FIXME: This is only used so that moveParagraphs can avoid the bugs in special element expansion.
    125125    if (!m_expandForSpecialElements)
    126126        return;
  • trunk/WebCore/editing/Editor.cpp

    r53068 r53809  
    15031503        return;
    15041504       
    1505     // FIXME: We don't call this on the Mac, and it should remove misppelling markers around the
     1505    // FIXME: We don't call this on the Mac, and it should remove misspelling markers around the
    15061506    // learned word, see <rdar://problem/5396072>.
    15071507
  • trunk/WebCore/inspector/front-end/ConsoleView.js

    r53766 r53809  
    637637    _format: function(parameters)
    638638    {
    639         // This node is used like a Builder. Values are contintually appended onto it.
     639        // This node is used like a Builder. Values are continually appended onto it.
    640640        var formattedResult = document.createElement("span");
    641641        if (!parameters.length)
     
    690690        // Firebug allows both %i and %d for formatting integers.
    691691        formatters.i = formatters.d;
    692         // Support %O to force object formating, instead of the type-based %o formatting.
     692        // Support %O to force object formatting, instead of the type-based %o formatting.
    693693        formatters.O = consoleFormatWrapper(true);
    694694
  • trunk/WebCore/loader/Cache.cpp

    r53292 r53809  
    296296
    297297            // Destroy our decoded data. This will remove us from
    298             // m_liveDecodedResources, and possibly move us to a differnt LRU
     298            // m_liveDecodedResources, and possibly move us to a different LRU
    299299            // list in m_allResources.
    300300            current->destroyDecodedData();
     
    348348            if (!current->hasClients() && !current->isPreloaded() && current->isLoaded()) {
    349349                // Destroy our decoded data. This will remove us from
    350                 // m_liveDecodedResources, and possibly move us to a differnt
     350                // m_liveDecodedResources, and possibly move us to a different
    351351                // LRU list in m_allResources.
    352352                current->destroyDecodedData();
  • trunk/WebCore/loader/Cache.h

    r45891 r53809  
    191191
    192192    // Size-adjusted and popularity-aware LRU list collection for cache objects.  This collection can hold
    193     // more resources than the cached resource map, since it can also hold "stale" muiltiple versions of objects that are
     193    // more resources than the cached resource map, since it can also hold "stale" multiple versions of objects that are
    194194    // waiting to die when the clients referencing them go away.
    195195    Vector<LRUList, 32> m_allResources;
  • trunk/WebCore/loader/CachedResource.cpp

    r52177 r53809  
    432432            return false;
    433433       
    434         // Should not make buffer purgeable if it has refs othen than this since we don't want two copies.
     434        // Should not make buffer purgeable if it has refs other than this since we don't want two copies.
    435435        if (!m_data->hasOneRef())
    436436            return false;
  • trunk/WebCore/loader/CachedResource.h

    r52177 r53809  
    150150    virtual bool schedule() const { return false; }
    151151
    152     // List of acceptable MIME types seperated by ",".
     152    // List of acceptable MIME types separated by ",".
    153153    // A MIME type may contain a wildcard, e.g. "text/*".
    154154    String accept() const { return m_accept; }
  • trunk/WebCore/loader/CachedResourceHandle.h

    r49556 r53809  
    7373    };
    7474
    75     // Don't inline for winscw compiler to prevent the compiler agressively resolving
     75    // Don't inline for winscw compiler to prevent the compiler aggressively resolving
    7676    // the base class of R* when CachedResourceHandler<T>(R*) is inlined.  The bug is
    7777    // reported at: https://xdabug001.ext.nokia.com/bugzilla/show_bug.cgi?id=9812.
  • trunk/WebCore/loader/DocumentLoader.h

    r51644 r53809  
    155155        bool urlForHistoryReflectsFailure() const;
    156156
    157         // These accessors accomodate WebCore's somewhat fickle custom of creating history
     157        // These accessors accommodate WebCore's somewhat fickle custom of creating history
    158158        // items for redirects, but only sometimes. For "source" and "destination",
    159159        // these accessors return the URL that would have been used if a history
  • trunk/WebCore/loader/FTPDirectoryParser.cpp

    r52791 r53809  
    11861186        } /* time/year */
    11871187       
    1188         // there is exacly 1 space between filename and previous token in all
     1188        // there is exactly 1 space between filename and previous token in all
    11891189        // outputs except old Hellsoft
    11901190        if (!isOldHellsoft)
  • trunk/WebCore/loader/FrameLoader.cpp

    r53737 r53809  
    672672    // Prevent window.open(url) -- eg window.open("about:blank") -- from blowing away results
    673673    // from a subsequent window.document.open / window.document.write call.
    674     // Cancelling redirection here works for all cases because document.open
     674    // Canceling redirection here works for all cases because document.open
    675675    // implicitly precedes document.write.
    676676    m_frame->redirectScheduler()->cancel();
  • trunk/WebCore/loader/ResourceLoader.cpp

    r52860 r53809  
    319319    // changes the window location). This is used to prevent both the body
    320320    // of this method and the body of connectionDidFinishLoading: running
    321     // for a single delegate. Cancelling wins.
     321    // for a single delegate. Canceling wins.
    322322    m_cancelled = true;
    323323   
  • trunk/WebCore/loader/WorkerThreadableLoader.h

    r53568 r53809  
    8383        // all cases. All tasks posted from the worker context's thread are ok because
    8484        //    the last task posted always is "mainThreadDestroy", so MainThreadBridge is
    85         //    around for all tasks that use it on the mian thread.
     85        //    around for all tasks that use it on the main thread.
    8686        //
    8787        // case 1. worker.terminate is called.
  • trunk/WebCore/loader/appcache/ApplicationCacheStorage.cpp

    r47907 r53809  
    406406    }
    407407
    408     // The space needed to be freed in order to accomodate the failed cache is
     408    // The space needed to be freed in order to accommodate the failed cache is
    409409    // the size of the failed cache minus any already available free space.
    410410    spaceNeeded = cacheToSave - totalAvailableSize;
  • trunk/WebCore/notifications/NotificationPresenter.h

    r47793 r53809  
    4747    public:
    4848        enum Permission {
    49             PermissionAllowed,     // User has allowed notifications
    50             PermissionNotAllowed,  // User has not yet allowed
    51             PermissionDenied       // User has explictly denied permission
     49            PermissionAllowed, // User has allowed notifications
     50            PermissionNotAllowed, // User has not yet allowed
     51            PermissionDenied // User has explicitly denied permission
    5252        };
    5353
  • trunk/WebCore/page/animation/AnimationController.cpp

    r49633 r53809  
    485485
    486486    if (blendedStyle != newStyle) {
    487         // If the animations/transitions change opacity or transform, we neeed to update
     487        // If the animations/transitions change opacity or transform, we need to update
    488488        // the style to impose the stacking rules. Note that this is also
    489489        // done in CSSStyleSelector::adjustRenderStyle().
  • trunk/WebCore/platform/LinkHash.cpp

    r43052 r53809  
    8282static inline void cleanPath(Vector<UChar, 512>& path)
    8383{
    84     // FIXME: Shold not do this in the query or anchor part.
     84    // FIXME: Should not do this in the query or anchor part.
    8585    int pos;
    8686    while ((pos = findSlashDotDotSlash(path.data(), path.size())) != -1) {
     
    9393    }
    9494
    95     // FIXME: Shold not do this in the query part.
     95    // FIXME: Should not do this in the query part.
    9696    // Set refPos to -2 to mean "I haven't looked for the anchor yet".
    9797    // We don't want to waste a function call on the search for the the anchor
     
    111111    }
    112112
    113     // FIXME: Shold not do this in the query or anchor part.
     113    // FIXME: Should not do this in the query or anchor part.
    114114    while ((pos = findSlashDotSlash(path.data(), path.size())) != -1)
    115115        path.remove(pos, 2);
  • trunk/WebCore/platform/graphics/cg/GraphicsContextCG.cpp

    r53237 r53809  
    499499    } else {
    500500        // Setting mode to kCGPathStroke even if shouldStroke is false. In that case, we return false and mode will not be used,
    501         // but the compiler will not compain about an uninitialized variable.
     501        // but the compiler will not complain about an uninitialized variable.
    502502        mode = kCGPathStroke;
    503503    }
  • trunk/WebCore/platform/graphics/cg/PatternCG.cpp

    r46399 r53809  
    6262    // If FLT_MAX should also be used for xStep or yStep, nothing is rendered. Using fractions of FLT_MAX also
    6363    // result in nothing being rendered.
    64     // INT_MAX is almost correct, but there seems to be some number wrapping occuring making the fill
     64    // INT_MAX is almost correct, but there seems to be some number wrapping occurring making the fill
    6565    // pattern is not filled correctly.
    6666    // To make error of floating point less than 0.5, we use the half of the number of mantissa of float (1 << 22).
  • trunk/WebCore/platform/graphics/mac/ComplexTextController.cpp

    r52067 r53809  
    114114                    hitGlyphEnd = max<CFIndex>(hitGlyphStart, j > 0 ? complexTextRun.indexAt(j - 1) : complexTextRun.stringLength());
    115115
    116                 // FIXME: Instead of dividing the glyph's advance equially between the characters, this
     116                // FIXME: Instead of dividing the glyph's advance equally between the characters, this
    117117                // could use the glyph's "ligature carets". However, there is no Core Text API to get the
    118118                // ligature carets.
  • trunk/WebCore/platform/graphics/mac/GraphicsLayerCA.h

    r53779 r53809  
    318318    void repaintLayerDirtyRects();
    319319
    320     RetainPtr<WebLayer> m_layer;            // The main layer
    321     RetainPtr<CALayer> m_structuralLayer;   // A layer used for structual reasons, like preserves-3d or replica-flattening. Is the parent of m_layer.
    322     RetainPtr<CALayer> m_contentsLayer;     // A layer used for inner content, like image and video
     320    RetainPtr<WebLayer> m_layer; // The main layer
     321    RetainPtr<CALayer> m_structuralLayer; // A layer used for structural reasons, like preserves-3d or replica-flattening. Is the parent of m_layer.
     322    RetainPtr<CALayer> m_contentsLayer; // A layer used for inner content, like image and video
    323323
    324324    // References to clones of our layers, for replicated layers.
  • trunk/WebCore/platform/graphics/mac/GraphicsLayerCA.mm

    r53779 r53809  
    12121212    if (purpose == NoStructuralLayer) {
    12131213        if (m_structuralLayer) {
    1214             // Relace the transformLayer in the parent with this layer.
     1214            // Replace the transformLayer in the parent with this layer.
    12151215            [m_layer.get() removeFromSuperlayer];
    12161216            [[m_structuralLayer.get() superlayer] replaceSublayer:m_structuralLayer.get() with:m_layer.get()];
  • trunk/WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm

    r53792 r53809  
    657657    [m_qtMovie.get() setCurrentTime:qttime];
    658658
    659     // restore playback only if not at end, othewise QTMovie will loop
     659    // restore playback only if not at end, otherwise QTMovie will loop
    660660    float timeAfterSeek = currentTime();
    661661    if (oldRate && timeAfterSeek < duration())
     
    767767#if USE(ACCELERATED_COMPOSITING) && (!defined(BUILDING_ON_TIGER) && !defined(BUILDING_ON_LEOPARD))
    768768    if (closedCaptionsVisible && m_qtVideoLayer) {
    769         // Captions will be rendered upsided down unless we flag the movie as flipped (again). See <rdar://7408440>.
     769        // Captions will be rendered upside down unless we flag the movie as flipped (again). See <rdar://7408440>.
    770770        [m_qtVideoLayer.get() setGeometryFlipped:YES];
    771771    }
     
    10821082    // When using a QTMovieLayer return true as soon as the movie reaches QTMovieLoadStatePlayable
    10831083    // because although we don't *know* when the first frame has decoded, by the time we get and
    1084     // process the notificaiton a frame should have propagated the VisualContext and been set on
     1084    // process the notification a frame should have propagated the VisualContext and been set on
    10851085    // the layer.
    10861086    if (currentRenderingMode() == MediaRenderingMovieLayer)
  • trunk/WebCore/platform/mac/PasteboardMac.mm

    r53442 r53809  
    137137{
    138138    if (!WebArchivePboardType)
    139         Pasteboard::generalPasteboard(); // Initialises pasteboard types
     139        Pasteboard::generalPasteboard(); // Initializes pasteboard types.
    140140    ASSERT(selectedRange);
    141141   
     
    207207{
    208208    if (!WebArchivePboardType)
    209         Pasteboard::generalPasteboard(); // Initialises pasteboard types
     209        Pasteboard::generalPasteboard(); // Initializes pasteboard types.
    210210
    211211    NSArray *types = [NSArray arrayWithObject:NSStringPboardType];
     
    219219{
    220220    if (!WebArchivePboardType)
    221         Pasteboard::generalPasteboard(); // Initialises pasteboard types
     221        Pasteboard::generalPasteboard(); // Initializes pasteboard types.
    222222   
    223223    if (!types) {
  • trunk/WebCore/platform/text/TextCodecICU.cpp

    r44096 r53809  
    8888        UErrorCode error = U_ZERO_ERROR;
    8989        // Try MIME before trying IANA to pick up commonly used names like
    90         // 'EUC-JP' instead of horrendeously long names like
     90        // 'EUC-JP' instead of horrendously long names like
    9191        // 'Extended_UNIX_Code_Packed_Format_for_Japanese'.
    9292        const char* standardName = ucnv_getStandardName(name, "MIME", &error);
  • trunk/WebCore/platform/text/TextEncodingDetectorICU.cpp

    r42027 r53809  
    7070    // 2. 'Emulate' Firefox/IE's non-Universal detectors (e.g.
    7171    // Chinese, Japanese, Russian, Korean and Hebrew) by picking the
    72     // encoding with a highest confidence among the detetctor-specific
     72    // encoding with a highest confidence among the detector-specific
    7373    // limited set of candidate encodings.
    7474    // Below is a partial implementation of the first part of what's outlined
  • trunk/WebCore/rendering/AutoTableLayout.cpp

    r46647 r53809  
    383383                tMaxWidth = max(tMaxWidth, spanMax * 100 * percentScaleFactor / w.rawValue());
    384384
    385                 // all non percent columns in the span get percent vlaues to sum up correctly.
     385                // all non percent columns in the span get percent values to sum up correctly.
    386386                int percentMissing = w.rawValue() - totalPercent;
    387387                float totalWidth = 0;
     
    665665    }
    666666
    667     // if we have overallocated, reduce every cell according to the difference between desired width and minwidth
    668     // this seems to produce to the pixel exaxt results with IE. Wonder is some of this also holds for width distributing.
     667    // If we have overallocated, reduce every cell according to the difference between desired width and minwidth
     668    // this seems to produce to the pixel exact results with IE. Wonder is some of this also holds for width distributing.
    669669    if (available < 0) {
    670670        // Need to reduce cells with the following prioritization:
  • trunk/WebCore/rendering/RenderBox.cpp

    r53663 r53809  
    19411941{
    19421942    // 'left' and 'right' cannot both be 'auto' because one would of been
    1943     // converted to the static postion already
     1943    // converted to the static position already
    19441944    ASSERT(!(left.isAuto() && right.isAuto()));
    19451945
     
    19751975            // Both margins auto, solve for equality
    19761976            if (availableSpace >= 0) {
    1977                 marginLeftValue = availableSpace / 2; // split the diference
     1977                marginLeftValue = availableSpace / 2; // split the difference
    19781978                marginRightValue = availableSpace - marginLeftValue;  // account for odd valued differences
    19791979            } else {
     
    22602260            // Both margins auto, solve for equality
    22612261            // NOTE: This may result in negative values.
    2262             marginTopValue = availableSpace / 2; // split the diference
     2262            marginTopValue = availableSpace / 2; // split the difference
    22632263            marginBottomValue = availableSpace - marginTopValue; // account for odd valued differences
    22642264        } else if (marginTop.isAuto()) {
     
    23382338{
    23392339    // The following is based off of the W3C Working Draft from April 11, 2006 of
    2340     // CSS 2.1: Section 10.3.8 "Absolutly positioned, replaced elements"
     2340    // CSS 2.1: Section 10.3.8 "Absolutely positioned, replaced elements"
    23412341    // <http://www.w3.org/TR/2005/WD-CSS21-20050613/visudet.html#abs-replaced-width>
    23422342    // (block-style-comments in this function correspond to text from the spec and
     
    24292429        int difference = availableSpace - (leftValue + rightValue);
    24302430        if (difference > 0) {
    2431             m_marginLeft = difference / 2; // split the diference
     2431            m_marginLeft = difference / 2; // split the difference
    24322432            m_marginRight = difference - m_marginLeft; // account for odd valued differences
    24332433        } else {
     
    25162516{
    25172517    // The following is based off of the W3C Working Draft from April 11, 2006 of
    2518     // CSS 2.1: Section 10.6.5 "Absolutly positioned, replaced elements"
     2518    // CSS 2.1: Section 10.6.5 "Absolutely positioned, replaced elements"
    25192519    // <http://www.w3.org/TR/2005/WD-CSS21-20050613/visudet.html#abs-replaced-height>
    25202520    // (block-style-comments in this function correspond to text from the spec and
     
    25802580
    25812581    if (marginTop.isAuto() && marginBottom.isAuto()) {
    2582         // 'top' and 'bottom' cannot be 'auto' due to step 2 and 3 combinded.
     2582        // 'top' and 'bottom' cannot be 'auto' due to step 2 and 3 combined.
    25832583        ASSERT(!(top.isAuto() || bottom.isAuto()));
    25842584
  • trunk/WebCore/rendering/RenderLayer.cpp

    r53742 r53809  
    11561156        }
    11571157    } else if (renderer()->view()->frameView()) {
    1158         // If we are here, we were called on a renderer that can be programatically scrolled, but doesn't
     1158        // If we are here, we were called on a renderer that can be programmatically scrolled, but doesn't
    11591159        // have an overflow clip. Which means that it is a document node that can be scrolled.
    11601160        renderer()->view()->frameView()->scrollBy(IntSize(xDelta, yDelta));
     
    22762276    // is done by passing a nil paintingRoot down to our renderer (as if no paintingRoot was ever set).
    22772277    // Else, our renderer tree may or may not contain the painting root, so we pass that root along
    2278     // so it will be tested against as we decend through the renderers.
     2278    // so it will be tested against as we descend through the renderers.
    22792279    RenderObject* paintingRootForRenderer = 0;
    22802280    if (paintingRoot && !renderer()->isDescendantOf(paintingRoot))
     
    26462646    // Next we want to see if the mouse pos is inside the child RenderObjects of the layer.
    26472647    if (fgRect.contains(hitTestPoint) && isSelfPaintingLayer()) {
    2648         // Hit test with a temporary HitTestResult, because we onlyl want to commit to 'result' if we know we're frontmost.
     2648        // Hit test with a temporary HitTestResult, because we only want to commit to 'result' if we know we're frontmost.
    26492649        HitTestResult tempResult(result.point());
    26502650        if (hitTestContents(request, tempResult, layerBounds, hitTestPoint, HitTestDescendants) &&
  • trunk/WebCore/rendering/RenderObject.cpp

    r53797 r53809  
    19611961    // If this renderer is being autoscrolled, stop the autoscroll timer
    19621962   
    1963     // FIXME: RenderObject::destroy should not get called with a renderar whose document
     1963    // FIXME: RenderObject::destroy should not get called with a renderer whose document
    19641964    // has a null frame, so we assert this. However, we don't want release builds to crash which is why we
    19651965    // check that the frame is not null.
  • trunk/WebCore/rendering/RenderTextControl.cpp

    r52632 r53809  
    196196        }
    197197
    198         // We set m_lastChangeWasUserEdit to false since this change was not explicty made by the user (say, via typing on the keyboard), see <rdar://problem/5359921>.
     198        // We set m_lastChangeWasUserEdit to false since this change was not explicitly made by the user (say, via typing on the keyboard), see <rdar://problem/5359921>.
    199199        m_lastChangeWasUserEdit = false;
    200200    }
  • trunk/WebCore/rendering/RenderTheme.cpp

    r52432 r53809  
    598598bool RenderTheme::stateChanged(RenderObject* o, ControlState state) const
    599599{
    600     // Default implementation assumes the controls dont respond to changes in :hover state
     600    // Default implementation assumes the controls don't respond to changes in :hover state
    601601    if (state == HoverState && !supportsHover(o->style()))
    602602        return false;
  • trunk/WebCore/rendering/SVGRenderSupport.cpp

    r53300 r53809  
    7070{
    7171    ASSERT(!fixed); // We should have no fixed content in the SVG rendering tree.
    72     ASSERT(useTransforms); // mapping a point through SVG w/o respecting trasnforms is useless.
     72    ASSERT(useTransforms); // Mapping a point through SVG w/o respecting transforms is useless.
    7373    transformState.applyTransform(object->localToParentTransform());
    7474    object->parent()->mapLocalToContainer(repaintContainer, fixed, useTransforms, transformState);
  • trunk/WebCore/rendering/SVGRootInlineBox.cpp

    r52904 r53809  
    14231423                ASSERT(!info.chunk.boxes.isEmpty());
    14241424
    1425             // Walk string to find out new chunk positions, if existant
     1425            // Walk string to find out new chunk positions, if existent
    14261426            for (unsigned i = 0; i < length; ++i) {
    14271427                ASSERT(info.it != svgChars.end());
  • trunk/WebCore/rendering/TransformState.cpp

    r42174 r53809  
    116116
    117117    // We could throw away m_accumulatedTransform if we wanted to here, but that
    118     // would cause thrash when traversing hierarachies with alternating
     118    // would cause thrash when traversing hierarchies with alternating
    119119    // preserve-3d and flat elements.
    120120    if (m_accumulatedTransform)
Note: See TracChangeset for help on using the changeset viewer.