WebKit-https.git
15 years ago * PublicHeaderChangesFromTiger.txt:
sullivan [Mon, 1 Aug 2005 21:31:05 +0000 (21:31 +0000)]
    * PublicHeaderChangesFromTiger.txt:
        added a comment about isTextField -> _isTextField

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10000 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix bugzilla bug 4219, crash because we tried to do the fake paint
hyatt [Mon, 1 Aug 2005 21:23:42 +0000 (21:23 +0000)]
Fix bugzilla bug 4219, crash because we tried to do the fake paint
when layout was not updated yet.

Also landing accessibility for checkboxes.

        Reviewed by darin/mjs (accessibility), kocienda(crash)

        * ChangeLog:
        * khtml/rendering/render_theme.h:
        (khtml::RenderTheme::supportsControlTints):
        * kwq/KWQAccObject.mm:
        (-[KWQAccObject actionElement]):
        (-[KWQAccObject role]):
        (-[KWQAccObject roleDescription]):
        (-[KWQAccObject value]):
        (boundingBoxRect):
        (-[KWQAccObject accessibilityIsIgnored]):
        (-[KWQAccObject accessibilityAttributeValue:]):
        (-[KWQAccObject accessibilityIsAttributeSettable:]):
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::setDisplaysWithFocusAttributes):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9999 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Trey Matteson <trey@usa.net>
sullivan [Mon, 1 Aug 2005 21:19:42 +0000 (21:19 +0000)]
    Patch by Trey Matteson <trey@usa.net>
        Reviewed by me.

        Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4255
          underlines still print too thick

        The real problem here is that we have code that scales a 0 width line to always
        be width=1.0 in device space.  I'm leaving that in for the screen, but when printing
        a width of 0.5 looks good.

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (-[WebTextRenderer drawLineForCharacters:yOffset:width:color:thickness:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9998 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4211
eseidel [Mon, 1 Aug 2005 19:11:20 +0000 (19:11 +0000)]
Bug #: 4211
Submitted by: eseidel
Reviewed by: darin
        * WebCoreSupport.subproj/WebGraphicsBridge.m:
        removed create*ColorSpace methods, now using CG API directly.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4211

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9997 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Trey Matteson <trey@usa.net>
sullivan [Mon, 1 Aug 2005 17:50:35 +0000 (17:50 +0000)]
    Patch by Trey Matteson <trey@usa.net>
        Reviewed by me.

        Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4014
          PDF files by default load with a poor choice of sizing

        For now the various PDF viewing settings are sticky, stored in 2 new defaults.  Since
        there are a number of ways these settings are changed, I made a proxy for the PDFView
        through which all view changing messages are sent.  The proxy adds the behavior of
        updating the defaults upon any change.

        * Misc.subproj/WebNSDictionaryExtras.h:
        * Misc.subproj/WebNSDictionaryExtras.m:
        (-[NSMutableDictionary _webkit_setFloat:forKey:]):  New support method.
        * WebView.subproj/WebPDFView.h:
        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView initWithFrame:]):  Create proxy for PDFView.
        (-[WebPDFView dealloc]):  Free proxy.
        (-[WebPDFView _menuItemsFromPDFKitForEvent:]):  For relevant context menu items, set the
            target to the proxy instead of the PDFView.
        (-[WebPDFView _readPDFDefaults]):  Init PDFView with settings from defaults.
        (-[WebPDFView layout]):  Call _readPDFDefaults, once.  This turned out to be the best hook.
        (-[WebPDFView _makeTextSmaller:]):  Change PDFView via proxy
        (-[WebPDFView _makeTextLarger:]):  Ditto
        (-[WebPDFView _makeTextStandardSize:]):  Ditto
        (-[PDFPrefUpdatingProxy initWithView:]):  trivial
        (-[PDFPrefUpdatingProxy forwardInvocation:]):  Forward the msg, then update defaults
        (-[PDFPrefUpdatingProxy methodSignatureForSelector:]):  Simple forwarding support.
        * WebView.subproj/WebPreferenceKeysPrivate.h:
        * WebView.subproj/WebPreferences.m:
        (+[WebPreferences initialize]):  Set initial values for new PDF viewing defaults.
        (-[WebPreferences _integerValueForKey:]):  Nuke stray comment.
        (-[WebPreferences _floatValueForKey:]):  New simple support method.
        (-[WebPreferences _setFloatValue:forKey:]):  Ditto.
        (-[WebPreferences PDFScaleFactor]):  4 accessors for new defaults
        (-[WebPreferences setPDFScaleFactor:]):
        (-[WebPreferences PDFDisplayMode]):
        (-[WebPreferences setPDFDisplayMode:]):
        * WebView.subproj/WebPreferencesPrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9996 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Trey Matteson <trey@usa.net>
