WebKit-https.git
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

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

        * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1

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

15 years ago Reviewed by Chris Blumenberg.
adele [Fri, 22 Jul 2005 00:02:23 +0000 (00:02 +0000)]
    Reviewed by Chris Blumenberg.

        - fixed <rdar://problem/4132797> don't register thin PPC WebKit plug-ins
        Merged fix for:
        <rdar://problem/4127100> [WebKit] 8B1016: After installing Acrobat Reader, can no longer see pdf's in Safari

        * Plugins.subproj/WebBasePluginPackage.h: Added isNativeLibraryData method.
        * Plugins.subproj/WebBasePluginPackage.m: (-[WebBasePluginPackage isNativeLibraryData:]): Added isNativeLibraryData method.
        * Plugins.subproj/WebNetscapePluginPackage.m: (-[WebNetscapePluginPackage initWithPath:]):
          calls isNativeLibraryData to determine whether or not to register the plug-in.
        * Plugins.subproj/WebPluginPackage.m: (-[WebPluginPackage initWithPath:]): ditto.
        * WebCoreSupport.subproj/WebImageData.m: (-[WebImageData _checkSolidColor:]): added comment for #ifdef.

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

15 years agoRemoving old XCode project files.
ggaren [Thu, 21 Jul 2005 22:48:22 +0000 (22:48 +0000)]
Removing old XCode project files.

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

15 years ago Removing old XCode project files.
ggaren [Thu, 21 Jul 2005 22:47:03 +0000 (22:47 +0000)]
    Removing old XCode project files.

        Reviewed by NOBODY (OOPS!).

        * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.

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

15 years ago Reviewed by NOBODY (OOPS!).
ggaren [Thu, 21 Jul 2005 20:38:11 +0000 (20:38 +0000)]
    Reviewed by NOBODY (OOPS!).

        * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.

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

15 years agoWebCore:
ggaren [Thu, 21 Jul 2005 20:33:56 +0000 (20:33 +0000)]
WebCore:

        Reviewed by NOBODY (OOPS!).

        Test cases added: (NONE)

        * WebCore.pbproj/project.pbxproj: Removed.

WebKit:

        Reviewed by NOBODY (OOPS!).

        * WebKit.pbproj/project.pbxproj: Removed.

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

15 years agoJavaScriptCore:
ggaren [Thu, 21 Jul 2005 20:28:25 +0000 (20:28 +0000)]
JavaScriptCore:

        Reviewed by NOBODY (OOPS!).

        * JavaScriptCore.xcodeproj/.cvsignore: Added.

WebCore:

        Reviewed by NOBODY (OOPS!).

        Test cases added: (NONE)

        * WebCore.xcodeproj/.cvsignore: Added.

WebKit:

        Reviewed by NOBODY (OOPS!).

        * WebKit.xcodeproj/.cvsignore: Added.

WebKitTools:

        Reviewed by NOBODY (OOPS!).

        * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.

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

15 years agoWebCore:
ggaren [Thu, 21 Jul 2005 20:24:37 +0000 (20:24 +0000)]
WebCore:

        Reviewed by NOBODY (OOPS!).

        Test cases added: (NONE)

        * WebCore.xcodeproj/project.pbxproj: Added.

WebKit:

        Reviewed by NOBODY (OOPS!).

        * WebKit.xcodeproj/project.pbxproj: Added.

WebKitTools:

        Reviewed by NOBODY (OOPS!).

        * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.

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

15 years ago*** empty log message ***
ggaren [Thu, 21 Jul 2005 19:46:42 +0000 (19:46 +0000)]
*** empty log message ***

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

15 years agoJavaScriptCore:
ggaren [Thu, 21 Jul 2005 19:44:18 +0000 (19:44 +0000)]
JavaScriptCore:

        Reviewed by NOBODY (OOPS!).

        * JavaScriptCore.pbproj/project.pbxproj: Removed.
        * JavaScriptCore.xcodeproj/ggaren.pbxuser: Added.
        * JavaScriptCore.xcodeproj/ggaren.perspective: Added.
        * JavaScriptCore.xcodeproj/project.pbxproj: Added.
        * Makefile.am:

WebCore:

        Reviewed by NOBODY (OOPS!).

        Test cases added: (NONE)

        * Makefile.am:

WebKit:

        Reviewed by NOBODY (OOPS!).

        * Makefile.am:

WebKitTools:

        Reviewed by NOBODY (OOPS!).

        * Scripts/build-webkit:

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

15 years ago Reviewed by Hyatt.
bdakin [Thu, 21 Jul 2005 16:33:33 +0000 (16:33 +0000)]
    Reviewed by Hyatt.

-fix for <rdar://problem/4169069> Also fixes the behavior of generated content
when it is specified within a list element.

        Test cases added: (NONE)

        * khtml/rendering/render_block.cpp:
        (khtml::RenderBlock::setStyle): Added loop to skip over list elements hen updating
generatedcontent.
        (khtml::RenderBlock::updateFirstLetter): Added clause so that the function updates the
first letter instead of just creating it.
        * khtml/rendering/render_inline.cpp:
        (RenderInline::setStyle): Added loop to skip over list elements when updating generated
content.

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

15 years ago Reviewed by Geoff.
mjs [Thu, 21 Jul 2005 04:10:54 +0000 (04:10 +0000)]
    Reviewed by Geoff.

- fix handling of special properties of the HTML document object. Now we
completely match IE.

        Test cases added:
* layout-tests/fast/dom/HTMLDocument/document-special-properties.html:
Added; new exhaustive test case.
        * layout-tests/fast/dom/HTMLDocument/document-special-properties-expected.txt: Added.

        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLDocument::hasOwnProperty): Check for named and doc extra named
items.
        (KJS::HTMLDocument::get): Return the appropriate element, window or collection
by name; give such named items precedence over built-in and custom properties.
        * khtml/ecma/kjs_window.cpp:
        (KJS::Window::get): Replace quirky &* idiom with call to get().
        * khtml/html/html_baseimpl.cpp:
        (HTMLIFrameElementImpl::parseMappedAttribute): Track by name as a doc
extra named item.
        (HTMLIFrameElementImpl::insertedIntoDocument): ditto
        (HTMLIFrameElementImpl::removedFromDocument): ditto
        * khtml/html/html_baseimpl.h:
        * khtml/html/html_documentimpl.cpp:
        (DOM::addItemToMap): Factored out from addNamedItem
        (DOM::removeItemFromMap): Factored out from removeNamedItem
        (DOM::HTMLDocumentImpl::addNamedItem): refactored
        (DOM::HTMLDocumentImpl::removeNamedItem): refactored
        (DOM::HTMLDocumentImpl::addDocExtraNamedItem): new method - maintains
a hashtable of the "extra" named items for a document, which are
iframes by name and applets and embeds by id.
        (DOM::HTMLDocumentImpl::removeDocExtraNamedItem): ditto
        (DOM::HTMLDocumentImpl::hasDocExtraNamedItem): ditto
        * khtml/html/html_documentimpl.h:
        * khtml/html/html_miscimpl.cpp:
        (DOM::HTMLCollectionImpl::traverseNextItem): Remove support for
DOC_NAMEABLE_ITEMS collection - no longer needed.
        (DOM::HTMLNameCollectionImpl::traverseNextItem): Add support for
DOCUMENT_NAMED_ITEMS, implementing the correct document rule.
        * khtml/html/html_miscimpl.h:
        (DOM::HTMLCollectionImpl::):
        * khtml/html/html_objectimpl.cpp:
        (DOM::HTMLAppletElementImpl::parseMappedAttribute): Track by id
as doc extra named item
        (DOM::HTMLAppletElementImpl::insertedIntoDocument): ditto
        (DOM::HTMLAppletElementImpl::removedFromDocument): ditto
        (DOM::HTMLObjectElementImpl::parseMappedAttribute): ditto
        (DOM::HTMLObjectElementImpl::insertedIntoDocument): ditto
        (DOM::HTMLObjectElementImpl::removedFromDocument): ditto
        * khtml/html/html_objectimpl.h:
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::nameableItems): removed - no longer used
        (DocumentImpl::documentNamedItems): added
        * khtml/xml/dom_docimpl.h:

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

15 years agoWebCore:
sullivan [Wed, 20 Jul 2005 22:55:07 +0000 (22:55 +0000)]
WebCore:

        Reviewed by Vicki Murley.

        - removed some form-related methods that weren't being used anywhere, in preparation
        for weaning WebKit's WebFormDelegate protocol from NSView.

        Test cases added: none, no behavior change

        * kwq/KWQTextField.mm:
        * kwq/WebCoreBridge.h:
        removed these methods:
        -control:didFailToFormatString:errorDescription:
        -control:didFailToValidatePartialString:errorDescription:
        -control:isValidObject:

WebKit:

        Reviewed by Vicki Murley.

        - removed some form-related methods that weren't being used anywhere, in preparation
        for weaning WebKit's WebFormDelegate protocol from NSView.

        * WebCoreSupport.subproj/WebBridge.m:
        * WebView.subproj/WebFormDelegate.h:
        * WebView.subproj/WebFormDelegate.m:
        removed these methods:
        -control:didFailToFormatString:errorDescription:
        -control:didFailToValidatePartialString:errorDescription:
        -control:isValidObject:

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

15 years ago Merged fix for:
adele [Wed, 20 Jul 2005 20:36:38 +0000 (20:36 +0000)]
      Merged fix for:
          <rdar://problem/4125127> [WebKit] horizontal rulers don't render on Safari on web.apple.com

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

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

15 years ago Merged fix for :
adele [Wed, 20 Jul 2005 20:04:13 +0000 (20:04 +0000)]
    Merged fix for :
        <rdar://problem/4118278> mail divide by zero navigating messages

        * WebCoreSupport.subproj/WebTextRenderer.m:
        (-[WebTextRenderer _extendGlyphToWidthMapToInclude:font:]):

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

15 years ago Rolling fix for <rdar://problem/4046602> back in.
adele [Wed, 20 Jul 2005 19:55:12 +0000 (19:55 +0000)]
    Rolling fix for <rdar://problem/4046602> back in.

    2005-03-11  David Harrison  <harrison@apple.com>

        Reviewed by Darin.

        <rdar://problem/4046602> WebCore invokes undefined behavior when the spell checker isn't running

        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::advanceToNextMisspelling):
        (KWQKHTMLPart::markMisspellings):
        Nil check checker.

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

15 years agoFixed reviewer name from previous checkin.
sullivan [Wed, 20 Jul 2005 18:34:19 +0000 (18:34 +0000)]
Fixed reviewer name from previous checkin.

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

15 years ago Reviewed by Adele Amchan.
sullivan [Wed, 20 Jul 2005 18:30:15 +0000 (18:30 +0000)]
    Reviewed by Adele Amchan.

        - added -[WebView selectedFrame] to SPI (pending public API), needed for 4180958

        * WebView.subproj/WebView.m:
        (-[WebView selectedFrame]):
        new method, extracted from _selectedOrMainFrame
        (-[WebView _selectedOrMainFrame]):
        now calls extracted method

        * WebView.subproj/WebViewPrivate.h:
        add -selectedFrame to PendingPublic category

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

15 years ago Reviewed by Darin.
adele [Wed, 20 Jul 2005 18:17:31 +0000 (18:17 +0000)]
    Reviewed by Darin.

        - fixed <rdar://problem/4181058> 8C45: Safari repro crash with document.write (DOM::NodeImpl::dispatchEvent)

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

        * kwq/KWQTextField.mm: (-[KWQTextFieldController setHasFocus:]): added nil check for widget, since it can get deleted during an event.

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

15 years agoJavaScriptCore:
mjs [Wed, 20 Jul 2005 07:29:46 +0000 (07:29 +0000)]
JavaScriptCore:

        Patch from Trey Matteson <trey@usa.net>, reviewed by me.

- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3956
some of WebKit builds with symbols, some doesn't

        * JavaScriptCore.pbproj/project.pbxproj: Generate symbols even for
Deployment.

WebCore:

        Patch from Trey Matteson <trey@usa.net>, reviewed by me.

- fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3956
some of WebKit builds with symbols, some doesn't

        * WebCore.pbproj/project.pbxproj: Generate symbols even for
Deployment.

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

15 years ago Reviewed by Kevin.
mjs [Wed, 20 Jul 2005 04:04:53 +0000 (04:04 +0000)]
    Reviewed by Kevin.

- fixed some mistakes in my previous checkin

        * khtml/html/html_objectimpl.cpp:
        (DOM::HTMLAppletElementImpl::parseMappedAttribute): Take name attribute out
of the "do nothing" case (duh).
        * layout-tests/fast/dom/Window/window-special-properties-expected.txt: Update
for change to the text at the top.

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

15 years ago Reviewed by Darin.
mjs [Wed, 20 Jul 2005 02:35:33 +0000 (02:35 +0000)]
    Reviewed by Darin.

- fix handling of special properties of the Window object. now we
almost completely match Win IE.

        Test cases added:
        * layout-tests/fast/dom/Window/window-special-properties-expected.txt: Added.
        * layout-tests/fast/dom/Window/window-special-properties.html: Added.

        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLDocument::hasOwnProperty):
        (KJS::HTMLDocument::tryGet):
        * khtml/ecma/kjs_window.cpp:
        (KJS::Window::get):
        (KJS::Window::hasOwnProperty):
        * khtml/html/html_documentimpl.cpp:
        (DOM::HTMLDocumentImpl::addNamedItem):
        (DOM::HTMLDocumentImpl::removeNamedItem):
        (DOM::HTMLDocumentImpl::hasNamedItem):
        * khtml/html/html_documentimpl.h:
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLFormElementImpl::attach):
        (DOM::HTMLFormElementImpl::insertedIntoDocument):
        (DOM::HTMLFormElementImpl::removedFromDocument):
        (DOM::HTMLFormElementImpl::parseMappedAttribute):
        * khtml/html/html_formimpl.h:
        * khtml/html/html_imageimpl.cpp:
        (HTMLImageElementImpl::parseMappedAttribute):
        (HTMLImageElementImpl::attach):
        (HTMLImageElementImpl::insertedIntoDocument):
        (HTMLImageElementImpl::removedFromDocument):
        * khtml/html/html_imageimpl.h:
        * khtml/html/html_miscimpl.cpp:
        (DOM::HTMLCollectionImpl::HTMLCollectionImpl):
        (DOM::HTMLCollectionImpl::traverseNextItem):
        (DOM::HTMLCollectionImpl::namedItem):
        (DOM::HTMLNameCollectionImpl::HTMLNameCollectionImpl):
        (DOM::HTMLNameCollectionImpl::traverseNextItem):
        (DOM::HTMLFormCollectionImpl::getNamedFormItem):
        (DOM::HTMLFormCollectionImpl::nextNamedItem):
        * khtml/html/html_miscimpl.h:
        (DOM::HTMLCollectionImpl::):
        * khtml/html/html_objectimpl.cpp:
        (DOM::HTMLAppletElementImpl::parseMappedAttribute):
        (DOM::HTMLAppletElementImpl::insertedIntoDocument):
        (DOM::HTMLAppletElementImpl::removedFromDocument):
        (DOM::HTMLEmbedElementImpl::parseMappedAttribute):
        (DOM::HTMLEmbedElementImpl::attach):
        (DOM::HTMLEmbedElementImpl::insertedIntoDocument):
        (DOM::HTMLEmbedElementImpl::removedFromDocument):
        (DOM::HTMLObjectElementImpl::parseMappedAttribute):
        (DOM::HTMLObjectElementImpl::detach):
        (DOM::HTMLObjectElementImpl::insertedIntoDocument):
        (DOM::HTMLObjectElementImpl::removedFromDocument):
        * khtml/html/html_objectimpl.h:
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::windowNamedItems):
        * khtml/xml/dom_docimpl.h:

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

15 years ago -fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3991
ggaren [Wed, 20 Jul 2005 02:23:57 +0000 (02:23 +0000)]
    -fixed bugzilla.opendarwin.org/show_bug.cgi?id=3991
        JSC doesn't implement Array.prototype.toLocaleString()

        -test failure: ecma_3/Array/15.4.4.3-1.js

        Reviewed by mjs.

        * kjs/array_object.cpp:
        (ArrayProtoFuncImp::call): now searches for toString and
        toLocaleString overrides in the array's elements

        * tests/mozilla/expected.html: failures are under 100! woohoo!

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

15 years ago -rolled in patch by Anders Carlsson <andersca@mac.com> for
ggaren [Wed, 20 Jul 2005 02:04:43 +0000 (02:04 +0000)]
    -rolled in patch by Anders Carlsson <andersca@mac.com> for
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3751
        REGRESSION: affects Blogger, GMail & Wikipedia: empty textarea's which should have content

        Reviewed by mjs.

        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLTextAreaElementImpl::defaultValue):
        (DOM::HTMLTextAreaElementImpl::attach):
        * khtml/html/html_formimpl.h:

        Test cases added:
        * manual-tests/textarea-after-stylesheet-link.html: Added.
        Test is manual because the result doesn't show up in DumpRenderTree

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

15 years ago Added a virtual deconstructor to fix gcc4 build warning
justing [Wed, 20 Jul 2005 01:17:28 +0000 (01:17 +0000)]
    Added a virtual deconstructor to fix gcc4 build warning

        * khtml/rendering/render_theme.h:
        (khtml::RenderTheme::~RenderTheme):

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

15 years ago Reviewed by Darin Adler.
sullivan [Wed, 20 Jul 2005 00:50:23 +0000 (00:50 +0000)]
    Reviewed by Darin Adler.

        - cleaned up code related to dealing with the "selected frame"; fixes radar bugs 4118830 and 4118820

        * WebView.subproj/WebTextView.m:
        (-[WebTextView resignFirstResponder]):
        call deselectAll here instead of replicating its guts, just for clarity

        * WebView.subproj/WebViewInternal.h:
        eliminated category WebInternal; all of these methods were used only inside WebView.m, so I moved
        them into the existing category WebFileInternal that was declared and implemented in WebView.m

        * WebView.subproj/WebView.m:
        (-[WebView searchFor:direction:caseSensitive:wrap:]):
        updated for name changes. Also, uses new _deselectFrame: to clear the selection if the found
        text is in a different frame.
        (-[WebView pasteboardTypesForSelection]):
        (-[WebView writeSelectionWithPasteboardTypes:toPasteboard:]):
        (-[WebView setSelectedDOMRange:affinity:]):
        (-[WebView selectedDOMRange]):
        (-[WebView selectionAffinity]):
        (-[WebView setTypingStyle:]):
        (-[WebView typingStyle]):
        (-[WebView styleDeclarationWithText:]):
        (-[WebView replaceSelectionWithNode:]):
        (-[WebView replaceSelectionWithText:]):
        (-[WebView replaceSelectionWithMarkupString:]):
        (-[WebView replaceSelectionWithArchive:]):
        (-[WebView deleteSelection]):
        (-[WebView applyStyle:]):
        updated for name changes only

        (-[WebView _frameIsSelected:]):
        new method, returns YES if given frame has a non-zero-length selection
        (-[WebView _deselectFrame:]):
        new method, clears selection from given frame
        (-[WebView _findSelectedFrameStartingFromFrame:]):
        new method, recursive helper used by _findSelectedFrame
        (-[WebView _findSelectedFrame]):
        new method, finds first frame that returns YES for _frameIsSelected, or nil
        (-[WebView _debugCollectSelectedFramesIntoArray:startingFromFrame:]):
        new method, recursive helper used by _debugCheckForMultipleSelectedFrames
        (-[WebView _debugCheckForMultipleSelectedFrames]):
        new method for debugging, fires an assertion if there's more than one selected frame.
        (-[WebView _selectedOrMainFrame]):
        renamed from _frameForCurrentSelection, which was a misleading name since the returned
        frame does not necessarily have a selection (or even focus). Now checks for a selected
        but non-focused frame if the first responder is not in any frame. Also, moved in file
        from WebInternal category to WebFileInternal category.
        (-[WebView _bridgeForSelectedOrMainFrame]):
        renamed from _bridgeForCurrentSelection, which was a misleading name for the same
        reasons as _frameForCurrentSelection. Also, moved in file from WebInternal category to
        WebFileInternal category.
        (-[WebView _isLoading]):
        (-[WebView _frameViewAtWindowPoint:]):
        (-[WebView _bridgeAtPoint:]):
        just moved in file from WebInternal category to WebFileInternal category

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

15 years ago Adding support for the "checkbox" appearance value. This is not yet implemented...
hyatt [Wed, 20 Jul 2005 00:45:49 +0000 (00:45 +0000)]
Adding support for the "checkbox" appearance value.  This is not yet implemented, but the
methods are now stubbed out and will get called.

Reviewed by mjs

        * WebCore.pbproj/project.pbxproj:
        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::adjustRenderStyle):
        (khtml::CSSStyleSelector::applyProperty):
        * khtml/css/html4.css:
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLInputElementImpl::createRenderer):
        * khtml/rendering/render_box.cpp:
        (RenderBox::paintBoxDecorations):
        * khtml/rendering/render_theme.cpp: Added.
        (khtml::RenderTheme::adjustStyle):
        (khtml::RenderTheme::paint):
        * khtml/rendering/render_theme.h: Added.
        * khtml/rendering/render_theme_mac.h: Added.
        * khtml/rendering/render_theme_mac.mm: Added.
        (khtml::theme):
        (khtml::RenderThemeMac::adjustCheckboxStyle):
        (khtml::RenderThemeMac::paintCheckbox):

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

15 years ago Fix performance regressions from attribute QName landing.
hyatt [Tue, 19 Jul 2005 23:44:07 +0000 (23:44 +0000)]
Fix performance regressions from attribute QName landing.

        Reviewed by mjs

        * khtml/html/htmltokenizer.cpp:
        (khtml::Token::addAttribute):
        (khtml::HTMLTokenizer::write):

Make sure attributes have a faster constructor that can avoid the copy of QualifiedNames.

Make sure to grab the part from the document outside the loop, so that it is not fetched
over and over again for every character in the source.

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

Only call paintCaret if the block is actually editable.

        * khtml/xml/dom_atomicstring.h:
        (DOM::operator!=):
        * khtml/xml/dom_elementimpl.h:
        (DOM::AttributeImpl::AttributeImpl):
        (DOM::AttributeImpl::~AttributeImpl):
        (DOM::MappedAttributeImpl::MappedAttributeImpl):

Add != comparison operator with a char* to speed up the / check for attribute invalidity.

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

15 years ago Reviewed by Maciej.
vicki [Tue, 19 Jul 2005 22:41:48 +0000 (22:41 +0000)]
    Reviewed by Maciej.

        Test cases added:
        * manual-tests/scrollIntoView-horizontal.html: Added.
        * manual-tests/scrollIntoView-vertical.html: Added.

        * khtml/xml/dom_elementimpl.h:
        * khtml/xml/dom_elementimpl.cpp:
        (ElementImpl::scrollIntoView): Added.
        * khtml/ecma/kjs_dom.h:
        (KJS::DOMNode::):
        (KJS::DOMElement::):
        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMElementProtoFunc::tryCall): glue for new scrollIntoView function

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

15 years ago - rolled in patch by opendarwin.org@mitzpettel.com for
ggaren [Tue, 19 Jul 2005 21:18:25 +0000 (21:18 +0000)]
    - rolled in patch by opendarwin.org@mitzpettel.com for
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3838
        Text runs unnecessarily split at EN L boundaries

        Reviewed by hyatt.

        * khtml/rendering/bidi.cpp:
        (khtml::RenderBlock::bidiReorderLine):

        Lots of new test case results because previous results had inappropriately
        split text runs.

        * layout-tests/css1/basic/containment-expected.txt:
        * layout-tests/css1/box_properties/border-expected.txt:
        * layout-tests/css1/box_properties/border_bottom-expected.txt:
        * layout-tests/css1/box_properties/border_bottom_inline-expected.txt:
        * layout-tests/css1/box_properties/border_bottom_width-expected.txt:
        * layout-tests/css1/box_properties/border_bottom_width_inline-expected.txt:
        * layout-tests/css1/box_properties/border_inline-expected.txt:
        * layout-tests/css1/box_properties/border_left-expected.txt:
        * layout-tests/css1/box_properties/border_left_inline-expected.txt:
        * layout-tests/css1/box_properties/border_left_width-expected.txt:
        * layout-tests/css1/box_properties/border_left_width_inline-expected.txt:
        * layout-tests/css1/box_properties/border_right-expected.txt:
        * layout-tests/css1/box_properties/border_right_inline-expected.txt:
        * layout-tests/css1/box_properties/border_right_width-expected.txt:
        * layout-tests/css1/box_properties/border_right_width_inline-expected.txt:
        * layout-tests/css1/box_properties/border_top-expected.txt:
        * layout-tests/css1/box_properties/border_top_inline-expected.txt:
        * layout-tests/css1/box_properties/border_top_width-expected.txt:
        * layout-tests/css1/box_properties/border_top_width_inline-expected.txt:
        * layout-tests/css1/box_properties/border_width-expected.txt:
        * layout-tests/css1/box_properties/border_width_inline-expected.txt:
        * layout-tests/css1/box_properties/clear_float-expected.txt:
        * layout-tests/css1/box_properties/float_elements_in_series-expected.txt:
        * layout-tests/css1/box_properties/float_margin-expected.txt:
        * layout-tests/css1/box_properties/float_on_text_elements-expected.txt:
        * layout-tests/css1/box_properties/height-expected.txt:
        * layout-tests/css1/box_properties/margin-expected.txt:
        * layout-tests/css1/box_properties/margin_bottom-expected.txt:
        * layout-tests/css1/box_properties/margin_bottom_inline-expected.txt:
        * layout-tests/css1/box_properties/margin_inline-expected.txt:
        * layout-tests/css1/box_properties/margin_left-expected.txt:
        * layout-tests/css1/box_properties/margin_left_inline-expected.txt:
        * layout-tests/css1/box_properties/margin_right-expected.txt:
        * layout-tests/css1/box_properties/margin_right_inline-expected.txt:
        * layout-tests/css1/box_properties/margin_top-expected.txt:
        * layout-tests/css1/box_properties/margin_top_inline-expected.txt:
        * layout-tests/css1/box_properties/padding-expected.txt:
        * layout-tests/css1/box_properties/padding_bottom-expected.txt:
        * layout-tests/css1/box_properties/padding_bottom_inline-expected.txt:
        * layout-tests/css1/box_properties/padding_inline-expected.txt:
        * layout-tests/css1/box_properties/padding_left-expected.txt:
        * layout-tests/css1/box_properties/padding_left_inline-expected.txt:
        * layout-tests/css1/box_properties/padding_right-expected.txt:
        * layout-tests/css1/box_properties/padding_right_inline-expected.txt:
        * layout-tests/css1/box_properties/padding_top-expected.txt:
        * layout-tests/css1/box_properties/padding_top_inline-expected.txt:
        * layout-tests/css1/box_properties/width-expected.txt:
        * layout-tests/css1/classification/display-expected.txt:
        * layout-tests/css1/color_and_background/background_position-expected.txt:
        * layout-tests/css1/conformance/forward_compatible_parsing-expected.txt:
        * layout-tests/css1/font_properties/font-expected.txt:
        * layout-tests/css1/font_properties/font_size-expected.txt:
        * layout-tests/css1/formatting_model/canvas-expected.txt:
        * layout-tests/css1/formatting_model/floating_elements-expected.txt:
        * layout-tests/css1/formatting_model/height_of_lines-expected.txt:
        * layout-tests/css1/formatting_model/inline_elements-expected.txt:
        * layout-tests/css1/formatting_model/replaced_elements-expected.txt:
        * layout-tests/css1/formatting_model/vertical_formatting-expected.txt:
        * layout-tests/css1/pseudo/anchor-expected.txt:
        * layout-tests/css1/text_properties/letter_spacing-expected.txt:
        * layout-tests/css1/text_properties/line_height-expected.txt:
        * layout-tests/css1/text_properties/text_indent-expected.txt:
        * layout-tests/css1/text_properties/vertical_align-expected.txt:
        * layout-tests/css1/text_properties/word_spacing-expected.txt:
        * layout-tests/css1/units/length_units-expected.txt:
        * layout-tests/editing/style/relative-font-size-change-001-expected.txt:
        * layout-tests/editing/style/relative-font-size-change-002-expected.txt:
        * layout-tests/editing/style/relative-font-size-change-003-expected.txt:
        * layout-tests/editing/style/relative-font-size-change-004-expected.txt:
        * layout-tests/editing/style/smoosh-styles-003-expected.txt:
        * layout-tests/fast/block/basic/018-expected.txt:
        * layout-tests/fast/block/float/002-expected.txt:
        * layout-tests/fast/block/float/021-expected.txt:
        * layout-tests/fast/block/float/023-expected.txt:
        * layout-tests/fast/block/float/024-expected.txt:
        * layout-tests/fast/block/float/029-expected.txt:
        * layout-tests/fast/block/float/030-expected.txt:
        * layout-tests/fast/block/margin-collapse/043-expected.txt:
        * layout-tests/fast/block/margin-collapse/101-expected.txt:
        * layout-tests/fast/block/positioning/060-expected.txt:
        * layout-tests/fast/block/positioning/auto/001-expected.txt:
        * layout-tests/fast/block/positioning/auto/002-expected.txt:
        * layout-tests/fast/block/positioning/auto/003-expected.txt:
        * layout-tests/fast/block/positioning/auto/004-expected.txt:
        * layout-tests/fast/block/positioning/auto/005-expected.txt:
        * layout-tests/fast/block/positioning/auto/006-expected.txt:
        * layout-tests/fast/clip/001-expected.txt:
        * layout-tests/fast/clip/002-expected.txt:
        * layout-tests/fast/clip/003-expected.txt:
        * layout-tests/fast/clip/004-expected.txt:
        * layout-tests/fast/clip/005-expected.txt:
        * layout-tests/fast/clip/006-expected.txt:
        * layout-tests/fast/clip/007-expected.txt:
        * layout-tests/fast/clip/008-expected.txt:
        * layout-tests/fast/clip/009-expected.txt:
        * layout-tests/fast/clip/010-expected.txt:
        * layout-tests/fast/clip/011-expected.txt:
        * layout-tests/fast/clip/012-expected.txt:
        * layout-tests/fast/clip/013-expected.txt:
        * layout-tests/fast/clip/014-expected.txt:
        * layout-tests/fast/clip/015-expected.txt:
        * layout-tests/fast/clip/016-expected.txt:
        * layout-tests/fast/css-generated-content/012-expected.txt:
        * layout-tests/fast/css/008-expected.txt:
        * layout-tests/fast/css/MarqueeLayoutTest-expected.txt:
        * layout-tests/fast/css/apple-prefix-expected.txt:
        * layout-tests/fast/dom/quadraticCurveTo-expected.txt:
        * layout-tests/fast/dynamic/noninlinebadness-expected.txt:
        * layout-tests/fast/encoding/utf-16-big-endian-expected.txt:
        * layout-tests/fast/encoding/utf-16-little-endian-expected.txt:
        * layout-tests/fast/flexbox/001-expected.txt:
        * layout-tests/fast/flexbox/004-expected.txt:
        * layout-tests/fast/flexbox/007-expected.txt:
        * layout-tests/fast/flexbox/008-expected.txt:
        * layout-tests/fast/flexbox/009-expected.txt:
        * layout-tests/fast/flexbox/010-expected.txt:
        * layout-tests/fast/flexbox/012-expected.txt:
        * layout-tests/fast/flexbox/013-expected.txt:
        * layout-tests/fast/flexbox/014-expected.txt:
        * layout-tests/fast/flexbox/015-expected.txt:
        * layout-tests/fast/flexbox/018-expected.txt:
        * layout-tests/fast/flexbox/019-expected.txt:
        * layout-tests/fast/flexbox/020-expected.txt:
        * layout-tests/fast/flexbox/021-expected.txt:
        * layout-tests/fast/flexbox/022-expected.txt:
        * layout-tests/fast/flexbox/023-expected.txt:
        * layout-tests/fast/flexbox/024-expected.txt:
        * layout-tests/fast/invalid/012-expected.txt:
        * layout-tests/fast/invalid/016-expected.txt:
        * layout-tests/fast/invalid/nestedh3s-expected.txt:
        * layout-tests/fast/lists/003-expected.txt:
        * layout-tests/fast/replaced/004-expected.txt:
        * layout-tests/fast/selectors/166-expected.txt:
        * layout-tests/fast/table/032-expected.txt:
        * layout-tests/fast/table/border-collapsing/004-expected.txt:
        * layout-tests/fast/text/basic/003-expected.txt:
        * layout-tests/fast/text/basic/004-expected.txt:
        * layout-tests/fast/text/basic/005-expected.txt:
        * layout-tests/fast/text/basic/009-expected.txt:

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

15 years ago - fixed the build
darin [Tue, 19 Jul 2005 21:16:49 +0000 (21:16 +0000)]
    - fixed the build

        * kjs/lookup.h: (KJS::lookupPut): Remove bogus const; was preventing WebCore from
        compiling (not sure why this didn't affect my other build machine).

        - one other tiny tweak (so sue me)

        * bindings/runtime_root.cpp: Remove unneeded declaration.

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

15 years agoJavaScriptCore:
darin [Tue, 19 Jul 2005 19:52:49 +0000 (19:52 +0000)]
JavaScriptCore:

        Reviewed by Geoff Garen.

        - eliminated try wrappers for get/put/call since we don't use C++ exceptions any more

        * kjs/lookup.h: Changed tryCall in IMPLEMENT_PROTOFUNC here to call. It doesn't make
        sense for this macro to use the name tryCall anyway, since that's specific to how
        WebCore used this, so this is good anyway. On the other hand, it might be a problem
        for KDOM or KSVG, in which case we'll need another macro for them, since JavaScriptCore
        should presumably not have the C++ exception support.

WebCore:

        Reviewed by Geoff Garen.

        Test cases added: None. Structural change only.

        - eliminated try wrappers for get/put/call since we don't use C++ exceptions any more

        * khtml/ecma/kjs_binding.cpp: Removed DOMObject::get, DOMObject::set, DOMFunction::get,
        and DOMFunction::call.
        * khtml/ecma/kjs_binding.h: Removed get, set, tryGet, trySet, call, tryCall from DOMObject
        and DOMFunction. Removed DOMObjectLookupGet, DOMObjectLookupGetValue, and DOMObjectLookupPut.
        We can just do things the normal way now.

        The rest of the changes are just renames and removal of a couple stray tryCall wrappers.

            tryGet -> get
            tryPut -> put
            tryCall -> call
            putValue -> putValueProperty
            DOMObjectLookupGet -> lookupGet
            DOMObjectLookupGetValue -> lookupGetValue
            DOMObjectLookupPut -> lookupPut

        * khtml/ecma/domparser.cpp:
        (KJS::DOMParserProtoFunc::call):
        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMCSSStyleDeclaration::get):
        (KJS::DOMCSSStyleDeclaration::put):
        (KJS::DOMCSSStyleDeclarationProtoFunc::call):
        (KJS::DOMStyleSheet::get):
        (KJS::DOMStyleSheet::put):
        (KJS::DOMStyleSheetList::get):
        (KJS::DOMStyleSheetListFunc::call):
        (KJS::DOMMediaList::get):
        (KJS::DOMMediaList::put):
        (KJS::KJS::DOMMediaListProtoFunc::call):
        (KJS::DOMCSSStyleSheet::get):
        (KJS::DOMCSSStyleSheetProtoFunc::call):
        (KJS::DOMCSSRuleList::get):
        (KJS::DOMCSSRuleListFunc::call):
        (KJS::DOMCSSRule::get):
        (KJS::DOMCSSRule::put):
        (KJS::DOMCSSRule::putValueProperty):
        (KJS::DOMCSSRuleFunc::call):
        (KJS::CSSRuleConstructor::get):
        (KJS::DOMCSSValue::get):
        (KJS::DOMCSSValue::put):
        (KJS::CSSValueConstructor::get):
        (KJS::DOMCSSPrimitiveValue::get):
        (KJS::DOMCSSPrimitiveValueProtoFunc::call):
        (KJS::CSSPrimitiveValueConstructor::get):
        (KJS::DOMCSSValueList::get):
        (KJS::DOMCSSValueListFunc::call):
        (KJS::DOMRGBColor::get):
        (KJS::DOMRect::get):
        (KJS::DOMCounter::get):
        * khtml/ecma/kjs_css.h:
        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMNode::get):
        (KJS::DOMNode::put):
        (KJS::DOMNode::putValueProperty):
        (KJS::DOMNodeProtoFunc::call):
        (KJS::DOMNodeList::get):
        (KJS::DOMNodeList::call):
        (KJS::DOMNodeListFunc::call):
        (KJS::DOMAttr::get):
        (KJS::DOMAttr::put):
        (KJS::DOMAttr::putValueProperty):
        (KJS::DOMDocument::get):
        (KJS::DOMDocument::put):
        (KJS::DOMDocument::putValueProperty):
        (KJS::DOMDocumentProtoFunc::call):
        (KJS::DOMElement::get):
        (KJS::DOMElementProtoFunc::call):
        (KJS::DOMDOMImplementationProtoFunc::call):
        (KJS::DOMDocumentType::get):
        (KJS::DOMNamedNodeMap::get):
        (KJS::DOMNamedNodeMapProtoFunc::call):
        (KJS::DOMProcessingInstruction::get):
        (KJS::DOMProcessingInstruction::put):
        (KJS::DOMNotation::get):
        (KJS::DOMEntity::get):
        (KJS::NodeConstructor::get):
        (KJS::DOMExceptionConstructor::get):
        (KJS::DOMNamedNodesCollection::get):
        (KJS::DOMCharacterData::get):
        (KJS::DOMCharacterData::put):
        (KJS::DOMCharacterDataProtoFunc::call):
        (KJS::DOMText::get):
        (KJS::DOMTextProtoFunc::call):
        * khtml/ecma/kjs_dom.h:
        * khtml/ecma/kjs_events.cpp:
        (KJS::EventConstructor::get):
        (KJS::DOMEvent::get):
        (KJS::DOMEvent::put):
        (KJS::DOMEvent::putValueProperty):
        (KJS::DOMEventProtoFunc::call):
        (KJS::EventExceptionConstructor::get):
        (KJS::DOMUIEvent::get):
        (KJS::DOMUIEventProtoFunc::call):
        (KJS::DOMMouseEvent::get):
        (KJS::DOMMouseEventProtoFunc::call):
        (KJS::DOMKeyboardEvent::get):
        (KJS::DOMKeyboardEventProtoFunc::call):
        (KJS::MutationEventConstructor::get):
        (KJS::DOMMutationEvent::get):
        (KJS::DOMMutationEventProtoFunc::call):
        (KJS::DOMWheelEvent::get):
        (KJS::DOMWheelEventProtoFunc::call):
        (KJS::Clipboard::get):
        (KJS::Clipboard::put):
        (KJS::Clipboard::putValueProperty):
        (KJS::ClipboardProtoFunc::call):
        * khtml/ecma/kjs_events.h:
        * khtml/ecma/kjs_html.cpp:
        (KJS::KJS::HTMLDocFunction::call):
        (KJS::HTMLDocument::get):
        (KJS::KJS::HTMLDocument::put):
        (KJS::KJS::HTMLDocument::putValueProperty):
        (KJS::KJS::HTMLElement::get):
        (KJS::KJS::HTMLElementFunction::call):
        (KJS::KJS::HTMLElement::put):
        (KJS::HTMLElement::putValueProperty):
        (KJS::KJS::HTMLCollection::get):
        (KJS::KJS::HTMLCollection::call):
        (KJS::KJS::HTMLCollectionProtoFunc::call):
        (KJS::KJS::HTMLSelectCollection::get):
        (KJS::KJS::HTMLSelectCollection::put):
        (KJS::Image::get):
        (KJS::Image::put):
        (KJS::Image::putValueProperty):
        (KJS::KJS::Context2DFunction::call):
        (KJS::Context2D::get):
        (KJS::Context2D::put):
        (KJS::Context2D::putValueProperty):
        (KJS::GradientFunction::call):
        (KJS::Gradient::get):
        (KJS::Gradient::put):
        (KJS::Gradient::putValueProperty):
        (KJS::ImagePattern::get):
        (KJS::ImagePattern::put):
        (KJS::ImagePattern::putValueProperty):
        * khtml/ecma/kjs_html.h:
        * khtml/ecma/kjs_navigator.cpp:
        (KJS::PluginsFunc::call):
        (KJS::NavigatorFunc::call):
        * khtml/ecma/kjs_range.cpp:
        (KJS::DOMRange::get):
        (KJS::DOMRangeProtoFunc::call):
        (KJS::RangeConstructor::get):
        * khtml/ecma/kjs_range.h:
        * khtml/ecma/kjs_traversal.cpp:
        (KJS::DOMNodeIterator::get):
        (KJS::DOMNodeIteratorProtoFunc::call):
        (KJS::NodeFilterConstructor::get):
        (KJS::DOMNodeFilterProtoFunc::call):
        (KJS::DOMTreeWalker::get):
        (KJS::DOMTreeWalker::put):
        (KJS::DOMTreeWalkerProtoFunc::call):
        * khtml/ecma/kjs_traversal.h:
        * khtml/ecma/kjs_views.cpp:
        (KJS::DOMAbstractView::get):
        (KJS::DOMAbstractViewFunc::call):
        * khtml/ecma/kjs_views.h:
        * khtml/ecma/kjs_window.cpp:
        (KJS::WindowFunc::call):
        (KJS::LocationFunc::call):
        (KJS::SelectionFunc::call):
        (KJS::HistoryFunc::call):
        (KJS::KonquerorFunc::call):
        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequest::get):
        (KJS::XMLHttpRequest::put):
        (KJS::XMLHttpRequest::putValueProperty):
        (KJS::XMLHttpRequestProtoFunc::call):
        * khtml/ecma/xmlhttprequest.h:
        * khtml/ecma/xmlserializer.cpp:
        (KJS::XMLSerializerProtoFunc::call):

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

15 years ago Reviewed by Geoff Garen.
darin [Tue, 19 Jul 2005 19:48:45 +0000 (19:48 +0000)]
    Reviewed by Geoff Garen.

        - improve handling of plug-ins when the WebView or a superview is hidden with -[NSView setHidden]

        * Plugins.subproj/WebBaseNetscapePluginView.m: (-[WebBaseNetscapePluginView saveAndSetPortStateForUpdate:]):
        Add "hidden" to the list of reasons to clip out all plug-in drawing.

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

15 years ago Reviewed by Dave Hyatt.
darin [Tue, 19 Jul 2005 18:43:23 +0000 (18:43 +0000)]
    Reviewed by Dave Hyatt.

        - fixed broken bi-di layout tests: the "dir" attribute was broken

        * khtml/html/html_elementimpl.cpp: (HTMLElementImpl::parseMappedAttribute):
        Fix one case that said "direction" where it should say "dir".

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

15 years ago - updated results of two tests that reflect properly-preserved namespace...
darin [Tue, 19 Jul 2005 18:35:52 +0000 (18:35 +0000)]
    - updated results of two tests that reflect properly-preserved namespace prefixes for attributes

        * layout-tests/fast/dom/dom-parse-serialize-display-expected.txt:
        * layout-tests/fast/dom/dom-parse-serialize-expected.txt:

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

15 years ago Written by Trey Matteson <trey@usa.net>
sullivan [Tue, 19 Jul 2005 17:11:56 +0000 (17:11 +0000)]
    Written by Trey Matteson  <trey@usa.net>
        Reviewed by John Sullivan.

        Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4049
          scroll position not restored when going back/forward at ebay
        Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4061
          When going back/forward to some pages, they redraw at top before restoring scroll position

        The short story is that attempting to restore the scroll position
        at the time when the first layout finishes addresses both of these
        issues.  An explanation of the underlying race condition is in
        a large comment near -_restoreScrollPosition.

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge didFirstLayout]):  Pass through to WebFrame.
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _transitionToCommitted:]):  Get rid of attempt to
          restoreScrollPosition that never did anything because the
          docView was always 0x0 size at that point.
        (-[WebFrame _opened]):  Get rid of redundant call to restoreScrollPosition.
          The imminent call to layoutCompleted makes the same call.
        (-[WebFrame _didFirstLayout]):  Restore the scroll position on
          first layout, if we're doing a b/f nav.
        * WebView.subproj/WebFrameInternal.h:

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

15 years ago Add support for -khtml-appearance in preparation for
hyatt [Tue, 19 Jul 2005 00:02:08 +0000 (00:02 +0000)]
Add support for -khtml-appearance in preparation for
the addition of RenderTheme to the tree for form controls.