justing [Mon, 1 Aug 2005 16:19:49 +0000 (16:19 +0000)]
    Patch by Trey Matteson <trey@usa.net>

        Reviewed by Maciej.

        Fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=4226>
          link underlines print too thickly

        Reinstate the fix made by sullivan on 1/11/05.  There was a merge
        error with an mjs fix on 1/13/05.

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (-[WebTextRenderer drawLineForCharacters:yOffset:width:color:thickness:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9995 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Beth Dakin.
sullivan [Mon, 1 Aug 2005 16:12:03 +0000 (16:12 +0000)]
    Reviewed by Beth Dakin.

        Test cases added: none, this only affects Safari forms autofill

        Moved the recently-added isTextField method out of the public DOMExtensions.h
        and into the private DOMPrivate.h for now, and renamed it with a leading
        underscore. We want to make some sort of public API that covers this, but not
        necessarily this exact method, so we'll leave it out of the public API until we've
        thought about this more.

        * kwq/DOMExtensions.h:
        remove isTextField
        * kwq/DOMPrivate.h:
        add _isTextField. Also added some #imports that make this file more standalone.
        * kwq/DOMHTML.mm:
        (-[DOMHTMLInputElement _isTextField]):
        moved this method and added leading underscore.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9994 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4211
eseidel [Mon, 1 Aug 2005 09:06:33 +0000 (09:06 +0000)]
Bug #: 4211
Submitted by: eseidel
Reviewed by: darin
        * kcanvas/device/quartz/KCanvasItemQuartz.mm:
        (getSharedContext): moved from QPainter -> CG
        * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
        (CGShadingRefForLinearGradient): removed comment
        (CGShadingRefForRadialGradient): removed comment
        * khtml/ecma/kjs_html.cpp:
        (KJS::KJS::Context2DFunction::call): moved from QPainter -> CG
        (KJS::colorRefFromValue): moved from QPainter -> CG
        (KJS::Gradient::getShading): moved from QPainter -> CG
        * khtml/rendering/render_canvasimage.cpp:
        (RenderCanvasImage::createDrawingContext):moved from QPainter -> CG
        * kwq/KWQColor.mm:
        (CGColorFromNSColor): moved from QPainter -> CG
        * kwq/KWQPainter.h: removed colorspace calls
        * kwq/KWQPainter.mm: removed colorspace calls
        (QPainter::clearFocusRing): moved from QPainter -> CG
        Removed use of WebKitGraphicsBridge Colorspace SPIs, as well
        as corresponding QPainter colorspace "choke-point" methods.
        This fixes colors for WebCore+SVG (since it wasn't linking in
        webkit).  WebKit code removal in separate commit.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4211

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9993 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Maciej.
darin [Mon, 1 Aug 2005 05:02:13 +0000 (05:02 +0000)]
    Reviewed by Maciej.

        - remove uses of Mac-OS-X-specific MAX macro
        - remove one of the many excess "APPLE_CHANGES" ifdefs

        * kjs/collector.cpp: (KJS::Collector::allocate): Use std::max instead of MAX.
        * kjs/property_map.cpp: (KJS::PropertyMap::rehash): Ditto.
        * kjs/ustring.cpp:
        (KJS::UChar::toLower): Take out non-ICU code path.
        (KJS::UChar::toUpper): Ditto.
        (KJS::UString::spliceSubstringsWithSeparators): Use std::max instead of MAX.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9992 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Maciej.
darin [Mon, 1 Aug 2005 04:31:58 +0000 (04:31 +0000)]
    Reviewed by Maciej.

        - remove uses of Mac-OS-X-specific MAX macro in non-Mac-OS-X-specific code

        * khtml/misc/arena.cpp: (ArenaAllocate): Use std::max instead of MAX.
        * khtml/misc/loader.cpp: (Cache::setSize): Use kMax instead of MAX.
        * khtml/rendering/render_form.cpp:
        (RenderLineEdit::setSelectionStart): Ditto.
        (RenderLineEdit::setSelectionEnd): Ditto.
        (RenderLineEdit::setSelectionRange): Ditto.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9991 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoNo editor working
hyatt [Mon, 1 Aug 2005 03:25:29 +0000 (03:25 +0000)]
No editor working

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9990 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by mjs
justing [Mon, 1 Aug 2005 03:20:49 +0000 (03:20 +0000)]
    Reviewed by mjs

        Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3359> Crash on hover with certain styles on the text applied

        If a zero length render object (such as a text node that has been set to "") occured at the
        end of a line, it was previously given a non-zero sized run.  Iteration over such a node would cause
        a crash.

        Test cases added:
        * layout-tests/traversal/size-zero-run-expected.txt: Added.
        * layout-tests/traversal/size-zero-run.html: Added.

        * khtml/rendering/bidi.cpp:
        (khtml::appendRun):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9989 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - a little tools cleanup
darin [Mon, 1 Aug 2005 01:58:04 +0000 (01:58 +0000)]
    - a little tools cleanup

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
        project as a whole. Removed unused Default configuration.

        * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9988 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoUpdate results for change in DumpRenderTree tool to log editing
darin [Mon, 1 Aug 2005 01:56:01 +0000 (01:56 +0000)]
Update results for change in DumpRenderTree tool to log editing
delegate method calls.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9986 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed and landed by Darin Adler.
darin [Mon, 1 Aug 2005 01:55:19 +0000 (01:55 +0000)]
    Reviewed and landed by Darin Adler.

        Add logging of editing delegate calls for regression checking.

        * DumpRenderTree/DumpRenderTree.m:
        (main):
          setup editing delegate

        (-[DOMNode dumpPath]):
        (-[DOMRange dump]):
          utility for editing delegate logging

        (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
        (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
        (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
        (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
        (-[EditingDelegate webView:shouldDeleteDOMRange:]):
        (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
        (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
        (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
        (-[EditingDelegate webViewDidBeginEditing:]):
        (-[EditingDelegate webViewDidChange:]):
        (-[EditingDelegate webViewDidEndEditing:]):
        (-[EditingDelegate webViewDidChangeTypingStyle:]):
          log corresponding editing delegate methods

        (-[EditingDelegate webViewDidChangeSelection:]):
          log selection except when clearing selection after end of test (uses existing "done" flag)

        (dumpRenderTree):
          added clearing of selection after test

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9984 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4208
eseidel [Sun, 31 Jul 2005 20:02:33 +0000 (20:02 +0000)]
Bug #: 4208
Submitted by: eseidel
Reviewed by: hyatt
        * Scripts/build-drawtest: Added.
        * Scripts/build-svg2png: Added.
        * Scripts/build-webcore-svg: Added.
        * Scripts/run-drawtest: Added.
        * Scripts/webkitdirs.pm: added checkSVGFrameworks
        Made it much easier to build WebCore+SVG.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4208

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9983 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4234
eseidel [Sun, 31 Jul 2005 19:51:24 +0000 (19:51 +0000)]
Bug #: 4234
Submitted by: eseidel
Reviewed by: hyatt
        * WebCore-svg.exp: Added.
        * WebCore.xcodeproj/project.pbxproj: Uses WebCore+SVG.exp
        * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
        (KCanvasFEFloodQuartz::getCIFilter): Fixed longjmp warning.
        * kdom/css/impl/CSSStyleSelector.cpp:
        (CSSStyleSelector::applyRule): Fixed "un-initialized" warning.
        * kdom/ecma/DOMLookup.h: Removed <iostream>
        * ksvg2/impl/svgpathparser.cpp: Removed <iostream>
        Several fixes required to make Deployment style builds
        compile correctly.  Also WebCore-svg.exp symbols were added
        both when generating WebCore-combined.exp as well as for
        generating a new WebCore+SVG.exp export file for the Deployment
        style builds, allowing DrawTest to link properly.
        A few other small warnings were caught and fixed.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4234

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9982 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoEditor still broken.
hyatt [Sun, 31 Jul 2005 01:08:13 +0000 (01:08 +0000)]
Editor still broken.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9981 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed and landed by Darin Adler.
darin [Sat, 30 Jul 2005 21:19:46 +0000 (21:19 +0000)]
    Reviewed and landed by Darin Adler.

- Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3893>

        Test cases added:
* layout-tests/fast/dom/css-dom-read-2.html: Added.
* layout-tests/fast/dom/css-dom-read-2-expected.txt: Added.

        * khtml/css/css_computedstyle.cpp:
        (DOM::CSSComputedStyleDeclarationImpl::cssText):
Implement.

        (DOM::CSSComputedStyleDeclarationImpl::item):
Return the item name, not its value.

        * khtml/css/css_ruleimpl.cpp:
        (CSSImportRuleImpl::cssText):
        (CSSMediaRuleImpl::cssText):
        (CSSStyleRuleImpl::cssText):
        * khtml/css/css_ruleimpl.h:
Implement.

        * khtml/css/css_stylesheetimpl.cpp:
        (MediaListImpl::mediaText):
Don't put a trailing comma after lists.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9980 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - rolled back a test that has been failing since we rolled back the <script...
darin [Sat, 30 Jul 2005 20:42:03 +0000 (20:42 +0000)]
    - rolled back a test that has been failing since we rolled back the <script/> quirk

        * layout-tests/fast/tokenizer/script_extra_close-expected.txt: Updated.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9979 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by me, change by Dave Hyatt.
darin [Sat, 30 Jul 2005 20:27:56 +0000 (20:27 +0000)]
    Reviewed by me, change by Dave Hyatt.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4221
          REGRESSION: Elements act as if in :hover meta-class during page load although they aren't

        * khtml/xml/dom_nodeimpl.cpp: (DOM::NodeImpl::NodeImpl): Initialize m_hovered to false.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9978 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Missing bits of last checkin...
mjs [Sat, 30 Jul 2005 09:05:04 +0000 (09:05 +0000)]
    Missing bits of last checkin...

        * WebCore.exp:
        * WebCore.xcodeproj/project.pbxproj:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9977 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Build fixes for previous change (missing includes)
mjs [Sat, 30 Jul 2005 08:38:00 +0000 (08:38 +0000)]
    Build fixes for previous change (missing includes)

        * WebView.subproj/WebFrame.m:
        * WebView.subproj/WebScriptDebugDelegate.m:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9975 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFix build bustage.
hyatt [Sat, 30 Jul 2005 07:20:09 +0000 (07:20 +0000)]
Fix build bustage.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9974 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
mjs [Sat, 30 Jul 2005 03:00:33 +0000 (03:00 +0000)]
WebCore:

        Changes by Michael Kahl, reviewed by me.

        Test cases added: No tests, this code only affects debugging.

- fixed <rdar://problem/4164112> MASTER: JavaScript debugging support

        * kwq/WebCoreScriptDebugger.h: Added.
        * kwq/WebCoreScriptDebugger.mm: Added.
        (toNSString):
        (WebCoreScriptDebuggerImp::WebCoreScriptDebuggerImp):
        (WebCoreScriptDebuggerImp::sourceParsed):
        (WebCoreScriptDebuggerImp::callEvent):
        (WebCoreScriptDebuggerImp::atStatement):
        (WebCoreScriptDebuggerImp::returnEvent):
        (-[WebCoreScriptDebugger initWithDelegate:]):
        (-[WebCoreScriptDebugger dealloc]):
        (-[WebCoreScriptDebugger delegate]):
        (-[WebCoreScriptCallFrame _initWithGlobalObject:caller:state:]):
        (-[WebCoreScriptCallFrame _setWrapper:]):
        (-[WebCoreScriptCallFrame _convertValueToObjcValue:]):
        (-[WebCoreScriptCallFrame dealloc]):
        (-[WebCoreScriptCallFrame wrapper]):
        (-[WebCoreScriptCallFrame caller]):
        (-[WebCoreScriptCallFrame scopeChain]):
        (-[WebCoreScriptCallFrame functionName]):
        (-[WebCoreScriptCallFrame exception]):
        (-[WebCoreScriptCallFrame evaluateWebScript:]):

WebKit:

        Changes by Michael Kahl, reviewed by me.

- fixed <rdar://problem/4164112> MASTER: JavaScript debugging support

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge windowObjectCleared]):
        * WebCoreSupport.subproj/WebSubresourceLoader.m:
        * WebKit.xcodeproj/project.pbxproj:
        * WebView.subproj/WebDefaultScriptDebugDelegate.h: Added.
        * WebView.subproj/WebDefaultScriptDebugDelegate.m: Added.
        (+[WebDefaultScriptDebugDelegate sharedScriptDebugDelegate]):
        (-[WebDefaultScriptDebugDelegate webView:didParseSource:fromURL:sourceId:forWebFrame:]):
        (-[WebDefaultScriptDebugDelegate webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
        (-[WebDefaultScriptDebugDelegate webView:willExecuteStatement:sourceId:line:forWebFrame:]):
        (-[WebDefaultScriptDebugDelegate webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
        * WebView.subproj/WebFrame.m:
        (-[WebFramePrivate dealloc]):
        (-[WebFrame _attachScriptDebugger]):
        * WebView.subproj/WebFramePrivate.h:
        * WebView.subproj/WebScriptDebugDelegate.h: Added.
        * WebView.subproj/WebScriptDebugDelegate.m: Added.
        (-[WebScriptDebugger initWithWebFrame:]):
        (-[WebScriptDebugger dealloc]):
        (-[WebScriptDebugger globalObject]):
        (-[WebScriptDebugger newWrapperForFrame:]):
        (-[WebScriptDebugger parsedSource:fromURL:sourceId:]):
        (-[WebScriptDebugger enteredFrame:sourceId:line:]):
        (-[WebScriptDebugger hitStatement:sourceId:line:]):
        (-[WebScriptDebugger leavingFrame:sourceId:line:]):
        (-[WebScriptCallFrame _initWithFrame:]):
        (-[WebScriptCallFrame dealloc]):
        (-[WebScriptCallFrame setUserInfo:]):
        (-[WebScriptCallFrame userInfo]):
        (-[WebScriptCallFrame caller]):
        (-[WebScriptCallFrame scopeChain]):
        (-[WebScriptCallFrame functionName]):
        (-[WebScriptCallFrame exception]):
        (-[WebScriptCallFrame evaluateWebScript:]):
        * WebView.subproj/WebScriptDebugDelegatePrivate.h: Added.
        * WebView.subproj/WebView.h:
        * WebView.subproj/WebView.m:
        (-[WebViewPrivate dealloc]):
        (-[WebView _scriptDebugDelegateForwarder]):
        (-[WebView setScriptDebugDelegate:]):
        (-[WebView scriptDebugDelegate]):
        * WebView.subproj/WebViewInternal.h:
        * WebView.subproj/WebViewPrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9971 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Dave Hyatt.
mjs [Sat, 30 Jul 2005 02:34:01 +0000 (02:34 +0000)]
    Reviewed by Dave Hyatt.

- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4153

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _purgePageCache]): Find the oldest candidate for
purging that is not a snapback item.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9966 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by hyatt (concept and a few manual parts), large part
mjs [Sat, 30 Jul 2005 02:33:26 +0000 (02:33 +0000)]
    Reviewed by hyatt (concept and a few manual parts), large part
done by script and not really reviewed in detail.

        - changed how HTML tags and attributes are referred to in the code for better readability.

        * khtml/css/cssstyleselector.cpp:
        (khtml::checkPseudoState):
        (khtml::CSSStyleSelector::canShareStyleWithElement):
        (khtml::CSSStyleSelector::adjustRenderStyle):
        (khtml::CSSStyleSelector::checkOneSelector):
        * khtml/css/parser.y:
        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMStyleSheetList::getOwnProperty):
        * khtml/ecma/kjs_dom.cpp:
        (KJS::getRuntimeObject):
        (KJS::DOMNamedNodesCollection::getOwnProperty):
        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLDocument::getOwnProperty):
        (KJS::KJS::HTMLDocument::putValueProperty):
        (KJS::KJS::HTMLElement::classInfo):
        (KJS::HTMLElement::getSetInfo):
        (KJS::KJS::HTMLElement::getOwnProperty):
        (KJS::KJS::HTMLElement::implementsCall):
        (KJS::KJS::HTMLElement::call):
        (KJS::KJS::HTMLElement::hasOwnProperty):
        (KJS::KJS::HTMLElement::toString):
        (KJS::getForm):
        (KJS::KJS::HTMLElement::pushEventHandlerScope):
        (KJS::KJS::HTMLElementFunction::call):
        (KJS::KJS::HTMLElement::put):
        (KJS::toHTMLTableCaptionElement):
        (KJS::toHTMLTableSectionElement):
        (KJS::KJS::HTMLCollection::getOwnProperty):
        (KJS::KJS::HTMLSelectCollection::put):
        * khtml/editing/apply_style_command.cpp:
        (khtml::isStyleSpan):
        (khtml::isEmptyStyleSpan):
        (khtml::isEmptyFontTag):
        (khtml::createFontElement):
        (khtml::createStyleSpanElement):
        (khtml::ApplyStyleCommand::applyRelativeFontStyleChange):
        (khtml::ApplyStyleCommand::applyInlineStyle):
        (khtml::ApplyStyleCommand::isHTMLStyleNode):
        (khtml::ApplyStyleCommand::removeHTMLFontStyle):
        (khtml::ApplyStyleCommand::applyTextDecorationStyle):
        (khtml::ApplyStyleCommand::mergeEndWithNextIfIdentical):
        (khtml::ApplyStyleCommand::addBlockStyleIfNeeded):
        (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
        * khtml/editing/break_blockquote_command.cpp:
        (khtml::BreakBlockquoteCommand::doApply):
        * khtml/editing/composite_edit_command.cpp:
        (khtml::CompositeEditCommand::insertNodeBefore):
        (khtml::CompositeEditCommand::insertNodeAfter):
        (khtml::CompositeEditCommand::findBlockPlaceholder):
        (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
        (khtml::createBlockPlaceholderElement):
        * khtml/editing/delete_selection_command.cpp:
        (khtml::isListStructureNode):
        (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
        (khtml::DeleteSelectionCommand::handleGeneralDelete):
        (khtml::DeleteSelectionCommand::moveNodesAfterNode):
        * khtml/editing/htmlediting.cpp:
        (khtml::isSpecialElement):
        (khtml::createDefaultParagraphElement):
        (khtml::createBreakElement):
        (khtml::isMailBlockquote):
        * khtml/editing/insert_line_break_command.cpp:
        (khtml::InsertLineBreakCommand::doApply):
        * khtml/editing/insert_paragraph_separator_command.cpp:
        (khtml::InsertParagraphSeparatorCommand::doApply):
        * khtml/editing/markup.cpp:
        (khtml::startMarkup):
        (khtml::createMarkup):
        (khtml::createFragmentFromText):
        * khtml/editing/replace_selection_command.cpp:
        (khtml::isProbablyBlock):
        (khtml::isProbablyTableStructureNode):
        (khtml::ReplacementFragment::isInterchangeNewlineNode):
        (khtml::ReplacementFragment::isInterchangeConvertedSpaceSpan):
        (khtml::ReplacementFragment::removeStyleNodes):
        (khtml::ReplaceSelectionCommand::doApply):
        * khtml/editing/visible_position.cpp:
        (khtml::VisiblePosition::init):
        (khtml::VisiblePosition::isCandidate):
        (khtml::VisiblePosition::isAtomicNode):
        * khtml/editing/visible_text.cpp:
        (khtml::TextIterator::handleNonTextNode):
        (khtml::TextIterator::exitNode):
        (khtml::SimplifiedBackwardsTextIterator::handleNonTextNode):
        * khtml/editing/visible_units.cpp:
        (khtml::endOfLine):
        * khtml/html/html_baseimpl.cpp:
        (HTMLBodyElementImpl::HTMLBodyElementImpl):
        (HTMLBodyElementImpl::mapToEntry):
        (HTMLBodyElementImpl::parseMappedAttribute):
        (HTMLBodyElementImpl::insertedIntoDocument):
        (HTMLBodyElementImpl::isURLAttribute):
        (HTMLBodyElementImpl::aLink):
        (HTMLBodyElementImpl::setALink):
        (HTMLBodyElementImpl::background):
        (HTMLBodyElementImpl::setBackground):
        (HTMLBodyElementImpl::bgColor):
        (HTMLBodyElementImpl::setBgColor):
        (HTMLBodyElementImpl::link):
        (HTMLBodyElementImpl::setLink):
        (HTMLBodyElementImpl::text):
        (HTMLBodyElementImpl::setText):
        (HTMLBodyElementImpl::vLink):
        (HTMLBodyElementImpl::setVLink):
        (HTMLFrameElementImpl::HTMLFrameElementImpl):
        (HTMLFrameElementImpl::parseMappedAttribute):
        (HTMLFrameElementImpl::attach):
        (HTMLFrameElementImpl::isURLAttribute):
        (HTMLFrameElementImpl::frameBorder):
        (HTMLFrameElementImpl::setFrameBorder):
        (HTMLFrameElementImpl::longDesc):
        (HTMLFrameElementImpl::setLongDesc):
        (HTMLFrameElementImpl::marginHeight):
        (HTMLFrameElementImpl::setMarginHeight):
        (HTMLFrameElementImpl::marginWidth):
        (HTMLFrameElementImpl::setMarginWidth):
        (HTMLFrameElementImpl::name):
        (HTMLFrameElementImpl::setName):
        (HTMLFrameElementImpl::setNoResize):
        (HTMLFrameElementImpl::scrolling):
        (HTMLFrameElementImpl::setScrolling):
        (HTMLFrameElementImpl::src):
        (HTMLFrameElementImpl::setSrc):
        (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
        (HTMLFrameSetElementImpl::checkDTD):
        (HTMLFrameSetElementImpl::parseMappedAttribute):
        (HTMLFrameSetElementImpl::attach):
        (HTMLFrameSetElementImpl::cols):
        (HTMLFrameSetElementImpl::setCols):
        (HTMLFrameSetElementImpl::rows):
        (HTMLFrameSetElementImpl::setRows):
        (HTMLHeadElementImpl::HTMLHeadElementImpl):
        (HTMLHeadElementImpl::profile):
        (HTMLHeadElementImpl::setProfile):
        (HTMLHeadElementImpl::checkDTD):
        (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
        (HTMLHtmlElementImpl::version):
        (HTMLHtmlElementImpl::setVersion):
        (HTMLHtmlElementImpl::checkDTD):
        (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
        (HTMLIFrameElementImpl::mapToEntry):
        (HTMLIFrameElementImpl::parseMappedAttribute):
        (HTMLIFrameElementImpl::attach):
        (HTMLIFrameElementImpl::isURLAttribute):
        (HTMLIFrameElementImpl::align):
        (HTMLIFrameElementImpl::setAlign):
        (HTMLIFrameElementImpl::height):
        (HTMLIFrameElementImpl::setHeight):
        (HTMLIFrameElementImpl::src):
        (HTMLIFrameElementImpl::width):
        (HTMLIFrameElementImpl::setWidth):
        * khtml/html/html_blockimpl.cpp:
        (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
        (HTMLBlockquoteElementImpl::cite):
        (HTMLBlockquoteElementImpl::setCite):
        (HTMLDivElementImpl::HTMLDivElementImpl):
        (HTMLDivElementImpl::mapToEntry):
        (HTMLDivElementImpl::parseMappedAttribute):
        (HTMLDivElementImpl::align):
        (HTMLDivElementImpl::setAlign):
        (HTMLHRElementImpl::HTMLHRElementImpl):
        (HTMLHRElementImpl::mapToEntry):
        (HTMLHRElementImpl::parseMappedAttribute):
        (HTMLHRElementImpl::align):
        (HTMLHRElementImpl::setAlign):
        (HTMLHRElementImpl::noShade):
        (HTMLHRElementImpl::setNoShade):
        (HTMLHRElementImpl::size):
        (HTMLHRElementImpl::setSize):
        (HTMLHRElementImpl::width):
        (HTMLHRElementImpl::setWidth):
        (HTMLHeadingElementImpl::checkDTD):
        (HTMLHeadingElementImpl::align):
        (HTMLHeadingElementImpl::setAlign):
        (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
        (HTMLParagraphElementImpl::checkDTD):
        (HTMLParagraphElementImpl::mapToEntry):
        (HTMLParagraphElementImpl::parseMappedAttribute):
        (HTMLParagraphElementImpl::align):
        (HTMLParagraphElementImpl::setAlign):
        (HTMLPreElementImpl::width):
        (HTMLPreElementImpl::setWidth):
        (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
        (HTMLMarqueeElementImpl::mapToEntry):
        (HTMLMarqueeElementImpl::parseMappedAttribute):
        * khtml/html/html_canvasimpl.cpp:
        (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
        (HTMLCanvasElementImpl::mapToEntry):
        (HTMLCanvasElementImpl::parseMappedAttribute):
        (HTMLCanvasElementImpl::isURLAttribute):
        * khtml/html/html_documentimpl.cpp:
        (DOM::HTMLDocumentImpl::childAllowed):
        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::endTagRequirement):
        (HTMLElementImpl::tagPriority):
        (HTMLElementImpl::mapToEntry):
        (HTMLElementImpl::parseMappedAttribute):
        (HTMLElementImpl::createContextualFragment):
        (HTMLElementImpl::setInnerText):
        (HTMLElementImpl::setOuterText):
        (HTMLElementImpl::setContentEditable):
        (HTMLElementImpl::id):
        (HTMLElementImpl::setId):
        (HTMLElementImpl::title):
        (HTMLElementImpl::setTitle):
        (HTMLElementImpl::lang):
        (HTMLElementImpl::setLang):
        (HTMLElementImpl::dir):
        (HTMLElementImpl::setDir):
        (HTMLElementImpl::className):
        (HTMLElementImpl::setClassName):
        (HTMLElementImpl::isRecognizedTagName):
        (inlineTagList):
        (blockTagList):
        (HTMLElementImpl::checkDTD):
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLFormElementImpl::HTMLFormElementImpl):
        (DOM::HTMLFormElementImpl::submitClick):
        (DOM::HTMLFormElementImpl::formData):
        (DOM::HTMLFormElementImpl::submit):
        (DOM::HTMLFormElementImpl::parseMappedAttribute):
        (DOM::HTMLFormElementImpl::radioClicked):
        (DOM::HTMLFormElementImpl::isURLAttribute):
        (DOM::HTMLFormElementImpl::name):
        (DOM::HTMLFormElementImpl::setName):
        (DOM::HTMLFormElementImpl::acceptCharset):
        (DOM::HTMLFormElementImpl::setAcceptCharset):
        (DOM::HTMLFormElementImpl::action):
        (DOM::HTMLFormElementImpl::setAction):
        (DOM::HTMLFormElementImpl::setEnctype):
        (DOM::HTMLFormElementImpl::method):
        (DOM::HTMLFormElementImpl::setMethod):
        (DOM::HTMLFormElementImpl::target):
        (DOM::HTMLFormElementImpl::setTarget):
        (DOM::HTMLGenericFormElementImpl::parseMappedAttribute):
        (DOM::HTMLGenericFormElementImpl::getForm):
        (DOM::HTMLGenericFormElementImpl::name):
        (DOM::HTMLGenericFormElementImpl::setName):
        (DOM::HTMLGenericFormElementImpl::setDisabled):
        (DOM::HTMLGenericFormElementImpl::setReadOnly):
        (DOM::HTMLGenericFormElementImpl::tabIndex):
        (DOM::HTMLGenericFormElementImpl::setTabIndex):
        (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
        (DOM::HTMLButtonElementImpl::type):
        (DOM::HTMLButtonElementImpl::parseMappedAttribute):
        (DOM::HTMLButtonElementImpl::accessKey):
        (DOM::HTMLButtonElementImpl::setAccessKey):
        (DOM::HTMLButtonElementImpl::value):
        (DOM::HTMLButtonElementImpl::setValue):
        (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
        (DOM::HTMLFieldSetElementImpl::checkDTD):
        (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
        (DOM::HTMLInputElementImpl::setType):
        (DOM::HTMLInputElementImpl::mapToEntry):
        (DOM::HTMLInputElementImpl::parseMappedAttribute):
        (DOM::HTMLInputElementImpl::attach):
        (DOM::HTMLInputElementImpl::altText):
        (DOM::HTMLInputElementImpl::value):
        (DOM::HTMLInputElementImpl::setValue):
        (DOM::HTMLInputElementImpl::isURLAttribute):
        (DOM::HTMLInputElementImpl::defaultValue):
        (DOM::HTMLInputElementImpl::setDefaultValue):
        (DOM::HTMLInputElementImpl::defaultChecked):
        (DOM::HTMLInputElementImpl::setDefaultChecked):
        (DOM::HTMLInputElementImpl::accept):
        (DOM::HTMLInputElementImpl::setAccept):
        (DOM::HTMLInputElementImpl::accessKey):
        (DOM::HTMLInputElementImpl::setAccessKey):
        (DOM::HTMLInputElementImpl::align):
        (DOM::HTMLInputElementImpl::setAlign):
        (DOM::HTMLInputElementImpl::alt):
        (DOM::HTMLInputElementImpl::setAlt):
        (DOM::HTMLInputElementImpl::setMaxLength):
        (DOM::HTMLInputElementImpl::setSize):
        (DOM::HTMLInputElementImpl::src):
        (DOM::HTMLInputElementImpl::setSrc):
        (DOM::HTMLInputElementImpl::useMap):
        (DOM::HTMLInputElementImpl::setUseMap):
        (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
        (DOM::HTMLLabelElementImpl::parseMappedAttribute):
        (DOM::HTMLLabelElementImpl::formElement):
        (DOM::HTMLLabelElementImpl::form):
        (DOM::HTMLLabelElementImpl::accessKey):
        (DOM::HTMLLabelElementImpl::setAccessKey):
        (DOM::HTMLLabelElementImpl::htmlFor):
        (DOM::HTMLLabelElementImpl::setHtmlFor):
        (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
        (DOM::HTMLLegendElementImpl::accessKey):
        (DOM::HTMLLegendElementImpl::setAccessKey):
        (DOM::HTMLLegendElementImpl::align):
        (DOM::HTMLLegendElementImpl::setAlign):
        (DOM::HTMLLegendElementImpl::formElement):
        (DOM::HTMLSelectElementImpl::HTMLSelectElementImpl):
        (DOM::HTMLSelectElementImpl::checkDTD):
        (DOM::HTMLSelectElementImpl::selectedIndex):
        (DOM::HTMLSelectElementImpl::setSelectedIndex):
        (DOM::HTMLSelectElementImpl::length):
        (DOM::HTMLSelectElementImpl::add):
        (DOM::HTMLSelectElementImpl::value):
        (DOM::HTMLSelectElementImpl::setValue):
        (DOM::HTMLSelectElementImpl::state):
        (DOM::HTMLSelectElementImpl::restoreState):
        (DOM::HTMLSelectElementImpl::parseMappedAttribute):
        (DOM::HTMLSelectElementImpl::appendFormData):
        (DOM::HTMLSelectElementImpl::optionToListIndex):
        (DOM::HTMLSelectElementImpl::listToOptionIndex):
        (DOM::HTMLSelectElementImpl::recalcListItems):
        (DOM::HTMLSelectElementImpl::reset):
        (DOM::HTMLSelectElementImpl::notifyOptionSelected):
        (DOM::HTMLSelectElementImpl::setMultiple):
        (DOM::HTMLSelectElementImpl::setSize):
        (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
        (DOM::HTMLKeygenElementImpl::parseMappedAttribute):
        (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
        (DOM::HTMLOptGroupElementImpl::recalcSelectOptions):
        (DOM::HTMLOptGroupElementImpl::label):
        (DOM::HTMLOptGroupElementImpl::setLabel):
        (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
        (DOM::HTMLOptionElementImpl::text):
        (DOM::HTMLOptionElementImpl::index):
        (DOM::HTMLOptionElementImpl::parseMappedAttribute):
        (DOM::HTMLOptionElementImpl::setValue):
        (DOM::HTMLOptionElementImpl::getSelect):
        (DOM::HTMLOptionElementImpl::defaultSelected):
        (DOM::HTMLOptionElementImpl::setDefaultSelected):
        (DOM::HTMLOptionElementImpl::label):
        (DOM::HTMLOptionElementImpl::setLabel):
        (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
        (DOM::HTMLTextAreaElementImpl::parseMappedAttribute):
        (DOM::HTMLTextAreaElementImpl::accessKey):
        (DOM::HTMLTextAreaElementImpl::setAccessKey):
        (DOM::HTMLTextAreaElementImpl::setCols):
        (DOM::HTMLTextAreaElementImpl::setRows):
        (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
        (DOM::HTMLIsIndexElementImpl::parseMappedAttribute):
        (DOM::HTMLIsIndexElementImpl::prompt):
        (DOM::HTMLIsIndexElementImpl::setPrompt):
        * khtml/html/html_formimpl.h:
        (DOM::HTMLOptGroupElementImpl::checkDTD):
        * khtml/html/html_headimpl.cpp:
        (HTMLBaseElementImpl::HTMLBaseElementImpl):
        (HTMLBaseElementImpl::parseMappedAttribute):
        (HTMLBaseElementImpl::setHref):
        (HTMLBaseElementImpl::setTarget):
        (HTMLLinkElementImpl::HTMLLinkElementImpl):
        (HTMLLinkElementImpl::parseMappedAttribute):
        (HTMLLinkElementImpl::process):
        (HTMLLinkElementImpl::isURLAttribute):
        (HTMLLinkElementImpl::disabled):
        (HTMLLinkElementImpl::setDisabled):
        (HTMLLinkElementImpl::charset):
        (HTMLLinkElementImpl::setCharset):
        (HTMLLinkElementImpl::href):
        (HTMLLinkElementImpl::setHref):
        (HTMLLinkElementImpl::hreflang):
        (HTMLLinkElementImpl::setHreflang):
        (HTMLLinkElementImpl::media):
        (HTMLLinkElementImpl::setMedia):
        (HTMLLinkElementImpl::rel):
        (HTMLLinkElementImpl::setRel):
        (HTMLLinkElementImpl::rev):
        (HTMLLinkElementImpl::setRev):
        (HTMLLinkElementImpl::target):
        (HTMLLinkElementImpl::setTarget):
        (HTMLLinkElementImpl::type):
        (HTMLLinkElementImpl::setType):
        (HTMLMetaElementImpl::HTMLMetaElementImpl):
        (HTMLMetaElementImpl::parseMappedAttribute):
        (HTMLMetaElementImpl::content):
        (HTMLMetaElementImpl::setContent):
        (HTMLMetaElementImpl::httpEquiv):
        (HTMLMetaElementImpl::setHttpEquiv):
        (HTMLMetaElementImpl::name):
        (HTMLMetaElementImpl::setName):
        (HTMLMetaElementImpl::scheme):
        (HTMLMetaElementImpl::setScheme):
        (HTMLScriptElementImpl::HTMLScriptElementImpl):
        (HTMLScriptElementImpl::isURLAttribute):
        (HTMLScriptElementImpl::insertedIntoDocument):
        (HTMLScriptElementImpl::charset):
        (HTMLScriptElementImpl::setCharset):
        (HTMLScriptElementImpl::defer):
        (HTMLScriptElementImpl::setDefer):
        (HTMLScriptElementImpl::src):
        (HTMLScriptElementImpl::setSrc):
        (HTMLScriptElementImpl::type):
        (HTMLScriptElementImpl::setType):
        (HTMLStyleElementImpl::HTMLStyleElementImpl):
        (HTMLStyleElementImpl::parseMappedAttribute):
        (HTMLStyleElementImpl::disabled):
        (HTMLStyleElementImpl::setDisabled):
        (HTMLStyleElementImpl::media):
        (HTMLStyleElementImpl::setMedia):
        (HTMLStyleElementImpl::type):
        (HTMLStyleElementImpl::setType):
        (HTMLTitleElementImpl::HTMLTitleElementImpl):
        * khtml/html/html_imageimpl.cpp:
        (HTMLImageLoader::updateFromElement):
        (HTMLImageElementImpl::HTMLImageElementImpl):
        (HTMLImageElementImpl::mapToEntry):
        (HTMLImageElementImpl::parseMappedAttribute):
        (HTMLImageElementImpl::altText):
        (HTMLImageElementImpl::width):
        (HTMLImageElementImpl::height):
        (HTMLImageElementImpl::isURLAttribute):
        (HTMLImageElementImpl::name):
        (HTMLImageElementImpl::setName):
        (HTMLImageElementImpl::align):
        (HTMLImageElementImpl::setAlign):
        (HTMLImageElementImpl::alt):
        (HTMLImageElementImpl::setAlt):
        (HTMLImageElementImpl::border):
        (HTMLImageElementImpl::setBorder):
        (HTMLImageElementImpl::setHeight):
        (HTMLImageElementImpl::hspace):
        (HTMLImageElementImpl::setHspace):
        (HTMLImageElementImpl::isMap):
        (HTMLImageElementImpl::setIsMap):
        (HTMLImageElementImpl::longDesc):
        (HTMLImageElementImpl::setLongDesc):
        (HTMLImageElementImpl::src):
        (HTMLImageElementImpl::setSrc):
        (HTMLImageElementImpl::useMap):
        (HTMLImageElementImpl::setUseMap):
        (HTMLImageElementImpl::vspace):
        (HTMLImageElementImpl::setVspace):
        (HTMLImageElementImpl::setWidth):
        (HTMLMapElementImpl::HTMLMapElementImpl):
        (HTMLMapElementImpl::checkDTD):
        (HTMLMapElementImpl::mapMouseEvent):
        (HTMLMapElementImpl::parseMappedAttribute):
        (HTMLMapElementImpl::name):
        (HTMLMapElementImpl::setName):
        (HTMLAreaElementImpl::HTMLAreaElementImpl):
        (HTMLAreaElementImpl::parseMappedAttribute):
        (HTMLAreaElementImpl::accessKey):
        (HTMLAreaElementImpl::setAccessKey):
        (HTMLAreaElementImpl::alt):
        (HTMLAreaElementImpl::setAlt):
        (HTMLAreaElementImpl::coords):
        (HTMLAreaElementImpl::setCoords):
        (HTMLAreaElementImpl::href):
        (HTMLAreaElementImpl::setHref):
        (HTMLAreaElementImpl::noHref):
        (HTMLAreaElementImpl::setNoHref):
        (HTMLAreaElementImpl::shape):
        (HTMLAreaElementImpl::setShape):
        (HTMLAreaElementImpl::tabIndex):
        (HTMLAreaElementImpl::setTabIndex):
        (HTMLAreaElementImpl::target):
        (HTMLAreaElementImpl::setTarget):
        * khtml/html/html_inlineimpl.cpp:
        (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
        (DOM::HTMLAnchorElementImpl::defaultEventHandler):
        (DOM::HTMLAnchorElementImpl::parseMappedAttribute):
        (DOM::HTMLAnchorElementImpl::isURLAttribute):
        (DOM::HTMLAnchorElementImpl::accessKey):
        (DOM::HTMLAnchorElementImpl::setAccessKey):
        (DOM::HTMLAnchorElementImpl::charset):
        (DOM::HTMLAnchorElementImpl::setCharset):
        (DOM::HTMLAnchorElementImpl::coords):
        (DOM::HTMLAnchorElementImpl::setCoords):
        (DOM::HTMLAnchorElementImpl::href):
        (DOM::HTMLAnchorElementImpl::setHref):
        (DOM::HTMLAnchorElementImpl::hreflang):
        (DOM::HTMLAnchorElementImpl::setHreflang):
        (DOM::HTMLAnchorElementImpl::name):
        (DOM::HTMLAnchorElementImpl::setName):
        (DOM::HTMLAnchorElementImpl::rel):
        (DOM::HTMLAnchorElementImpl::setRel):
        (DOM::HTMLAnchorElementImpl::rev):
        (DOM::HTMLAnchorElementImpl::setRev):
        (DOM::HTMLAnchorElementImpl::shape):
        (DOM::HTMLAnchorElementImpl::setShape):
        (DOM::HTMLAnchorElementImpl::tabIndex):
        (DOM::HTMLAnchorElementImpl::setTabIndex):
        (DOM::HTMLAnchorElementImpl::target):
        (DOM::HTMLAnchorElementImpl::setTarget):
        (DOM::HTMLAnchorElementImpl::type):
        (DOM::HTMLAnchorElementImpl::setType):
        (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
        (DOM::HTMLBRElementImpl::mapToEntry):
        (DOM::HTMLBRElementImpl::parseMappedAttribute):
        (DOM::HTMLBRElementImpl::clear):
        (DOM::HTMLBRElementImpl::setClear):
        (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
        (DOM::HTMLFontElementImpl::mapToEntry):
        (DOM::HTMLFontElementImpl::parseMappedAttribute):
        (DOM::HTMLFontElementImpl::color):
        (DOM::HTMLFontElementImpl::setColor):
        (DOM::HTMLFontElementImpl::face):
        (DOM::HTMLFontElementImpl::setFace):
        (DOM::HTMLFontElementImpl::size):
        (DOM::HTMLFontElementImpl::setSize):
        (DOM::HTMLModElementImpl::cite):
        (DOM::HTMLModElementImpl::setCite):
        (DOM::HTMLModElementImpl::dateTime):
        (DOM::HTMLModElementImpl::setDateTime):
        (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
        (DOM::HTMLQuoteElementImpl::cite):
        (DOM::HTMLQuoteElementImpl::setCite):
        * khtml/html/html_listimpl.cpp:
        (DOM::HTMLUListElementImpl::mapToEntry):
        (DOM::HTMLUListElementImpl::parseMappedAttribute):
        (DOM::HTMLUListElementImpl::compact):
        (DOM::HTMLUListElementImpl::setCompact):
        (DOM::HTMLUListElementImpl::type):
        (DOM::HTMLUListElementImpl::setType):
        (DOM::HTMLDirectoryElementImpl::compact):
        (DOM::HTMLDirectoryElementImpl::setCompact):
        (DOM::HTMLMenuElementImpl::compact):
        (DOM::HTMLMenuElementImpl::setCompact):
        (DOM::HTMLOListElementImpl::mapToEntry):
        (DOM::HTMLOListElementImpl::parseMappedAttribute):
        (DOM::HTMLOListElementImpl::compact):
        (DOM::HTMLOListElementImpl::setCompact):
        (DOM::HTMLOListElementImpl::setStart):
        (DOM::HTMLOListElementImpl::type):
        (DOM::HTMLOListElementImpl::setType):
        (DOM::HTMLLIElementImpl::mapToEntry):
        (DOM::HTMLLIElementImpl::parseMappedAttribute):
        (DOM::HTMLLIElementImpl::attach):
        (DOM::HTMLLIElementImpl::type):
        (DOM::HTMLLIElementImpl::setType):
        (DOM::HTMLLIElementImpl::value):
        (DOM::HTMLLIElementImpl::setValue):
        (DOM::HTMLDListElementImpl::compact):
        (DOM::HTMLDListElementImpl::setCompact):
        * khtml/html/html_listimpl.h:
        (DOM::HTMLUListElementImpl::HTMLUListElementImpl):
        (DOM::HTMLDirectoryElementImpl::HTMLDirectoryElementImpl):
        (DOM::HTMLMenuElementImpl::HTMLMenuElementImpl):
        (DOM::HTMLOListElementImpl::HTMLOListElementImpl):
        (DOM::HTMLLIElementImpl::HTMLLIElementImpl):
        (DOM::HTMLDListElementImpl::HTMLDListElementImpl):
        * khtml/html/html_miscimpl.cpp:
        (DOM::HTMLBaseFontElementImpl::HTMLBaseFontElementImpl):
        (DOM::HTMLBaseFontElementImpl::color):
        (DOM::HTMLBaseFontElementImpl::setColor):
        (DOM::HTMLBaseFontElementImpl::face):
        (DOM::HTMLBaseFontElementImpl::setFace):
        (DOM::HTMLBaseFontElementImpl::size):
        (DOM::HTMLBaseFontElementImpl::setSize):
        (DOM::HTMLCollectionImpl::traverseNextItem):
        (DOM::HTMLCollectionImpl::checkForNameMatch):
        (DOM::HTMLNameCollectionImpl::traverseNextItem):
        (DOM::HTMLCollectionImpl::updateNameCache):
        (DOM::HTMLFormCollectionImpl::getNamedFormItem):
        (DOM::HTMLFormCollectionImpl::nextNamedItemInternal):
        (DOM::HTMLFormCollectionImpl::namedItem):
        (DOM::HTMLFormCollectionImpl::nextNamedItem):
        (DOM::HTMLFormCollectionImpl::updateNameCache):
        * khtml/html/html_objectimpl.cpp:
        (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
        (DOM::HTMLAppletElementImpl::checkDTD):
        (DOM::HTMLAppletElementImpl::mapToEntry):
        (DOM::HTMLAppletElementImpl::parseMappedAttribute):
        (DOM::HTMLAppletElementImpl::rendererIsNeeded):
        (DOM::HTMLAppletElementImpl::createRenderer):
        (DOM::HTMLAppletElementImpl::align):
        (DOM::HTMLAppletElementImpl::setAlign):
        (DOM::HTMLAppletElementImpl::alt):
        (DOM::HTMLAppletElementImpl::setAlt):
        (DOM::HTMLAppletElementImpl::archive):
        (DOM::HTMLAppletElementImpl::setArchive):
        (DOM::HTMLAppletElementImpl::code):
        (DOM::HTMLAppletElementImpl::setCode):
        (DOM::HTMLAppletElementImpl::codeBase):
        (DOM::HTMLAppletElementImpl::setCodeBase):
        (DOM::HTMLAppletElementImpl::height):
        (DOM::HTMLAppletElementImpl::setHeight):
        (DOM::HTMLAppletElementImpl::hspace):
        (DOM::HTMLAppletElementImpl::setHspace):
        (DOM::HTMLAppletElementImpl::name):
        (DOM::HTMLAppletElementImpl::setName):
        (DOM::HTMLAppletElementImpl::object):
        (DOM::HTMLAppletElementImpl::setObject):
        (DOM::HTMLAppletElementImpl::vspace):
        (DOM::HTMLAppletElementImpl::setVspace):
        (DOM::HTMLAppletElementImpl::width):
        (DOM::HTMLAppletElementImpl::setWidth):
        (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
        (DOM::HTMLEmbedElementImpl::checkDTD):
        (DOM::HTMLEmbedElementImpl::mapToEntry):
        (DOM::HTMLEmbedElementImpl::parseMappedAttribute):
        (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
        (DOM::HTMLEmbedElementImpl::isURLAttribute):
        (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
        (DOM::HTMLObjectElementImpl::checkDTD):
        (DOM::HTMLObjectElementImpl::form):
        (DOM::HTMLObjectElementImpl::mapToEntry):
        (DOM::HTMLObjectElementImpl::parseMappedAttribute):
        (DOM::HTMLObjectElementImpl::isURLAttribute):
        (DOM::HTMLObjectElementImpl::code):
        (DOM::HTMLObjectElementImpl::setCode):
        (DOM::HTMLObjectElementImpl::align):
        (DOM::HTMLObjectElementImpl::setAlign):
        (DOM::HTMLObjectElementImpl::archive):
        (DOM::HTMLObjectElementImpl::setArchive):
        (DOM::HTMLObjectElementImpl::border):
        (DOM::HTMLObjectElementImpl::setBorder):
        (DOM::HTMLObjectElementImpl::codeBase):
        (DOM::HTMLObjectElementImpl::setCodeBase):
        (DOM::HTMLObjectElementImpl::codeType):
        (DOM::HTMLObjectElementImpl::setCodeType):
        (DOM::HTMLObjectElementImpl::data):
        (DOM::HTMLObjectElementImpl::setData):
        (DOM::HTMLObjectElementImpl::declare):
        (DOM::HTMLObjectElementImpl::setDeclare):
        (DOM::HTMLObjectElementImpl::height):
        (DOM::HTMLObjectElementImpl::setHeight):
        (DOM::HTMLObjectElementImpl::hspace):
        (DOM::HTMLObjectElementImpl::setHspace):
        (DOM::HTMLObjectElementImpl::name):
        (DOM::HTMLObjectElementImpl::setName):
        (DOM::HTMLObjectElementImpl::standby):
        (DOM::HTMLObjectElementImpl::setStandby):
        (DOM::HTMLObjectElementImpl::tabIndex):
        (DOM::HTMLObjectElementImpl::setTabIndex):
        (DOM::HTMLObjectElementImpl::type):
        (DOM::HTMLObjectElementImpl::setType):
        (DOM::HTMLObjectElementImpl::useMap):
        (DOM::HTMLObjectElementImpl::setUseMap):
        (DOM::HTMLObjectElementImpl::vspace):
        (DOM::HTMLObjectElementImpl::setVspace):
        (DOM::HTMLObjectElementImpl::width):
        (DOM::HTMLObjectElementImpl::setWidth):
        (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
        (DOM::HTMLParamElementImpl::parseMappedAttribute):
        (DOM::HTMLParamElementImpl::isURLAttribute):
        (DOM::HTMLParamElementImpl::setName):
        (DOM::HTMLParamElementImpl::type):
        (DOM::HTMLParamElementImpl::setType):
        (DOM::HTMLParamElementImpl::setValue):
        (DOM::HTMLParamElementImpl::valueType):
        (DOM::HTMLParamElementImpl::setValueType):
        * khtml/html/html_tableimpl.cpp:
        (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
        (DOM::HTMLTableElementImpl::checkDTD):
        (DOM::HTMLTableElementImpl::createTHead):
        (DOM::HTMLTableElementImpl::createTFoot):
        (DOM::HTMLTableElementImpl::insertRow):
        (DOM::HTMLTableElementImpl::deleteRow):
        (DOM::HTMLTableElementImpl::addChild):
        (DOM::HTMLTableElementImpl::mapToEntry):
        (DOM::HTMLTableElementImpl::parseMappedAttribute):
        (DOM::HTMLTableElementImpl::additionalAttributeStyleDecl):
        (DOM::HTMLTableElementImpl::getSharedCellDecl):
        (DOM::HTMLTableElementImpl::isURLAttribute):
        (DOM::HTMLTableElementImpl::align):
        (DOM::HTMLTableElementImpl::setAlign):
        (DOM::HTMLTableElementImpl::bgColor):
        (DOM::HTMLTableElementImpl::setBgColor):
        (DOM::HTMLTableElementImpl::border):
        (DOM::HTMLTableElementImpl::setBorder):
        (DOM::HTMLTableElementImpl::cellPadding):
        (DOM::HTMLTableElementImpl::setCellPadding):
        (DOM::HTMLTableElementImpl::cellSpacing):
        (DOM::HTMLTableElementImpl::setCellSpacing):
        (DOM::HTMLTableElementImpl::frame):
        (DOM::HTMLTableElementImpl::setFrame):
        (DOM::HTMLTableElementImpl::rules):
        (DOM::HTMLTableElementImpl::setRules):
        (DOM::HTMLTableElementImpl::summary):
        (DOM::HTMLTableElementImpl::setSummary):
        (DOM::HTMLTableElementImpl::width):
        (DOM::HTMLTableElementImpl::setWidth):
        (DOM::HTMLTablePartElementImpl::mapToEntry):
        (DOM::HTMLTablePartElementImpl::parseMappedAttribute):
        (DOM::HTMLTableSectionElementImpl::checkDTD):
        (DOM::HTMLTableSectionElementImpl::addChild):
        (DOM::HTMLTableSectionElementImpl::numRows):
        (DOM::HTMLTableSectionElementImpl::align):
        (DOM::HTMLTableSectionElementImpl::setAlign):
        (DOM::HTMLTableSectionElementImpl::ch):
        (DOM::HTMLTableSectionElementImpl::setCh):
        (DOM::HTMLTableSectionElementImpl::chOff):
        (DOM::HTMLTableSectionElementImpl::setChOff):
        (DOM::HTMLTableSectionElementImpl::vAlign):
        (DOM::HTMLTableSectionElementImpl::setVAlign):
        (DOM::HTMLTableRowElementImpl::checkDTD):
        (DOM::HTMLTableRowElementImpl::addChild):
        (DOM::HTMLTableRowElementImpl::rowIndex):
        (DOM::HTMLTableRowElementImpl::sectionRowIndex):
        (DOM::HTMLTableRowElementImpl::insertCell):
        (DOM::HTMLTableRowElementImpl::align):
        (DOM::HTMLTableRowElementImpl::setAlign):
        (DOM::HTMLTableRowElementImpl::bgColor):
        (DOM::HTMLTableRowElementImpl::setBgColor):
        (DOM::HTMLTableRowElementImpl::ch):
        (DOM::HTMLTableRowElementImpl::setCh):
        (DOM::HTMLTableRowElementImpl::chOff):
        (DOM::HTMLTableRowElementImpl::setChOff):
        (DOM::HTMLTableRowElementImpl::vAlign):
        (DOM::HTMLTableRowElementImpl::setVAlign):
        (DOM::HTMLTableCellElementImpl::cellIndex):
        (DOM::HTMLTableCellElementImpl::mapToEntry):
        (DOM::HTMLTableCellElementImpl::parseMappedAttribute):
        (DOM::HTMLTableCellElementImpl::additionalAttributeStyleDecl):
        (DOM::HTMLTableCellElementImpl::isURLAttribute):
        (DOM::HTMLTableCellElementImpl::abbr):
        (DOM::HTMLTableCellElementImpl::setAbbr):
        (DOM::HTMLTableCellElementImpl::align):
        (DOM::HTMLTableCellElementImpl::setAlign):
        (DOM::HTMLTableCellElementImpl::axis):
        (DOM::HTMLTableCellElementImpl::setAxis):
        (DOM::HTMLTableCellElementImpl::bgColor):
        (DOM::HTMLTableCellElementImpl::setBgColor):
        (DOM::HTMLTableCellElementImpl::ch):
        (DOM::HTMLTableCellElementImpl::setCh):
        (DOM::HTMLTableCellElementImpl::chOff):
        (DOM::HTMLTableCellElementImpl::setChOff):
        (DOM::HTMLTableCellElementImpl::setColSpan):
        (DOM::HTMLTableCellElementImpl::headers):
        (DOM::HTMLTableCellElementImpl::setHeaders):
        (DOM::HTMLTableCellElementImpl::height):
        (DOM::HTMLTableCellElementImpl::setHeight):
        (DOM::HTMLTableCellElementImpl::noWrap):
        (DOM::HTMLTableCellElementImpl::setNoWrap):
        (DOM::HTMLTableCellElementImpl::setRowSpan):
        (DOM::HTMLTableCellElementImpl::scope):
        (DOM::HTMLTableCellElementImpl::setScope):
        (DOM::HTMLTableCellElementImpl::vAlign):
        (DOM::HTMLTableCellElementImpl::setVAlign):
        (DOM::HTMLTableCellElementImpl::width):
        (DOM::HTMLTableCellElementImpl::setWidth):
        (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
        (DOM::HTMLTableColElementImpl::mapToEntry):
        (DOM::HTMLTableColElementImpl::parseMappedAttribute):
        (DOM::HTMLTableColElementImpl::align):
        (DOM::HTMLTableColElementImpl::setAlign):
        (DOM::HTMLTableColElementImpl::ch):
        (DOM::HTMLTableColElementImpl::setCh):
        (DOM::HTMLTableColElementImpl::chOff):
        (DOM::HTMLTableColElementImpl::setChOff):
        (DOM::HTMLTableColElementImpl::setSpan):
        (DOM::HTMLTableColElementImpl::vAlign):
        (DOM::HTMLTableColElementImpl::setVAlign):
        (DOM::HTMLTableColElementImpl::width):
        (DOM::HTMLTableColElementImpl::setWidth):
        (DOM::HTMLTableCaptionElementImpl::mapToEntry):
        (DOM::HTMLTableCaptionElementImpl::parseMappedAttribute):
        (DOM::HTMLTableCaptionElementImpl::align):
        (DOM::HTMLTableCaptionElementImpl::setAlign):
        * khtml/html/html_tableimpl.h:
        (DOM::HTMLTableRowElementImpl::HTMLTableRowElementImpl):
        (DOM::HTMLTableColElementImpl::endTagRequirement):
        (DOM::HTMLTableColElementImpl::tagPriority):
        (DOM::HTMLTableColElementImpl::checkDTD):
        (DOM::HTMLTableCaptionElementImpl::HTMLTableCaptionElementImpl):
        * khtml/html/htmlfactory.cpp:
        (DOM::headingConstructor):
        (DOM::preConstructor):
        (DOM::modConstructor):
        (DOM::tableColConstructor):
        (DOM::tableCellConstructor):
        (DOM::tableSectionConstructor):
        (DOM::HTMLElementFactory::createHTMLElement):
        * khtml/html/htmlnames.cpp:
        (HTMLNames::initHTMLNames):
        * khtml/html/htmlnames.h:
        * khtml/html/htmlparser.cpp:
        (HTMLParser::parseToken):
        (isTableSection):
        (isTablePart):
        (isTableRelated):
        (HTMLParser::handleError):
        (HTMLParser::headCreateErrorCheck):
        (HTMLParser::bodyCreateErrorCheck):
        (HTMLParser::framesetCreateErrorCheck):
        (HTMLParser::iframeCreateErrorCheck):
        (HTMLParser::ddCreateErrorCheck):
        (HTMLParser::dtCreateErrorCheck):
        (HTMLParser::tableCellCreateErrorCheck):
        (HTMLParser::tableSectionCreateErrorCheck):
        (HTMLParser::noembedCreateErrorCheck):
        (HTMLParser::noframesCreateErrorCheck):
        (HTMLParser::noscriptCreateErrorCheck):
        (HTMLParser::getNode):
        (HTMLParser::processCloseTag):
        (HTMLParser::isHeaderTag):
        (HTMLParser::isInline):
        (HTMLParser::isResidualStyleTag):
        (HTMLParser::isAffectedByResidualStyle):
        (HTMLParser::popBlock):
        (HTMLParser::handleIsindex):
        * khtml/html/htmltokenizer.cpp:
        (khtml::HTMLTokenizer::parseSpecial):
        (khtml::HTMLTokenizer::scriptHandler):
        (khtml::HTMLTokenizer::parseTag):
        * khtml/khtml_part.cpp:
        (KHTMLPart::init):
        (KHTMLPart::backgroundURL):
        (KHTMLPart::updateActions):
        (KHTMLPart::handleMouseMoveEventDrag):
        (KHTMLPart::selectionComputedStyle):
        (KHTMLPart::applyEditingStyleToElement):
        (KHTMLPart::removeEditingStyleFromElement):
        * khtml/khtmlview.cpp:
        (KHTMLView::layout):
        (isSubmitImage):
        * khtml/misc/decoder.cpp:
        (Decoder::decode):
        * khtml/misc/hashtable.h:
        (khtml::::lookup):
        * khtml/rendering/render_applet.cpp:
        (RenderApplet::createWidgetIfNecessary):
        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::layoutBlock):
        * khtml/rendering/render_box.cpp:
        (RenderBox::paintRootBoxDecorations):
        (RenderBox::paintBackgroundExtended):
        * khtml/rendering/render_canvasimage.cpp:
        (RenderCanvasImage::paint):
        * khtml/rendering/render_flow.cpp:
        (RenderFlow::addFocusRingRects):
        * khtml/rendering/render_form.cpp:
        (RenderLineEdit::updateFromElement):
        (RenderFieldset::findLegend):
        (RenderSelect::updateFromElement):
        (RenderSelect::layout):
        (RenderSelect::slotSelected):
        (RenderSelect::slotSelectionChanged):
        (RenderSelect::updateSelection):
        (RenderSlider::updateFromElement):
        (RenderSlider::slotSliderValueChanged):
        * khtml/rendering/render_frames.cpp:
        (RenderPartObject::updateWidget):
        (RenderPartObject::slotViewCleared):
        * khtml/rendering/render_image.cpp:
        (RenderImage::paint):
        (RenderImage::imageMap):
        (RenderImage::updateAltText):
        * khtml/rendering/render_layer.cpp:
        (Marquee::marqueeSpeed):
        * khtml/rendering/render_list.cpp:
        (getParentOfFirstLineBox):
        * khtml/rendering/render_object.cpp:
        (RenderObject::isBody):
        (RenderObject::isHR):
        (RenderObject::isHTMLMarquee):
        (RenderObject::sizesToMaxWidth):
        (RenderObject::setStyle):
        (RenderObject::getTextDecorationColors):
        (RenderObject::setPixmap):
        * khtml/rendering/render_table.cpp:
        (RenderTable::addChild):
        (RenderTable::layout):
        (RenderTableSection::addChild):
        (RenderTableRow::addChild):
        (RenderTableCell::updateFromElement):
        (RenderTableCell::calcMinMaxWidth):
        (RenderTableCol::updateFromElement):
        * khtml/rendering/render_theme.cpp:
        (khtml::RenderTheme::isControlContainer):
        (khtml::RenderTheme::isChecked):
        (khtml::RenderTheme::isEnabled):
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::createElementNS):
        (DocumentImpl::getElementById):
        (DocumentImpl::getElementByAccessKey):
        (DocumentImpl::body):
        (DocumentImpl::shouldScheduleLayout):
        (DocumentImpl::prepareMouseEvent):
        (DocumentImpl::recalcStyleSelector):
        * khtml/xml/dom_elementimpl.cpp:
        (ElementImpl::getAttribute):
        (ElementImpl::setAttribute):
        (ElementImpl::setAttributeMap):
        (ElementImpl::insertedIntoDocument):
        (ElementImpl::removedFromDocument):
        (ElementImpl::formatForDebugger):
        (NamedAttrMapImpl::setNamedItem):
        (NamedAttrMapImpl::removeNamedItem):
        (NamedAttrMapImpl::operator=):
        (StyledElementImpl::updateStyleAttributeIfNeeded):
        (StyledElementImpl::mapToEntry):
        (StyledElementImpl::parseMappedAttribute):
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::maxDeepOffset):
        (DOM::NodeImpl::enclosingBlockFlowOrTableElement):
        (DOM::NodeImpl::enclosingBlockFlowElement):
        (DOM::NodeImpl::enclosingInlineElement):
        (DOM::NodeImpl::rootEditableElement):
        (DOM::NodeImpl::showNode):
        (DOM::NodeImpl::showTreeAndMark):
        (DOM::NameNodeListImpl::nodeMatches):
        * khtml/xml/dom_position.cpp:
        (DOM::Position::downstream):
        (DOM::Position::rendersInDifferentPosition):
        (DOM::Position::leadingWhitespacePosition):
        (DOM::Position::trailingWhitespacePosition):
        * khtml/xml/xml_tokenizer.cpp:
        (khtml::XMLTokenizer::startElement):
        (khtml::XMLTokenizer::insertErrorMessageBlock):
        (khtml::XMLTokenizer::addScripts):
        (khtml::XMLTokenizer::executeScripts):
        * kwq/DOM.mm:
        (+[DOMNode _nodeWithImpl:]):
        * kwq/DOMHTML.mm:
        (-[DOMHTMLElement idName]):
        (-[DOMHTMLElement setIdName:]):
        (-[DOMHTMLLinkElement media]):
        (-[DOMHTMLLinkElement setMedia:]):
        (-[DOMHTMLLinkElement rel]):
        (-[DOMHTMLLinkElement setRel:]):
        (-[DOMHTMLLinkElement rev]):
        (-[DOMHTMLLinkElement setRev:]):
        (-[DOMHTMLLinkElement target]):
        (-[DOMHTMLLinkElement setTarget:]):
        (-[DOMHTMLLinkElement type]):
        (-[DOMHTMLLinkElement setType:]):
        (-[DOMHTMLTitleElement text]):
        (-[DOMHTMLTitleElement setText:]):
        (-[DOMHTMLMetaElement content]):
        (-[DOMHTMLMetaElement setContent:]):
        (-[DOMHTMLMetaElement httpEquiv]):
        (-[DOMHTMLMetaElement setHttpEquiv:]):
        (-[DOMHTMLMetaElement name]):
        (-[DOMHTMLMetaElement setName:]):
        (-[DOMHTMLMetaElement scheme]):
        (-[DOMHTMLMetaElement setScheme:]):
        (-[DOMHTMLBaseElement setHref:]):
        (-[DOMHTMLBaseElement target]):
        (-[DOMHTMLBaseElement setTarget:]):
        (-[DOMHTMLStyleElement disabled]):
        (-[DOMHTMLStyleElement setDisabled:]):
        (-[DOMHTMLStyleElement media]):
        (-[DOMHTMLStyleElement setMedia:]):
        (-[DOMHTMLStyleElement type]):
        (-[DOMHTMLStyleElement setType:]):
        (-[DOMHTMLBodyElement aLink]):
        (-[DOMHTMLBodyElement setALink:]):
        (-[DOMHTMLBodyElement background]):
        (-[DOMHTMLBodyElement setBackground:]):
        (-[DOMHTMLBodyElement bgColor]):
        (-[DOMHTMLBodyElement setBgColor:]):
        (-[DOMHTMLBodyElement link]):
        (-[DOMHTMLBodyElement setLink:]):
        (-[DOMHTMLBodyElement text]):
        (-[DOMHTMLBodyElement setText:]):
        (-[DOMHTMLBodyElement vLink]):
        (-[DOMHTMLBodyElement setVLink:]):
        (-[DOMHTMLFormElement name]):
        (-[DOMHTMLFormElement setName:]):
        (-[DOMHTMLFormElement acceptCharset]):
        (-[DOMHTMLFormElement setAcceptCharset:]):
        (-[DOMHTMLFormElement action]):
        (-[DOMHTMLFormElement setAction:]):
        (-[DOMHTMLFormElement enctype]):
        (-[DOMHTMLFormElement setEnctype:]):
        (-[DOMHTMLFormElement method]):
        (-[DOMHTMLFormElement setMethod:]):
        (-[DOMHTMLFormElement target]):
        (-[DOMHTMLFormElement setTarget:]):
        (-[DOMHTMLTextAreaElement accessKey]):
        (-[DOMHTMLTextAreaElement setAccessKey:]):
        (-[DOMHTMLTextAreaElement cols]):
        (-[DOMHTMLTextAreaElement setCols:]):
        (-[DOMHTMLTextAreaElement disabled]):
        (-[DOMHTMLTextAreaElement setDisabled:]):
        (-[DOMHTMLTextAreaElement readOnly]):
        (-[DOMHTMLTextAreaElement setReadOnly:]):
        (-[DOMHTMLTextAreaElement rows]):
        (-[DOMHTMLTextAreaElement setRows:]):
        (-[DOMHTMLButtonElement accessKey]):
        (-[DOMHTMLButtonElement setAccessKey:]):
        (-[DOMHTMLButtonElement disabled]):
        (-[DOMHTMLButtonElement setDisabled:]):
        (-[DOMHTMLButtonElement value]):
        (-[DOMHTMLButtonElement setValue:]):
        (-[DOMHTMLLabelElement accessKey]):
        (-[DOMHTMLLabelElement setAccessKey:]):
        (-[DOMHTMLLabelElement htmlFor]):
        (-[DOMHTMLLabelElement setHtmlFor:]):
        (-[DOMHTMLLegendElement accessKey]):
        (-[DOMHTMLLegendElement setAccessKey:]):
        (-[DOMHTMLLegendElement align]):
        (-[DOMHTMLLegendElement setAlign:]):
        (-[DOMHTMLUListElement compact]):
        (-[DOMHTMLUListElement setCompact:]):
        (-[DOMHTMLUListElement type]):
        (-[DOMHTMLUListElement setType:]):
        (-[DOMHTMLOListElement start]):
        (-[DOMHTMLOListElement setStart:]):
        (-[DOMHTMLOListElement type]):
        (-[DOMHTMLOListElement setType:]):
        (-[DOMHTMLDListElement compact]):
        (-[DOMHTMLDListElement setCompact:]):
        (-[DOMHTMLDirectoryElement compact]):
        (-[DOMHTMLDirectoryElement setCompact:]):
        (-[DOMHTMLMenuElement compact]):
        (-[DOMHTMLMenuElement setCompact:]):
        (-[DOMHTMLQuoteElement cite]):
        (-[DOMHTMLQuoteElement setCite:]):
        (-[DOMHTMLDivElement align]):
        (-[DOMHTMLDivElement setAlign:]):
        (-[DOMHTMLParagraphElement align]):
        (-[DOMHTMLParagraphElement setAlign:]):
        (-[DOMHTMLHeadingElement align]):
        (-[DOMHTMLHeadingElement setAlign:]):
        (-[DOMHTMLPreElement width]):
        (-[DOMHTMLPreElement setWidth:]):
        (-[DOMHTMLBRElement clear]):
        (-[DOMHTMLBRElement setClear:]):
        (-[DOMHTMLBaseFontElement color]):
        (-[DOMHTMLBaseFontElement setColor:]):
        (-[DOMHTMLBaseFontElement face]):
        (-[DOMHTMLBaseFontElement setFace:]):
        (-[DOMHTMLBaseFontElement size]):
        (-[DOMHTMLBaseFontElement setSize:]):
        (-[DOMHTMLFontElement color]):
        (-[DOMHTMLFontElement setColor:]):
        (-[DOMHTMLFontElement face]):
        (-[DOMHTMLFontElement setFace:]):
        (-[DOMHTMLFontElement size]):
        (-[DOMHTMLFontElement setSize:]):
        (-[DOMHTMLHRElement align]):
        (-[DOMHTMLHRElement setAlign:]):
        (-[DOMHTMLHRElement noShade]):
        (-[DOMHTMLHRElement setNoShade:]):
        (-[DOMHTMLHRElement size]):
        (-[DOMHTMLHRElement setSize:]):
        (-[DOMHTMLHRElement width]):
        (-[DOMHTMLHRElement setWidth:]):
        (-[DOMHTMLModElement cite]):
        (-[DOMHTMLModElement setCite:]):
        (-[DOMHTMLModElement dateTime]):
        (-[DOMHTMLModElement setDateTime:]):
        (-[DOMHTMLAnchorElement accessKey]):
        (-[DOMHTMLAnchorElement setAccessKey:]):
        (-[DOMHTMLAnchorElement charset]):
        (-[DOMHTMLAnchorElement setCharset:]):
        (-[DOMHTMLAnchorElement coords]):
        (-[DOMHTMLAnchorElement setCoords:]):
        (-[DOMHTMLAnchorElement setHref:]):
        (-[DOMHTMLAnchorElement target]):
        (-[DOMHTMLAnchorElement setTarget:]):
        (-[DOMHTMLAnchorElement type]):
        (-[DOMHTMLAnchorElement setType:]):
        (-[DOMHTMLImageElement name]):
        (-[DOMHTMLImageElement setName:]):
        (-[DOMHTMLImageElement align]):
        (-[DOMHTMLImageElement setAlign:]):
        (-[DOMHTMLImageElement alt]):
        (-[DOMHTMLImageElement setAlt:]):
        (-[DOMHTMLImageElement border]):
        (-[DOMHTMLImageElement setBorder:]):
        (-[DOMHTMLImageElement height]):
        (-[DOMHTMLImageElement setHeight:]):
        (-[DOMHTMLImageElement hspace]):
        (-[DOMHTMLImageElement setHspace:]):
        (-[DOMHTMLImageElement isMap]):
        (-[DOMHTMLImageElement setIsMap:]):
        (-[DOMHTMLImageElement longDesc]):
        (-[DOMHTMLImageElement setLongDesc:]):
        (-[DOMHTMLImageElement setSrc:]):
        (-[DOMHTMLImageElement useMap]):
        (-[DOMHTMLImageElement setUseMap:]):
        (-[DOMHTMLImageElement vspace]):
        (-[DOMHTMLImageElement setVspace:]):
        (-[DOMHTMLImageElement width]):
        (-[DOMHTMLImageElement setWidth:]):
        (-[DOMHTMLObjectElement code]):
        (-[DOMHTMLObjectElement setCode:]):
        (-[DOMHTMLObjectElement align]):
        (-[DOMHTMLObjectElement setAlign:]):
        (-[DOMHTMLObjectElement archive]):
        (-[DOMHTMLObjectElement setArchive:]):
        (-[DOMHTMLObjectElement border]):
        (-[DOMHTMLObjectElement setBorder:]):
        (-[DOMHTMLObjectElement codeBase]):
        (-[DOMHTMLObjectElement setCodeBase:]):
        (-[DOMHTMLObjectElement codeType]):
        (-[DOMHTMLObjectElement setCodeType:]):
        (-[DOMHTMLObjectElement data]):
        (-[DOMHTMLObjectElement setData:]):
        (-[DOMHTMLObjectElement declare]):
        (-[DOMHTMLObjectElement setDeclare:]):
        (-[DOMHTMLObjectElement height]):
        (-[DOMHTMLObjectElement setHeight:]):
        (-[DOMHTMLObjectElement hspace]):
        (-[DOMHTMLObjectElement setHspace:]):
        (-[DOMHTMLObjectElement name]):
        (-[DOMHTMLObjectElement setName:]):
        (-[DOMHTMLObjectElement standby]):
        (-[DOMHTMLObjectElement setStandby:]):
        (-[DOMHTMLObjectElement tabIndex]):
        (-[DOMHTMLObjectElement setTabIndex:]):
        (-[DOMHTMLObjectElement type]):
        (-[DOMHTMLObjectElement setType:]):
        (-[DOMHTMLObjectElement useMap]):
        (-[DOMHTMLObjectElement setUseMap:]):
        (-[DOMHTMLObjectElement vspace]):
        (-[DOMHTMLObjectElement setVspace:]):
        (-[DOMHTMLObjectElement width]):
        (-[DOMHTMLObjectElement setWidth:]):
        (-[DOMHTMLParamElement name]):
        (-[DOMHTMLParamElement setName:]):
        (-[DOMHTMLParamElement type]):
        (-[DOMHTMLParamElement setType:]):
        (-[DOMHTMLParamElement value]):
        (-[DOMHTMLParamElement setValue:]):
        (-[DOMHTMLParamElement valueType]):
        (-[DOMHTMLParamElement setValueType:]):
        (-[DOMHTMLAppletElement align]):
        (-[DOMHTMLAppletElement setAlign:]):
        (-[DOMHTMLAppletElement alt]):
        (-[DOMHTMLAppletElement setAlt:]):
        (-[DOMHTMLAppletElement archive]):
        (-[DOMHTMLAppletElement setArchive:]):
        (-[DOMHTMLAppletElement code]):
        (-[DOMHTMLAppletElement setCode:]):
        (-[DOMHTMLAppletElement codeBase]):
        (-[DOMHTMLAppletElement setCodeBase:]):
        (-[DOMHTMLAppletElement height]):
        (-[DOMHTMLAppletElement setHeight:]):
        (-[DOMHTMLAppletElement hspace]):
        (-[DOMHTMLAppletElement setHspace:]):
        (-[DOMHTMLAppletElement name]):
        (-[DOMHTMLAppletElement setName:]):
        (-[DOMHTMLAppletElement object]):
        (-[DOMHTMLAppletElement setObject:]):
        (-[DOMHTMLAppletElement vspace]):
        (-[DOMHTMLAppletElement setVspace:]):
        (-[DOMHTMLAppletElement width]):
        (-[DOMHTMLAppletElement setWidth:]):
        (-[DOMHTMLMapElement name]):
        (-[DOMHTMLMapElement setName:]):
        (-[DOMHTMLAreaElement accessKey]):
        (-[DOMHTMLAreaElement setAccessKey:]):
        (-[DOMHTMLAreaElement alt]):
        (-[DOMHTMLAreaElement setAlt:]):
        (-[DOMHTMLAreaElement coords]):
        (-[DOMHTMLAreaElement setCoords:]):
        (-[DOMHTMLAreaElement setHref:]):
        (-[DOMHTMLAreaElement noHref]):
        (-[DOMHTMLAreaElement setNoHref:]):
        (-[DOMHTMLAreaElement shape]):
        (-[DOMHTMLAreaElement setShape:]):
        (-[DOMHTMLAreaElement tabIndex]):
        (-[DOMHTMLAreaElement setTabIndex:]):
        (-[DOMHTMLAreaElement target]):
        (-[DOMHTMLAreaElement setTarget:]):
        (-[DOMHTMLScriptElement text]):
        (-[DOMHTMLScriptElement setText:]):
        (-[DOMHTMLScriptElement charset]):
        (-[DOMHTMLScriptElement setCharset:]):
        (-[DOMHTMLScriptElement defer]):
        (-[DOMHTMLScriptElement setDefer:]):
        (-[DOMHTMLScriptElement src]):
        (-[DOMHTMLScriptElement setSrc:]):
        (-[DOMHTMLScriptElement type]):
        (-[DOMHTMLScriptElement setType:]):
        (-[DOMHTMLTableCaptionElement align]):
        (-[DOMHTMLTableCaptionElement setAlign:]):
        (-[DOMHTMLTableSectionElement align]):
        (-[DOMHTMLTableSectionElement setAlign:]):
        (-[DOMHTMLTableSectionElement ch]):
        (-[DOMHTMLTableSectionElement setCh:]):
        (-[DOMHTMLTableSectionElement chOff]):
        (-[DOMHTMLTableSectionElement setChOff:]):
        (-[DOMHTMLTableSectionElement vAlign]):
        (-[DOMHTMLTableSectionElement setVAlign:]):
        (-[DOMHTMLTableElement align]):
        (-[DOMHTMLTableElement setAlign:]):
        (-[DOMHTMLTableElement bgColor]):
        (-[DOMHTMLTableElement setBgColor:]):
        (-[DOMHTMLTableElement border]):
        (-[DOMHTMLTableElement setBorder:]):
        (-[DOMHTMLTableElement cellPadding]):
        (-[DOMHTMLTableElement setCellPadding:]):
        (-[DOMHTMLTableElement cellSpacing]):
        (-[DOMHTMLTableElement setCellSpacing:]):
        (-[DOMHTMLTableElement frameBorders]):
        (-[DOMHTMLTableElement setFrameBorders:]):
        (-[DOMHTMLTableElement rules]):
        (-[DOMHTMLTableElement setRules:]):
        (-[DOMHTMLTableElement summary]):
        (-[DOMHTMLTableElement setSummary:]):
        (-[DOMHTMLTableElement width]):
        (-[DOMHTMLTableElement setWidth:]):
        (-[DOMHTMLTableColElement align]):
        (-[DOMHTMLTableColElement setAlign:]):
        (-[DOMHTMLTableColElement ch]):
        (-[DOMHTMLTableColElement setCh:]):
        (-[DOMHTMLTableColElement chOff]):
        (-[DOMHTMLTableColElement setChOff:]):
        (-[DOMHTMLTableColElement span]):
        (-[DOMHTMLTableColElement setSpan:]):
        (-[DOMHTMLTableColElement vAlign]):
        (-[DOMHTMLTableColElement setVAlign:]):
        (-[DOMHTMLTableColElement width]):
        (-[DOMHTMLTableColElement setWidth:]):
        (-[DOMHTMLTableRowElement align]):
        (-[DOMHTMLTableRowElement setAlign:]):
        (-[DOMHTMLTableRowElement bgColor]):
        (-[DOMHTMLTableRowElement setBgColor:]):
        (-[DOMHTMLTableRowElement ch]):
        (-[DOMHTMLTableRowElement setCh:]):
        (-[DOMHTMLTableRowElement chOff]):
        (-[DOMHTMLTableRowElement setChOff:]):
        (-[DOMHTMLTableRowElement vAlign]):
        (-[DOMHTMLTableRowElement setVAlign:]):
        (-[DOMHTMLTableCellElement abbr]):
        (-[DOMHTMLTableCellElement setAbbr:]):
        (-[DOMHTMLTableCellElement align]):
        (-[DOMHTMLTableCellElement setAlign:]):
        (-[DOMHTMLTableCellElement axis]):
        (-[DOMHTMLTableCellElement setAxis:]):
        (-[DOMHTMLTableCellElement bgColor]):
        (-[DOMHTMLTableCellElement setBgColor:]):
        (-[DOMHTMLTableCellElement ch]):
        (-[DOMHTMLTableCellElement setCh:]):
        (-[DOMHTMLTableCellElement chOff]):
        (-[DOMHTMLTableCellElement setChOff:]):
        (-[DOMHTMLTableCellElement colSpan]):
        (-[DOMHTMLTableCellElement setColSpan:]):
        (-[DOMHTMLTableCellElement headers]):
        (-[DOMHTMLTableCellElement setHeaders:]):
        (-[DOMHTMLTableCellElement height]):
        (-[DOMHTMLTableCellElement setHeight:]):
        (-[DOMHTMLTableCellElement noWrap]):
        (-[DOMHTMLTableCellElement setNoWrap:]):
        (-[DOMHTMLTableCellElement rowSpan]):
        (-[DOMHTMLTableCellElement setRowSpan:]):
        (-[DOMHTMLTableCellElement scope]):
        (-[DOMHTMLTableCellElement setScope:]):
        (-[DOMHTMLTableCellElement vAlign]):
        (-[DOMHTMLTableCellElement setVAlign:]):
        (-[DOMHTMLTableCellElement width]):
        (-[DOMHTMLTableCellElement setWidth:]):
        (-[DOMHTMLFrameSetElement rows]):
        (-[DOMHTMLFrameSetElement setRows:]):
        (-[DOMHTMLFrameSetElement cols]):
        (-[DOMHTMLFrameSetElement setCols:]):
        (-[DOMHTMLFrameElement frameBorder]):
        (-[DOMHTMLFrameElement setFrameBorder:]):
        (-[DOMHTMLFrameElement longDesc]):
        (-[DOMHTMLFrameElement setLongDesc:]):
        (-[DOMHTMLFrameElement marginHeight]):
        (-[DOMHTMLFrameElement setMarginHeight:]):
        (-[DOMHTMLFrameElement marginWidth]):
        (-[DOMHTMLFrameElement setMarginWidth:]):
        (-[DOMHTMLFrameElement name]):
        (-[DOMHTMLFrameElement setName:]):
        (-[DOMHTMLFrameElement noResize]):
        (-[DOMHTMLFrameElement setNoResize:]):
        (-[DOMHTMLFrameElement scrolling]):
        (-[DOMHTMLFrameElement setScrolling:]):
        (-[DOMHTMLFrameElement src]):
        (-[DOMHTMLFrameElement setSrc:]):
        (-[DOMHTMLIFrameElement align]):
        (-[DOMHTMLIFrameElement setAlign:]):
        (-[DOMHTMLIFrameElement frameBorder]):
        (-[DOMHTMLIFrameElement setFrameBorder:]):
        (-[DOMHTMLIFrameElement height]):
        (-[DOMHTMLIFrameElement setHeight:]):
        (-[DOMHTMLIFrameElement longDesc]):
        (-[DOMHTMLIFrameElement setLongDesc:]):
        (-[DOMHTMLIFrameElement marginHeight]):
        (-[DOMHTMLIFrameElement setMarginHeight:]):
        (-[DOMHTMLIFrameElement marginWidth]):
        (-[DOMHTMLIFrameElement setMarginWidth:]):
        (-[DOMHTMLIFrameElement name]):
        (-[DOMHTMLIFrameElement setName:]):
        (-[DOMHTMLIFrameElement noResize]):
        (-[DOMHTMLIFrameElement setNoResize:]):
        (-[DOMHTMLIFrameElement scrolling]):
        (-[DOMHTMLIFrameElement setScrolling:]):
        (-[DOMHTMLIFrameElement src]):
        (-[DOMHTMLIFrameElement setSrc:]):
        (-[DOMHTMLIFrameElement width]):
        (-[DOMHTMLIFrameElement setWidth:]):
        (-[DOMHTMLEmbedElement align]):
        (-[DOMHTMLEmbedElement setAlign:]):
        (-[DOMHTMLEmbedElement height]):
        (-[DOMHTMLEmbedElement setHeight:]):
        (-[DOMHTMLEmbedElement name]):
        (-[DOMHTMLEmbedElement setName:]):
        (-[DOMHTMLEmbedElement src]):
        (-[DOMHTMLEmbedElement setSrc:]):
        (-[DOMHTMLEmbedElement type]):
        (-[DOMHTMLEmbedElement setType:]):
        (-[DOMHTMLEmbedElement width]):
        (-[DOMHTMLEmbedElement setWidth:]):
        * kwq/KWQAccObject.mm:
        (-[KWQAccObject role]):
        (-[KWQAccObject helpText]):
        (-[KWQAccObject title]):
        (-[KWQAccObject accessibilityDescription]):
        (-[KWQAccObject accessibilityIsIgnored]):
        (-[KWQAccObject accessibilityAttributeValue:]):
        * kwq/KWQKHTMLPart.cpp:
        (KWQKHTMLPart::isFrameSet):
        * kwq/KWQKHTMLPart.mm:
        (scanForForm):
        (KWQKHTMLPart::currentForm):
        (KWQKHTMLPart::searchForLabelsBeforeElement):
        (KWQKHTMLPart::matchLabelsAgainstElement):
        (KWQKHTMLPart::fileWrapperForElement):
        (listParent):
        (isTextFirstInListItem):
        (KWQKHTMLPart::attributedString):
        (KWQKHTMLPart::styleForSelectionStart):
        (KWQKHTMLPart::setSelectionFromNone):
        * kwq/WebCoreBridge.mm:
        (inputElementFromDOMElement):
        (formElementFromDOMElement):
        (-[WebCoreBridge elementAtPoint:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9965 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Test cases added: n/a
harrison [Sat, 30 Jul 2005 00:18:21 +0000 (00:18 +0000)]
    Test cases added: n/a

        Update layout tests for my previous change.

        * layout-tests/fast/dom/quadraticCurveTo-expected.txt:
        * layout-tests/fast/table/border-collapsing/004-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9964 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Dave Hyatt (rendering) and Maciej (editing and performance improv...
harrison [Fri, 29 Jul 2005 23:42:59 +0000 (23:42 +0000)]
    Reviewed by Dave Hyatt (rendering) and Maciej (editing and performance improvements).

        Test cases added: Existing tab-related basic editing tests were updated.  More complex tests are coming soon.

        <rdar://problem/3792529> REGRESSION (Mail): Tabs do not work the way they did in Panther (especially useful in plain text mail)

        Basic strategy is to put tabs into spans with white-space:pre style, and
        render them with tabs stops every 8th space, where the space width and
        the left margin are those of the enclosing block.

        * khtml/editing/apply_style_command.cpp:
        (khtml::ApplyStyleCommand::removeCSSStyle):
        (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
        * khtml/editing/delete_selection_command.cpp:
        (khtml::DeleteSelectionCommand::saveTypingStyleState):
        * khtml/editing/edit_command.cpp:
        (khtml::EditCommand::styleAtPosition):
        * khtml/editing/html_interchange.h:
        * khtml/editing/htmlediting.cpp:
        (khtml::isSpecialElement):
        (khtml::isTabSpanNode):
        (khtml::isTabSpanTextNode):
        (khtml::positionBeforeTabSpan):
        (khtml::createTabSpanElement):
        * khtml/editing/htmlediting.h:
        * khtml/editing/insert_text_command.cpp:
        (khtml::InsertTextCommand::prepareForTextInsertion):
        (khtml::InsertTextCommand::input):
        (khtml::InsertTextCommand::insertTab):
        * khtml/editing/insert_text_command.h:
        * khtml/editing/markup.cpp:
        (khtml::createParagraphContentsFromString):
        (khtml::createFragmentFromText):
        * khtml/editing/replace_selection_command.cpp:
        (khtml::ReplacementFragment::removeStyleNodes):
        * khtml/html/htmltokenizer.cpp:
        (khtml::HTMLTokenizer::begin):
        (khtml::HTMLTokenizer::processListing):
        (khtml::HTMLTokenizer::parseSpecial):
        (khtml::HTMLTokenizer::parseText):
        (khtml::HTMLTokenizer::parseEntity):
        (khtml::HTMLTokenizer::parseTag):
        (khtml::HTMLTokenizer::addPending):
        (khtml::HTMLTokenizer::write):
        * khtml/html/htmltokenizer.h:
        (khtml::HTMLTokenizer::):
        * khtml/rendering/bidi.cpp:
        (khtml::addRun):
        (khtml::RenderBlock::tabWidth):
        (khtml::RenderBlock::computeHorizontalPositionsForLine):
        (khtml::RenderBlock::layoutInlineChildren):
        (khtml::RenderBlock::skipWhitespace):
        (khtml::RenderBlock::findNextLineBreak):
        (khtml::RenderBlock::checkLinesForTextOverflow):
        * khtml/rendering/break_lines.cpp:
        (khtml::isBreakable):
        * khtml/rendering/font.cpp:
        (Font::drawHighlightForText):
        (Font::drawText):
        (Font::floatWidth):
        (Font::floatCharacterWidths):
        (Font::checkSelectionPoint):
        (Font::width):
        * khtml/rendering/font.h:
        * khtml/rendering/render_block.cpp:
        (khtml:::RenderFlow):
        (khtml::RenderBlock::setStyle):
        (khtml::stripTrailingSpace):
        (khtml::RenderBlock::calcInlineMinMaxWidth):
        * khtml/rendering/render_block.h:
        * khtml/rendering/render_br.h:
        (khtml::RenderBR::width):
        * khtml/rendering/render_flexbox.cpp:
        (khtml::RenderFlexibleBox::layoutVerticalBox):
        * khtml/rendering/render_image.cpp:
        (RenderImage::setPixmap):
        (RenderImage::paint):
        * khtml/rendering/render_line.cpp:
        (khtml::EllipsisBox::paint):
        * khtml/rendering/render_line.h:
        (khtml::InlineBox::width):
        (khtml::InlineBox::xPos):
        (khtml::InlineBox::yPos):
        (khtml::InlineBox::height):
        (khtml::InlineBox::baseline):
        * khtml/rendering/render_list.cpp:
        (RenderListMarker::paint):
        (RenderListMarker::calcMinMaxWidth):
        * khtml/rendering/render_object.cpp:
        (RenderObject::tabWidth):
        (RenderObject::recalcMinMaxWidths):
        * khtml/rendering/render_object.h:
        * khtml/rendering/render_replaced.cpp:
        * khtml/rendering/render_text.cpp:
        (InlineTextBox::selectionRect):
        (InlineTextBox::paint):
        (InlineTextBox::paintSelection):
        (InlineTextBox::paintMarkedTextBackground):
        (InlineTextBox::textPos):
        (InlineTextBox::offsetForPosition):
        (InlineTextBox::positionForOffset):
        (RenderText::cacheWidths):
        (RenderText::widthFromCache):
        (RenderText::trimmedMinMaxWidth):
        (RenderText::calcMinMaxWidth):
        (RenderText::containsOnlyWhitespace):
        (RenderText::width):
        * khtml/rendering/render_text.h:
        * kwq/KWQFontMetrics.h:
        * kwq/KWQFontMetrics.mm:
        (QFontMetrics::width):
        (QFontMetrics::charWidth):
        (QFontMetrics::floatWidth):
        (QFontMetrics::floatCharacterWidths):
        (QFontMetrics::checkSelectionPoint):
        (QFontMetrics::boundingRect):
        (QFontMetrics::size):
        * kwq/KWQPainter.h:
        * kwq/KWQPainter.mm:
        (QPainter::drawRect):
        (QPainter::drawLine):
        (QPainter::drawText):
        (QPainter::drawHighlightForText):
        (_fillRectXX):
        (QPainter::fillRect):
        * kwq/WebCoreTextRenderer.h:
        * kwq/WebCoreTextRendererFactory.mm:
        (WebCoreInitializeEmptyTextStyle):
        * layout-tests/editing/deleting/delete-tab-001-expected.txt:
        * layout-tests/editing/deleting/delete-tab-001.html:
        * layout-tests/editing/deleting/delete-tab-002-expected.txt:
        * layout-tests/editing/deleting/delete-tab-002.html:
        * layout-tests/editing/deleting/delete-tab-003-expected.txt:
        * layout-tests/editing/deleting/delete-tab-003.html:
        * layout-tests/editing/deleting/delete-tab-004-expected.txt:
        * layout-tests/editing/deleting/delete-tab-004.html:
        * layout-tests/editing/inserting/insert-tab-001-expected.txt:
        * layout-tests/editing/inserting/insert-tab-002-expected.txt:
        * layout-tests/editing/inserting/insert-tab-003-expected.txt:
        * layout-tests/editing/inserting/insert-tab-004-expected.txt:
        * layout-tests/fast/js/string-replace-2-expected.txt:
        * layout-tests/fast/table/039-expected.txt:
        * layout-tests/fast/table/border-collapsing/004-expected.txt:
        * layout-tests/fast/tokenizer/script_extra_close-expected.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9963 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Dave Hyatt (rendering) and Maciej (editing and performance improv...
harrison [Fri, 29 Jul 2005 23:40:30 +0000 (23:40 +0000)]
    Reviewed by Dave Hyatt (rendering) and Maciej (editing and performance improvements).

        Test cases added: Existing tab-related basic editing tests were updated.  More complex tests are coming soon.

        <rdar://problem/3792529> REGRESSION (Mail): Tabs do not work the way they did in Panther (especially useful in plain text mail)

        Basic strategy is to put tabs into spans with white-space:pre style, and
        render them with tabs stops every 8th space, where the space width and
        the left margin are those of the enclosing block.

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (isSpace):
        (isRoundingHackCharacter):
        (getUncachedWidth):
        (-[WebTextRenderer drawLineForCharacters:yOffset:width:color:thickness:]):
        (-[WebTextRenderer _computeWidthForSpace]):
        (_drawGlyphs):
        (-[WebTextRenderer _CG_drawHighlightForRun:style:geometry:]):
        (-[WebTextRenderer _CG_floatWidthForRun:style:widths:fonts:glyphs:startPosition:numGlyphs:]):
        (-[WebTextRenderer _extendCharacterToGlyphMapToInclude:]):
        (-[WebTextRenderer _CG_pointToOffset:style:position:reversed:includePartialGlyphs:]):
        (glyphForCharacter):
        (initializeCharacterWidthIterator):
        (ceilCurrentWidth):
        (widthForNextCharacter):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9962 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoMade my recent ChangeLog entry more clear
justing [Fri, 29 Jul 2005 23:05:40 +0000 (23:05 +0000)]
Made my recent ChangeLog entry more clear

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9958 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoCommit log editor still busted for me, have to commit like this.
hyatt [Fri, 29 Jul 2005 23:02:45 +0000 (23:02 +0000)]
Commit log editor still busted for me, have to commit like this.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9957 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by geoff
justing [Fri, 29 Jul 2005 22:50:47 +0000 (22:50 +0000)]
    Reviewed by geoff

        Fixed problem with patch that I just backed out

        Test cases added:
        * layout-tests/editing/deleting/delete-4038408-fix-expected.txt: Added.
        * layout-tests/editing/deleting/delete-4038408-fix.html: Added.

        * khtml/editing/delete_selection_command.cpp:
        (khtml::DeleteSelectionCommand::DeleteSelectionCommand):
        (khtml::DeleteSelectionCommand::saveTypingStyleState):
        (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
        (khtml::DeleteSelectionCommand::clearTransientState):
        * khtml/editing/delete_selection_command.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9955 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoSubmitted by: eseidel
eseidel [Fri, 29 Jul 2005 22:05:18 +0000 (22:05 +0000)]
Submitted by: eseidel
Reviewed by: vicki
        * DrawTest/DrawTest.xcodeproj/project.pbxproj:
        Build fix.  Removed bad path.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9954 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - Oops. Last checkin omitted the actual test for:
ggaren [Fri, 29 Jul 2005 22:04:30 +0000 (22:04 +0000)]
    - Oops. Last checkin omitted the actual test for:
        <rdar://problem/3461547> can't use document.writeln() on windows opened via window.open("about:blank") in same function

        * manual-tests/write-after-open.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9953 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoSubmitted by: eseidel
eseidel [Fri, 29 Jul 2005 21:43:51 +0000 (21:43 +0000)]
Submitted by: eseidel
        * kdom/xpath/impl/parser/xpath.ypp:
        Turned off "verbose errors" which was generating a warning
        during compile (Bison 1.28 bug).  This is unused code in kdom
        xpath support, thus I didn't ask for review.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9952 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - fixed:
ggaren [Fri, 29 Jul 2005 21:22:14 +0000 (21:22 +0000)]
    - fixed:
        <rdar://problem/3461547> can't use document.writeln() on windows opened via window.open("about:blank") in same function
        <rdar://problem/3725977> A_WINDOW.document.write() content overwritten when first parameter to window.open is provided
        <rdar://problem/4101498> SAP: window.write in same call chain as window.open fails to write if URL parameter is provided
        <rdar://problem/4179028> document.write in same function as window.open fails to write new content (4056)
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4056 document.write in same function as window.open fails to write new content

        Reviewed by darin.

        Test cases added:
        * manual-tests/resources/write-after-open-popup.html: Added.

        * khtml/khtml_part.cpp:
        (KHTMLPart::didExplicitOpen): now cancels any pending redirection

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9951 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
sullivan [Fri, 29 Jul 2005 21:16:56 +0000 (21:16 +0000)]
WebCore:

        Reviewed by Dave Hyatt.

        Test cases added: none, this only affects Safari forms autofill

        - WebCore part of <rdar://problem/4187404> Redo form SPI so that it doesn't rely on NSViews

        * khtml/html/html_formimpl.cpp:
        added a FIXME about a bug I ran into while doing this autofill stuff

        * kwq/DOMHTML.mm:
        (viewForElement):
        Moved this function here (was in WebCoreBridge), and simplified it a little. This will go
        away when we have non-NSView ways of implementing all the methods below.
        (-[DOMHTMLInputElement _displayedValue]):
        moved here from Safari
        (-[DOMHTMLInputElement _setDisplayedValue:]):
        ditto
        (-[DOMHTMLInputElement _rectOnScreen]):
        ditto
        (-[DOMHTMLInputElement _replaceCharactersInRange:withString:selectingFromIndex:]):
        ditto
        (-[DOMHTMLInputElement _selectedRange]):
        ditto
        (-[DOMHTMLInputElement _setBackgroundColor:]):
        ditto
        (-[DOMHTMLSelectElement _activateItemAtIndex:]):
        ditto
        (-[DOMHTMLSelectElement _optionLabels]):
        ditto

        * kwq/DOMPrivate.h:
        moved DOMHTMLInputElement and DOMHTMLSelectElement categories here from Safari

        * kwq/WebCoreBridge.h:
        * kwq/WebCoreBridge.mm:
        removed viewForElement:, which had been added as a temporary measure while I did this conversion.

WebKit:

        Reviewed by Dave Hyatt.

        - WebKit part of <rdar://problem/4187404> Redo form SPI so that it doesn't rely on NSViews

        Much of 4187404 was addressed in earlier checkins. This checkin completes the task.

        * WebView.subproj/WebHTMLRepresentation.h:
        * WebView.subproj/WebHTMLRepresentation.m:
        removed viewForElement:, which was the only remaining NSView-related SPI that Safari autofill was
        still using. I added viewForElement a week ago as a transitional measure, so removing it won't
        affect any other clients.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9950 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Chris Blumenberg.
sullivan [Fri, 29 Jul 2005 21:01:37 +0000 (21:01 +0000)]
    Reviewed by Chris Blumenberg.

        * WebView.subproj/WebFrameView.m:
        (-[WebFrameView _firstResponderIsFormControl]):
        renamed from _firstResponderIsControl for clarity. Explicitly rejects WebHTMLView, since
        it's now a control.
        (-[WebFrameView keyDown:]):
        updated for renamed method.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9949 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4155
eseidel [Fri, 29 Jul 2005 20:22:51 +0000 (20:22 +0000)]
Bug #: 4155
Submitted by: eseidel
Reviewed by: sullivan
        * WebCore+SVG/DrawCanvasItem.h: Added.
        * WebCore+SVG/DrawCanvasItem.mm: Added.
        * WebCore+SVG/DrawCanvasItemPrivate.h: Added.
        * WebCore+SVG/DrawDocument.h: Added.
        * WebCore+SVG/DrawDocument.mm: Added.
        * WebCore+SVG/DrawDocumentPrivate.h: Added.
        * WebCore+SVG/DrawView.h: Added.
        * WebCore+SVG/DrawView.mm: Added.
        * WebCore+SVG/DrawViewPrivate.h: Added.
        * WebCore+SVG/NSSVGImageRep.h: Added.
        * WebCore+SVG/NSSVGImageRep.m: Added.
        Temporary SPI to make it possible to write Obj-C test applications.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4155

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9948 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by harrison
justing [Fri, 29 Jul 2005 19:44:45 +0000 (19:44 +0000)]
    Reviewed by harrison

        Backing out my recent change as it causes a layout test failure in Deployment mode

        * khtml/editing/delete_selection_command.cpp:
        (khtml::DeleteSelectionCommand::saveTypingStyleState):
        (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
        (khtml::DeleteSelectionCommand::clearTransientState):
        * khtml/editing/delete_selection_command.h:
        * layout-tests/editing/deleting/delete-4038408-fix-expected.txt: Removed.
        * layout-tests/editing/deleting/delete-4038408-fix.html: Removed.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9947 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4157
eseidel [Fri, 29 Jul 2005 19:20:23 +0000 (19:20 +0000)]
Bug #: 4157
Submitted by: eseidel
Reviewed by: sullivan
        * DrawTest/AppDelegate.h: Added.
        * DrawTest/AppDelegate.m: Added.
        * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
        * DrawTest/DrawTestDocument.h: Added.
        * DrawTest/DrawTestDocument.m: Added.
        * DrawTest/DrawTestInspectorController.h: Added.
        * DrawTest/DrawTestInspectorController.m: Added.
        * DrawTest/DrawTestToolbarController.h: Added.
        * DrawTest/DrawTestToolbarController.m: Added.
        * DrawTest/DrawTestView.h: Added.
        * DrawTest/DrawTestView.m: Added.
        * DrawTest/DrawTest_Prefix.pch: Added.
        * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
        * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
        * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
        * DrawTest/English.lproj/InfoPlist.strings: Added.
        * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
        * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
        * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
        * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
        * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
        * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
        * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
        * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
        * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
        * DrawTest/Info.plist: Added.
        * DrawTest/SVGTest.h: Added.
        * DrawTest/SVGTest.m: Added.
        * DrawTest/ScalingImageView.h: Added.
        * DrawTest/ScalingImageView.m: Added.
        * DrawTest/TestController.h: Added.
        * DrawTest/TestController.m: Added.
        * DrawTest/TestViewerSplitView.h: Added.
        * DrawTest/TestViewerSplitView.m: Added.
        * DrawTest/main.m: Added.
        Adding simple cocoa app for testing SVG rendering, interaction.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4157

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9946 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 3936
eseidel [Fri, 29 Jul 2005 06:21:12 +0000 (06:21 +0000)]
Bug #: 3936
Submitted by: Ben La Monica
Reviewed by: darin, eseidel
        * kdom/css/impl/kdomparsercss.y: commented out %destructor %verbose
        * kdom/xpath/impl/parser/xpath.ypp: added missing definitions
        Fixes kdom to build with bison 1.28
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3936

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9945 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4154
eseidel [Fri, 29 Jul 2005 06:11:14 +0000 (06:11 +0000)]
Bug #: 4154
Submitted by: eseidel
Reviewed by: mjs
        * WebCore.xcodeproj/project.pbxproj: Added SVG files back.
        * kdom/css/CSSCharsetRule.cpp:
        * kdom/css/CSSFontFaceRule.cpp:
        * kdom/css/CSSImportRule.cpp:
        * kdom/css/CSSMediaRule.cpp:
        * kdom/css/CSSPageRule.cpp:
        * kdom/css/CSSPrimitiveValue.cpp:
        * kdom/css/CSSRule.cpp:
        * kdom/css/CSSRuleList.cpp:
        * kdom/css/CSSStyleDeclaration.cpp:
        * kdom/css/CSSStyleRule.cpp:
        * kdom/css/CSSStyleSheet.cpp:
        * kdom/css/CSSValue.cpp:
        * kdom/css/CSSValueList.cpp:
        * kdom/css/Counter.cpp:
        * kdom/css/DocumentStyle.cpp:
        * kdom/css/MediaList.cpp:
        * kdom/css/RGBColor.cpp:
        * kdom/css/Rect.cpp:
        * kdom/css/StyleSheet.cpp:
        * kdom/css/StyleSheetList.cpp:
        * kdom/ecma/DOMLookup.h: Hacked around mjs's latest JSC change.
        Fixed #include statements to build under Xcode 2.1.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4154

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9943 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4156
eseidel [Fri, 29 Jul 2005 05:26:07 +0000 (05:26 +0000)]
Bug #: 4156
Submitted by: eseidel
Reviewed by: ggaren
        * svg2png/svg2png.m: Added.
        * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
        * svg2png/svg2png_Prefix.pch: Added.
        Added a simple test tool which dumps a PNG from an SVG using
        WebCore+SVG's SVG rendering support.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=4156

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9942 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoManual message.
hyatt [Fri, 29 Jul 2005 02:45:10 +0000 (02:45 +0000)]
Manual message.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9941 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoManual message, having commit issues.
hyatt [Fri, 29 Jul 2005 02:42:31 +0000 (02:42 +0000)]
Manual message, having commit issues.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9940 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoTest?
hyatt [Fri, 29 Jul 2005 02:40:41 +0000 (02:40 +0000)]
Test?

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9939 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Implement support for the :checked, :enabled and :disabled pseudo-classes.
hyatt [Thu, 28 Jul 2005 23:27:14 +0000 (23:27 +0000)]
Implement support for the :checked, :enabled and :disabled pseudo-classes.

        Reviewed by john

        * khtml/css/css_base.cpp:
        (CSSSelector::extractPseudoType):
        * khtml/css/css_base.h:
        (DOM::CSSSelector::):
        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::checkOneSelector):
        * khtml/html/html_formimpl.h:
        (DOM::HTMLGenericFormElementImpl::isControl):
        (DOM::HTMLGenericFormElementImpl::isEnabled):
        (DOM::HTMLInputElementImpl::isChecked):
        * khtml/rendering/render_theme.cpp:
        (khtml::RenderTheme::isChecked):
        (khtml::RenderTheme::isEnabled):
        * khtml/xml/dom_nodeimpl.h:
        (DOM::NodeImpl::isControl):
        (DOM::NodeImpl::isEnabled):
        (DOM::NodeImpl::isChecked):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9938 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago This is a fix for <rdar://problem/4190684>. Hyatt and I
bdakin [Thu, 28 Jul 2005 22:52:50 +0000 (22:52 +0000)]
This is a fix for <rdar://problem/4190684>. Hyatt and I
(okay, mostly Hyatt) wrote this for Cayenne so that they
can change the value of a style of a rule and have everything
update dynamically without causing a crash.

Reviewed by Hyatt

        Test cases added: (NONE)

        * khtml/css/css_valueimpl.cpp:
        (DOM::CSSMutableStyleDeclarationImpl::setChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9937 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Moved non-AppKit related code from RenderThemeMac to RenderTheme so potentially...
cblu [Thu, 28 Jul 2005 21:28:00 +0000 (21:28 +0000)]
Moved non-AppKit related code from RenderThemeMac to RenderTheme so potentially other RenderTheme subclasses can inherit more behavior.

        Reviewed by hyatt.

        * khtml/rendering/render_theme.cpp:
        (khtml::RenderTheme::baselinePosition):
        (khtml::RenderTheme::isControlContainer):
        (khtml::RenderTheme::sizeForFont):
        (khtml::RenderTheme::setSizeFromFont):
        (khtml::RenderTheme::setCheckboxSize):
        (khtml::RenderTheme::adjustCheckboxStyle):
        * khtml/rendering/render_theme.h:
        * khtml/rendering/render_theme_mac.h:
        * khtml/rendering/render_theme_mac.mm:
        (khtml::RenderThemeMac::sizeForFont):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9936 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Make sure :focus is not matched when the window is not key.
hyatt [Thu, 28 Jul 2005 20:47:29 +0000 (20:47 +0000)]
Make sure :focus is not matched when the window is not key.
This involved adding a check to the style selector and also
removing the hack from the painter that turned off outline:auto
drawing when the window wasn't key.

Added support for control tinting when the window resigns/becomes
key.

        Reviewed by john

        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::checkOneSelector):
        * khtml/khtml_part.h:
        (KHTMLPart::displaysWithFocusAttributes):
        * khtml/rendering/render_theme.cpp:
        (khtml::RenderTheme::paint):
        (khtml::RenderTheme::isChecked):
        (khtml::RenderTheme::isEnabled):
        (khtml::RenderTheme::isFocused):
        (khtml::RenderTheme::isPressed):
        * khtml/rendering/render_theme.h:
        (khtml::RenderTheme::controlSupportsTints):
        * khtml/rendering/render_theme_mac.h:
        * khtml/rendering/render_theme_mac.mm:
        (khtml::RenderThemeMac::controlSupportsTints):
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::setDisplaysWithFocusAttributes):
        * kwq/KWQPainter.h:
        (QPainter::updatingControlTints):
        (QPainter::setUpdatingControlTints):
        * kwq/KWQPainter.mm:
        (QPainter::QPainter):
        (QPainter::initFocusRing):
        (QPainter::addFocusRingRect):
        (QPainter::drawFocusRing):
        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge drawRect:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9935 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Beth Dakin.
sullivan [Thu, 28 Jul 2005 20:30:37 +0000 (20:30 +0000)]
    Reviewed by Beth Dakin.

        - removed method -[WebHTMLRepresentation elementForView:], which was SPI used only for
        Safari autofill. Tip of tree Safari no longer includes any calls to this method. Also,
        Tiger Safari never gets around to actually calling it due to the other recent form-SPI-related
        changes, so removing this method doesn't break Tiger Safari running on tip of tree WebKit
        (though autofill continues to not work in that configuration).

        * WebView.subproj/WebHTMLRepresentation.h:
        * WebView.subproj/WebHTMLRepresentation.m:
        (-[WebHTMLRepresentation elementForView:]): removed

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9934 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by ken
justing [Thu, 28 Jul 2005 05:15:45 +0000 (05:15 +0000)]
    Reviewed by ken

        Fix for <rdar://problems/4038408&4154187&4125381&4125087>
            Mail: Editing at the bottom of a quoted block makes the text blue in certain cases

        Test cases added:
        * layout-tests/editing/deleting/delete-4038408-fix-expected.txt: Added.
        * layout-tests/editing/deleting/delete-4038408-fix.html: Added.

        * khtml/editing/delete_selection_command.cpp:
        (khtml::DeleteSelectionCommand::saveTypingStyleState):
        (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
        (khtml::DeleteSelectionCommand::clearTransientState):
        * khtml/editing/delete_selection_command.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9933 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoJavaScriptCore:
ggaren [Wed, 27 Jul 2005 23:44:59 +0000 (23:44 +0000)]
JavaScriptCore:

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4147
        Array.toString() and toLocaleString() improvements from KDE KJS
        (rolled in KDE changes)

        Test cases added:

        * layout-tests/fast/js/toString-overrides-expected.txt: Added.
        * layout-tests/fast/js/toString-overrides.html: Added.

        * kjs/array_object.cpp:
        (ArrayProtoFuncImp::call):

WebCore:

        - added test case for http://bugzilla.opendarwin.org/show_bug.cgi?id=4147
        Array.toString() and toLocaleString() improvements from KDE KJS

        Test cases added:

        * layout-tests/fast/js/toString-overrides-expected.txt: Added.
        * layout-tests/fast/js/toString-overrides.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9932 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix submitted by: Andrew Wellington <proton@wiretapped.net>
bdakin [Wed, 27 Jul 2005 23:41:41 +0000 (23:41 +0000)]
Fix submitted by: Andrew Wellington <proton@wiretapped.net>
        Reviewed by Beth Dakin.

This is a fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3406 and
<rdar://problem/3204011>. It does not solve all of the problems with
text-transform: capitalize, but it does fix some of the more notable
problems regarding apostrophes (like on amazon.com), and does not cause
any regressions (i.e., some things about text-transform are still wrong and some
of those things are wrong in different ways than they were wrong before, but
the patch does not seem to cause anything that was right to be newly
wrong.

        Test cases added: another text-transform test, see below

        * khtml/xml/dom_stringimpl.cpp: Here is the fix.
        (DOM::DOMStringImpl::capitalize):
        * layout-tests/css1/text_properties/text-transCapitalize-expected.txt: Added. New test case.
        * layout-tests/css1/text_properties/text-transCapitalize.html: Added. New test case.
        * layout-tests/css1/text_properties/text_transform-expected.txt: New expected results...
here are some instances where things were wrong before but are
wrong in new ways now.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9931 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Changes by Michael Kahl, reviewed by me.
mjs [Wed, 27 Jul 2005 23:10:48 +0000 (23:10 +0000)]
    Changes by Michael Kahl, reviewed by me.

- fixed <rdar://problem/4194278> Need better debugging support in JavaScriptCore

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * kjs/debugger.cpp:
        (KJS::AttachedInterpreter::AttachedInterpreter):
        (KJS::AttachedInterpreter::~AttachedInterpreter):
        (Debugger::~Debugger):
        (Debugger::attach):
        (Debugger::detach):
        (Debugger::sourceParsed):
        * kjs/debugger.h:
        * kjs/function.cpp:
        (KJS::FunctionImp::call):
        (KJS::GlobalFuncImp::call):
        * kjs/function_object.cpp:
        (FunctionObjectImp::construct):
        * kjs/grammar.y:
        * kjs/internal.cpp:
        (Parser::parse):
        (InterpreterImp::evaluate):
        * kjs/internal.h:
        (KJS::InterpreterImp::setDebugger):
        * kjs/interpreter.cpp:
        * kjs/interpreter.h:
        (KJS::Interpreter::imp):
        * kjs/nodes.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9929 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Trey Matteson <trey@usa.net>
sullivan [Wed, 27 Jul 2005 22:35:53 +0000 (22:35 +0000)]
Patch by Trey Matteson <trey@usa.net>
        Reviewed by me.

        Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4169
          scaling PDF view up leaves later HTML view scaled too

        An additional step of separating scaling of HTML and PDF.  If we do a zoom and there
        are no docViews that track the common scaling factor, then don't change it.  Thus in
        the common PDF case where it is the only doc view, scaling the PDF does not affect
        HTML pages loaded in the same window.

        * WebView.subproj/WebView.m:
        (-[WebView canMakeTextSmaller]):  Pass 0 for new scaling factor, since we just querying.
        (-[WebView canMakeTextLarger]):  Ditto.
        (-[WebView makeTextSmaller:]):  Pass new scaling factor.
        (-[WebView makeTextLarger:]):  Ditto.
        (-[WebView canMakeTextStandardSize]):  Pass 0 for new scaling factor.
        (-[WebView makeTextStandardSize:]):  Pass new scaling factor.
        (-[WebView _performTextSizingSelector:withObject:onTrackingDocs:selForNonTrackingDocs:newScaleFactor:]):
          The meat of the change is that this Swiss Army Knife also takes a new scaling
          factor, which it will set as the common scaling factor if it finds any doc views that
          are able to be scaled which track the common scaling factor.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9928 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Trey Matteson <trey@usa.net>
sullivan [Wed, 27 Jul 2005 21:36:42 +0000 (21:36 +0000)]
Patch by Trey Matteson <trey@usa.net>
        Reviewed by me.

        Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4015
          PDF views should remember viewing mode, scroll position across back/forward
          Note this doesn't work within frames because of a PDFKit bug - see 4164
        Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4091
          PDF views should keep a separate scaling factor from shared text scaling factor

        Basic idea #1 is that we now have a general mechanism for a WebDocView to save/restore some UI
        state to the WebHistoryItem.
        Basic idea #2 is that _WebDocumentTextSizing is expanded to allow for the case of a WebDocView
        keeping its own notion of a scaling factor.  WebPDFView's -_tracksCommonSizeFactor has justification.

        * History.subproj/WebHistoryItem.m:
        (-[WebHistoryItem setViewState:]):  New methods to hold PList of arbitrary WebView state
        (-[WebHistoryItem viewState]):
        * History.subproj/WebHistoryItemPrivate.h:
        * WebKit.xcodeproj/project.pbxproj:  Add Quartz to framework path so we can import PDFKit files
        * WebView.subproj/WebDocumentInternal.h:  New methods added to _WebDocumentTextSizing.
          Also the _ prefix is sufficient instead of _web_WebDocumentTextSizing.
          Added _WebDocumentViewState protocol.
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _createItemTreeWithTargetFrame:clippedAtTarget:]):  Rename of save/restore methods.
        (-[WebFrame _detachFromParent]):  Ditto
        (-[WebFrame _transitionToCommitted:]):  Ditto
        (-[WebFrame _checkLoadCompleteForThisFrame]):  Ditto
        (-[WebFrame _loadItem:withLoadType:]):  Ditto
        (-[WebFrame _recursiveGoToItem:fromItem:withLoadType:]):  Ditto
        (-[WebFrame _saveViewStateToItem:]):  Call doc view to retrieve view state.
        (-[WebFrame _restoreViewState]):  Call doc view to set view state.
        (-[WebFrame _scrollToTop]):  Nuked dead code.
        (-[WebFrame _textSizeMultiplierChanged]):  This work now appears in WebView.
        (-[WebFrame _saveDocumentAndScrollState]):  Same rename, one code cleanup.
        (-[WebFrame _accumulateDocumentViews:]): Add our docview to the array, call kids.
        (-[WebFrame _documentViews]):  New helper to return all docviews.
        (-[WebFrame _didFirstLayout]):  Same name change.
        * WebView.subproj/WebFrameInternal.h:
        * WebView.subproj/WebFramePrivate.h:
        * WebView.subproj/WebHTMLView.m:  Removed redundant category decl.
        (-[WebHTMLView _makeTextSmaller:]):  Implement new protocol.
        (-[WebHTMLView _makeTextLarger:]):
        (-[WebHTMLView _makeTextStandardSize:]):
        (-[WebHTMLView _tracksCommonSizeFactor]):
        * WebView.subproj/WebPDFRepresentation.m:  Tweak #imports.
        * WebView.subproj/WebPDFView.h:
        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView _menuItemsFromPDFKitForEvent:]):  No longer intercept context menu text sizing items.
        (-[WebPDFView setDataSource:]):  No longer track the WebView's scaling factor.
        (-[WebPDFView scrollPoint]):  Dig through PDFKit view tree to get real scroll position
        (-[WebPDFView setScrollPoint:]):  Ditto
        (-[WebPDFView viewState]):  Return bundle of viewing params
        (-[WebPDFView setViewState:]):  Restore bundle of viewing params
        (-[WebPDFView _makeTextSmaller:]):  Implement new text sizing protocol
        (-[WebPDFView _makeTextLarger:]):
        (-[WebPDFView _makeTextStandardSize:]):
        (-[WebPDFView _tracksCommonSizeFactor]):
        (-[WebPDFView _canMakeTextSmaller]):
        (-[WebPDFView _canMakeTextLarger]):
        (-[WebPDFView _canMakeTextStandardSize]):
        * WebView.subproj/WebTextView.m:
        (-[WebTextView _makeTextSmaller:]):  Implement new text sizing protocol
        (-[WebTextView _makeTextLarger:]):
        (-[WebTextView _makeTextStandardSize:]):
        (-[WebTextView _tracksCommonSizeFactor]):
        * WebView.subproj/WebView.m:
        (-[WebView setTextSizeMultiplier:]):  Calling docViews is now more complicates than just posting
           a notification to the frame.
        (-[WebView _performTextSizingSelector:withObject:onTrackingDocs:selForNonTrackingDocs:]):  Workhorse
           that sends the text sizing method to the right doc views.
        (-[WebView canMakeTextSmaller]):  Call workhorse.
        (-[WebView canMakeTextLarger]):  Ditto
        (-[WebView makeTextSmaller:]):  Ditto
        (-[WebView makeTextLarger:]):  Ditto
        (-[WebView canMakeTextStandardSize]):  Ditto
        (-[WebView makeTextStandardSize:]):  Ditto

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9926 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoJavaScriptCore:
ggaren [Wed, 27 Jul 2005 19:54:18 +0000 (19:54 +0000)]
JavaScriptCore:

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3381
        Date.prototype.setDate() incorrect for values >=128

        - Test cases added:

        * layout-tests/fast/js/date-big-setdate-expected.txt: Added.
        * layout-tests/fast/js/date-big-setdate.html: Added.

        Reviewed by darin.

        * kjs/date_object.cpp:
        (DateProtoFuncImp::call):

WebCore:

        Test cases added:

        * layout-tests/fast/js/date-big-setdate-expected.txt: Added.
        * layout-tests/fast/js/date-big-setdate.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9924 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Remove the "enforce a square size" rule for checkboxes. WinIE
hyatt [Wed, 27 Jul 2005 18:55:40 +0000 (18:55 +0000)]
Remove the "enforce a square size" rule for checkboxes. WinIE
doesn't do this, and I'm not sure where I came up with it.

Fix a bug in isFocusable that was causing disabled form
controls with no corresponding widget to still get focus!
(This bug affected my new checkbox but also <input type=image>
and the HTML4 button!)

        Reviewed by ggaren

        * khtml/html/html_formimpl.cpp:
        * khtml/rendering/render_theme_mac.mm:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9923 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoJavaScriptCore:
ggaren [Wed, 27 Jul 2005 18:22:18 +0000 (18:22 +0000)]
JavaScriptCore:

        -rolled in patch by Carsten Guenther <cguenther@gmail.com>
        for http://bugzilla.opendarwin.org/show_bug.cgi?id=3759
        Date object enhancements

        Test cases added:

        * layout-tests/fast/js/date-preserve-milliseconds-expected.txt: Added.
        * layout-tests/fast/js/date-preserve-milliseconds.html: Added.

        Reviewed by darin.

        * kjs/date_object.cpp:
        (timeFromArgs):
        (DateProtoFuncImp::call):
        (DateObjectImp::construct):
        (DateObjectFuncImp::call):
        (KJS::makeTime):
        * kjs/date_object.h:
        * tests/mozilla/expected.html:

WebCore:

        -added testcase for http://bugzilla.opendarwin.org/show_bug.cgi?id=3759
        Date object enhancements

        Reviewed by darin.

        Test cases added:

        * layout-tests/fast/js/date-preserve-milliseconds-expected.txt: Added.
        * layout-tests/fast/js/date-preserve-milliseconds.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9922 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Trey Matteson <trey@usa.net>
justing [Wed, 27 Jul 2005 02:01:03 +0000 (02:01 +0000)]
    Patch by Trey Matteson <trey@usa.net>

        Reviewed by John Sullivan.

        Fixed <http://bugzilla.opendarwin.org/show_bug.cgi?id=4072>
        Pressing back in browser misses out a page

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _transitionToCommitted:]):  When reloading the same page or refreshing the
        page, update the URL in the b/f item with the URL that we wind up at.  Due to cookies,
        it might be different than the result we just got when we loaded the same page.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9920 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Trey Matteson <trey@usa.net>
justing [Wed, 27 Jul 2005 01:53:16 +0000 (01:53 +0000)]
    Patch by Trey Matteson <trey@usa.net>

        Reviewed by hyatt.

        Fixed <rdar://problem/4083496> some elements draw selection when printing
        Also listed as <http://bugzilla.opendarwin.org/show_bug.cgi?id=3992>

        Simply added tests to prevent selection drawing when printing.

        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::paintObject):
        * khtml/rendering/render_canvasimage.cpp:
        (RenderCanvasImage::paint):
        * khtml/rendering/render_image.cpp:
        (RenderImage::paint):
        * khtml/rendering/render_replaced.cpp:
        (RenderWidget::paint):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9919 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by darin
justing [Wed, 27 Jul 2005 01:34:28 +0000 (01:34 +0000)]
    Reviewed by darin

        Added forward declarations to fix new gcc4 errors

        * khtml/ecma/kjs_window.h:
        * khtml/xml/dom_elementimpl.h:
        * kwq/KWQMapImpl.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9918 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Added a forward declaration to fix gcc4 build error
justing [Wed, 27 Jul 2005 01:28:32 +0000 (01:28 +0000)]
    Added a forward declaration to fix gcc4 build error

        * kjs/function.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9917 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoHave to commit with my own checkin message, since commit-log-editor dies on this...
hyatt [Wed, 27 Jul 2005 01:12:29 +0000 (01:12 +0000)]
Have to commit with my own checkin message, since commit-log-editor dies on this patch for some odd reason.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9916 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoBug #: 4133
eseidel [Tue, 26 Jul 2005 23:12:11 +0000 (23:12 +0000)]
Bug #: 4133
Submitted by: eseidel
Reviewed by: darin
        * WebCore.xcodeproj/project.pbxproj: Removed unused C++ DOM
        * khtml/dom/css_rule.cpp: Removed.
        * khtml/dom/css_stylesheet.cpp: Removed.
        * khtml/dom/css_value.cpp: Removed.
        * khtml/dom/dom2_range.cpp: Removed.
        * khtml/dom/dom2_views.cpp: Removed.
        * khtml/dom/dom2_views.h: Removed.
        * khtml/dom/dom_core.h: Removed.
        * khtml/dom/dom_doc.cpp: Removed.
        * khtml/dom/dom_doc.h: Removed.
        * khtml/dom/dom_element.cpp: Removed.
        * khtml/dom/dom_element.h: Removed.
        * khtml/dom/dom_html.h: Removed.
        * khtml/dom/dom_node.cpp: Removed.
        * khtml/dom/dom_text.cpp: Removed.
        * khtml/dom/dom_text.h: Removed.
        * khtml/dom/dom_xml.cpp: Removed.
        * khtml/dom/dom_xml.h: Removed.
        * khtml/dom/html_base.cpp: Removed.
        * khtml/dom/html_base.h: Removed.
        * khtml/dom/html_block.cpp: Removed.
        * khtml/dom/html_block.h: Removed.
        * khtml/dom/html_document.cpp: Removed.
        * khtml/dom/html_document.h: Removed.
        * khtml/dom/html_element.cpp: Removed.
        * khtml/dom/html_element.h: Removed.
        * khtml/dom/html_form.cpp: Removed.
        * khtml/dom/html_form.h: Removed.
        * khtml/dom/html_head.cpp: Removed.
        * khtml/dom/html_head.h: Removed.
        * khtml/dom/html_image.cpp: Removed.
        * khtml/dom/html_image.h: Removed.
        * khtml/dom/html_inline.cpp: Removed.
        * khtml/dom/html_inline.h: Removed.
        * khtml/dom/html_list.cpp: Removed.
        * khtml/dom/html_list.h: Removed.
        * khtml/dom/html_misc.cpp: Removed.
        * khtml/dom/html_misc.h: Removed.
        * khtml/dom/html_object.cpp: Removed.
        * khtml/dom/html_object.h: Removed.
        * khtml/dom/html_table.cpp: Removed.
        * khtml/dom/html_table.h: Removed.
        This removes unused C++ DOM files from both the project and
        the repository.  There are a few left (css_, dom_) which will
        need to be cleaned over time.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9915 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Make WebHTMLView inherit from NSControl instead of NSView.
hyatt [Tue, 26 Jul 2005 20:29:06 +0000 (20:29 +0000)]
Make WebHTMLView inherit from NSControl instead of NSView.
This change is necessary because the theme renderer for
WebCore that draws controls with the Aqua appearance does so
using NSCells.  NSCells must be hosted within a control view
in order to paint properly.

The method updateCell must be overridden because it wants to
repaint the whole control when the windows resigns/becomes
key, and this would result in behavior that we don't want
(the repainting of the whole view).  We already have hooks
in WebHTMLView for the window resigning/becoming key so
we will do our proper control updating there instead (in a
future patch).

        Reviewed by john

        * WebView.subproj/WebHTMLView.h:
        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView updateCell:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9908 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
sullivan [Tue, 26 Jul 2005 17:37:25 +0000 (17:37 +0000)]
WebCore:

        Reviewed by Chris Blumenberg.

        Test cases added: none, only affects Safari autofill

        - more work to wean form-related SPI from NSView. All that's left (but this is a big "all")
        is viewForElement: and elementForView:

        * kwq/WebCoreBridge.h:
        Rename control:textView:doCommandBySelector: to textField:doCommandBySelector:, and changed
        to take DOMHTMLInputElement* rather than NSControl* and NSTextView*

        * kwq/KWQTextField.mm:
        (-[KWQTextFieldController control:textView:doCommandBySelector:]):
        call renamed bridge method, passing DOMElement* instead of NSView*

WebKit:

        Reviewed by Chris Blumenberg.

        - more work to wean form-related SPI from NSView. All that's left (but this is a big "all")
        is viewForElement: and elementForView:

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge textField:doCommandBySelector:]):
        changed signature to pass along DOMElement* rather than NSView*

        * WebView.subproj/WebFormDelegate.h:
        * WebView.subproj/WebFormDelegate.m:
        (-[WebFormDelegate textField:doCommandBySelector:inFrame:]):
        ditto

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9907 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoFor every makefile that we set Xcode's default for PBXProductDirectory, also set...
cblu [Tue, 26 Jul 2005 17:28:58 +0000 (17:28 +0000)]
For every makefile that we set Xcode's default for PBXProductDirectory, also set PBXIntermediatesDirectory. This allows multiple CVS trees to live on one system without confusing each other.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9906 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
sullivan [Tue, 26 Jul 2005 16:34:17 +0000 (16:34 +0000)]
WebCore:

        Reviewed by Darin Adler.

        Test cases added: none, only affects Safari autofill

        - big hunk of weaning form-related SPI from NSView; autofill continues to
        work (but only on tip of tree Safari)

        * kwq/KWQTextArea.mm:
        (-[KWQTextArea textDidChange:]):
        call renamed bridge method, passing DOMElement* instead of NSView*

        * kwq/KWQTextField.mm:
        (-[KWQTextFieldController controlTextDidBeginEditing:]):
        call renamed bridge method, passing DOMElement* instead of NSView*
        (-[KWQTextFieldController controlTextDidEndEditing:]):
        ditto
        (-[KWQTextFieldController controlTextDidChange:]):
        ditto
        (-[KWQTextFieldController control:textShouldBeginEditing:]):
        don't call through to bridge form-delegate-related method; I deleted it because it was
        not being used
        (-[KWQTextFieldController control:textShouldEndEditing:]):
        ditto
        (-[KWQTextFieldController textView:shouldHandleEvent:]):
        call renamed bridge method, passing DOMElement* instead of NSView*

        * kwq/WebCoreBridge.h:
        Remove textShouldBeginEditing and textShouldEndEditing methods since they weren't being used.
        Rename other methods and made them take DOMElement* instead of NSView*

WebKit:

        Reviewed by Darin Adler.

        - big hunk of weaning form-related SPI from NSView; autofill continues to
        work (but only on tip of tree Safari)

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge textFieldDidBeginEditing:]):
        changed name from controlTextXXX:, now takes a DOMHTMLInputElement*
        (-[WebBridge textFieldDidEndEditing:]):
        ditto
        (-[WebBridge textDidChangeInTextField:]):
        ditto
        (-[WebBridge textDidChangeInTextArea:]):
        changed name from textDidChange:, now takes a DOMHTMLTextAreaElement*
        (-[WebBridge control:textShouldBeginEditing:]):
        removed this method as it wasn't being used by autofill, and did nothing in WebKit
        (-[WebBridge control:textShouldEndEditing:]):
        ditto
        (-[WebBridge textField:shouldHandleEvent:]):
        changed name from control:textView:shouldHandleEvent:, now takes a DOMHTMLInputElement*.
        The textView parameter wasn't being used, so I eliminated it.

        * WebView.subproj/WebFormDelegate.h:
        * WebView.subproj/WebFormDelegate.m:
        (-[WebFormDelegate textFieldDidBeginEditing:inFrame:]):
        (-[WebFormDelegate textFieldDidEndEditing:inFrame:]):
        (-[WebFormDelegate control:textShouldBeginEditing:inFrame:]):
        (-[WebFormDelegate control:textShouldEndEditing:inFrame:]):
        (-[WebFormDelegate textDidChangeInTextField:inFrame:]):
        (-[WebFormDelegate textDidChangeInTextArea:inFrame:]):
        (-[WebFormDelegate textField:shouldHandleEvent:inFrame:]):
        These all changed in the same way as the WebBridge methods

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9905 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
mjs [Tue, 26 Jul 2005 08:54:15 +0000 (08:54 +0000)]
WebCore:

        - imported much of the w3c DOM test suite:

DOM Level 1 Core (html version)
DOM Level 2 Core (html version)
DOM Level 2 Events (html version)
DOM Level 2 HTML (html version)

For now I left out the XHTML versions.

        Test cases added: (NONE)

        * layout-tests/dom/html/level1/core/*
* layout-tests/dom/html/level2/core/*
        * layout-tests/dom/html/level2/events/*
        * layout-tests/dom/html/level2/html/*

WebKitTools:

        Reviewed by Darin.

- new script to review the DOM layout test results and see where we stand
on actual success and failure

        * Scripts/check-dom-results: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9904 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
mjs [Tue, 26 Jul 2005 08:36:06 +0000 (08:36 +0000)]
WebCore:

        - imported much of the w3c DOM test suite:

DOM Level 1 Core (html version)
DOM Level 2 Core (html version)
DOM Level 2 Events (html version)
DOM Level 2 HTML (html version)

For now I left out the XHTML versions.

        Test cases added: (NONE)

        * layout-tests/dom/html/level1/core/*
* layout-tests/dom/html/level2/core/*
        * layout-tests/dom/html/level2/events/*
        * layout-tests/dom/html/level2/html/*

WebKitTools:

        Reviewed by Darin.

- new script to review the DOM layout test results and see where we stand
on actual success and failure

        * Scripts/check-dom-results: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9903 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago * Scripts/webkitdirs.pm: Check in missing line of code.
darin [Tue, 26 Jul 2005 04:39:50 +0000 (04:39 +0000)]
    * Scripts/webkitdirs.pm: Check in missing line of code.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9902 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - fixed problem that was causing JavaScriptCore test to fail
darin [Tue, 26 Jul 2005 03:58:00 +0000 (03:58 +0000)]
    - fixed problem that was causing JavaScriptCore test to fail
          (except for people who had set DYLD_FRAMEWORK_PATH)

        * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
        Add code to parse configuration parameter so you can pass --deployment if you like.
        * Scripts/run-webkit-tests: Add code to parse configuration parameter.

        * Scripts/update-javascriptcore-test-results: Add license header.

        * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
        from @ARGV. This lets us use this option in commands that take other options and
        pass them along to a subsequent tool.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9901 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - fixed mistake in my last checkin -- the expected results included
ggaren [Tue, 26 Jul 2005 00:14:13 +0000 (00:14 +0000)]
    - fixed mistake in my last checkin -- the expected results included
        results from a patch that hasn't landed yet.

        * tests/mozilla/expected.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9893 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Darin.
vicki [Tue, 26 Jul 2005 00:11:33 +0000 (00:11 +0000)]
    Reviewed by Darin.

- fixed <rdar://problem/3470523> Safari's user agent should be changed to say Intel rather
than PPC on Intel machines

        * WebView.subproj/WebView.m: add conditional #defines for "PPC" and "Intel"
        (-[WebView userAgentForURL:]): use this variable when constructing the user agent string

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9892 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - fix mistake in last change that leads to assertion failure in the Developme...
mjs [Mon, 25 Jul 2005 23:35:36 +0000 (23:35 +0000)]
    - fix mistake in last change that leads to assertion failure in the Development build

        * kjs/lookup.h:
        (KJS::lookupGetOwnValue):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9891 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Beth Dakin.
vicki [Mon, 25 Jul 2005 23:13:35 +0000 (23:13 +0000)]
    Reviewed by Beth Dakin.

- fixed <rdar://problem/4011544> selecting an item from a <select> menu with
the mouse doesn't place the focus on the menu

Test cases added:
        * manual-tests/focus-select-when-clicked.html: Added.

        * kwq/KWQComboBox.mm:
        (-[KWQPopUpButton needsPanelToBecomeKey]): override this NSView method to return YES

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9890 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoJavaScriptCore:
mjs [Mon, 25 Jul 2005 22:17:20 +0000 (22:17 +0000)]
JavaScriptCore:

        Reviewed by Darin.

- http://bugzilla.opendarwin.org/show_bug.cgi?id=4124
(change JavaScript property access to avoid double lookup)

- 10% speedup on JavaScript iBench
- 5% speedup on 24fun BenchJS benchmark

Changed all get methods to getOwnProperty - they are no longer
responsible for prototype lookup, and determine if the property
was found as a side efect.

get() is now a nonvirtual ObjectImp method which calls the virtual
getOwnProperty and walks the prototype chain. A few selected
methods were inlined.

Changed ResolveNode::evaluate plus some other places to use
getProperty which does get() and hasProperty() in one lookup.

Also miscellaneous code cleanup.

* bindings/objc/objc_runtime.h:
        * bindings/objc/objc_runtime.mm:
        (ObjcFallbackObjectImp::ObjcFallbackObjectImp):
        (ObjcFallbackObjectImp::getOwnProperty):
        * bindings/runtime_array.cpp:
        (RuntimeArrayImp::RuntimeArrayImp):
        (RuntimeArrayImp::getOwnProperty):
        * bindings/runtime_array.h:
        * bindings/runtime_method.cpp:
        (RuntimeMethodImp::getOwnProperty):
        * bindings/runtime_method.h:
        * bindings/runtime_object.cpp:
        (RuntimeObjectImp::getOwnProperty):
        * bindings/runtime_object.h:
        * kjs/array_instance.h:
        * kjs/array_object.cpp:
        (ArrayInstanceImp::getOwnProperty):
        (ArrayPrototypeImp::getOwnProperty):
        (ArrayProtoFuncImp::call):
        * kjs/array_object.h:
        * kjs/date_object.cpp:
        (DatePrototypeImp::getOwnProperty):
        * kjs/date_object.h:
        * kjs/function.cpp:
        (KJS::FunctionImp::getOwnProperty):
        (KJS::ArgumentsImp::getOwnProperty):
        (KJS::ActivationImp::getOwnProperty):
        * kjs/function.h:
        * kjs/lookup.h:
        (KJS::lookupGetOwnProperty):
        (KJS::lookupGetOwnFunction):
        (KJS::lookupGetOwnValue):
        * kjs/math_object.cpp:
        (MathObjectImp::getOwnProperty):
        (MathObjectImp::getValueProperty):
        * kjs/math_object.h:
        * kjs/nodes.cpp:
        (ResolveNode::evaluate):
        * kjs/number_object.cpp:
        (NumberObjectImp::getOwnProperty):
        * kjs/number_object.h:
        * kjs/object.cpp:
        (KJS::ObjectImp::get):
        (KJS::ObjectImp::getOwnProperty):
        (KJS::ObjectImp::getProperty):
        * kjs/object.h:
        (KJS::ObjectImp::getProperty):
        (KJS::ObjectImp::getOwnProperty):
        * kjs/object_object.cpp:
        (ObjectProtoFuncImp::call):
        * kjs/regexp_object.cpp:
        (RegExpObjectImp::getOwnProperty):
        * kjs/regexp_object.h:
        * kjs/string_object.cpp:
        (StringInstanceImp::getOwnProperty):
        (StringPrototypeImp::getOwnProperty):
        * kjs/string_object.h:

WebCore:

        Reviewed by Darin.

- http://bugzilla.opendarwin.org/show_bug.cgi?id=4124
(change JavaScript property access to avoid double lookup)

- 10% speedup on JavaScript iBench
- 5% speedup on 24fun BenchJS benchmark

Changed all get methods to getOwnProperty - they are no longer responsible for
prototype lookup, and determine if the property was found as a side efect.

Also miscellaneous code cleanup.

        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMCSSStyleDeclaration::getOwnProperty):
        (KJS::DOMStyleSheet::getOwnProperty):
        (KJS::DOMStyleSheetList::getOwnProperty):
        (KJS::DOMMediaList::getOwnProperty):
        (KJS::DOMCSSStyleSheet::getOwnProperty):
        (KJS::DOMCSSRuleList::getOwnProperty):
        (KJS::DOMCSSRule::getOwnProperty):
        (KJS::DOMCSSRule::getValueProperty):
        (KJS::CSSRuleConstructor::getOwnProperty):
        (KJS::DOMCSSValue::getOwnProperty):
        (KJS::CSSValueConstructor::getOwnProperty):
        (KJS::DOMCSSPrimitiveValue::getOwnProperty):
        (KJS::CSSPrimitiveValueConstructor::getOwnProperty):
        (KJS::DOMCSSValueList::getOwnProperty):
        (KJS::DOMRGBColor::getOwnProperty):
        (KJS::DOMRect::getOwnProperty):
        (KJS::DOMCounter::getOwnProperty):
        * khtml/ecma/kjs_css.h:
        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMNode::getOwnProperty):
        (KJS::DOMNodeList::getOwnProperty):
        (KJS::DOMAttr::getOwnProperty):
        (KJS::DOMDocument::getOwnProperty):
        (KJS::DOMElement::getOwnProperty):
        (KJS::DOMDocumentType::getOwnProperty):
        (KJS::DOMNamedNodeMap::getOwnProperty):
        (KJS::DOMProcessingInstruction::getOwnProperty):
        (KJS::DOMNotation::getOwnProperty):
        (KJS::DOMEntity::getOwnProperty):
        (KJS::NodeConstructor::getOwnProperty):
        (KJS::DOMExceptionConstructor::getOwnProperty):
        (KJS::DOMNamedNodesCollection::getOwnProperty):
        (KJS::DOMCharacterData::getOwnProperty):
        * khtml/ecma/kjs_dom.h:
        * khtml/ecma/kjs_events.cpp:
        (KJS::EventConstructor::getOwnProperty):
        (KJS::DOMEvent::getOwnProperty):
        (KJS::EventExceptionConstructor::getOwnProperty):
        (KJS::DOMUIEvent::getOwnProperty):
        (KJS::DOMMouseEvent::getOwnProperty):
        (KJS::DOMKeyboardEvent::getOwnProperty):
        (KJS::MutationEventConstructor::getOwnProperty):
        (KJS::DOMMutationEvent::getOwnProperty):
        (KJS::DOMWheelEvent::getOwnProperty):
        (KJS::Clipboard::getOwnProperty):
        * khtml/ecma/kjs_events.h:
        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLDocument::getOwnProperty):
        (KJS::KJS::HTMLElement::getOwnProperty):
        (KJS::KJS::HTMLCollection::getOwnProperty):
        (KJS::KJS::HTMLSelectCollection::getOwnProperty):
        (KJS::Image::getOwnProperty):
        (KJS::Context2D::getOwnProperty):
        (KJS::Gradient::getOwnProperty):
        (KJS::ImagePattern::getOwnProperty):
        * khtml/ecma/kjs_html.h:
        * khtml/ecma/kjs_navigator.cpp:
        (KJS::Plugin::Plugin):
        (KJS::Navigator::getOwnProperty):
        (KJS::Plugins::getOwnProperty):
        (KJS::MimeTypes::getOwnProperty):
        (KJS::Plugin::getOwnProperty):
        (KJS::MimeType::getOwnProperty):
        * khtml/ecma/kjs_navigator.h:
        * khtml/ecma/kjs_range.cpp:
        (KJS::DOMRange::getOwnProperty):
        (KJS::RangeConstructor::getOwnProperty):
        * khtml/ecma/kjs_range.h:
        * khtml/ecma/kjs_traversal.cpp:
        (KJS::DOMNodeIterator::getOwnProperty):
        (KJS::NodeFilterConstructor::getOwnProperty):
        (KJS::DOMTreeWalker::getOwnProperty):
        * khtml/ecma/kjs_traversal.h:
        * khtml/ecma/kjs_views.cpp:
        (KJS::DOMAbstractView::getOwnProperty):
        * khtml/ecma/kjs_views.h:
        * khtml/ecma/kjs_window.cpp:
        (KJS::Screen::getOwnProperty):
        (KJS::Window::~Window):
        (KJS::Window::getOwnProperty):
        (KJS::Window::put):
        (KJS::FrameArray::getOwnProperty):
        (KJS::Location::Location):
        (KJS::Location::getOwnProperty):
        (KJS::Location::put):
        (KJS::Selection::Selection):
        (KJS::Selection::getOwnProperty):
        (KJS::BarInfo::getOwnProperty):
        (KJS::History::getOwnProperty):
        * khtml/ecma/kjs_window.h:
        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequest::getOwnProperty):
        * khtml/ecma/xmlhttprequest.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9889 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Geoff Garen.
darin [Mon, 25 Jul 2005 21:55:06 +0000 (21:55 +0000)]
    Reviewed by Geoff Garen.

        - Fixed run-safari and gdb-safari to use the Safari application in the build results
          directory, if any, falling back to the one in the Applications directory otherwise.
          Does no harm for open source contributors who don't build Safari, and helps out the
          Safari team, since we do build Safari.

        * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
        variable, and if that's not present, looks in either the build results directory or
        /Applications; factors code that was in both scripts before into a shared function.
        Also removed some Xcode 2.0 support which is no longer relevant since our projects are
        now in Xcode 2.1 format and incompatible with older versions of Xcode.

        * Scripts/gdb-safari: Use safariPath.
        * Scripts/run-safari: Use safariPath.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9888 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by hyatt
justing [Mon, 25 Jul 2005 21:50:27 +0000 (21:50 +0000)]
    Reviewed by hyatt

        Backing out a change that made the caret invisible in Mail in certain situations.

        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::paintObject):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9887 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3971
ggaren [Mon, 25 Jul 2005 20:38:32 +0000 (20:38 +0000)]
    - fixed bugzilla.opendarwin.org/show_bug.cgi?id=3971
        JS test suite depends on JS 1.2 behavior

        Reviewed by darin.

        * tests/mozilla/js1_2/Array/tostring_1.js: now tests only for JS 1.5 behavior
        * tests/mozilla/js1_2/Array/tostring_2.js: ditto
        * tests/mozilla/expected.html:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9886 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Added a manual test for a recent change to WebKit
justing [Mon, 25 Jul 2005 16:59:02 +0000 (16:59 +0000)]
    Added a manual test for a recent change to WebKit

        Test cases added:
        * manual-tests/deleteToEndOfLine.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9885 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by mjs
justing [Mon, 25 Jul 2005 00:35:32 +0000 (00:35 +0000)]
    Reviewed by mjs

        - Fixes <rdar://problem/4120535> deleteToEndOfLine: does not delete thew newline when at the end of a line
            Fix to match NSTextView.  Delete the next character if deleteToEndOfLine fails

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView deleteToEndOfLine:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9884 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Trey Matteson <trey@apple.com>
justing [Sun, 24 Jul 2005 22:58:23 +0000 (22:58 +0000)]
    Patch by Trey Matteson <trey@apple.com>

        Reviewed by john

        Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3953> back-forward items have wrong titles after sub-frame navigations

        This was caused by a mistaken data structure, where WebDataSource tried to keep a list of
        b/f items it was responsible for.  The problem arose in the case of frames, where a subframe
        was loaded with new content.  When this happens a fresh tree of b/f items is created,
        but the reference in the DataSource still pointed to the old item.

        Since the WebFrame does a lot of work to track the current b/f item, the easiest thing is to
        get rid of the DataSource's reference, and have it ask the WebFrame to set the title on the
        right b/f item.

        * WebView.subproj/WebDataSource.m:
        (-[WebDataSourcePrivate dealloc]):
        (-[WebDataSource _setTitle:]):
        * WebView.subproj/WebDataSourcePrivate.h:
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _createItem:]):
        (-[WebFrame _transitionToCommitted:]):
        (-[WebFrame _loadURL:referrer:loadType:target:triggeringEvent:form:formValues:]):
        (-[WebFrame _setTitle:]):
        * WebView.subproj/WebFramePrivate.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9883 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by Anders Carlsson <andersca@mac.com>
justing [Sun, 24 Jul 2005 22:44:55 +0000 (22:44 +0000)]
    Patch by Anders Carlsson <andersca@mac.com>

        Reviewed by hyatt

        - <http://bugzilla.opendarwin.org/show_bug.cgi?id=3615> canvas transform matrix does not apply to patterns
        Fill and stroke patterns are created in the respective fill and stroke functions using the current CTM.

        * khtml/ecma/kjs_html.cpp:
        (KJS::KJS::Context2DFunction::call):
        (KJS::Context2D::updateFillImagePattern):
        (KJS::Context2D::updateStrokeImagePattern):
        (KJS::Context2D::putValueProperty):
        (KJS::Context2D::Context2D):
        (KJS::_rh):
        (KJS::ImagePattern::createPattern):
        * khtml/ecma/kjs_html.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9882 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by kevin.
justing [Sun, 24 Jul 2005 22:01:02 +0000 (22:01 +0000)]
    Reviewed by kevin.

        Fixes make clean problem introduced in xcode2.1 transition

        * Makefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9881 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by kevin
justing [Sun, 24 Jul 2005 21:58:10 +0000 (21:58 +0000)]
    Reviewed by kevin

        Fixed make clean problem

        * Makefile.am:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9880 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by <opendarwin.org@mitzpettel.com>
justing [Sun, 24 Jul 2005 21:36:26 +0000 (21:36 +0000)]
    Patch by <opendarwin.org@mitzpettel.com>

        Reviewed by darin and hyatt

        Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3862>
        The fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=3545> enclosed each run of visually ordered
        hebrew with LRO and PDF control characters, but adjusted the run's to and from to include those characters,
        so that they would be rendered if the font includes a glyph for bidi control characters.

        Also adding a manual test

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (reverseCharactersInRun):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9879 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Adding a manual test for <http://bugzilla.opendarwin.org/show_bug.cgi?id...
justing [Sun, 24 Jul 2005 21:35:34 +0000 (21:35 +0000)]
    Adding a manual test for <bugzilla.opendarwin.org/show_bug.cgi?id=3862>

        Test cases added:
        * manual-tests/bidi-visible-control-characters.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9878 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Adding a manual test for <http://bugzilla.opendarwin.org/show_bug.cgi?id...
justing [Sat, 23 Jul 2005 20:49:36 +0000 (20:49 +0000)]
    Adding a manual test for <bugzilla.opendarwin.org/show_bug.cgi?id=3862>, since
        our layout test font doesn't include glyphs for bidi control characters

        Test cases added:
        * manual-tests/bidi-visible-control-characters.html: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9877 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Patch by <opendarwin.org@mitzpettel.com>
justing [Sat, 23 Jul 2005 20:45:31 +0000 (20:45 +0000)]
    Patch by <opendarwin.org@mitzpettel.com>

        Reviewed by darin and hyatt

        Fixes <http://bugzilla.opendarwin.org/show_bug.cgi?id=3862>
        The fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=3545> enclosed each run of visually ordered
        hebrew with LRO and PDF control characters, but adjusted the run's to and from to include those characters,
        so that they would be rendered if the font includes a glyph for bidi control characters.

        Also adding a manual test (our default layout test font does not include bidi control characters)

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (reverseCharactersInRun):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9876 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by darin.
ggaren [Sat, 23 Jul 2005 00:50:36 +0000 (00:50 +0000)]
    Reviewed by darin.

        * kjs/date_object.cpp: DatePrototypeImp now identifies itself as a
        child class of DateInstanceImp -- this enables calls to Date.ValueOf().

        fixes: ecma/Date/15.9.5.js (once we enable the date tests).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9875 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoJavaScriptCore:
ggaren [Sat, 23 Jul 2005 00:34:52 +0000 (00:34 +0000)]
JavaScriptCore:

        Reviewed by darin.

        * tests/mozilla/jsDriver.pl: now takes the path to testkjs as a command-line argument
        * tests/mozilla/run-mozilla-tests: Removed.

WebKitTools:

        Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
        run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl

        Moved Tools/Scripts/update-mozilla-js-test-results to
        WebKitTools/Scripts/update-javascriptcore-test-results.

        Reviewed by darin.

        * Scripts/run-javascriptcore-tests: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9874 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Justin Garcia.
sullivan [Fri, 22 Jul 2005 21:52:11 +0000 (21:52 +0000)]
    Reviewed by Justin Garcia.

        Mail (running on tip of tree WebKit) was running into an assertion I recently added.
        The assertion is actually correct, catching an old bug in this code.

        * WebView.subproj/WebView.m:
        (-[WebView selectedFrame]):
        if the first responder is a WebFrameView, then we've found the WebFrameView we're
        looking for, and we shouldn't look at its superviews.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9873 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Put back in the <script src="foo"/> self-closing tag quirk in HTML. Unfortunately
hyatt [Fri, 22 Jul 2005 21:34:11 +0000 (21:34 +0000)]
Put back in the <script src="foo"/> self-closing tag quirk in HTML.  Unfortunately
Dashboard widgets are dependent on this quirk.

        Reviewed by mjs

        * khtml/html/htmltokenizer.cpp:
        (khtml::HTMLTokenizer::parseTag):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9872 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years agoWebCore:
sullivan [Fri, 22 Jul 2005 18:09:25 +0000 (18:09 +0000)]
WebCore:

        Reviewed by Chris Blumenberg.

        Test cases added: none, this only affects Safari autocomplete; it doesn't affect any
        web pages.

        - some changes in the direction of weaning all the form-related SPI from NSView

        * kwq/DOMExtensions.h:
        added -[DOMHTMLInputElement isTextField]
        * kwq/DOMHTML.mm:
        (-[DOMHTMLInputElement isTextField]):
        new method that returns YES if this element is one of the types that's represented
        by a text field (as opposed to a button, slider, etc.). I could have put this method
        in Safari, but it seems useful for other WebKit clients.

        * kwq/WebCoreBridge.h:
        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge viewForElement:]):
        added viewForElement: as a stopgap measure. This allowed me to convert controlsInForm:
        to return DOMElements rather than NSViews, while keeping autocomplete working in
        Safari tip of tree. When I finish the SPI conversion I'll delete this method. Note that
        from this point on, autocomplete will not work in Tiger Safari with tip of tree WebKit
        (it will always fail to find anything to autocomplete)
        (-[WebCoreBridge controlsInForm:]):
        now returns an array of DOMElement* rather than an array of NSView*

WebKit:

        Reviewed by Chris Blumenberg.

        - some changes in the direction of weaning all the form-related SPI from NSView

        * PublicHeaderChangesFromTiger.txt:
        noted that the WebCore change to add -[DOMHTMLInputElement isTextField] to
        DOMExtensions.h is a public header change.

        * WebView.subproj/WebHTMLRepresentation.h:
        * WebView.subproj/WebHTMLRepresentation.m:
        (-[WebHTMLRepresentation viewForElement:]):
        added viewForElement: as a stopgap measure. This allowed me to convert controlsInForm:
        to return DOMElements rather than NSViews, while keeping autocomplete working in
        Safari tip of tree. When I finish the SPI conversion I'll delete this method. Note that
        from this point on, autocomplete will not work in Tiger Safari with tip of tree WebKit
        (it will always fail to find anything to autocomplete)

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9871 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Reviewed by Darin.
adele [Fri, 22 Jul 2005 01:57:01 +0000 (01:57 +0000)]
    Reviewed by Darin.

        Changing temporary #ifndef to #if

        * WebCoreSupport.subproj/WebImageData.m:
        (-[WebImageData _checkSolidColor:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@9869 268f45cc-cd09-0410-ab3c-d52691b4dbfc