Make clean is required after this check-in, since there is
some sort of bizarre bug with XCode dependencies on the
property generation script.

        Reviewed by darin

        * khtml/css/cssparser.cpp:
        (CSSParser::parseValue):
        * khtml/css/cssproperties.in:
        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::applyProperty):
        * khtml/css/cssvalues.in:
        * khtml/rendering/render_style.cpp:
        (m_appearance):
        (StyleCSS3NonInheritedData::operator==):
        (RenderStyle::diff):
        * khtml/rendering/render_style.h:
        (khtml::):
        (khtml::RenderStyle::appearance):
        (khtml::RenderStyle::setAppearance):
        (khtml::RenderStyle::initialAppearance):

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

15 years ago Reviewed by Justin.
harrison [Mon, 18 Jul 2005 23:21:19 +0000 (23:21 +0000)]
    Reviewed by Justin.

        Test cases added: None.  Existing tests were failing.

        Fix crash caused by my changes in revision 1.6 of khtml/editing/delete_selection_command.cpp.

        * khtml/editing/delete_selection_command.cpp:
        (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
        Remove workaround that was added for missing typing style.

        (khtml::DeleteSelectionCommand::doApply):
        Make sure to call saveTypingStyleState() before handleSpecialCaseBRDelete().

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

15 years ago Reviewed by Darin Adler.
sullivan [Mon, 18 Jul 2005 23:18:22 +0000 (23:18 +0000)]
    Reviewed by Darin Adler.

        - fixed these bugs:
        <rdar://problem/4158121> context menu in PDF view should contain the selection-based items like Copy
        <rdar://problem/4184691> WebPDFView should conform to the WebDocumentElement protocol
        <rdar://problem/4184663> "Search in Spotlight" is present but dimmed in context menu for plain-text documents

        * WebView.subproj/WebDefaultContextMenuDelegate.m:
        (-[WebDefaultUIDelegate contextMenuItemsForElement:defaultMenuItems:]):
        added ASSERT and comments

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView _searchWithGoogleFromMenu:]):
        removed this method (now handled by WebView)
        (-[WebHTMLView _searchWithSpotlightFromMenu:]):
        ditto
        (-[WebHTMLView validateUserInterfaceItem:]):
        removed validation for removed items. The validation wasn't necessary anyway, since we only put these items
        in the menu in the case where they should be enabled.

        * WebView.subproj/WebPDFView.h:
        now conforms to WebDocumentElement protocol (which lets [WebView elementAtPoint:] work better)
        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView copy:]):
        added, hands off to PDFView, needed to enable Copy in context menu
        (-[WebPDFView _pointIsInSelection:]):
        new method, checks whether given point is in the selected bounds
        (-[WebPDFView elementAtPoint:]):
        add WebElementIsSelectedKey to returned element
        (-[WebPDFView menuForEvent:]):
        use actual point instead of dummy placeholder, now that we have code that pays attention to the point

        * WebView.subproj/WebView.m:
        (-[WebView _searchWithGoogleFromMenu:]):
        moved here from WebHTMLView so it will work for any documentView that conforms to WebDocumentText.
        Rewrote slightly to be non-WebHTMLView-specific. (This menu item was always enabled in Safari because
        Safari replaces its action, but it would not have been always enabled in other WebKit clients, though
        it should have been.)
        (-[WebView _searchWithSpotlightFromMenu:]):
        moved here from WebHTMLView so it will work for any documentView that conforms to WebDocumentText.
        Rewrote slightly to be non-WebHTMLView-specific.

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

15 years ago Rename HTMLNames -> HTMLTags. Purely mechanical (done in XCode)
hyatt [Mon, 18 Jul 2005 21:52:36 +0000 (21:52 +0000)]
Rename HTMLNames -> HTMLTags.  Purely mechanical (done in XCode)
so no review needed.

        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::adjustRenderStyle):
        (khtml::CSSStyleSelector::checkOneSelector):
        * khtml/dom/css_stylesheet.cpp:
        (LinkStyle::operator = ):
        (LinkStyle::sheet):
        * khtml/dom/html_base.cpp:
        (HTMLBodyElement::operator = ):
        (HTMLFrameElement::operator = ):
        (HTMLIFrameElement::operator = ):
        (HTMLFrameSetElement::operator = ):
        (HTMLHeadElement::operator = ):
        (HTMLHtmlElement::operator = ):
        * khtml/dom/html_block.cpp:
        (HTMLBlockquoteElement::operator = ):
        (HTMLDivElement::operator = ):
        (HTMLHRElement::operator = ):
        (HTMLHeadingElement::operator = ):
        (HTMLParagraphElement::operator = ):
        (HTMLPreElement::operator = ):
        * khtml/dom/html_form.cpp:
        (HTMLButtonElement::operator = ):
        (HTMLFieldSetElement::operator = ):
        (HTMLFormElement::operator = ):
        (HTMLInputElement::operator = ):
        (HTMLLabelElement::operator = ):
        (HTMLLegendElement::operator = ):
        (HTMLOptGroupElement::operator = ):
        (HTMLSelectElement::operator = ):
        (HTMLTextAreaElement::operator = ):
        (HTMLOptionElement::operator = ):
        (HTMLIsIndexElement::operator = ):
        * khtml/dom/html_head.cpp:
        (HTMLBaseElement::operator = ):
        (HTMLLinkElement::operator = ):
        (HTMLMetaElement::operator = ):
        (HTMLScriptElement::operator = ):
        (HTMLStyleElement::operator = ):
        (HTMLTitleElement::operator = ):
        * khtml/dom/html_image.cpp:
        (HTMLAreaElement::operator = ):
        (HTMLImageElement::operator = ):
        (HTMLMapElement::operator = ):
        * khtml/dom/html_inline.cpp:
        (HTMLAnchorElement::operator = ):
        (HTMLBRElement::operator = ):
        (HTMLFontElement::operator = ):
        (HTMLModElement::HTMLModElement):
        (HTMLModElement::operator = ):
        (HTMLQuoteElement::operator = ):
        * khtml/dom/html_list.cpp:
        (HTMLDListElement::operator = ):
        (HTMLDirectoryElement::operator = ):
        (HTMLLIElement::operator = ):
        (HTMLMenuElement::operator = ):
        (HTMLOListElement::operator = ):
        (HTMLUListElement::operator = ):
        * khtml/dom/html_misc.cpp:
        (HTMLBaseFontElement::operator = ):
        * khtml/dom/html_object.cpp:
        (DOM::HTMLAppletElement::operator = ):
        (DOM::HTMLObjectElement::operator = ):
        (DOM::HTMLParamElement::operator = ):
        * khtml/dom/html_table.cpp:
        (HTMLTableCaptionElement::operator = ):
        (HTMLTableCellElement::operator = ):
        (HTMLTableColElement::operator = ):
        (HTMLTableElement::operator = ):
        (HTMLTableRowElement::operator = ):
        (HTMLTableSectionElement::operator = ):
        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMStyleSheetList::tryGet):
        * khtml/ecma/kjs_dom.cpp:
        (KJS::getRuntimeObject):
        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLDocument::tryGet):
        (KJS::KJS::HTMLDocument::putValue):
        (KJS::KJS::HTMLElement::classInfo):
        (KJS::HTMLElement::getSetInfo):
        (KJS::KJS::HTMLElement::tryGet):
        (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::tryCall):
        (KJS::KJS::HTMLElement::tryPut):
        (KJS::toHTMLTableCaptionElement):
        (KJS::toHTMLTableSectionElement):
        (KJS::KJS::HTMLCollection::tryGet):
        (KJS::KJS::HTMLSelectCollection::tryPut):
        * khtml/editing/apply_style_command.cpp:
        (khtml::isEmptyStyleSpan):
        (khtml::isEmptyFontTag):
        (khtml::createFontElement):
        (khtml::createStyleSpanElement):
        (khtml::ApplyStyleCommand::applyInlineStyle):
        (khtml::ApplyStyleCommand::isHTMLStyleNode):
        (khtml::ApplyStyleCommand::removeHTMLFontStyle):
        (khtml::ApplyStyleCommand::mergeEndWithNextIfIdentical):
        (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::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::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):
        (HTMLFrameElementImpl::HTMLFrameElementImpl):
        (HTMLFrameElementImpl::attach):
        (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
        (HTMLFrameSetElementImpl::checkDTD):
        (HTMLFrameSetElementImpl::attach):
        (HTMLHeadElementImpl::HTMLHeadElementImpl):
        (HTMLHeadElementImpl::checkDTD):
        (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
        (HTMLHtmlElementImpl::checkDTD):
        (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
        * khtml/html/html_blockimpl.cpp:
        (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
        (HTMLDivElementImpl::HTMLDivElementImpl):
        (HTMLHRElementImpl::HTMLHRElementImpl):
        (HTMLHeadingElementImpl::checkDTD):
        (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
        (HTMLParagraphElementImpl::checkDTD):
        (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
        * khtml/html/html_canvasimpl.cpp:
        (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
        * khtml/html/html_documentimpl.cpp:
        (DOM::HTMLDocumentImpl::childAllowed):
        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::endTagRequirement):
        (HTMLElementImpl::tagPriority):
        (HTMLElementImpl::createContextualFragment):
        (HTMLElementImpl::setInnerText):
        (HTMLElementImpl::setOuterText):
        (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::radioClicked):
        (DOM::HTMLGenericFormElementImpl::getForm):
        (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
        (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
        (DOM::HTMLFieldSetElementImpl::checkDTD):
        (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
        (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
        (DOM::HTMLLabelElementImpl::form):
        (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
        (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::appendFormData):
        (DOM::HTMLSelectElementImpl::optionToListIndex):
        (DOM::HTMLSelectElementImpl::listToOptionIndex):
        (DOM::HTMLSelectElementImpl::recalcListItems):
        (DOM::HTMLSelectElementImpl::reset):
        (DOM::HTMLSelectElementImpl::notifyOptionSelected):
        (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
        (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
        (DOM::HTMLOptGroupElementImpl::recalcSelectOptions):
        (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
        (DOM::HTMLOptionElementImpl::index):
        (DOM::HTMLOptionElementImpl::getSelect):
        (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
        (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
        * khtml/html/html_formimpl.h:
        (DOM::HTMLOptGroupElementImpl::checkDTD):
        * khtml/html/html_headimpl.cpp:
        (HTMLBaseElementImpl::HTMLBaseElementImpl):
        (HTMLLinkElementImpl::HTMLLinkElementImpl):
        (HTMLMetaElementImpl::HTMLMetaElementImpl):
        (HTMLScriptElementImpl::HTMLScriptElementImpl):
        (HTMLStyleElementImpl::HTMLStyleElementImpl):
        (HTMLTitleElementImpl::HTMLTitleElementImpl):
        * khtml/html/html_imageimpl.cpp:
        (HTMLImageLoader::updateFromElement):
        (HTMLImageElementImpl::HTMLImageElementImpl):
        (HTMLMapElementImpl::HTMLMapElementImpl):
        (HTMLMapElementImpl::checkDTD):
        (HTMLMapElementImpl::mapMouseEvent):
        (HTMLAreaElementImpl::HTMLAreaElementImpl):
        * khtml/html/html_inlineimpl.cpp:
        (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
        (DOM::HTMLAnchorElementImpl::defaultEventHandler):
        (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
        (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
        (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
        * khtml/html/html_listimpl.cpp:
        (DOM::HTMLLIElementImpl::attach):
        * 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::HTMLCollectionImpl::traverseNextItem):
        (DOM::HTMLCollectionImpl::checkForNameMatch):
        (DOM::HTMLCollectionImpl::updateNameCache):
        (DOM::HTMLFormCollectionImpl::getNamedFormItem):
        (DOM::HTMLFormCollectionImpl::updateNameCache):
        * khtml/html/html_objectimpl.cpp:
        (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
        (DOM::HTMLAppletElementImpl::checkDTD):
        (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
        (DOM::HTMLEmbedElementImpl::checkDTD):
        (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
        (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
        (DOM::HTMLObjectElementImpl::checkDTD):
        (DOM::HTMLObjectElementImpl::form):
        (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
        * 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::HTMLTableSectionElementImpl::checkDTD):
        (DOM::HTMLTableSectionElementImpl::addChild):
        (DOM::HTMLTableSectionElementImpl::numRows):
        (DOM::HTMLTableRowElementImpl::checkDTD):
        (DOM::HTMLTableRowElementImpl::addChild):
        (DOM::HTMLTableRowElementImpl::rowIndex):
        (DOM::HTMLTableRowElementImpl::sectionRowIndex):
        (DOM::HTMLTableRowElementImpl::insertCell):
        (DOM::HTMLTableCellElementImpl::cellIndex):
        (DOM::HTMLTableCellElementImpl::additionalAttributeStyleDecl):
        (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
        * 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:
        (DOM::HTMLTags::init):
        * 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):
        * khtml/html/htmltokenizer.cpp:
        (khtml::HTMLTokenizer::parseSpecial):
        (khtml::HTMLTokenizer::scriptHandler):
        (khtml::HTMLTokenizer::parseTag):
        * khtml/khtml_part.cpp:
        (KHTMLPart::init):
        (KHTMLPart::selectionComputedStyle):
        * khtml/khtmlview.cpp:
        (KHTMLView::layout):
        (isSubmitImage):
        * khtml/misc/decoder.cpp:
        (Decoder::decode):
        * 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:
        (RenderFieldset::findLegend):
        (RenderSelect::updateFromElement):
        (RenderSelect::layout):
        (RenderSelect::slotSelected):
        (RenderSelect::slotSelectionChanged):
        (RenderSelect::updateSelection):
        * 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):
        (RenderTableCol::updateFromElement):
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::createElementNS):
        (DocumentImpl::body):
        (DocumentImpl::shouldScheduleLayout):
        (DocumentImpl::recalcStyleSelector):
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::maxDeepOffset):
        (DOM::NodeImpl::enclosingBlockFlowOrTableElement):
        (DOM::NodeImpl::enclosingBlockFlowElement):
        (DOM::NodeImpl::enclosingInlineElement):
        (DOM::NodeImpl::rootEditableElement):
        (DOM::NodeImpl::showTreeAndMark):
        * 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):
        * kwq/DOM.mm:
        (+[DOMNode _nodeWithImpl:]):
        * kwq/DOMHTML.mm:
        * kwq/KWQAccObject.mm:
        (-[KWQAccObject role]):
        (-[KWQAccObject title]):
        (-[KWQAccObject accessibilityIsIgnored]):
        * kwq/KWQKHTMLPart.cpp:
        (KWQKHTMLPart::isFrameSet):
        * kwq/KWQKHTMLPart.mm:
        (scanForForm):
        (KWQKHTMLPart::currentForm):
        (KWQKHTMLPart::searchForLabelsBeforeElement):
        (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@9825 268f45cc-cd09-0410-ab3c-d52691b4dbfc

15 years ago Fix for bugzilla bug 3927. Convert attributes to use QualifiedName.
hyatt [Mon, 18 Jul 2005 21:44:31 +0000 (21:44 +0000)]
Fix for bugzilla bug 3927.  Convert attributes to use QualifiedName.

        Reviewed by mjs

        * WebCore.pbproj/project.pbxproj:
        * khtml/css/css_base.cpp:
        (CSSSelector::print):
        (CSSSelector::selectorText):
        * khtml/css/css_base.h:
        (DOM::CSSSelector::CSSSelector):
        (DOM::CSSSelector::hasTag):
        (DOM::CSSSelector::hasAttribute):
        * khtml/css/css_stylesheetimpl.cpp:
        (CSSStyleSheetImpl::determineNamespace):
        * khtml/css/cssparser.cpp:
        (CSSParser::parseContent):
        * khtml/css/cssstyleselector.cpp:
        (khtml::checkPseudoState):
        (khtml::CSSStyleSelector::canShareStyleWithElement):
        (khtml::CSSStyleSelector::checkOneSelector):
        (khtml::CSSStyleSelector::applyProperty):
        * khtml/css/parser.y:
        * khtml/dom/css_stylesheet.cpp:
        * khtml/dom/html_base.cpp:
        * khtml/dom/html_block.cpp:
        * khtml/dom/html_document.cpp:
        * khtml/dom/html_element.cpp:
        * khtml/dom/html_form.cpp:
        * khtml/dom/html_head.cpp:
        * khtml/dom/html_image.cpp:
        * khtml/dom/html_inline.cpp:
        * khtml/dom/html_list.cpp:
        * khtml/dom/html_misc.cpp:
        * khtml/dom/html_object.cpp:
        * khtml/dom/html_table.cpp:
        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLElement::inputGetter):
        (KJS::HTMLElement::inputSetter):
        * khtml/editing/apply_style_command.cpp:
        (khtml::isStyleSpan):
        (khtml::isEmptyStyleSpan):
        (khtml::isEmptyFontTag):
        (khtml::createFontElement):
        (khtml::createStyleSpanElement):
        (khtml::ApplyStyleCommand::applyRelativeFontStyleChange):
        (khtml::ApplyStyleCommand::removeHTMLFontStyle):
        (khtml::ApplyStyleCommand::applyTextDecorationStyle):
        (khtml::areIdenticalElements):
        (khtml::ApplyStyleCommand::addBlockStyleIfNeeded):
        (khtml::ApplyStyleCommand::addInlineStyleIfNeeded):
        * khtml/editing/composite_edit_command.cpp:
        (khtml::CompositeEditCommand::removeNodeAttribute):
        (khtml::CompositeEditCommand::setNodeAttribute):
        (khtml::CompositeEditCommand::findBlockPlaceholder):
        (khtml::createBlockPlaceholderElement):
        * khtml/editing/composite_edit_command.h:
        * khtml/editing/markup.cpp:
        (khtml::startMarkup):
        (khtml::completeURLs):
        (khtml::createFragmentFromText):
        * khtml/editing/remove_node_attribute_command.cpp:
        (khtml::RemoveNodeAttributeCommand::RemoveNodeAttributeCommand):
        * khtml/editing/remove_node_attribute_command.h:
        (khtml::RemoveNodeAttributeCommand::attribute):
        * khtml/editing/replace_selection_command.cpp:
        (khtml::ReplacementFragment::isInterchangeNewlineNode):
        (khtml::ReplacementFragment::isInterchangeConvertedSpaceSpan):
        * khtml/editing/set_node_attribute_command.cpp:
        (khtml::SetNodeAttributeCommand::SetNodeAttributeCommand):
        * khtml/editing/set_node_attribute_command.h:
        (khtml::SetNodeAttributeCommand::attribute):
        * khtml/html/html_baseimpl.cpp:
        (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::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::parseMappedAttribute):
        (HTMLFrameSetElementImpl::cols):
        (HTMLFrameSetElementImpl::setCols):
        (HTMLFrameSetElementImpl::rows):
        (HTMLFrameSetElementImpl::setRows):
        (HTMLHeadElementImpl::profile):
        (HTMLHeadElementImpl::setProfile):
        (HTMLHtmlElementImpl::version):
        (HTMLHtmlElementImpl::setVersion):
        (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_baseimpl.h:
        * khtml/html/html_blockimpl.cpp:
        (HTMLBlockquoteElementImpl::cite):
        (HTMLBlockquoteElementImpl::setCite):
        (HTMLDivElementImpl::mapToEntry):
        (HTMLDivElementImpl::parseMappedAttribute):
        (HTMLDivElementImpl::align):
        (HTMLDivElementImpl::setAlign):
        (HTMLHRElementImpl::mapToEntry):
        (HTMLHRElementImpl::parseMappedAttribute):
        (HTMLHRElementImpl::align):
        (HTMLHRElementImpl::setAlign):
        (HTMLHRElementImpl::noShade):
        (HTMLHRElementImpl::setNoShade):
        (HTMLHRElementImpl::size):
        (HTMLHRElementImpl::setSize):
        (HTMLHRElementImpl::width):
        (HTMLHRElementImpl::setWidth):
        (HTMLHeadingElementImpl::align):
        (HTMLHeadingElementImpl::setAlign):
        (HTMLParagraphElementImpl::mapToEntry):
        (HTMLParagraphElementImpl::parseMappedAttribute):
        (HTMLParagraphElementImpl::align):
        (HTMLParagraphElementImpl::setAlign):
        (HTMLPreElementImpl::width):
        (HTMLPreElementImpl::setWidth):
        (HTMLMarqueeElementImpl::mapToEntry):
        (HTMLMarqueeElementImpl::parseMappedAttribute):
        * khtml/html/html_blockimpl.h:
        * khtml/html/html_canvasimpl.cpp:
        (HTMLCanvasElementImpl::mapToEntry):
        (HTMLCanvasElementImpl::parseMappedAttribute):
        (HTMLCanvasElementImpl::isURLAttribute):
        * khtml/html/html_canvasimpl.h:
        * khtml/html/html_documentimpl.cpp:
        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::mapToEntry):
        (HTMLElementImpl::parseMappedAttribute):
        (HTMLElementImpl::setContentEditable):
        (HTMLElementImpl::id):
        (HTMLElementImpl::setId):
        (HTMLElementImpl::title):
        (HTMLElementImpl::setTitle):
        (HTMLElementImpl::lang):
        (HTMLElementImpl::setLang):
        (HTMLElementImpl::dir):
        (HTMLElementImpl::setDir):
        (HTMLElementImpl::className):
        (HTMLElementImpl::setClassName):
        * khtml/html/html_elementimpl.h:
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLFormElementImpl::parseMappedAttribute):
        (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::name):
        (DOM::HTMLGenericFormElementImpl::setName):
        (DOM::HTMLGenericFormElementImpl::setDisabled):
        (DOM::HTMLGenericFormElementImpl::setReadOnly):
        (DOM::HTMLGenericFormElementImpl::tabIndex):
        (DOM::HTMLGenericFormElementImpl::setTabIndex):
        (DOM::HTMLButtonElementImpl::type):
        (DOM::HTMLButtonElementImpl::parseMappedAttribute):
        (DOM::HTMLButtonElementImpl::accessKey):
        (DOM::HTMLButtonElementImpl::setAccessKey):
        (DOM::HTMLButtonElementImpl::value):
        (DOM::HTMLButtonElementImpl::setValue):
        (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::parseMappedAttribute):
        (DOM::HTMLLabelElementImpl::formElement):
        (DOM::HTMLLabelElementImpl::accessKey):
        (DOM::HTMLLabelElementImpl::setAccessKey):
        (DOM::HTMLLabelElementImpl::htmlFor):
        (DOM::HTMLLabelElementImpl::setHtmlFor):
        (DOM::HTMLLegendElementImpl::accessKey):
        (DOM::HTMLLegendElementImpl::setAccessKey):
        (DOM::HTMLLegendElementImpl::align):
        (DOM::HTMLLegendElementImpl::setAlign):
        (DOM::HTMLSelectElementImpl::parseMappedAttribute):
        (DOM::HTMLSelectElementImpl::reset):
        (DOM::HTMLSelectElementImpl::setMultiple):
        (DOM::HTMLSelectElementImpl::setSize):
        (DOM::HTMLKeygenElementImpl::parseMappedAttribute):
        (DOM::HTMLOptGroupElementImpl::label):
        (DOM::HTMLOptGroupElementImpl::setLabel):
        (DOM::HTMLOptionElementImpl::text):
        (DOM::HTMLOptionElementImpl::parseMappedAttribute):
        (DOM::HTMLOptionElementImpl::setValue):
        (DOM::HTMLOptionElementImpl::defaultSelected):
        (DOM::HTMLOptionElementImpl::setDefaultSelected):
        (DOM::HTMLOptionElementImpl::label):
        (DOM::HTMLOptionElementImpl::setLabel):
        (DOM::HTMLTextAreaElementImpl::parseMappedAttribute):
        (DOM::HTMLTextAreaElementImpl::accessKey):
        (DOM::HTMLTextAreaElementImpl::setAccessKey):
        (DOM::HTMLTextAreaElementImpl::setCols):
        (DOM::HTMLTextAreaElementImpl::setRows):
        (DOM::HTMLIsIndexElementImpl::parseMappedAttribute):
        (DOM::HTMLIsIndexElementImpl::prompt):
        (DOM::HTMLIsIndexElementImpl::setPrompt):
        * khtml/html/html_formimpl.h:
        * khtml/html/html_headimpl.cpp:
        (HTMLBaseElementImpl::parseMappedAttribute):
        (HTMLBaseElementImpl::setHref):
        (HTMLBaseElementImpl::setTarget):
        (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::parseMappedAttribute):
        (HTMLMetaElementImpl::content):
        (HTMLMetaElementImpl::setContent):
        (HTMLMetaElementImpl::httpEquiv):
        (HTMLMetaElementImpl::setHttpEquiv):
        (HTMLMetaElementImpl::name):
        (HTMLMetaElementImpl::setName):
        (HTMLMetaElementImpl::scheme):
        (HTMLMetaElementImpl::setScheme):
        (HTMLScriptElementImpl::isURLAttribute):
        (HTMLScriptElementImpl::insertedIntoDocument):
        (HTMLScriptElementImpl::charset):
        (HTMLScriptElementImpl::setCharset):
        (HTMLScriptElementImpl::defer):
        (HTMLScriptElementImpl::setDefer):
        (HTMLScriptElementImpl::src):
        (HTMLScriptElementImpl::setSrc):
        (HTMLScriptElementImpl::type):
        (HTMLScriptElementImpl::setType):
        (HTMLStyleElementImpl::parseMappedAttribute):
        (HTMLStyleElementImpl::disabled):
        (HTMLStyleElementImpl::setDisabled):
        (HTMLStyleElementImpl::media):
        (HTMLStyleElementImpl::setMedia):
        (HTMLStyleElementImpl::type):
        (HTMLStyleElementImpl::setType):
        * khtml/html/html_imageimpl.cpp:
        (HTMLImageLoader::updateFromElement):
        (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::parseMappedAttribute):
        (HTMLMapElementImpl::name):
        (HTMLMapElementImpl::setName):
        (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_imageimpl.h:
        * khtml/html/html_inlineimpl.cpp:
        (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::mapToEntry):
        (DOM::HTMLBRElementImpl::parseMappedAttribute):
        (DOM::HTMLBRElementImpl::clear):
        (DOM::HTMLBRElementImpl::setClear):
        (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::cite):
        (DOM::HTMLQuoteElementImpl::setCite):
        * khtml/html/html_inlineimpl.h:
        * 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::type):
        (DOM::HTMLLIElementImpl::setType):
        (DOM::HTMLLIElementImpl::value):
        (DOM::HTMLLIElementImpl::setValue):
        (DOM::HTMLDListElementImpl::compact):
        (DOM::HTMLDListElementImpl::setCompact):
        * khtml/html/html_listimpl.h:
        * khtml/html/html_miscimpl.cpp:
        (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::HTMLCollectionImpl::updateNameCache):
        (DOM::HTMLFormCollectionImpl::getNamedItem):
        (DOM::HTMLFormCollectionImpl::getNamedFormItem):
        (DOM::HTMLFormCollectionImpl::nextNamedItemInternal):
        (DOM::HTMLFormCollectionImpl::namedItem):
        (DOM::HTMLFormCollectionImpl::nextNamedItem):
        (DOM::HTMLFormCollectionImpl::updateNameCache):
        * khtml/html/html_miscimpl.h:
        * khtml/html/html_objectimpl.cpp:
        (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::mapToEntry):
        (DOM::HTMLEmbedElementImpl::parseMappedAttribute):
        (DOM::HTMLEmbedElementImpl::isURLAttribute):
        (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::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_objectimpl.h:
        * khtml/html/html_tableimpl.cpp:
        (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::align):
        (DOM::HTMLTableSectionElementImpl::setAlign):
        (DOM::HTMLTableSectionElementImpl::ch):
        (DOM::HTMLTableSectionElementImpl::setCh):
        (DOM::HTMLTableSectionElementImpl::chOff):
        (DOM::HTMLTableSectionElementImpl::setChOff):
        (DOM::HTMLTableSectionElementImpl::vAlign):
        (DOM::HTMLTableSectionElementImpl::setVAlign):
        (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::mapToEntry):
        (DOM::HTMLTableCellElementImpl::parseMappedAttribute):
        (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::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:
        * khtml/html/htmlnames.cpp:
        (DOM::HTMLNames::init):
        (DOM::HTMLAttributes::init):
        * khtml/html/htmlnames.h:
        * khtml/html/htmlparser.cpp:
        (HTMLParser::handleError):
        (HTMLParser::framesetCreateErrorCheck):
        (HTMLParser::handleIsindex):
        * khtml/html/htmltokenizer.cpp:
        (khtml::Token::addAttribute):
        (khtml::HTMLTokenizer::HTMLTokenizer):
        (khtml::HTMLTokenizer::parseTag):
        (khtml::HTMLTokenizer::processToken):
        * khtml/html/htmltokenizer.h:
        * khtml/khtml_part.cpp:
        (KHTMLPart::init):
        (KHTMLPart::backgroundURL):
        (KHTMLPart::updateActions):
        (KHTMLPart::handleMouseMoveEventDrag):
        (KHTMLPart::selectionComputedStyle):
        (KHTMLPart::applyEditingStyleToElement):
        (KHTMLPart::removeEditingStyleFromElement):
        * khtml/khtmlview.cpp:
        * khtml/misc/decoder.cpp:
        * khtml/misc/htmlattrs.in: Removed.
        * khtml/misc/htmlhashes.cpp: Removed.
        * khtml/misc/htmlhashes.h: Removed.
        * khtml/misc/htmltags.in: Removed.
        * khtml/misc/makeattrs: Removed.
        * khtml/misc/maketags: Removed.
        * khtml/rendering/render_box.cpp:
        * khtml/rendering/render_form.cpp:
        (RenderLineEdit::updateFromElement):
        (RenderSelect::updateFromElement):
        (RenderSlider::updateFromElement):
        (RenderSlider::slotSliderValueChanged):
        * khtml/rendering/render_frames.cpp:
        (RenderPartObject::updateWidget):
        * khtml/rendering/render_object.cpp:
        * khtml/rendering/render_table.cpp:
        (RenderTableCell::calcMinMaxWidth):
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::createElement):
        (DocumentImpl::importNode):
        (DocumentImpl::createElementNS):
        (DocumentImpl::getElementById):
        (DocumentImpl::getElementByAccessKey):
        (DocumentImpl::prepareMouseEvent):
        (DocumentImpl::recalcStyleSelector):
        (DocumentImpl::createAttributeNS):
        * khtml/xml/dom_docimpl.h:
        * khtml/xml/dom_elementimpl.cpp:
        (AttributeImpl::clone):
        (AttributeImpl::allocateImpl):
        (AttrImpl::AttrImpl):
        (AttrImpl::~AttrImpl):
        (AttrImpl::nodeName):
        (AttrImpl::name):
        (ElementImpl::removeAttribute):
        (ElementImpl::setAttribute):
        (ElementImpl::getAttribute):
        (ElementImpl::getAttributeNS):
        (ElementImpl::createAttribute):
        (ElementImpl::setAttributeMap):
        (ElementImpl::nodeName):
        (ElementImpl::insertedIntoDocument):
        (ElementImpl::removedFromDocument):
        (ElementImpl::openTagStartToString):
        (ElementImpl::dump):
        (ElementImpl::formatForDebugger):
        (ElementImpl::removeAttributeNode):
        (ElementImpl::setAttributeNS):
        (ElementImpl::removeAttributeNS):
        (ElementImpl::getAttributeNodeNS):
        (ElementImpl::hasAttributeNS):
        (NamedAttrMapImpl::getNamedItem):
        (NamedAttrMapImpl::setNamedItem):
        (NamedAttrMapImpl::removeNamedItem):
        (NamedAttrMapImpl::getAttributeItem):
        (NamedAttrMapImpl::clearAttributes):
        (NamedAttrMapImpl::operator=):
        (NamedAttrMapImpl::addAttribute):
        (NamedAttrMapImpl::removeAttribute):
        (StyledElementImpl::getMappedAttributeDecl):
        (StyledElementImpl::setMappedAttributeDecl):
        (StyledElementImpl::removeMappedAttributeDecl):
        (StyledElementImpl::updateStyleAttributeIfNeeded):
        (MappedAttributeImpl::clone):
        (NamedMappedAttrMapImpl::mapsEquivalent):
        (StyledElementImpl::createAttribute):
        (StyledElementImpl::attributeChanged):
        (StyledElementImpl::mapToEntry):
        (StyledElementImpl::parseMappedAttribute):
        * khtml/xml/dom_elementimpl.h:
        (DOM::AttributeImpl::AttributeImpl):
        (DOM::AttributeImpl::value):
        (DOM::AttributeImpl::prefix):
        (DOM::AttributeImpl::localName):
        (DOM::AttributeImpl::namespaceURI):
        (DOM::AttributeImpl::name):
        (DOM::AttributeImpl::attrImpl):
        (DOM::AttributeImpl::isNull):
        (DOM::AttributeImpl::isEmpty):
        (DOM::AttributeImpl::setValue):
        (DOM::AttributeImpl::setPrefix):
        (DOM::NamedAttrMapImpl::insertAttribute):
        (DOM::CSSMappedAttributeDeclarationImpl::CSSMappedAttributeDeclarationImpl):
        (DOM::CSSMappedAttributeDeclarationImpl::setMappedState):
        (DOM::MappedAttributeImpl::MappedAttributeImpl):
        (DOM::StyledElementImpl::isMappedAttribute):
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::namespaceURI):
        (DOM::appendAttributeDesc):
        (DOM::NodeImpl::showNode):
        (DOM::NameNodeListImpl::nodeMatches):
        (DOM::NamedNodeMapImpl::getNamedItemNS):
        (DOM::NamedNodeMapImpl::removeNamedItemNS):
        * khtml/xml/dom_nodeimpl.h:
        * khtml/xml/dom_qname.cpp:
        (DOM::QualifiedName::toString):
        (DOM::QualifiedName::init):
        * khtml/xml/dom_qname.h:
        (DOM::anyQName):
        * khtml/xml/dom_textimpl.cpp:
        * khtml/xml/xml_tokenizer.cpp:
        (khtml::XMLTokenizer::startElement):
        (khtml::XMLTokenizer::insertErrorMessageBlock):
        (khtml::XMLTokenizer::executeScripts):
        * kwq/DOMHTML.h:
        * kwq/DOMHTML.mm:
        (-[DOMHTMLElement idName]):
        (-[DOMHTMLElement setIdName:]):
        (-[DOMHTMLElement title]):
        (-[DOMHTMLElement setTitle:]):
        (-[DOMHTMLElement lang]):
        (-[DOMHTMLElement setLang:]):
        (-[DOMHTMLElement dir]):
        (-[DOMHTMLElement setDir:]):
        (-[DOMHTMLElement className]):
        (-[DOMHTMLElement setClassName:]):
        (-[DOMHTMLHtmlElement version]):
        (-[DOMHTMLHtmlElement setVersion:]):
        (-[DOMHTMLHeadElement profile]):
        (-[DOMHTMLHeadElement setProfile:]):
        (-[DOMHTMLLinkElement disabled]):
        (-[DOMHTMLLinkElement setDisabled:]):
        (-[DOMHTMLLinkElement charset]):
        (-[DOMHTMLLinkElement setCharset:]):
        (-[DOMHTMLLinkElement setHref:]):
        (-[DOMHTMLLinkElement hreflang]):
        (-[DOMHTMLLinkElement setHreflang:]):
        (-[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:]):
        (-[DOMHTMLIsIndexElement prompt]):
        (-[DOMHTMLIsIndexElement setPrompt:]):
        (-[DOMHTMLSelectElement disabled]):
        (-[DOMHTMLSelectElement setDisabled:]):
        (-[DOMHTMLSelectElement multiple]):
        (-[DOMHTMLSelectElement setMultiple:]):
        (-[DOMHTMLSelectElement size]):
        (-[DOMHTMLSelectElement setSize:]):
        (-[DOMHTMLOptGroupElement disabled]):
        (-[DOMHTMLOptGroupElement setDisabled:]):
        (-[DOMHTMLOptGroupElement label]):
        (-[DOMHTMLOptGroupElement setLabel:]):
        (-[DOMHTMLOptionElement defaultSelected]):
        (-[DOMHTMLOptionElement setDefaultSelected:]):
        (-[DOMHTMLOptionElement disabled]):
        (-[DOMHTMLOptionElement setDisabled:]):
        (-[DOMHTMLOptionElement label]):
        (-[DOMHTMLOptionElement setLabel:]):
        (-[DOMHTMLInputElement defaultValue]):
        (-[DOMHTMLInputElement setDefaultValue:]):
        (-[DOMHTMLInputElement defaultChecked]):
        (-[DOMHTMLInputElement setDefaultChecked:]):
        (-[DOMHTMLInputElement accept]):
        (-[DOMHTMLInputElement setAccept:]):
        (-[DOMHTMLInputElement accessKey]):
        (-[DOMHTMLInputElement setAccessKey:]):
        (-[DOMHTMLInputElement align]):
        (-[DOMHTMLInputElement setAlign:]):
        (-[DOMHTMLInputElement alt]):
        (-[DOMHTMLInputElement setAlt:]):
        (-[DOMHTMLInputElement disabled]):
        (-[DOMHTMLInputElement setDisabled:]):
        (-[DOMHTMLInputElement maxLength]):
        (-[DOMHTMLInputElement setMaxLength:]):
        (-[DOMHTMLInputElement readOnly]):
        (-[DOMHTMLInputElement setReadOnly:]):
        (-[DOMHTMLInputElement size]):
        (-[DOMHTMLInputElement setSize:]):
        (-[DOMHTMLInputElement setSrc:]):
        (-[DOMHTMLInputElement useMap]):
        (-[DOMHTMLInputElement setUseMap:]):
        (-[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 compact]):
        (-[DOMHTMLOListElement setCompact:]):
        (-[DOMHTMLOListElement start]):
        (-[DOMHTMLOListElement setStart:]):
        (-[DOMHTMLOListElement type]):
        (-[DOMHTMLOListElement setType:]):
        (-[DOMHTMLDListElement compact]):
        (-[DOMHTMLDListElement setCompact:]):
        (-[DOMHTMLDirectoryElement compact]):
        (-[DOMHTMLDirectoryElement setCompact:]):
        (-[DOMHTMLMenuElement compact]):
        (-[DOMHTMLMenuElement setCompact:]):
        (-[DOMHTMLLIElement type]):
        (-[DOMHTMLLIElement setType:]):
        (-[DOMHTMLLIElement value]):
        (-[DOMHTMLLIElement setValue:]):
        (-[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 hreflang]):
        (-[DOMHTMLAnchorElement setHreflang:]):
        (-[DOMHTMLAnchorElement name]):
        (-[DOMHTMLAnchorElement setName:]):
        (-[DOMHTMLAnchorElement rel]):
        (-[DOMHTMLAnchorElement setRel:]):
        (-[DOMHTMLAnchorElement rev]):
        (-[DOMHTMLAnchorElement setRev:]):
        (-[DOMHTMLAnchorElement shape]):
        (-[DOMHTMLAnchorElement setShape:]):
        (-[DOMHTMLAnchorElement tabIndex]):
        (-[DOMHTMLAnchorElement setTabIndex:]):
        (-[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 helpText]):
        (-[KWQAccObject accessibilityDescription]):
        (-[KWQAccObject accessibilityAttributeValue:]):
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::matchLabelsAgainstElement):
        (KWQKHTMLPart::fileWrapperForElement):
        (KWQKHTMLPart::attributedString):
        (KWQKHTMLPart::styleForSelectionStart):
        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge elementAtPoint:]):

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

15 years ago Reviewed by Richard Williamson.
sullivan [Mon, 18 Jul 2005 20:36:53 +0000 (20:36 +0000)]
    Reviewed by Richard Williamson.

        - fixed <rdar://problem/4184366> WebPDFView should conform to the WebDocumentSelection protocol

        * Misc.subproj/WebNSAttributedStringExtras.h: Added.
        * Misc.subproj/WebNSAttributedStringExtras.m: Added.
        (-[NSAttributedString _web_attributedStringByStrippingAttachmentCharacters]):
        New category on NSAttributedString, initially contains this one method that had been in WebHTMLView.

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView _writeSelectionWithPasteboardTypes:toPasteboard:cachedAttributedString:]):
        now uses _web_attributedStringByStrippingAttachmentCharacters

        * WebView.subproj/WebPDFView.h:
        now conforms to WebDocumentSelection protocol
        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView selectionRect]):
        new, implementation of WebDocumentSelection protocol method
        (-[WebPDFView pasteboardTypesForSelection]):
        ditto
        (-[WebPDFView writeSelectionWithPasteboardTypes:toPasteboard:]):
        ditto

        * WebKit.pbproj/project.pbxproj:
        updated for new files

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

15 years ago Reviewed by Justin.
harrison [Mon, 18 Jul 2005 18:14:59 +0000 (18:14 +0000)]
    Reviewed by Justin.

        <rdar://problem/4065343> Mail: Deleting a line sometimes makes the insertion point jump to the top of the message

        Test cases added: delete-br-011.html

        * khtml/editing/delete_selection_command.cpp:
        (khtml::DeleteSelectionCommand::handleSpecialCaseBRDelete):
        Make sure m_endingSelection is usable.

        (khtml::DeleteSelectionCommand::doApply):
        Skip general delete related code when just doing handleSpecialCaseBRDelete().

        * layout-tests/editing/deleting/delete-br-011-expected.txt: Added.
        * layout-tests/editing/deleting/delete-br-011.html: Added.
        Mimics composing a Mail.app reply, clicking past the end of the content, and hitting delete key.

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

15 years ago Reviewed by Chris Blumenberg.
sullivan [Mon, 18 Jul 2005 18:02:21 +0000 (18:02 +0000)]
    Reviewed by Chris Blumenberg.

        - some refactoring cleanup in the selection/searching code

        * Misc.subproj/WebSearchableTextView.h:
        moved WebDocumentSelection protocol conformation to this class, was in subclass WebTextView
        * Misc.subproj/WebSearchableTextView.m:
        (-[WebSearchableTextView selectionRect]):
        new method (moved here from Safari) to return a single rect encompassing all selected text
        (-[WebSearchableTextView pasteboardTypesForSelection]):
        moved here from WebTextView
        (-[WebSearchableTextView writeSelectionWithPasteboardTypes:toPasteboard:]):
        ditto

        * WebView.subproj/WebDocumentInternal.h:
        moved WebDocumentSelection protocol out of here

        * WebView.subproj/WebDocumentPrivate.h:
        moved WebDocumentSelection protocol into here, added selectionRect method

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView selectionRect]):
        new method, calls existing bridge method formerly called by _selectionRect
        (-[WebHTMLView _selectionRect]):
        now calls [self selectionRect]. We can't just delete _selectionRect because it's used by Mail.

        * WebView.subproj/WebHTMLViewPrivate.h:
        removed _selectionRect since it's in WebDocumentSelection now

        * WebView.subproj/WebTextView.h:
        removed WebDocumentSelection from protocol list since it's in superclass now

        * WebView.subproj/WebTextView.m:
        removed old WebDocumentSelection methods because they are in superclass now

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

15 years ago -fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4008
ggaren [Mon, 18 Jul 2005 17:40:55 +0000 (17:40 +0000)]
    -fixed bugzilla.opendarwin.org/show_bug.cgi?id=4008
        Error objects report incorrect length

        Reviewed by darin.

        * kjs/error_object.cpp: Error objects now include a length property
        (ErrorObjectImp::ErrorObjectImp):

        * tests/mozilla/expected.html: updated expected results to reflect fix
        * tests/mozilla/js1_5/Exceptions/regress-123002.js: test now expects
        ecma compliant results

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

15 years ago Written by Anders Carlsson <andersca@mac.com>
adele [Sat, 16 Jul 2005 06:45:19 +0000 (06:45 +0000)]
    Written by Anders Carlsson  <andersca@mac.com>
        Reviewed by Dave Hyatt.

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

        Test cases added:
layout-tests/fast/dom/createDocumentType.html: Added
layout-tests/fast/dom/createDocumentType-expected.txt: Added

        * khtml/xml/dom_nodeimpl.cpp: (DocumentPtr::nullDocumentPtr):
        * khtml/xml/dom_nodeimpl.h:
Add nullDocumentPtr() function which returns a shared DocumentPtr
object whose document always is 0.

        * khtml/xml/dom_docimpl.cpp: (DOMImplementationImpl::createDocumentType):
Pass nullDocumentPtr as the document type's document.

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

15 years ago Written by Anders Carlsson <andersca@mac.com>
adele [Sat, 16 Jul 2005 06:17:32 +0000 (06:17 +0000)]
    Written by Anders Carlsson  <andersca@mac.com>
        Reviewed by Maciej.

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

        Test cases added:
* layout-tests/fast/js/location-assign.html: Added.
* layout-tests/fast/js/location-assign-expected.txt: Added.
* layout-tests/fast/js/resources/new-location.html: Added.

        * khtml/ecma/kjs_window.cpp:
        (KJS::Location::get):
        (KJS::LocationFunc::tryCall):
        * khtml/ecma/kjs_window.h: (KJS::Location::): Implement location.assign.

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

15 years ago Written by Trey Matteson <trey@usa.net>
adele [Sat, 16 Jul 2005 05:53:04 +0000 (05:53 +0000)]
    Written by Trey Matteson  <trey@usa.net>
        Reviewed by John Sullivan.

        Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3910 - REGRESSION: Replying "Cancel" to the form repost nag leaves wrong b/f cursor

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _resetBackForwardList]):  new helper method
        (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]):
          If the delegate bailed on the navigation, tell the main frame
          to reset the b/f cursor back to where it was before we started.

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

15 years ago Updated layout tests for formatting changes from change for
adele [Sat, 16 Jul 2005 05:39:25 +0000 (05:39 +0000)]
    Updated layout tests for formatting changes from change for
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3601

        * layout-tests/fast/dom/outerText-no-element-expected.txt:
        * layout-tests/fast/dynamic/outerHTML-no-element-expected.txt:
        * layout-tests/fast/js/array-every-expected.txt:
        * layout-tests/fast/js/array-foreach-expected.txt:
        * layout-tests/fast/js/array-some-expected.txt:
        * layout-tests/fast/js/toString-stack-overflow-expected.txt:

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

15 years ago Written by Trey Matteson
sullivan [Fri, 15 Jul 2005 22:59:18 +0000 (22:59 +0000)]
    Written by Trey Matteson
        Reviewed by me.

        Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=4013
                text find doesn't wrap in PDF files

        This just works once WebPDFView implements the WebDocumentText protocol, which is
        mostly just a matter of forwarding the methods to PDFKit appropriately.

        * WebView.subproj/WebPDFView.h:
        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView supportsTextEncoding]):
        (-[WebPDFView string]):
        (-[WebPDFView attributedString]):
        (-[WebPDFView selectedString]):
        (-[WebPDFView selectedAttributedString]):
        (-[WebPDFView selectAll]):
        (-[WebPDFView deselectAll]):

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

15 years ago Reviewed by Kevin Decker.
sullivan [Fri, 15 Jul 2005 22:16:04 +0000 (22:16 +0000)]
    Reviewed by Kevin Decker.

        - fixed <rdar://problem/4181884> Searching for text that overlaps selection works
        differently in PDFView than in HTMLView

        * WebView.subproj/WebPDFView.m:
        (PDFSelectionsAreEqual):
        new function, stand-in for nonexistent -[PDFSelection isEqual:] since calling isEqual:
        on two identical PDFSelections returns NO
        (-[WebPDFView searchFor:direction:caseSensitive:wrap:]):
        Make search algorithm match that in WebCore: initially search inside selection, then check for the case
        where the found text exactly matches the previous selection, and search from past the selection if so.
        The implementation is slightly more complicated than it should be due to PDFKit API limitations (about
        which I added FIXMEs and filed bugs)

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

15 years ago Reviewed by Maciej Stachowiak.
sullivan [Fri, 15 Jul 2005 20:35:26 +0000 (20:35 +0000)]
    Reviewed by Maciej Stachowiak.

        - fixed these bugs:
        <rdar://problem/4181875> Searching for text that overlaps selection works differently in WebTextView than in HTMLView
        <rdar://problem/3393678> Find not finding text in plain (non-HTML) if all text is selected

        * Misc.subproj/WebSearchableTextView.m:
        (-[NSString findString:selectedRange:options:wrap:]):
        Make search algorithm match that in WebCore: initially search inside selection, then check for the case
        where the found text exactly matches the previous selection, and search from past the selection if so.

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

15 years ago Reviewed by Adele
kdecker [Fri, 15 Jul 2005 17:50:50 +0000 (17:50 +0000)]
    Reviewed by Adele

Fixed: http://bugzilla.opendarwin.org/show_bug.cgi?id=4009
        Test cases added: none, doesn't affect layout

        * khtml/khtml_part.cpp:
        (KHTMLPart::scheduleLocationChange): Corrected an earlier mistake of testing an always non-zero constant.

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

15 years ago -rolled in KDE fixes for http://bugzilla.opendarwin.org/show_bug.cgi?id=3601
ggaren [Fri, 15 Jul 2005 16:58:57 +0000 (16:58 +0000)]
    -rolled in KDE fixes for bugzilla.opendarwin.org/show_bug.cgi?id=3601
        Error instance type info

        Reviewed by mjs.

        * kjs/error_object.cpp:
        - Created ErrorInstanceImp class for Error() objects.
        - Changed parent object for Native Errors to "Function" (matches
        ECMA spec).
        (ErrorInstanceImp::ErrorInstanceImp):
        (ErrorProtoFuncImp::call):
        (ErrorObjectImp::construct):
        (NativeErrorImp::construct):

        * kjs/error_object.h:
        (KJS::ErrorInstanceImp::classInfo):
        * kjs/object.h: made comment more informative about ClassInfo

        * tests/mozilla/expected.html:

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

15 years ago - fixed: JS test suite expects an out of memory error
ggaren [Fri, 15 Jul 2005 00:47:44 +0000 (00:47 +0000)]
    - fixed: JS test suite expects an out of memory error
        that our memory efficiency avoids

        Reviewed by mjs.

        * tests/mozilla/js1_5/Array/regress-157652.js:
        test now expects normal execution

        * tests/mozilla/expected.html:

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

15 years ago Reviewed by Ken Kocienda (setFocusNode) and Dave Hyatt (everything).
sullivan [Thu, 14 Jul 2005 23:53:34 +0000 (23:53 +0000)]
    Reviewed by Ken Kocienda (setFocusNode) and Dave Hyatt (everything).

        - WebCore part of fix for:
        <rdar://problem/4181227> webpages incorrectly use standard instead of secondary highlighting in certain cases

        Test cases added: none, doesn't affect layout

        There were two different problems leading to the same symptom, both of which needed to be fixed.
        The first problem was that ancient and unneeded code in setFocusNode(0) was setting the focus
        to the enclosing WebHTMLView. The second problem was that the WebHTMLView didn't learn about
        form controls resigning first-responder-hood, and so didn't update the displayed focus state.

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::setFocusNode):
        Removed a line of code that was setting the focus on the WebHTMLView whenever a form control
        lost focus. This doesn't make sense in a world where the focus might be moving to something
        outside of the web page entirely. This line of code was added ages ago to fix Radar 3037974,
        which is not reproducible anymore with this line of code removed.

        * kwq/WebCoreBridge.h:
        New bridge method -formControlIsResigningFirstResponder:, used to inform WebKit that a form
        control is losing first-responder-hood.

        * kwq/KWQButton.mm:
        (-[KWQButton resignFirstResponder]):
        call formControlIsResigningFirstResponder:

        * kwq/KWQComboBox.mm:
        (-[KWQPopUpButton resignFirstResponder]):
        ditto

        * kwq/KWQListBox.mm:
        (-[KWQTableView resignFirstResponder]):
        ditto

        * kwq/KWQSlider.mm:
        (-[KWQSlider resignFirstResponder]):
        ditto

        * kwq/KWQTextArea.mm:
        (-[KWQTextAreaTextView resignFirstResponder]):
        ditto

        * kwq/KWQTextField.mm:
        (-[KWQTextFieldController setHasFocus:]):
        ditto

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

15 years ago Reviewed by Dave Hyatt.
sullivan [Thu, 14 Jul 2005 23:52:55 +0000 (23:52 +0000)]
    Reviewed by Dave Hyatt.

        - WebKit part of fix for:
        <rdar://problem/4181227> webpages incorrectly use standard instead of secondary highlighting in certain cases

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge formControlIsResigningFirstResponder:]):
        Implementation of new method defined in WebCore, passes call along to WebHTMLView

        * WebView.subproj/WebHTMLViewInternal.h:
        declare _formControlIsResigningFirstResponder: so bridge can call it

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView updateFocusState]):
        just moved in file so it could be called from a different category
        (-[WebHTMLView _formControlIsResigningFirstResponder:]):
        new method, updates focus state

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

15 years ago added missing #import to fix build
sullivan [Thu, 14 Jul 2005 23:51:44 +0000 (23:51 +0000)]
added missing #import to fix build
* WebView.subproj/WebPDFView.m

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

15 years ago Reviewed by cblu
kdecker [Thu, 14 Jul 2005 23:06:10 +0000 (23:06 +0000)]
    Reviewed by cblu

Fixed: <rdar://problem/4122282> clicking a link in an PDF file opens the link with NSWorkspace without the usual security checks or WebView delegate control

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _safeLoadURL:]): added
        * WebView.subproj/WebFrameInternal.h:
        * WebView.subproj/WebPDFView.m:
        (-[WebPDFView initWithFrame:]):
        (-[WebPDFView PDFViewWillClickOnLink:withURL:]): prevents evilness with a call to _safeLoadURL
        * WebView.subproj/WebTextView.m:
        (-[WebTextView clickedOnLink:atIndex:]): factored calling out to the bridge, and instead call _safeLoadURL

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

15 years ago - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=4006
ggaren [Thu, 14 Jul 2005 22:32:17 +0000 (22:32 +0000)]
    - fixed bugzilla.opendarwin.org/show_bug.cgi?id=4006
        testkjs doesn't implement gc()

        - test failure:
        ecma_3/Function/regress-104584.js

        Reviewed by mjs.

        * kjs/interpreter.cpp:
        (Interpreter::finalCheck): removed misleading while && comment

        * kjs/testkjs.cpp: added "gc" function to global object
        (TestFunctionImp::):
        (TestFunctionImp::call):
        (main):

        * tests/mozilla/expected.html:

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

15 years ago Reviewed by mjs
justing [Thu, 14 Jul 2005 20:54:06 +0000 (20:54 +0000)]
    Reviewed by mjs

        - Fixes <rdar://problem/4124326> [RTL] Lines in messages with Hebrew text and numbers are truncated by Tiger Mail

        Mail sends plaintext when a message doesn't have any formatting, plaintext depends on
        innertext, which depends on TextIterators.  A TextIterator iterates over text boxes
        in render order, but assumes logical order, which was causing the problems.

        Test cases added:
        * layout-tests/fast/text/international/bidi-innertext-expected.txt: Added.
        * layout-tests/fast/text/international/bidi-innertext.html: Added.

        * khtml/editing/visible_text.cpp:
        (khtml::TextIterator::handleTextNode):
            If the text node contains reversed text, sort the text boxes (m_sortedTextBoxes).
            Not all reversed text will be out of logical order, but this simple check is less expensive
            than doing an exhaustive one.  Most text is LTR and an exhaustive check might hurt performance.
        (khtml::TextIterator::handleTextBox):
            Iterates over sorted text boxes when necessary
        * khtml/editing/visible_text.h:
        * khtml/rendering/render_text.cpp:
        (RenderText::RenderText):
        (RenderText::position):
            If asked to position a text box with reversed text, modify m_containsReversedText
        * khtml/rendering/render_text.h:
        (khtml::InlineTextBox::operator ==): Added to facilitate sorting
        (khtml::InlineTextBox::operator <): Ditto
        (khtml::RenderText::containsReversedText):

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

15 years ago Reviewed by mjs
justing [Thu, 14 Jul 2005 20:51:56 +0000 (20:51 +0000)]
    Reviewed by mjs

        - Fixes <rdar://problem/4124326> [RTL] Lines in messages with Hebrew text and
        numbers are truncated by Tiger Mail Mail sends plaintext when a message doesn't
        have any formatting, plaintext depends on innertext, which depends on TextIterators.
        A TextIterator iterates over text boxes in render order, but assumes logical order,
        which was causing the problems.

        Test cases added:
        * layout-tests/fast/text/international/bidi-innertext-expected.txt: Added.
        * layout-tests/fast/text/international/bidi-innertext.html: Added.

        * khtml/editing/visible_text.cpp:
        (khtml::TextIterator::handleTextNode):
            If the text node contains reversed text, sort the text boxes (m_sortedTextBoxes).
            Not all reversed text will be out of logical order, but this simple check is less expensive
            than doing an exhaustive one.  Most text is LTR and an exhaustive check might hurt performance.
        (khtml::TextIterator::handleTextBox):
            Iterates over sorted text boxes when necessary
        * khtml/editing/visible_text.h:
        * khtml/rendering/render_text.cpp:
        (RenderText::RenderText):
        (RenderText::position):
            If asked to position a text box with reversed text, modify m_containsReversedText
        * khtml/rendering/render_text.h:
        (khtml::InlineTextBox::operator ==): Added to facilitate sorting
        (khtml::InlineTextBox::operator <): Ditto
        (khtml::RenderText::containsReversedText):

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

15 years ago Patch by Anders Carlsson and justin
justing [Thu, 14 Jul 2005 20:23:53 +0000 (20:23 +0000)]
    Patch by Anders Carlsson and justin

        Reviewed by mjs

        Fixes the following related bugs:
        <http://bugzilla.opendarwin.org/show_bug.cgi?id=3298> insertRow generates DOM Exception if TABLE does not possess a TBODY
        <rdar://problem/4045213> insertRow fails on a <table> that has no <tbody> but does have other children in the DOM
        <rdar://problem/3609576> insertRow() on table object containing any characters but no TR & TD elements fails (3476)

        Does a better job of maintaining the firstBody variable so that it's not invalidated on .innerHTML = ""
        Better check for when to add an implicit tbody to hold the inserted row.

        Test cases added: (NONE)
        * layout-tests/fast/dom/HTMLTableElement/insert-row-expected.txt: Added.
        * layout-tests/fast/dom/HTMLTableElement/insert-row.html: Added.

        * khtml/html/html_tableimpl.cpp:
        (DOM::HTMLTableElementImpl::~HTMLTableElementImpl):
        (DOM::HTMLTableElementImpl::setTBody):
        (DOM::HTMLTableElementImpl::insertRow):
        (DOM::HTMLTableElementImpl::addChild):
        (DOM::HTMLTableElementImpl::childrenChanged):
        * khtml/html/html_tableimpl.h:

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

15 years ago Reviewed by hyatt, patch from Carsten Guenther.
vicki [Thu, 14 Jul 2005 19:06:28 +0000 (19:06 +0000)]
    Reviewed by hyatt, patch from Carsten Guenther.

- fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3855

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

        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::searchForLabelsAboveCell): check for the existence of the cell renderer

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

15 years ago -rolled in patches for http://bugzilla.opendarwin.org/show_bug.cgi?id=3945
ggaren [Thu, 14 Jul 2005 18:27:04 +0000 (18:27 +0000)]
    -rolled in patches for bugzilla.opendarwin.org/show_bug.cgi?id=3945
        [PATCH] Safe merges of comments and other trivialities from KDE's kjs

        -patch by Martijn Klingens <klingens@kde.org>

        * kjs/array_instance.h:
        * kjs/array_object.cpp:
        * kjs/array_object.h:
        * kjs/bool_object.cpp:
        * kjs/bool_object.h:
        * kjs/collector.cpp:
        * kjs/collector.h:
        * kjs/completion.h:
        * kjs/context.h:
        * kjs/date_object.cpp:
        * kjs/date_object.h:
        * kjs/debugger.cpp:
        * kjs/debugger.h:
        * kjs/dtoa.h:
        * kjs/error_object.cpp:
        * kjs/error_object.h:
        * kjs/function.cpp:
        * kjs/function.h:
        * kjs/function_object.cpp:
        * kjs/function_object.h:
        * kjs/grammar.y:
        * kjs/identifier.cpp:
        * kjs/identifier.h:
        * kjs/internal.cpp:
        * kjs/internal.h:
        * kjs/interpreter.cpp:
        * kjs/interpreter.h:
        * kjs/interpreter_map.cpp:
        * kjs/interpreter_map.h:
        * kjs/lexer.cpp:
        * kjs/lexer.h:
        * kjs/list.cpp:
        * kjs/list.h:
        * kjs/lookup.cpp:
        * kjs/lookup.h:
        * kjs/math_object.cpp:
        * kjs/math_object.h:
        * kjs/nodes.cpp:
        * kjs/nodes.h:
        * kjs/nodes2string.cpp:
        * kjs/number_object.cpp:
        * kjs/number_object.h:
        * kjs/object.cpp:
        * kjs/object.h:
        * kjs/object_object.cpp:
        * kjs/object_object.h:
        * kjs/operations.cpp:
        * kjs/operations.h:
        * kjs/property_map.cpp:
        * kjs/property_map.h:
        * kjs/reference.cpp:
        * kjs/reference.h:
        * kjs/reference_list.cpp:
        * kjs/reference_list.h:
        * kjs/regexp.cpp:
        * kjs/regexp.h:
        * kjs/regexp_object.cpp:
        * kjs/regexp_object.h:
        * kjs/scope_chain.cpp:
        * kjs/scope_chain.h:
        * kjs/simple_number.h:
        * kjs/string_object.cpp:
        * kjs/string_object.h:
        * kjs/testkjs.cpp:
        * kjs/types.h:
        * kjs/ustring.cpp:
        * kjs/ustring.h:
        * kjs/value.cpp:
        * kjs/value.h:

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

15 years ago -fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3970
ggaren [Thu, 14 Jul 2005 18:13:50 +0000 (18:13 +0000)]
    -fixed bugzilla.opendarwin.org/show_bug.cgi?id=3970
        throw statements fail inside eval statements

        Reviewed by mjs.

        * kjs/function.cpp:
        (KJS::GlobalFuncImp::call):
        Big change since I fixed the tabbing. The important part is:
        if (c.complType() == Throw)
          exec->setException(c.value());

        * kjs/nodes.cpp:
        (ThrowNode::execute): removed duplicate KJS_CHECKEXCEPTION
        (TryNode::execute):
        try now clears the exception state before the finally block executes,
        and checks the state after the block executes, so that exceptions in
        finally code get caught.

        * tests/mozilla/expected.html:

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

15 years ago - added manual tests for <rdar://problem/4172380> [GENENTECH] window.opener not...
vicki [Thu, 14 Jul 2005 18:08:05 +0000 (18:08 +0000)]
- added manual tests for <rdar://problem/4172380> [GENENTECH] window.opener not available
when child opened via target="_new"

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

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

15 years ago - landed fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=3677>
ggaren [Thu, 14 Jul 2005 17:58:17 +0000 (17:58 +0000)]
    - landed fix for <bugzilla.opendarwin.org/show_bug.cgi?id=3677>
        Safari fail to access a second time an element whose content was dynamically modified.

        - patch by Anders Carlsson <andersca@mac.com>.

        Reviewed by mjs + darin.

        Test cases added:
        * layout-tests/fast/dom/ids/duplicate-ids-expected.txt: Added.
        * layout-tests/fast/dom/ids/duplicate-ids.html: Added.

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::getElementById):
        If no element in the id dict can be found and we know that there's
        at least one other element with the same id around, then traverse the document
        and insert the new element in the id table.

        (DocumentImpl::addElementById):
        (DocumentImpl::removeElementById):
        Increment and decrement the id count accordingly.

        * khtml/xml/dom_docimpl.h:
        Add QDict for id counts. Make element QDict mutable.

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

15 years agoJavaScriptCore:
ggaren [Thu, 14 Jul 2005 17:24:31 +0000 (17:24 +0000)]
JavaScriptCore:

-landed fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3412
Object.prototype is missing toLocaleString

- patch by Mark Rowe (bdash) <opendarwin.org@bdash.net.nz>

-layout test info in webcore changelog

        Reviewed by mjs.

        * kjs/object_object.cpp:
        (ObjectPrototypeImp::ObjectPrototypeImp):
        (ObjectProtoFuncImp::call):
        * kjs/object_object.h:
        (KJS::ObjectProtoFuncImp::):

WebCore:

-landed layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3412
Object.prototype is missing toLocaleString

        Reviewed by mjs.

        Test cases added:
        * layout-tests/fast/js/object-prototype-toLocaleString-expected.txt: Added.
        * layout-tests/fast/js/object-prototype-toLocaleString.html: Added.

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

15 years agoWebCore:
vicki [Thu, 14 Jul 2005 16:29:10 +0000 (16:29 +0000)]
WebCore:

        Reviewed by Kocienda.

        - WebCore part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener
        not available when child opened via target="_new"

        Add a setOpener function to the WebCore bridge, and call this function when opening
        new windows through Web Kit.

        * kwq/WebCoreBridge.h:
        * kwq/WebCoreBridge.mm:

WebKit:

        Reviewed by Kocienda.

- WebKit part of fix for  <rdar://problem/4172380> [GENENTECH] window.opener
not available when child opened via target="_new"

Add a setOpener function to the WebCore bridge, and call this function when opening
new windows through Web Kit.

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _continueLoadRequestAfterNewWindowPolicy:frameName:formState:]):

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

15 years ago Reviewed by Kevin.
mjs [Thu, 14 Jul 2005 04:48:45 +0000 (04:48 +0000)]
    Reviewed by Kevin.

        - convert some more things to use the new hashtable

        * khtml/ecma/kjs_binding.cpp:
        (KJS::domObjects):
        (KJS::domNodesPerDocument):
        (KJS::ScriptInterpreter::getDOMObject):
        (KJS::ScriptInterpreter::putDOMObject):
        (KJS::ScriptInterpreter::deleteDOMObject):
        (KJS::ScriptInterpreter::forgetDOMObject):
        (KJS::ScriptInterpreter::getDOMNodeForDocument):
        (KJS::ScriptInterpreter::forgetDOMNodeForDocument):
        (KJS::ScriptInterpreter::putDOMNodeForDocument):
        (KJS::ScriptInterpreter::forgetAllDOMNodesForDocument):
        (KJS::ScriptInterpreter::mark):
        (KJS::ScriptInterpreter::updateDOMNodeDocument):
        * khtml/ecma/kjs_binding.h:
        * khtml/ecma/kjs_window.h: Include QPtrDict header
        * khtml/ecma/xmlhttprequest.h: ditto

- fix a bug with remove of a nonexistent key - it used to trash
the table

        * khtml/misc/hashtable.h:
        (khtml::::remove):

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

15 years ago Reviewed by John
justing [Thu, 14 Jul 2005 02:43:52 +0000 (02:43 +0000)]
    Reviewed by John

        Rolling in changes necessary to build with newer versions of gcc 4.0

        * History.subproj/WebHistoryItem.m:
        (-[WebHistoryItem copyWithZone:]):
        * Misc.subproj/WebNSPasteboardExtras.m:
        (-[NSPasteboard _web_writeImage:URL:title:archive:types:]):
        * Misc.subproj/WebNSURLExtras.m:
        (-[NSURL _web_URLWithLowercasedScheme]):
        (-[NSString _web_mapHostNameWithRange:encode:makeString:]):
        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge MIMETypeForPath:]):
        * WebCoreSupport.subproj/WebImageRendererFactory.m:
        (-[WebImageRendererFactory imageRendererWithBytes:length:MIMEType:]):
        * WebCoreSupport.subproj/WebTextRenderer.m:
        (-[WebTextRenderer initWithFont:usingPrinterFont:]):
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _webDataRequestForData:MIMEType:textEncodingName:baseURL:unreachableURL:]):
        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView _styleFromFontAttributes:]):
        * WebView.subproj/WebView.m:
        (-[WebView _writeImageElement:withPasteboardTypes:toPasteboard:]):
        (-[WebView mainFrameTitle]):

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

15 years ago Reviewed by mjs
justing [Thu, 14 Jul 2005 02:32:33 +0000 (02:32 +0000)]
    Reviewed by mjs

        Rolled in workarounds necessary to build with a gcc 4.0 regression introduced in build 5208:
        <rdar://problem/4175534> Regression in gcc-5208 "comparison of distinct Objective-C types lacks a cast" warning
        Problems overloading methods that take Objective-C typed arguments

        * kwq/KWQCursor.h:
        * kwq/KWQCursor.mm:
        (QCursor::makeWithNSCursor):
        * kwq/KWQKCursor.mm:
        (KCursor::crossCursor):
        (KCursor::handCursor):
        (KCursor::sizeAllCursor):
        (KCursor::ibeamCursor):
        (KCursor::waitCursor):
        (KCursor::whatsThisCursor):
        (KCursor::eastResizeCursor):
        (KCursor::northResizeCursor):
        (KCursor::northEastResizeCursor):
        (KCursor::northWestResizeCursor):
        (KCursor::southResizeCursor):
        (KCursor::southEastResizeCursor):
        (KCursor::southWestResizeCursor):
        (KCursor::westResizeCursor):
        * kwq/KWQKJobClasses.mm:
        (KIO::TransferJob::emitResult):
        (KIO::TransferJob::emitReceivedResponse):
        * kwq/KWQSignal.h:
        * kwq/KWQSignal.mm:
        (KWQSignal::callWithData):
        (KWQSignal::callWithResponse):
        * kwq/KWQSlot.h:
        * kwq/KWQSlot.mm:
        (KWQSlot::callWithData):
        (KWQSlot::callWithResponse):
        * kwq/KWQWidget.mm:
        (QWidget::cursor):

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

15 years ago Reviewed by mjs
justing [Thu, 14 Jul 2005 02:22:12 +0000 (02:22 +0000)]
    Reviewed by mjs

        Rolling in changes necessary to build with newer versions of gcc 4.0

        * kwq/DOM-CSS.mm:
        (+[DOMCSSPrimitiveValue _valueWithImpl:]):
        * kwq/DOMEvents.h:
        * kwq/DOMInternal.h:
        (addDOMWrapper):
        * kwq/KWQButton.mm:
        (QButton::setWritingDirection):
        * kwq/KWQClipboard.mm:
        (KWQClipboard::dragNSImage):
        * kwq/KWQComboBox.mm:
        (QComboBox::setWritingDirection):
        (QComboBox::populateMenu):
        * kwq/KWQKHTMLPart.mm:
        (regExpForLabels):
        (KWQKHTMLPart::passWidgetMouseDownEventToWidget):
        (KWQKHTMLPart::fileWrapperForElement):
        * kwq/KWQLineEdit.mm:
        (QLineEdit::QLineEdit):
        * kwq/KWQListBox.mm:
        (QListBox::~QListBox):
        (QListBox::setSelectionMode):
        (QListBox::doneAppendingItems):
        (QListBox::setSelected):
        (QListBox::isSelected):
        (QListBox::setEnabled):
        (QListBox::sizeForNumberOfLines):
        (QListBox::setWritingDirection):
        * kwq/KWQScrollView.mm:
        (QScrollView::contentsX):
        (QScrollView::contentsY):
        * kwq/KWQTextArea.mm:
        (-[KWQTextArea _trackResizeFromMouseDown:]):
        (-[KWQTextAreaTextView _enclosingTextArea]):
        (-[KWQTextAreaTextView _resizeCornerRect]):
        * kwq/KWQTextEdit.mm:
        (QTextEdit::setAlignment):
        (QTextEdit::setWritingDirection):
        (QTextEdit::sizeWithColumnsAndRows):
        (QTextEdit::setPalette):
        * kwq/KWQWidget.mm:
        (QWidget::hasFocus):
        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge elementAtPoint:]):

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

15 years ago Reviewed by Maciej Stachowiak.
sullivan [Thu, 14 Jul 2005 00:26:25 +0000 (00:26 +0000)]
    Reviewed by Maciej Stachowiak.

        - cleaned up Find-related experimental code that I checked in a while back

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView searchFor:direction:caseSensitive:wrap:]):
        remove variant of this method that had findInSelection flag; this method is now
        the same as it was on Tiger.

        * WebView.subproj/WebView.m:
        (-[WebView searchFor:direction:caseSensitive:wrap:]):
        ditto

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

15 years ago Reviewed by Maciej Stachowiak.
sullivan [Thu, 14 Jul 2005 00:26:04 +0000 (00:26 +0000)]
    Reviewed by Maciej Stachowiak.

        - cleaned up Find-related experimental code that I checked in a while back

        * kwq/KWQKHTMLPart.h:
        remove findInSelection flag from findString()
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::findString):
        remove findInSelection flag. Always search the selection first, but if the found range is
        the same as the selection range, then search again from beyond the selection.

        * kwq/WebCoreBridge.h:
        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge searchFor:direction:caseSensitive:wrap:]):
        remove findInSelection flag

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

15 years ago Reviewed by John.
adele [Thu, 14 Jul 2005 00:10:54 +0000 (00:10 +0000)]
    Reviewed by John.

        Fixed <rdar://problem/4170963> Focusing a field unnecessarily horizontally scrolls

        Horizontal scrolling while tabbing through forms can be surprising, and distracting.  This
        change will minimize that scrolling if we're not explicitly trying to center a rectangle in
        _KWQ_scrollRectToVisible.

        Test cases added: None.  This test case involves tabbing to form controls and scrolling.

        * kwq/KWQNSViewExtras.m: (-[NSClipView _KWQ_scrollRectToVisible:inView:forceCentering:]):

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

15 years ago Reviewed by cblu.
kdecker [Tue, 12 Jul 2005 21:52:15 +0000 (21:52 +0000)]
     Reviewed by cblu.

Fixed:
  http://bugzilla.opendarwin.org/show_bug.cgi?id=3968
 <rdar://problem/4172645> REGRESSION: top frame only loads at banking site - http://www.skandiabanken.no

        Test cases added: None; This fixes a race condition that is not reproducible locally.

        * khtml/khtml_part.cpp:
        (KHTMLPart::scheduleLocationChange): If a redirect was scheduled during a load, then stop the current load. Otherwise when the current load transitions from a provisional to a committed state, pending redirects may be cancelled.

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

15 years agoSubmitted by: eseidel
eseidel [Tue, 12 Jul 2005 21:36:29 +0000 (21:36 +0000)]
Submitted by: eseidel
Reviewed by: mjs
        * checkout-svg: Fixed error with symlink creation.

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

15 years agoSubmitted by: eseidel
eseidel [Tue, 12 Jul 2005 21:13:25 +0000 (21:13 +0000)]
Submitted by: eseidel
Reviewed by: mjs
        * checkout-svg: Added.
        Script to check out WebCore+SVG

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

15 years ago Fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=3942 and marquee problems...
bdakin [Tue, 12 Jul 2005 20:26:42 +0000 (20:26 +0000)]
Fix for bugzilla.opendarwin.org/show_bug.cgi?id=3942 and marquee problems in Radar bug
4172312. Vertical marquees default to 200px, and horizontal marquees do not allow text to be
truncated by a too-small height attribute.

        Reviewed by Hyatt.

        Test cases added: (NONE)

        * khtml/html/html_blockimpl.cpp: deleted former changes to make marquee height work correctly.
        (HTMLMarqueeElementImpl::mapToEntry):
        (HTMLMarqueeElementImpl::parseMappedAttribute):
        * khtml/rendering/render_layer.cpp: this is where the height issues are now addressed
        (Marquee::updateMarqueeStyle):
        * khtml/rendering/render_layer.h:
        (khtml::):
        * khtml/rendering/render_style.h: added function fontSize()
        (khtml::RenderStyle::fontSize):
        * khtml/xml/dom_elementimpl.h: deleted addition of EMarquee hash key
        (DOM::):
        * layout-tests/fast/css/MarqueeLayoutTest-expected.txt:
        * layout-tests/fast/css/MarqueeLayoutTest.html: added vertical marquees to test.

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

15 years ago Reviewed by mjs.
ggaren [Tue, 12 Jul 2005 18:20:02 +0000 (18:20 +0000)]
    Reviewed by mjs.

        * kjs/function.cpp:
        (KJS::IndexToNameMap::operator[]): fixed infinite recursion
        bug in last checkin

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

15 years ago Test cases modified:
ggaren [Tue, 12 Jul 2005 18:13:53 +0000 (18:13 +0000)]
    Test cases modified:
        * layout-tests/fast/frames/iframe-name-and-id.html:
        now tests dynamically creating frames[x].name

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

15 years agoWebCore:
ggaren [Tue, 12 Jul 2005 17:44:10 +0000 (17:44 +0000)]
WebCore:

        Added layout test for
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3435
        Parentheses are backwards in Hebrew text (no bidi mirroring?)

        Test is manual because results only reflect visually -
        the layout is the same either way.

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

WebKit:

        -rolled in patch by opendarwin.org@mitzpettel.com
        for http://bugzilla.opendarwin.org/show_bug.cgi?id=3435
        Parentheses are backwards in Hebrew text (no bidi mirroring?)

        Reviewed by mjs.

        Layout test added to WebCore.

        * WebCoreSupport.subproj/WebTextRenderer.h:
        * WebCoreSupport.subproj/WebTextRenderer.m:
        (-[WebTextRenderer _initializeATSUStyle]):
        (applyMirroringToRun):
        (-[WebTextRenderer _ATSU_drawHighlightForRun:style:geometry:]):
        (-[WebTextRenderer _ATSU_drawRun:style:geometry:]):
        (-[WebTextRenderer _ATSU_pointToOffset:style:position:reversed:includePartialGlyphs:]):

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

15 years ago -fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=3881
ggaren [Tue, 12 Jul 2005 16:48:29 +0000 (16:48 +0000)]
    -fixed bugzilla.opendarwin.org/show_bug.cgi?id=3881
        arguments object should share values with function parameters

        Reviewed by mjs.

        ArgumentsImp now uses a simple hash lookup to share values
        with the activation object.

        * kjs/function.cpp:
        (KJS::FunctionImp::getParameterName):
        (KJS::IndexToNameMap::IndexToNameMap):
        (KJS::IndexToNameMap::~IndexToNameMap):
        (KJS::IndexToNameMap::isMapped):
        (KJS::IndexToNameMap::unMap):
        (KJS::IndexToNameMap::operator[]):
        (KJS::ArgumentsImp::ArgumentsImp):
        (KJS::ArgumentsImp::mark):
        (KJS::ArgumentsImp::get):
        (KJS::ArgumentsImp::put):
        (KJS::ArgumentsImp::deleteProperty):
        (KJS::ArgumentsImp::hasOwnProperty):
        (KJS::ActivationImp::createArgumentsObject):
        * kjs/function.h:
        * tests/mozilla/expected.html: updated results

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

15 years ago Reviewed by me
kocienda [Tue, 12 Jul 2005 16:37:26 +0000 (16:37 +0000)]
    Reviewed by me

        Test cases added: (NONE)

        * kwq/KWQTextCodec.mm: Fix build breakage. /me is a real genius.

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

15 years agoWebCore:
kocienda [Tue, 12 Jul 2005 16:29:00 +0000 (16:29 +0000)]
WebCore:

        Reviewed by Chris Blumenberg

        Test cases added: (NONE)

        Switched over from TEC to ICU for unicode text conversion. TEC support has now been
        removed from KWQTextCodec. I just added this dual support yesterday, and while Maciej
        and I agreed that it was good to land in the tree in case we run into problems in the
        near future, we also agreed that cutting over to using ICU full time right now is
        probably the best way to find bugs.

        * kwq/KWQTextCodec.mm: Removed TEC support.
        (QTextCodec::fromUnicode): Ditto.
        (KWQTextDecoder::KWQTextDecoder): Ditto.
        (KWQTextDecoder::~KWQTextDecoder): Ditto.
        (KWQTextDecoder::convert): Ditto.
        * kwq/WebCoreBridge.h: Removed some glue that allowed the converters to
        be changed at runtime.
        * kwq/WebCoreTextConversionMethod.h: Removed. This also was glue for the runtime switch.
        * WebCore.pbproj/project.pbxproj: Removed WebCoreTextConversionMethod.h file.

WebKit:

        Reviewed by Chris Blumenberg

        * WebCoreSupport.subproj/WebBridge.m: Removed some glue that allowed one
        of two unicode (TEC or ICU ) to be chosen at runtime. I just added this
        dual support yesterday, and while Maciej and I agreed that it was good
        to land in the tree in case we run into problems in the near future, we
        also agreed that cutting over to using ICU full time right now is
        probably the best way to find bugs.

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

15 years agoBug #: 3961
eseidel [Tue, 12 Jul 2005 07:20:37 +0000 (07:20 +0000)]
Bug #: 3961
Submitted by: andersca
Reviewed by: hyatt
        * icu/unicode/ucnv.h: Added.
        * icu/unicode/ucnv_err.h: Added.
        Fixes build break for externals caused by KWQTextCodec.mm changes.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3961

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

15 years agoBug #: 3959
eseidel [Tue, 12 Jul 2005 05:49:27 +0000 (05:49 +0000)]
Bug #: 3959
Submitted by: eseidel
Reviewed by: adele
        * kdom/Namespace.h: Merged in XPath 2.0 namespace def from KDE.
        * kdom/Shared.h: Merged in comments from KDE.
        * kdom/kdom.h: Changed local // to use #ifndef APPLE_CHANGES
        (KDOM::operator<<):
        A tiny batch of changes I wished to commit before moving
        WebCore/kdom to SVGSupport/kdom.

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

15 years ago -fixed rdar://problem/4170960
ggaren [Tue, 12 Jul 2005 02:00:18 +0000 (02:00 +0000)]
-fixed rdar://problem/4170960
http://bugzilla.opendarwin.org/show_bug.cgi?id=3952
iFrame name and id information incorrectly returned

Reviewed by mjs.

        Test cases added: (NONE)
        * layout-tests/fast/frames/iframe-name-and-id-expected.txt: Added.
        * layout-tests/fast/frames/iframe-name-and-id.html: Added.

        * ChangeLog:
        * khtml/html/html_baseimpl.cpp:
        (HTMLFrameElementImpl::attach): removed misleading comment
        (HTMLIFrameElementImpl::attach): copied FrameElementImpl behavior
for initializing m_name

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

15 years agoWebCore:
kocienda [Mon, 11 Jul 2005 23:12:05 +0000 (23:12 +0000)]
WebCore:

        Reviewed by Richard

        Test cases added: (NONE)

        * WebCore.pbproj/project.pbxproj:
        * kwq/KWQLogging.h: Added constant for logging text conversions.
        * kwq/KWQLogging.m: Ditto.
        * kwq/KWQTextCodec.mm: Added support for using the ICU library for unicode text conversion.
        (KWQTextDecoder::KWQTextDecoder): Check for conversion method to use.
        (KWQTextDecoder::~KWQTextDecoder): Release ICU converter if needed.
        (KWQTextDecoder::convertUTF16): Use constant rather in place of hard-coded buffer size.
        (KWQTextDecoder::createTECConverter): Name change: qualify converter names with TEC suffix.
        (KWQTextDecoder::createICUConverter): New function to create an ICU converter.
        (KWQTextDecoder::convertOneChunkUsingTEC): Name change: qualify converter names with TEC suffix.
        (KWQTextDecoder::convertUsingTEC): Ditto. Also, use constant rather in place of hard-coded buffer size.
        (KWQTextDecoder::convertUsingICU): New function to convert text using ICU.
        (KWQTextDecoder::convert): Now switches on converters, picking either TEC or ICU.
        * kwq/WebCoreBridge.h: Add -textConversionMethod accessor so KWQTextDecoder can pick the right converter.
        * kwq/WebCoreTextConversionMethod.h: Added.

WebKit:

        Reviewed by Richard

        * WebCoreSupport.subproj/WebBridge.m:
        (+[WebBridge setTextConversionMethod:]): New method to support switching text conversion method.
        (+[WebBridge textConversionMethod]): Returns current text conversion method.

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

15 years ago Reviewed by me
kocienda [Mon, 11 Jul 2005 17:11:42 +0000 (17:11 +0000)]
    Reviewed by me

        Test cases added: (NONE)

        * WebCore.pbproj/project.pbxproj: Fix project file.

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

15 years agoq: how hard is to to land a comment?
kdecker [Mon, 11 Jul 2005 17:09:14 +0000 (17:09 +0000)]
q: how hard is to to land a comment?
a: really hard, if you haven't had coffee.

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

15 years agorevised comment from previous check in..
kdecker [Mon, 11 Jul 2005 17:04:43 +0000 (17:04 +0000)]
revised comment from previous check in..

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

15 years ago Reviewed by cblu and mjs.
kdecker [Mon, 11 Jul 2005 16:57:39 +0000 (16:57 +0000)]
    Reviewed by cblu and mjs.

Fixed: <rdar://problem/4099552> REGRESSION: Safari 1.3 Netscape API NPN_PostURL[Notify] no longer allows manual headers

Most plugins (flash) send 2 CRFL's between the header and body of their POST requests, while the adboe plugin sends two LF's. This caused us to send custom headers as part of the actual POST data itself, and correspondently, would skew Content-Length.

        * Plugins.subproj/WebBaseNetscapePluginView.m:
        (-[NSData _web_locationAfterFirstBlankLine]): Look for two LF's as well

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

15 years ago Reviewed by me
kocienda [Mon, 11 Jul 2005 16:50:34 +0000 (16:50 +0000)]
    Reviewed by me

        Test cases added: (NONE)

        * WebCore.pbproj/project.pbxproj: Fix erroneously-committed project file.

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

15 years ago Merged in changes from the opensource tree.
kocienda [Mon, 11 Jul 2005 16:45:42 +0000 (16:45 +0000)]
    Merged in changes from the opensource tree.

        2005-07-10  Maciej Stachowiak  <mjs@apple.com>

                Reviewed by John.

                * khtml/html/htmltokenizer.cpp:
                (khtml::HTMLTokenizer::parseTag): Don't allow !doctype as a tag name, this screws up
            parsing and makes !doctype elements and extra text nodes get added to the DOM.
                * khtml/xml/dom_atomicstring.cpp:
                (DOM::AtomicString::equal): Add some nil checks, now that the equal this calls
            no longer checks for nil.

        2005-07-09  Timothy Hatcher  <timothy@colloquy.info>

                Reviewed and landed by Maciej.

            Fixed a build error with GCC4 and the use of _M_type.

                * khtml/misc/hashtraits.h:
                Test for GCC4 and use the new __value enum from _M_type.

        2005-07-09  David Hyatt  <hyatt@apple.com>

            Make sure to keep eLastEntry at the end of the list, since it is used for the dynamic portion of the
            hash.

                Reviewed by mjs

        2005-07-09  Maciej Stachowiak  <mjs@apple.com>

                Reviewed by Eric Seidel.

                - removed unused files

                * kdom/impl/NodeKeeper.cc: Removed.
                * kdom/impl/NodeKeeper.h: Removed.
                * WebCore.pbproj/project.pbxproj: Remove from +SVG build.

        2005-07-09  David Hyatt  <hyatt@apple.com>

            Fix for bugzilla bug 3405, replace NodeImpl::Id with a new class,
            QualifiedName, to represent tag names (for DOM elements and CSS
            selectors).

                Reviewed by mjs

                * WebCore.pbproj/project.pbxproj:
                * khtml/css/css_base.cpp:
                (CSSSelector::anyTagName):
                (CSSSelector::print):
                (CSSSelector::specificity):
                (CSSSelector::selectorText):
                * khtml/css/css_base.h:
                (DOM::CSSNamespace::uri):
                (DOM::CSSNamespace::prefix):
                (DOM::CSSNamespace::namespaceForPrefix):
                (DOM::CSSSelector::CSSSelector):
                (DOM::CSSSelector::hasTag):
                * khtml/css/css_ruleimpl.cpp:
                * khtml/css/css_ruleimpl.h:
                * khtml/css/css_stylesheetimpl.cpp:
                (CSSStyleSheetImpl::addNamespace):
                (CSSStyleSheetImpl::determineNamespace):
                * khtml/css/css_stylesheetimpl.h:
                * khtml/css/cssparser.cpp:
                (CSSParser::CSSParser):
                (CSSParser::parseSheet):
                * khtml/css/cssparser.h:
                * khtml/css/cssstyleselector.cpp:
                (khtml::CSSStyleSelector::matchRules):
                (khtml::CSSStyleSelector::matchRulesForList):
                (khtml::CSSStyleSelector::canShareStyleWithElement):
                (khtml::CSSStyleSelector::adjustRenderStyle):
                (khtml::CSSStyleSelector::checkSelector):
                (khtml::CSSStyleSelector::checkOneSelector):
                (khtml::CSSRuleSet::addRule):
                * khtml/css/cssstyleselector.h:
                (khtml::CSSRuleSet::getTagRules):
                * khtml/css/parser.y:
                * khtml/dom/css_stylesheet.cpp:
                (LinkStyle::operator = ):
                (LinkStyle::sheet):
                * khtml/dom/dom_element.cpp:
                (Element::tagName):
                * khtml/dom/dom_node.cpp:
                (Node::namespaceURI):
                (Node::setPrefix):
                * khtml/dom/dom_node.h:
                * khtml/dom/html_base.cpp:
                (HTMLBodyElement::operator = ):
                (HTMLFrameElement::operator = ):
                (HTMLIFrameElement::operator = ):
                (HTMLFrameSetElement::operator = ):
                (HTMLHeadElement::operator = ):
                (HTMLHtmlElement::operator = ):
                * khtml/dom/html_block.cpp:
                (HTMLBlockquoteElement::operator = ):
                (HTMLDivElement::operator = ):
                (HTMLHRElement::operator = ):
                (HTMLHeadingElement::operator = ):
                (HTMLParagraphElement::operator = ):
                (HTMLPreElement::operator = ):
                * khtml/dom/html_element.cpp:
                (HTMLElement::assignOther):
                * khtml/dom/html_element.h:
                * khtml/dom/html_form.cpp:
                (HTMLButtonElement::operator = ):
                (HTMLFieldSetElement::operator = ):
                (HTMLFormElement::operator = ):
                (HTMLInputElement::operator = ):
                (HTMLLabelElement::operator = ):
                (HTMLLegendElement::operator = ):
                (HTMLOptGroupElement::operator = ):
                (HTMLSelectElement::operator = ):
                (HTMLTextAreaElement::operator = ):
                (HTMLOptionElement::operator = ):
                (HTMLIsIndexElement::operator = ):
                * khtml/dom/html_head.cpp:
                (HTMLBaseElement::operator = ):
                (HTMLLinkElement::operator = ):
                (HTMLMetaElement::operator = ):
                (HTMLScriptElement::operator = ):
                (HTMLStyleElement::operator = ):
                (HTMLTitleElement::operator = ):
                * khtml/dom/html_image.cpp:
                (HTMLAreaElement::operator = ):
                (HTMLImageElement::operator = ):
                (HTMLMapElement::operator = ):
                * khtml/dom/html_inline.cpp:
                (HTMLAnchorElement::operator = ):
                (HTMLBRElement::operator = ):
                (HTMLFontElement::operator = ):
                (HTMLModElement::HTMLModElement):
                (HTMLModElement::operator = ):
                (HTMLQuoteElement::HTMLQuoteElement):
                (HTMLQuoteElement::operator = ):
                * khtml/dom/html_inline.h:
                * khtml/dom/html_list.cpp:
                (HTMLDListElement::operator = ):
                (HTMLDirectoryElement::operator = ):
                (HTMLLIElement::operator = ):
                (HTMLMenuElement::operator = ):
                (HTMLOListElement::operator = ):
                (HTMLUListElement::operator = ):
                * khtml/dom/html_misc.cpp:
                (HTMLBaseFontElement::operator = ):
                * khtml/dom/html_object.cpp:
                (DOM::HTMLAppletElement::operator = ):
                (DOM::HTMLObjectElement::operator = ):
                (DOM::HTMLParamElement::operator = ):
                * khtml/dom/html_table.cpp:
                (HTMLTableCaptionElement::operator = ):
                (HTMLTableCellElement::operator = ):
                (HTMLTableColElement::operator = ):
                (HTMLTableElement::operator = ):
                (HTMLTableRowElement::operator = ):
                (HTMLTableSectionElement::operator = ):
                * khtml/ecma/kjs_css.cpp:
                (KJS::DOMStyleSheetList::tryGet):
                * khtml/ecma/kjs_dom.cpp:
                (KJS::DOMNode::putValue):
                (KJS::DOMElement::tryGet):
                (KJS::getRuntimeObject):
                * khtml/ecma/kjs_html.cpp:
                (KJS::HTMLDocument::tryGet):
                (KJS::KJS::HTMLDocument::putValue):
                (KJS::KJS::HTMLElement::classInfo):
                (KJS::):
                (KJS::HTMLElement::getSetInfo):
                (KJS::KJS::HTMLElement::tryGet):
                (KJS::KJS::HTMLElement::implementsCall):
                (KJS::KJS::HTMLElement::call):
                (KJS::HTMLElement::htmlGetter):
                (KJS::HTMLElement::headGetter):
                (KJS::HTMLElement::linkGetter):
                (KJS::HTMLElement::titleGetter):
                (KJS::HTMLElement::metaGetter):
                (KJS::HTMLElement::baseGetter):
                (KJS::HTMLElement::isIndexGetter):
                (KJS::HTMLElement::styleGetter):
                (KJS::HTMLElement::bodyGetter):
                (KJS::HTMLElement::formGetter):
                (KJS::HTMLElement::selectGetter):
                (KJS::HTMLElement::optGroupGetter):
                (KJS::HTMLElement::optionGetter):
                (KJS::getInputSelectionStart):
                (KJS::getInputSelectionEnd):
                (KJS::HTMLElement::inputGetter):
                (KJS::HTMLElement::textAreaGetter):
                (KJS::HTMLElement::buttonGetter):
                (KJS::HTMLElement::labelGetter):
                (KJS::HTMLElement::fieldSetGetter):
                (KJS::HTMLElement::legendGetter):
                (KJS::HTMLElement::uListGetter):
                (KJS::HTMLElement::oListGetter):
                (KJS::HTMLElement::dListGetter):
                (KJS::HTMLElement::dirGetter):
                (KJS::HTMLElement::menuGetter):
                (KJS::HTMLElement::liGetter):
                (KJS::HTMLElement::divGetter):
                (KJS::HTMLElement::paragraphGetter):
                (KJS::HTMLElement::headingGetter):
                (KJS::HTMLElement::blockQuoteGetter):
                (KJS::HTMLElement::quoteGetter):
                (KJS::HTMLElement::preGetter):
                (KJS::HTMLElement::brGetter):
                (KJS::HTMLElement::baseFontGetter):
                (KJS::HTMLElement::fontGetter):
                (KJS::HTMLElement::hrGetter):
                (KJS::HTMLElement::modGetter):
                (KJS::HTMLElement::anchorGetter):
                (KJS::HTMLElement::imageGetter):
                (KJS::HTMLElement::objectGetter):
                (KJS::HTMLElement::paramGetter):
                (KJS::HTMLElement::appletGetter):
                (KJS::HTMLElement::mapGetter):
                (KJS::HTMLElement::areaGetter):
                (KJS::HTMLElement::scriptGetter):
                (KJS::HTMLElement::tableGetter):
                (KJS::HTMLElement::tableCaptionGetter):
                (KJS::HTMLElement::tableColGetter):
                (KJS::HTMLElement::tableSectionGetter):
                (KJS::HTMLElement::tableRowGetter):
                (KJS::HTMLElement::tableCellGetter):
                (KJS::HTMLElement::frameSetGetter):
                (KJS::HTMLElement::frameGetter):
                (KJS::HTMLElement::iFrameGetter):
                (KJS::HTMLElement::marqueeGetter):
                (KJS::HTMLElement::getValueProperty):
                (KJS::KJS::HTMLElement::hasOwnProperty):
                (KJS::KJS::HTMLElement::toString):
                (KJS::getForm):
                (KJS::KJS::HTMLElement::pushEventHandlerScope):
                (KJS::KJS::HTMLElementFunction::tryCall):
                (KJS::KJS::HTMLElement::tryPut):
                (KJS::HTMLElement::htmlSetter):
                (KJS::HTMLElement::headSetter):
                (KJS::HTMLElement::linkSetter):
                (KJS::HTMLElement::titleSetter):
                (KJS::HTMLElement::metaSetter):
                (KJS::HTMLElement::baseSetter):
                (KJS::HTMLElement::isIndexSetter):
                (KJS::HTMLElement::styleSetter):
                (KJS::HTMLElement::bodySetter):
                (KJS::HTMLElement::formSetter):
                (KJS::HTMLElement::selectSetter):
                (KJS::HTMLElement::optGroupSetter):
                (KJS::HTMLElement::optionSetter):
                (KJS::HTMLElement::inputSetter):
                (KJS::HTMLElement::textAreaSetter):
                (KJS::HTMLElement::buttonSetter):
                (KJS::HTMLElement::labelSetter):
                (KJS::HTMLElement::fieldSetSetter):
                (KJS::HTMLElement::legendSetter):
                (KJS::HTMLElement::uListSetter):
                (KJS::HTMLElement::oListSetter):
                (KJS::HTMLElement::dListSetter):
                (KJS::HTMLElement::dirSetter):
                (KJS::HTMLElement::menuSetter):
                (KJS::HTMLElement::liSetter):
                (KJS::HTMLElement::divSetter):
                (KJS::HTMLElement::paragraphSetter):
                (KJS::HTMLElement::headingSetter):
                (KJS::HTMLElement::blockQuoteSetter):
                (KJS::HTMLElement::quoteSetter):
                (KJS::HTMLElement::preSetter):
                (KJS::HTMLElement::brSetter):
                (KJS::HTMLElement::baseFontSetter):
                (KJS::HTMLElement::fontSetter):
                (KJS::HTMLElement::hrSetter):
                (KJS::HTMLElement::modSetter):
                (KJS::HTMLElement::anchorSetter):
                (KJS::HTMLElement::imageSetter):
                (KJS::HTMLElement::objectSetter):
                (KJS::HTMLElement::paramSetter):
                (KJS::HTMLElement::appletSetter):
                (KJS::HTMLElement::mapSetter):
                (KJS::HTMLElement::areaSetter):
                (KJS::HTMLElement::scriptSetter):
                (KJS::HTMLElement::tableSetter):
                (KJS::HTMLElement::tableCaptionSetter):
                (KJS::HTMLElement::tableColSetter):
                (KJS::HTMLElement::tableSectionSetter):
                (KJS::HTMLElement::tableRowSetter):
                (KJS::HTMLElement::tableCellSetter):
                (KJS::HTMLElement::frameSetSetter):
                (KJS::HTMLElement::frameSetter):
                (KJS::HTMLElement::iFrameSetter):
                (KJS::HTMLElement::marqueeSetter):
                (KJS::HTMLElement::putValue):
                (KJS::toHTMLTableCaptionElement):
                (KJS::toHTMLTableSectionElement):
                (KJS::KJS::HTMLCollection::tryGet):
                (KJS::KJS::HTMLSelectCollection::tryPut):
                * khtml/ecma/kjs_html.h:
                * khtml/ecma/kjs_window.cpp:
                * khtml/editing/apply_style_command.cpp:
                (khtml::isStyleSpan):
                (khtml::isEmptyStyleSpan):
                (khtml::isEmptyFontTag):
                (khtml::createFontElement):
                (khtml::createStyleSpanElement):
                (khtml::ApplyStyleCommand::applyInlineStyle):
                (khtml::ApplyStyleCommand::isHTMLStyleNode):
                (khtml::ApplyStyleCommand::removeHTMLFontStyle):
                (khtml::areIdenticalElements):
                (khtml::ApplyStyleCommand::mergeEndWithNextIfIdentical):
                (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::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::endMarkup):
                (khtml::markup):
                (khtml::createMarkup):
                (khtml::createFragmentFromText):
                * khtml/editing/replace_selection_command.cpp:
                (khtml::isProbablyBlock):
                (khtml::isProbablyTableStructureNode):
                (khtml::ReplacementFragment::isInterchangeNewlineNode):
                (khtml::ReplacementFragment::removeStyleNodes):
                (khtml::ReplaceSelectionCommand::doApply):
                (khtml::ReplaceSelectionCommand::updateNodesInserted):
                * khtml/editing/selection.cpp:
                (khtml::Selection::debugRenderer):
                * 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/dtd.cpp: Removed.
                * khtml/html/dtd.h: Removed.
                * khtml/html/html_baseimpl.cpp:
                (HTMLBodyElementImpl::HTMLBodyElementImpl):
                (HTMLFrameElementImpl::HTMLFrameElementImpl):
                (HTMLFrameElementImpl::init):
                (HTMLFrameElementImpl::attach):
                (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
                (HTMLFrameSetElementImpl::checkDTD):
                (HTMLFrameSetElementImpl::attach):
                (HTMLHeadElementImpl::HTMLHeadElementImpl):
                (HTMLHeadElementImpl::checkDTD):
                (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
                (HTMLHtmlElementImpl::checkDTD):
                (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
                * khtml/html/html_baseimpl.h:
                (DOM::HTMLBodyElementImpl::endTagRequirement):
                (DOM::HTMLBodyElementImpl::tagPriority):
                (DOM::HTMLFrameElementImpl::endTagRequirement):
                (DOM::HTMLFrameElementImpl::tagPriority):
                (DOM::HTMLFrameSetElementImpl::endTagRequirement):
                (DOM::HTMLFrameSetElementImpl::tagPriority):
                (DOM::HTMLHeadElementImpl::endTagRequirement):
                (DOM::HTMLHeadElementImpl::tagPriority):
                (DOM::HTMLHtmlElementImpl::endTagRequirement):
                (DOM::HTMLHtmlElementImpl::tagPriority):
                (DOM::HTMLIFrameElementImpl::endTagRequirement):
                (DOM::HTMLIFrameElementImpl::tagPriority):
                * khtml/html/html_blockimpl.cpp:
                (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
                (HTMLDivElementImpl::HTMLDivElementImpl):
                (HTMLHRElementImpl::HTMLHRElementImpl):
                (HTMLHeadingElementImpl::HTMLHeadingElementImpl):
                (HTMLHeadingElementImpl::checkDTD):
                (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
                (HTMLParagraphElementImpl::checkDTD):
                (HTMLPreElementImpl::HTMLPreElementImpl):
                (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
                (HTMLMarqueeElementImpl::parseMappedAttribute):
                * khtml/html/html_blockimpl.h:
                (DOM::HTMLBlockquoteElementImpl::endTagRequirement):
                (DOM::HTMLBlockquoteElementImpl::tagPriority):
                (DOM::HTMLDivElementImpl::endTagRequirement):
                (DOM::HTMLDivElementImpl::tagPriority):
                (DOM::HTMLHRElementImpl::endTagRequirement):
                (DOM::HTMLHRElementImpl::tagPriority):
                (DOM::HTMLHeadingElementImpl::endTagRequirement):
                (DOM::HTMLHeadingElementImpl::tagPriority):
                (DOM::HTMLParagraphElementImpl::endTagRequirement):
                (DOM::HTMLParagraphElementImpl::tagPriority):
                (DOM::HTMLPreElementImpl::endTagRequirement):
                (DOM::HTMLPreElementImpl::tagPriority):
                (DOM::HTMLMarqueeElementImpl::endTagRequirement):
                (DOM::HTMLMarqueeElementImpl::tagPriority):
                * khtml/html/html_canvasimpl.cpp:
                (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
                * khtml/html/html_canvasimpl.h:
                * khtml/html/html_documentimpl.cpp:
                (DOM::HTMLDocumentImpl::childAllowed):
                (DOM::HTMLDocumentImpl::createElement):
                * khtml/html/html_documentimpl.h:
                * khtml/html/html_elementimpl.cpp:
                (HTMLElementImpl::HTMLElementImpl):
                (HTMLElementImpl::nodeName):
                (HTMLElementImpl::endTagRequirement):
                (HTMLElementImpl::tagPriority):
                (HTMLElementImpl::cloneNode):
                (HTMLElementImpl::createContextualFragment):
                (HTMLElementImpl::setInnerHTML):
                (HTMLElementImpl::setOuterHTML):
                (HTMLElementImpl::setInnerText):
                (HTMLElementImpl::setOuterText):
                (HTMLElementImpl::toString):
                (HTMLElementImpl::id):
                (HTMLElementImpl::childAllowed):
                (HTMLElementImpl::isRecognizedTagName):
                (inlineTagList):
                (blockTagList):
                (HTMLElementImpl::inEitherTagList):
                (HTMLElementImpl::inInlineTagList):
                (HTMLElementImpl::inBlockTagList):
                (HTMLElementImpl::checkDTD):
                * khtml/html/html_elementimpl.h:
                (DOM::):
                * khtml/html/html_formimpl.cpp:
                (DOM::HTMLFormElementImpl::HTMLFormElementImpl):
                (DOM::HTMLFormElementImpl::submitClick):
                (DOM::HTMLFormElementImpl::formData):
                (DOM::HTMLFormElementImpl::submit):
                (DOM::HTMLFormElementImpl::radioClicked):
                (DOM::HTMLGenericFormElementImpl::HTMLGenericFormElementImpl):
                (DOM::HTMLGenericFormElementImpl::getForm):
                (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
                (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
                (DOM::HTMLFieldSetElementImpl::checkDTD):
                (DOM::HTMLFieldSetElementImpl::isFocusable):
                (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
                (DOM::HTMLInputElementImpl::init):
                (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
                (DOM::HTMLLabelElementImpl::form):
                (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
                (DOM::HTMLLegendElementImpl::formElement):
                (DOM::HTMLSelectElementImpl::HTMLSelectElementImpl):
                (DOM::HTMLSelectElementImpl::init):
                (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::appendFormData):
                (DOM::HTMLSelectElementImpl::optionToListIndex):
                (DOM::HTMLSelectElementImpl::listToOptionIndex):
                (DOM::HTMLSelectElementImpl::recalcListItems):
                (DOM::HTMLSelectElementImpl::reset):
                (DOM::HTMLSelectElementImpl::notifyOptionSelected):
                (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
                (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
                (DOM::HTMLOptGroupElementImpl::recalcSelectOptions):
                (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
                (DOM::HTMLOptionElementImpl::index):
                (DOM::HTMLOptionElementImpl::getSelect):
                (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
                (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
                * khtml/html/html_formimpl.h:
                (DOM::HTMLFormElementImpl::endTagRequirement):
                (DOM::HTMLFormElementImpl::tagPriority):
                (DOM::HTMLGenericFormElementImpl::endTagRequirement):
                (DOM::HTMLGenericFormElementImpl::tagPriority):
                (DOM::HTMLFieldSetElementImpl::tagPriority):
                (DOM::HTMLInputElementImpl::endTagRequirement):
                (DOM::HTMLInputElementImpl::tagPriority):
                (DOM::HTMLLabelElementImpl::tagPriority):
                (DOM::HTMLSelectElementImpl::tagPriority):
                (DOM::HTMLKeygenElementImpl::tagPriority):
                (DOM::HTMLOptGroupElementImpl::checkDTD):
                (DOM::HTMLOptionElementImpl::endTagRequirement):
                (DOM::HTMLOptionElementImpl::tagPriority):
                (DOM::HTMLOptionElementImpl::checkDTD):
                (DOM::HTMLTextAreaElementImpl::checkDTD):
                (DOM::HTMLTextAreaElementImpl::cols):
                (DOM::HTMLIsIndexElementImpl::endTagRequirement):
                (DOM::HTMLIsIndexElementImpl::tagPriority):
                * khtml/html/html_headimpl.cpp:
                (HTMLBaseElementImpl::HTMLBaseElementImpl):
                (HTMLLinkElementImpl::HTMLLinkElementImpl):
                (HTMLMetaElementImpl::HTMLMetaElementImpl):
                (HTMLScriptElementImpl::HTMLScriptElementImpl):
                (HTMLStyleElementImpl::HTMLStyleElementImpl):
                (HTMLTitleElementImpl::HTMLTitleElementImpl):
                * khtml/html/html_headimpl.h:
                (DOM::HTMLBaseElementImpl::endTagRequirement):
                (DOM::HTMLBaseElementImpl::tagPriority):
                (DOM::HTMLLinkElementImpl::endTagRequirement):
                (DOM::HTMLLinkElementImpl::tagPriority):
                (DOM::HTMLMetaElementImpl::endTagRequirement):
                (DOM::HTMLMetaElementImpl::tagPriority):
                (DOM::HTMLScriptElementImpl::endTagRequirement):
                (DOM::HTMLScriptElementImpl::tagPriority):
                (DOM::HTMLScriptElementImpl::checkDTD):
                (DOM::HTMLStyleElementImpl::endTagRequirement):
                (DOM::HTMLStyleElementImpl::tagPriority):
                (DOM::HTMLStyleElementImpl::checkDTD):
                (DOM::HTMLTitleElementImpl::checkDTD):
                * khtml/html/html_imageimpl.cpp:
                (HTMLImageLoader::updateFromElement):
                (HTMLImageElementImpl::HTMLImageElementImpl):
                (HTMLImageElementImpl::~HTMLImageElementImpl):
                (HTMLMapElementImpl::HTMLMapElementImpl):
                (HTMLMapElementImpl::checkDTD):
                (HTMLMapElementImpl::mapMouseEvent):
                (HTMLAreaElementImpl::HTMLAreaElementImpl):
                * khtml/html/html_imageimpl.h:
                (DOM::HTMLImageElementImpl::endTagRequirement):
                (DOM::HTMLImageElementImpl::tagPriority):
                (DOM::HTMLAreaElementImpl::endTagRequirement):
                (DOM::HTMLAreaElementImpl::tagPriority):
                (DOM::HTMLMapElementImpl::endTagRequirement):
                (DOM::HTMLMapElementImpl::tagPriority):
                * khtml/html/html_inlineimpl.cpp:
                (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
                (DOM::HTMLAnchorElementImpl::defaultEventHandler):
                (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
                (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
                (DOM::HTMLModElementImpl::HTMLModElementImpl):
                (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
                * khtml/html/html_inlineimpl.h:
                (DOM::HTMLAnchorElementImpl::endTagRequirement):
                (DOM::HTMLAnchorElementImpl::tagPriority):
                (DOM::HTMLBRElementImpl::endTagRequirement):
                (DOM::HTMLBRElementImpl::tagPriority):
                (DOM::HTMLFontElementImpl::endTagRequirement):
                (DOM::HTMLFontElementImpl::tagPriority):
                (DOM::HTMLModElementImpl::endTagRequirement):
                (DOM::HTMLModElementImpl::tagPriority):
                (DOM::HTMLQuoteElementImpl::endTagRequirement):
                (DOM::HTMLQuoteElementImpl::tagPriority):
                * khtml/html/html_listimpl.cpp:
                (DOM::HTMLOListElementImpl::parseMappedAttribute):
                (DOM::HTMLLIElementImpl::attach):
                (DOM::HTMLLIElementImpl::setValue):
                * khtml/html/html_listimpl.h:
                (DOM::HTMLUListElementImpl::HTMLUListElementImpl):
                (DOM::HTMLUListElementImpl::endTagRequirement):
                (DOM::HTMLUListElementImpl::tagPriority):
                (DOM::HTMLDirectoryElementImpl::HTMLDirectoryElementImpl):
                (DOM::HTMLDirectoryElementImpl::endTagRequirement):
                (DOM::HTMLDirectoryElementImpl::tagPriority):
                (DOM::HTMLMenuElementImpl::HTMLMenuElementImpl):
                (DOM::HTMLMenuElementImpl::endTagRequirement):
                (DOM::HTMLMenuElementImpl::tagPriority):
                (DOM::HTMLOListElementImpl::HTMLOListElementImpl):
                (DOM::HTMLOListElementImpl::endTagRequirement):
                (DOM::HTMLOListElementImpl::tagPriority):
                (DOM::HTMLLIElementImpl::HTMLLIElementImpl):
                (DOM::HTMLLIElementImpl::endTagRequirement):
                (DOM::HTMLLIElementImpl::tagPriority):
                (DOM::HTMLDListElementImpl::HTMLDListElementImpl):
                (DOM::HTMLDListElementImpl::endTagRequirement):
                (DOM::HTMLDListElementImpl::tagPriority):
                * khtml/html/html_miscimpl.cpp:
                (DOM::HTMLBaseFontElementImpl::HTMLBaseFontElementImpl):
                (DOM::HTMLCollectionImpl::traverseNextItem):
                (DOM::HTMLCollectionImpl::checkForNameMatch):
                (DOM::HTMLCollectionImpl::updateNameCache):
                (DOM::HTMLFormCollectionImpl::getNamedFormItem):
                (DOM::HTMLFormCollectionImpl::updateNameCache):
                * khtml/html/html_miscimpl.h:
                (DOM::HTMLBaseFontElementImpl::endTagRequirement):
                (DOM::HTMLBaseFontElementImpl::tagPriority):
                * khtml/html/html_objectimpl.cpp:
                (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
                (DOM::HTMLAppletElementImpl::checkDTD):
                (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
                (DOM::HTMLEmbedElementImpl::checkDTD):
                (DOM::HTMLEmbedElementImpl::rendererIsNeeded):
                (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
                (DOM::HTMLObjectElementImpl::checkDTD):
                (DOM::HTMLObjectElementImpl::form):
                (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
                * khtml/html/html_objectimpl.h:
                (DOM::HTMLAppletElementImpl::endTagRequirement):
                (DOM::HTMLAppletElementImpl::tagPriority):
                (DOM::HTMLEmbedElementImpl::endTagRequirement):
                (DOM::HTMLEmbedElementImpl::tagPriority):
                (DOM::HTMLObjectElementImpl::endTagRequirement):
                (DOM::HTMLObjectElementImpl::tagPriority):
                (DOM::HTMLParamElementImpl::endTagRequirement):
                (DOM::HTMLParamElementImpl::tagPriority):
                * 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::HTMLTableSectionElementImpl::HTMLTableSectionElementImpl):
                (DOM::HTMLTableSectionElementImpl::checkDTD):
                (DOM::HTMLTableSectionElementImpl::addChild):
                (DOM::HTMLTableSectionElementImpl::numRows):
                (DOM::HTMLTableRowElementImpl::checkDTD):
                (DOM::HTMLTableRowElementImpl::addChild):
                (DOM::HTMLTableRowElementImpl::rowIndex):
                (DOM::HTMLTableRowElementImpl::sectionRowIndex):
                (DOM::HTMLTableRowElementImpl::insertCell):
                (DOM::HTMLTableCellElementImpl::HTMLTableCellElementImpl):
                (DOM::HTMLTableCellElementImpl::cellIndex):
                (DOM::HTMLTableCellElementImpl::additionalAttributeStyleDecl):
                (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
                * khtml/html/html_tableimpl.h:
                (DOM::HTMLTableElementImpl::endTagRequirement):
                (DOM::HTMLTableElementImpl::tagPriority):
                (DOM::HTMLTablePartElementImpl::HTMLTablePartElementImpl):
                (DOM::HTMLTableSectionElementImpl::endTagRequirement):
                (DOM::HTMLTableSectionElementImpl::tagPriority):
                (DOM::HTMLTableRowElementImpl::HTMLTableRowElementImpl):
                (DOM::HTMLTableRowElementImpl::endTagRequirement):
                (DOM::HTMLTableRowElementImpl::tagPriority):
                (DOM::HTMLTableCellElementImpl::endTagRequirement):
                (DOM::HTMLTableCellElementImpl::tagPriority):
                (DOM::HTMLTableColElementImpl::endTagRequirement):
                (DOM::HTMLTableColElementImpl::tagPriority):
                (DOM::HTMLTableColElementImpl::checkDTD):
                (DOM::HTMLTableCaptionElementImpl::HTMLTableCaptionElementImpl):
                (DOM::HTMLTableCaptionElementImpl::endTagRequirement):
                (DOM::HTMLTableCaptionElementImpl::tagPriority):
                * khtml/html/htmlfactory.cpp: Added.
                (DOM::htmlConstructor):
                (DOM::headConstructor):
                (DOM::bodyConstructor):
                (DOM::baseConstructor):
                (DOM::linkConstructor):
                (DOM::metaConstructor):
                (DOM::styleConstructor):
                (DOM::titleConstructor):
                (DOM::frameConstructor):
                (DOM::framesetConstructor):
                (DOM::iframeConstructor):
                (DOM::formConstructor):
                (DOM::buttonConstructor):
                (DOM::inputConstructor):
                (DOM::isindexConstructor):
                (DOM::fieldsetConstructor):
                (DOM::labelConstructor):
                (DOM::legendConstructor):
                (DOM::optgroupConstructor):
                (DOM::optionConstructor):
                (DOM::selectConstructor):
                (DOM::textareaConstructor):
                (DOM::dlConstructor):
                (DOM::ulConstructor):
                (DOM::olConstructor):
                (DOM::dirConstructor):
                (DOM::menuConstructor):
                (DOM::liConstructor):
                (DOM::blockquoteConstructor):
                (DOM::divConstructor):
                (DOM::headingConstructor):
                (DOM::hrConstructor):
                (DOM::paragraphConstructor):
                (DOM::preConstructor):
                (DOM::basefontConstructor):
                (DOM::fontConstructor):
                (DOM::modConstructor):
                (DOM::anchorConstructor):
                (DOM::imageConstructor):
                (DOM::mapConstructor):
                (DOM::areaConstructor):
                (DOM::canvasConstructor):
                (DOM::appletConstructor):
                (DOM::embedConstructor):
                (DOM::objectConstructor):
                (DOM::paramConstructor):
                (DOM::scriptConstructor):
                (DOM::tableConstructor):
                (DOM::tableCaptionConstructor):
                (DOM::tableColConstructor):
                (DOM::tableRowConstructor):
                (DOM::tableCellConstructor):
                (DOM::tableSectionConstructor):
                (DOM::brConstructor):
                (DOM::quoteConstructor):
                (DOM::marqueeConstructor):
                (DOM::HTMLElementFactory::createHTMLElement):
                * khtml/html/htmlfactory.h: Added.
                * khtml/html/htmlnames.cpp:
                (DOM::HTMLNames::init):
                * khtml/html/htmlnames.h:
                (DOM::HTMLNames::xhtmlNamespaceURI):
                * khtml/html/htmlparser.cpp:
                (HTMLStackElem::HTMLStackElem):
                (HTMLParser::HTMLParser):
                (HTMLParser::~HTMLParser):
                (HTMLParser::reset):
                (HTMLParser::setCurrent):
                (HTMLParser::parseToken):
                (isTableSection):
                (isTablePart):
                (isTableRelated):
                (HTMLParser::insertNode):
                (HTMLParser::handleError):
                (HTMLParser::textCreateErrorCheck):
                (HTMLParser::commentCreateErrorCheck):
                (HTMLParser::headCreateErrorCheck):
                (HTMLParser::bodyCreateErrorCheck):
                (HTMLParser::framesetCreateErrorCheck):
                (HTMLParser::iframeCreateErrorCheck):
                (HTMLParser::formCreateErrorCheck):
                (HTMLParser::isindexCreateErrorCheck):
                (HTMLParser::selectCreateErrorCheck):
                (HTMLParser::ddCreateErrorCheck):
                (HTMLParser::dtCreateErrorCheck):
                (HTMLParser::nestedCreateErrorCheck):
                (HTMLParser::nestedStyleCreateErrorCheck):
                (HTMLParser::tableCellCreateErrorCheck):
                (HTMLParser::tableSectionCreateErrorCheck):
                (HTMLParser::noembedCreateErrorCheck):
                (HTMLParser::noframesCreateErrorCheck):
                (HTMLParser::noscriptCreateErrorCheck):
                (HTMLParser::nolayerCreateErrorCheck):
                (HTMLParser::getNode):
                (HTMLParser::allowNestedRedundantTag):
                (HTMLParser::processCloseTag):
                (HTMLParser::isHeaderTag):
                (HTMLParser::popNestedHeaderTag):
                (HTMLParser::isInline):
                (HTMLParser::isResidualStyleTag):
                (HTMLParser::isAffectedByResidualStyle):
                (HTMLParser::handleResidualStyleCloseTagAcrossBlocks):
                (HTMLParser::reopenResidualStyleTags):
                (HTMLParser::pushBlock):
                (HTMLParser::popBlock):
                (HTMLParser::popOneBlock):
                (HTMLParser::popInlineBlocks):
                (HTMLParser::freeBlock):
                (HTMLParser::createHead):
                (HTMLParser::handleIsindex):
                (HTMLParser::startBody):
                (HTMLParser::finished):
                * khtml/html/htmlparser.h:
                (HTMLParser::skipMode):
                (HTMLParser::setSkipMode):
                (HTMLParser::popBlock):
                * khtml/html/htmltokenizer.cpp:
                (khtml::HTMLTokenizer::HTMLTokenizer):
                (khtml::HTMLTokenizer::parseSpecial):
                (khtml::HTMLTokenizer::scriptHandler):
                (khtml::HTMLTokenizer::parseComment):
                (khtml::HTMLTokenizer::parseTag):
                (khtml::HTMLTokenizer::processToken):
                * khtml/html/htmltokenizer.h:
                (khtml::Token::Token):
                (khtml::Token::~Token):
                (khtml::Token::addAttribute):
                (khtml::Token::isOpenTag):
                (khtml::Token::isCloseTag):
                (khtml::Token::reset):
                * khtml/khtml_part.cpp:
                (KHTMLPart::init):
                (KHTMLPart::selectionComputedStyle):
                * khtml/khtmlview.cpp:
                (KHTMLView::layout):
                (isSubmitImage):
                * khtml/misc/decoder.cpp:
                (Decoder::decode):
                * khtml/misc/hashmap.h:
                (khtml::::size):
                (khtml::::isEmpty):
                (khtml::::begin):
                (khtml::::end):
                (khtml::::get):
                * khtml/misc/hashset.h:
                (khtml::::size):
                (khtml::::isEmpty):
                (khtml::::begin):
                (khtml::::end):
                (khtml::::contains):
                * khtml/misc/hashtable.h:
                (khtml::HashTableIterator::skipEmptyBuckets):
                (khtml::::lookup):
                (khtml::::find):
                (khtml::::contains):
                (khtml::::remove):
                * khtml/misc/htmlhashes.cpp:
                (khtml::getAttrID):
                * khtml/misc/htmlhashes.h:
                * khtml/rendering/bidi.cpp:
                (khtml::BidiIterator::direction):
                * khtml/rendering/break_lines.cpp:
                (khtml::isBreakable):
                * 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_canvasimage.h:
                * khtml/rendering/render_container.cpp:
                (RenderContainer::updatePseudoChild):
                * khtml/rendering/render_flow.cpp:
                (RenderFlow::addFocusRingRects):
                * khtml/rendering/render_form.cpp:
                (RenderFieldset::findLegend):
                (RenderSelect::updateFromElement):
                (RenderSelect::layout):
                (RenderSelect::slotSelected):
                (RenderSelect::slotSelectionChanged):
                (RenderSelect::updateSelection):
                * khtml/rendering/render_frames.cpp:
                (RenderPartObject::updateWidget):
                (RenderPartObject::slotViewCleared):
                * khtml/rendering/render_image.cpp:
                (RenderImage::paint):
                (RenderImage::imageMap):
                (RenderImage::updateAltText):
                * khtml/rendering/render_image.h:
                * khtml/rendering/render_layer.cpp:
                (Marquee::marqueeSpeed):
                * khtml/rendering/render_line.cpp:
                * khtml/rendering/render_list.cpp:
                (getParentOfFirstLineBox):
                * khtml/rendering/render_object.cpp:
                (RenderObject::isBody):
                (RenderObject::isHR):
                (RenderObject::isHTMLMarquee):
                (RenderObject::sizesToMaxWidth):
                (RenderObject::information):
                (RenderObject::setStyle):
                (RenderObject::getTextDecorationColors):
                (RenderObject::setPixmap):
                * khtml/rendering/render_style.cpp:
                (RenderStyle::getPseudoStyle):
                * khtml/rendering/render_style.h:
                * khtml/rendering/render_table.cpp:
                (RenderTable::addChild):
                (RenderTable::layout):
                (RenderTableSection::addChild):
                (RenderTableRow::addChild):
                (RenderTableCell::updateFromElement):
                (RenderTableCol::updateFromElement):
                * khtml/xml/dom2_rangeimpl.cpp:
                * khtml/xml/dom2_traversalimpl.cpp:
                * khtml/xml/dom_atomicstring.cpp:
                (DOM::equal):
                (DOM::AtomicString::init):
                * khtml/xml/dom_atomicstring.h:
                * khtml/xml/dom_docimpl.cpp:
                (DocumentImpl::createElement):
                (DocumentImpl::importNode):
                (DocumentImpl::createElementNS):
                (DocumentImpl::body):
                (DocumentImpl::shouldScheduleLayout):
                (DocumentImpl::attrId):
                (DocumentImpl::recalcStyleSelector):
                * khtml/xml/dom_docimpl.h:
                * khtml/xml/dom_elementimpl.cpp:
                (AttrImpl::prefix):
                (AttrImpl::setPrefix):
                (ElementImpl::ElementImpl):
                (ElementImpl::~ElementImpl):
                (ElementImpl::cloneNode):
                (ElementImpl::hasAttributes):
                (ElementImpl::nodeName):
                (ElementImpl::setPrefix):
                (ElementImpl::openTagStartToString):
                (ElementImpl::toString):
                (StyledElementImpl::StyledElementImpl):
                * khtml/xml/dom_elementimpl.h:
                (DOM::ElementImpl::tagName):
                (DOM::ElementImpl::hasTagName):
                (DOM::ElementImpl::hasLocalName):
                (DOM::ElementImpl::localName):
                (DOM::ElementImpl::prefix):
                (DOM::ElementImpl::namespaceURI):
                (DOM::ElementImpl::mouseEventHandler):
                * khtml/xml/dom_nodeimpl.cpp:
                (DOM::NodeImpl::lastDescendant):
                (DOM::NodeImpl::prefix):
                (DOM::NodeImpl::setPrefix):
                (DOM::NodeImpl::localName):
                (DOM::NodeImpl::namespaceURI):
                (DOM::NodeImpl::checkSetPrefix):
                (DOM::NodeImpl::isAtomicNode):
                (DOM::NodeImpl::maxDeepOffset):
                (DOM::NodeImpl::enclosingBlockFlowOrTableElement):
                (DOM::NodeImpl::enclosingBlockFlowElement):
                (DOM::NodeImpl::enclosingInlineElement):
                (DOM::NodeImpl::rootEditableElement):
                (DOM::NodeImpl::getElementsByTagNameNS):
                (DOM::NodeImpl::showTreeAndMark):
                (DOM::ContainerNodeImpl::addChild):
                (DOM::TagNodeListImpl::TagNodeListImpl):
                (DOM::TagNodeListImpl::item):
                (DOM::TagNodeListImpl::nodeMatches):
                * khtml/xml/dom_nodeimpl.h:
                (DOM::NodeImpl::hasTagName):
                (DOM::NodeImpl::isCommentNode):
                (DOM::NodeImpl::isDocumentNode):
                (DOM::NodeImpl::closeRenderer):
                (DOM::NodeImpl::getElementsByTagName):
                * khtml/xml/dom_position.cpp:
                (DOM::Position::downstream):
                (DOM::Position::rendersInDifferentPosition):
                (DOM::Position::leadingWhitespacePosition):
                (DOM::Position::trailingWhitespacePosition):
                * khtml/xml/dom_qname.cpp:
                (DOM::hashComponents):
                (DOM::QNameHash::hash):
                (DOM::QNameHash::equal):
                (DOM::equalComponents):
                (DOM::convertComponents):
                (DOM::QualifiedName::QualifiedName):
                (DOM::QualifiedName::deref):
                (DOM::QualifiedName::setPrefix):
                * khtml/xml/dom_qname.h:
                (DOM::QualifiedName::hasPrefix):
                (DOM::operator==):
                * khtml/xml/dom_textimpl.cpp:
                (CommentImpl::localName):
                (CommentImpl::nodeName):
                (TextImpl::localName):
                (TextImpl::nodeName):
                * khtml/xml/dom_textimpl.h:
                (DOM::CommentImpl::isCommentNode):
                (DOM::TextImpl::isTextNode):
                * khtml/xml/xml_tokenizer.cpp:
                (khtml::XMLTokenizer::startElement):
                (khtml::XMLTokenizer::insertErrorMessageBlock):
                (khtml::XMLTokenizer::addScripts):
                * kwq/DOM.mm:
                (-[DOMNode setPrefix:]):
                (+[DOMNode _nodeWithImpl:]):
                (-[DOMElement tagName]):
                * kwq/DOMHTML.mm:
                (-[DOMHTMLQuoteElement _quoteElementImpl]):
                * kwq/KWQAccObject.mm:
                (-[KWQAccObject role]):
                (-[KWQAccObject title]):
                (-[KWQAccObject accessibilityIsIgnored]):
                * kwq/KWQDOMNode.cpp: Removed.
                * kwq/KWQDOMNode.h: Removed.
                * kwq/KWQFont.h:
                (QFont::):
                (QFont::isFixedPitch):
                * kwq/KWQFont.mm:
                (QFont::QFont):
                (QFont::operator=):
                (QFont::determinePitch):
                (QFont::operator==):
                * kwq/KWQKHTMLPart.cpp:
                (KWQKHTMLPart::isFrameSet):
                * kwq/KWQKHTMLPart.mm:
                (scanForForm):
                (KWQKHTMLPart::currentForm):
                (KWQKHTMLPart::searchForLabelsAboveCell):
                (KWQKHTMLPart::searchForLabelsBeforeElement):
                (listParent):
                (isTextFirstInListItem):
                (KWQKHTMLPart::attributedString):
                (KWQKHTMLPart::styleForSelectionStart):
                (KWQKHTMLPart::setSelectionFromNone):
                * kwq/KWQRenderTreeDebug.cpp:
                (getTagName):
                * kwq/WebCoreBridge.mm:
                (inputElementFromDOMElement):
                (formElementFromDOMElement):
                (-[WebCoreBridge elementAtPoint:]):
                * layout-tests/fast/dom/css-dom-read-expected.txt:
                * layout-tests/fast/overflow/003-expected.txt:
                * layout-tests/fast/tokenizer/002-expected.txt:
                * layout-tests/fast/tokenizer/external-script-document-write-expected.txt:
                * layout-tests/fast/tokenizer/script_extra_close-expected.txt:
                * layout-tests/fast/tokenizer/script_quirk-expected.txt: Removed.
                * layout-tests/fast/tokenizer/script_quirk.html: Removed.

        2005-07-08  Eric Seidel  <eseidel@apple.com>

                Reviewed by mjs.

                * kwq/KWQRegExp.h: Added cap() support.
                * kwq/KWQRegExp.mm: Added cap() support.
                (QRegExp::match): Changes necessary for cap()
                (QRegExp::cap): based off of JSC's pcre support.
                http://bugzilla.opendarwin.org/show_bug.cgi?id=3847

        2005-07-08  Geoffrey Garen  <ggaren@apple.com>

                Rolled in layout test for fix to
                http://bugzilla.opendarwin.org/show_bug.cgi?id=3818
                Fallback font doesn't have requested weight in ATSUI-rendered text

                Reviewed by mjs.

                Test cases added:
                * layout-tests/fast/text/international/bidi-fallback-font-weight-expected.txt: Added.
                * layout-tests/fast/text/international/bidi-fallback-font-weight.html: Added.

        2005-07-08  Beth Dakin  <bdakin@apple.com>

                Reviewed by John.

            This is a fix for half of <rdar://problem/4172312>
            Because marquee is a WinIE element, we are honoring their treatment of the height attribute by making sure it is overriden when its value is given to be smaller than the font height.

                Test cases added: fast/css/MarqueeLayoutTest.html

                * khtml/html/html_blockimpl.cpp:
                (HTMLMarqueeElementImpl::mapToEntry): set result to eMarquee instead of eUniversal for height attribute
                (HTMLMarqueeElementImpl::parseMappedAttribute): changed to minheight instead of just height
                * khtml/xml/dom_elementimpl.h: added eMarquee hash key
            (QScrollView::suppressScrollBars):
                * layout-tests/fast/css/MarqueeLayoutTest-expected.txt: Added.
                * layout-tests/fast/css/MarqueeLayoutTest.html: Added.

        2005-07-08  Vicki Murley  <vicki@apple.com>

            Fix from Carsten Guenther, reviewed by Maciej

            - update test cases for JavaScriptCore fix
                http://bugzilla.opendarwin.org/show_bug.cgi?id=3644

                * layout-tests/fast/dom/outerText-no-element-expected.txt:
                * layout-tests/fast/dynamic/outerHTML-no-element-expected.txt:
                * layout-tests/fast/js/array-every-expected.txt:
                * layout-tests/fast/js/array-foreach-expected.txt:
                * layout-tests/fast/js/array-some-expected.txt:
                * layout-tests/fast/js/toString-stack-overflow-expected.txt:

        2005-07-08  Vicki Murley <vicki@apple.com>

            - fixed by Trey Matteson <trey@usa.net>, reviewed by Maciej.

            Test cases added: (NONE)

            <rdar://problem/4109893> REGRESSION: back/forward broken at wsj.com, worked in v185
            Also written as http://bugzilla.opendarwin.org/show_bug.cgi?id=3901

            Broken by security fix for 4005575: Arbitrary file disclosure vulnerability due to ability to load local html from remote content

            The root of this bug is that URLs for subframes of a page are sometimes added to the back/forward list.  This happens a lot at
            wsj.com, and I believe it would happen for many or all sites that use JS to cons up a URL for an iframe and then load it.

            The security fix changed the code path to go through openURLRequest, but only openURL had the logic to guess if
            the current navigation was done in response to a user gesture.  openURLRequest always assumed it was a user gesture,
            and thus all uses of this code path would place an item in the b/f list.

            * kwq/KWQKHTMLPart.h:
            * kwq/KWQKHTMLPart.mm:
            (KWQKHTMLPart::userGestureHint):  Factored code from openURL.
            (KWQKHTMLPart::openURL):  Call newly factored code.
            (KWQKHTMLPart::openURLRequest):  Newly call newly factored code.

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

15 years ago Reviewed by me
kocienda [Mon, 11 Jul 2005 15:03:29 +0000 (15:03 +0000)]
    Reviewed by me

        Test cases added: (NONE)

        * ChangeLog: Fixed two typos I found while reading the ChangeLog.

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