1. 22 Jan, 2006 14 commits
    • darin's avatar
      LayoutTests: · 82447ad9
      darin authored
              Reviewed by Maciej.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5656
              REGRESSION: Buttons on Yahoo! Mail misplaced in ToT
              <rdar://problem/4404335>
              Tests whether white-space mode on buttons is inherited and not forced.
      
              * fast/forms/button-white-space-expected.checksum: Added.
              * fast/forms/button-white-space-expected.png: Added.
              * fast/forms/button-white-space-expected.txt: Added.
              * fast/forms/button-white-space.html: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=5656
              REGRESSION: Buttons on Yahoo! Mail misplaced in ToT
              <rdar://problem/4404335>
              Tests whether white-space mode on buttons is inheritied and not forced.
              Originally broken in Subversion revision r10909.
      
              * css/html4.css: Remove default white-space value for <button> tag to
              allow it to be inherited.
              * rendering/render_theme_mac.mm:
              (khtml::RenderThemeMac::adjustButtonStyle): Fix misleading comment.
      
              * css/UserAgentStyleSheets.cpp: Touched this file to make the rebuild
              of html4.css work (shouldn't have to do this).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82447ad9
    • darin's avatar
      * css/make-css-file-arrays.pl: Fix typo that was resulting in a bunch · 67322639
      darin authored
              of whitespace that was supposed to go into a derived source file going
              to the console instead.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67322639
    • eseidel's avatar
      2006-01-22 Eric Seidel <eseidel@apple.com> · 1baa4444
      eseidel authored
              Reviewed by darin.
      
              SVG needs to support "evt" instead of "event" in event handlers.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5874
      
              * WebCore.xcodeproj/project.pbxproj: added new classes
              * khtml/ecma/kjs_events.cpp:
              * khtml/ecma/kjs_events.h:
              * khtml/ecma/kjs_proxy.cpp:
              (WebCore::KJSProxyImpl::createHTMLEventHandler): simplified
              (WebCore::KJSProxyImpl::createSVGEventHandler): new
              * khtml/ecma/kjs_proxy.h:
              * khtml/ecma/kjs_window.cpp:
              * khtml/ecma/kjs_window.h:
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::createHTMLEventListener): simplified
              (WebCore::DocumentImpl::createSVGEventListener): new
              * khtml/xml/DocumentImpl.h:
              * khtml/xml/NodeImpl.cpp:
              (WebCore::NodeImpl::dispatchEvent): use RefPtr
              * ksvg2/events/JSSVGLazyEventListener.cpp: Added.
              (WebCore::JSSVGLazyEventListener::JSSVGLazyEventListener): added.
              (WebCore::JSSVGLazyEventListener::eventParameterName): added.
              * ksvg2/events/JSSVGLazyEventListener.h: Added.
              * ksvg2/svg/SVGElementImpl.cpp:
              (SVGElementImpl::parseMappedAttribute): use new SVG event handler
              * ksvg2/svg/SVGSVGElementImpl.cpp:
              (SVGSVGElementImpl::parseMappedAttribute): use new SVG event handler
              * page/Frame.cpp: updated KJSProxyImpl namespace
              * page/Frame.h: updated KJSProxyImpl namespace
              * page/FramePrivate.h: updated KJSProxyImpl namespace
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1baa4444
    • thatcher's avatar
      Reviewed by Anders Carlsson. · 09f7e503
      thatcher authored
              
              Makes the Inspector's Style pane take !important into account
              when marking overloaded properties.
      
              * WebInspector.subproj/webInspector/inspector.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09f7e503
    • darin's avatar
      LayoutTests: · 70e06b6e
      darin authored
              Reviewed by Maciej.
      
              - tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=3508
                REGRESSION (125-412): problem with negative margin-top and position: absolute (vre.aitg.com)
      
              * fast/css/position-negative-top-margin.html: Added.
              * fast/css/position-negative-top-margin-expected.txt: Added.
              * fast/css/position-negative-top-margin-expected.png: Added.
              * fast/css/position-negative-top-margin-expected.checksum: Added.
      
              * fast/box-sizing/box-sizing-expected.txt: Updated, since absolute position box locations changed.
              * fast/box-sizing/box-sizing-expected.png: Ditto.
              * fast/box-sizing/box-sizing-expected.checksum: Ditto.
      
              - changed a few suitable tests to dump as text (in part to fix a failing pixel test in one)
      
              * fast/parser/entity-surrogate-pairs.html: Added a call to dumpAsText().
              * fast/parser/entity-surrogate-pairs-expected.txt: Now a plain text file instead of a render tree.
              * fast/parser/entity-surrogate-pairs-expected.png: Removed.
              * fast/parser/entity-surrogate-pairs-expected.checksum: Removed.
      
              * fast/parser/head-comment.html Added a call to dumpAsText().
              * fast/parser/head-comment-expected.txt: Now a plain text file instead of a render tree.
              * fast/parser/head-comment-expected.png: Removed.
              * fast/parser/head-comment-expected.checksum: Removed.
      
      WebCore:
      
             Reviewed by Maciej.
      
             - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3508
               REGRESSION (125-412): problem with negative margin-top and position: absolute (vre.aitg.com)
      
             Test: fast/css/position-negative-top-margin.html
      
             * rendering/RenderBlock.cpp: (WebCore::RenderBlock::adjustPositionedBlock):
             Fixed two different problems that contributed to the bug: (1) Added a call to calcVerticalMargins
             otherwise the margin will always be 0. (2) Corrected logic for the negative margin case, which
             was comparing a negative margin-top to a number representing the absolute value of the margin.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70e06b6e
    • darin's avatar
    • ap's avatar
      Reviewed by Darin. · 50b5835f
      ap authored
             - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3702
               Web page is laid out incorrectly after printing with print-specific style sheet.
      
              Also replaced tabs with spaces in the changed files.
      
              Test cases: 
              * fast/table/append-cells.html
              * fast/table/append-cells2.html
              * fast/table/remove-td-display-none.html
      
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::recalcSections): Shrink columns and columnPos to the
                actual number of columns.
      
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::numColumns): New function.
              (WebCore::RenderTableSection::dump): Use gridRows instead of grid.size() for row count,
                preventing crashes.
      
              * rendering/RenderTableSection.h: Added numColumns() and a comment about cCol/cRow.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50b5835f
    • darin's avatar
      Reviewed by Anders. · d545cb4f
      darin authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=6705
                use PassRefPtr in more of the basic DOM operations
      
              Once we do the same with cloneNode, I believe we'll fix one of our P1 bugs,
              but cloneNode was a little too much to do without doing this first pass.
      
              * khtml/xml/NodeImpl.cpp:
              (WebCore::NodeImpl::childNodes): Updated for parameter changes.
              (WebCore::NodeImpl::insertBefore): Ditto.
              (WebCore::NodeImpl::replaceChild): Ditto.
              (WebCore::NodeImpl::removeChild): Ditto.
              (WebCore::NodeImpl::appendChild): Ditto.
              (WebCore::NodeImpl::addChild): Ditto.
              (WebCore::NodeImpl::addEventListener): Ditto.
              (WebCore::NodeImpl::setHTMLEventListener): Ditto.
              (WebCore::NodeImpl::isDefaultNamespace): Updated for changed name of ancestorElement.
              (WebCore::NodeImpl::lookupPrefix): Ditto.
              (WebCore::NodeImpl::lookupNamespaceURI): Ditto.
              (WebCore::NodeImpl::lookupNamespacePrefix): Ditto.
              (WebCore::NodeImpl::ancestorElement): Changed name from getAncestorElement.
              * khtml/xml/NodeImpl.h: Changed most functions where it makes sense to take and return
              PassRefPtr instead of raw pointers. Even non-obvious cases like appendChild, where the
              return value has to be PassRefPtr only because it might be removed when the JavaScript
              triggered by the DOM mutation event runs (normally, there's no need to return an "owning"
              pointer because the tree now owns the newly-inserted node). Made the ancestorElement
              function private.
      
              * khtml/xml/ContainerNodeImpl.cpp:
              (WebCore::ContainerNodeImpl::ContainerNodeImpl): Updated for changes from
              _first to m_firstChild and _last to m_lastChild.
              (WebCore::ContainerNodeImpl::removeAllChildren): Ditto.
              (WebCore::ContainerNodeImpl::firstChild): Ditto.
              (WebCore::ContainerNodeImpl::lastChild): Ditto.
              (WebCore::ContainerNodeImpl::insertBefore): Updated for parameter changes.
              (WebCore::ContainerNodeImpl::replaceChild): Ditto.
              (WebCore::ContainerNodeImpl::willRemove): Updated for m_lastChild.
              (WebCore::ContainerNodeImpl::removeChild): Updated for parameter changes.
              (WebCore::ContainerNodeImpl::removeChildren): Updated for m_first/lastChild.
              (WebCore::ContainerNodeImpl::appendChild): Updated for parameter changes.
              (WebCore::ContainerNodeImpl::hasChildNodes): Updated for m_firstChild.
              (WebCore::ContainerNodeImpl::addChild): Updated for parameter changes.
              (WebCore::ContainerNodeImpl::attach): Updated for m_firstChild.
              (WebCore::ContainerNodeImpl::detach): Ditto.
              (WebCore::ContainerNodeImpl::insertedIntoDocument): Ditto.
              (WebCore::ContainerNodeImpl::removedFromDocument): Ditto.
              (WebCore::ContainerNodeImpl::insertedIntoTree): Ditto.
              (WebCore::ContainerNodeImpl::removedFromTree): Ditto.
              * khtml/xml/ContainerNodeImpl.h: Removed unused checkSameDocument and checkIsChild.
              Made more things private, updated parameters for NodeImpl functions.
      
              * khtml/html/HTMLSelectElementImpl.cpp:
              (DOM::HTMLSelectElementImpl::insertBefore): Ditto.
              (DOM::HTMLSelectElementImpl::replaceChild): Ditto.
              (DOM::HTMLSelectElementImpl::removeChild): Ditto.
              (DOM::HTMLSelectElementImpl::appendChild): Ditto.
              (DOM::HTMLSelectElementImpl::addChild): Ditto.
              * khtml/html/HTMLSelectElementImpl.h: Ditto.
      
              * khtml/html/HTMLOptGroupElementImpl.cpp:
              (WebCore::HTMLOptGroupElementImpl::insertBefore): Updated for parameter type change.
              Also changed to look at return value, not exception code, to check for success.
              (WebCore::HTMLOptGroupElementImpl::replaceChild): Ditto.
              (WebCore::HTMLOptGroupElementImpl::removeChild): Ditto.
              (WebCore::HTMLOptGroupElementImpl::appendChild): Ditto.
              (WebCore::HTMLOptGroupElementImpl::addChild): Ditto.
              * khtml/html/HTMLOptGroupElementImpl.h: Ditto.
      
              * WebCore+SVG/kdom.h: Renamed enum from ExceptionCode to ExceptionCodes
              to avoid conflict with a typedef ExceptionCode I added.
      
              * bindings/objc/DOM.mm:
              (-[DOMNode insertBefore::]): Added get() call since return value is a PassRefPtr.
              (-[DOMNode replaceChild::]): Ditto.
              (-[DOMNode removeChild:]): Ditto.
              (-[DOMNode appendChild:]): Ditto.
      
              * khtml/ecma/kjs_dom.h: Changed getDOMNode to take PassRefPtr.
              * khtml/ecma/kjs_dom.cpp: (KJS::getDOMNode): Changed to take PassRefPtr.
      
              * khtml/html/HTMLElementImpl.cpp: Added dom2_events.h include, now needed.
              Re-sorted includes.
              * ksvg2/svg/SVGElementImpl.cpp: Ditto.
      
              * khtml/html/html_documentimpl.cpp: (WebCore::HTMLDocumentImpl::documentElement):
              Changed access to now-private data member _first to equivalent inline function
              fastFirstChild().
              * khtml/xml/DocumentImpl.cpp: (WebCore::DocumentImpl::recalcStyle): Ditto.
              * khtml/xml/dom_elementimpl.cpp: (WebCore::ElementImpl::recalcStyle): Ditto.
      
              * khtml/html/html_tableimpl.cpp:
              (WebCore::HTMLTableElementImpl::setCaption): Updated to work with new replaceChild
              that returns PassRefPtr.
              (WebCore::HTMLTableElementImpl::setTHead): Ditto.
              (WebCore::HTMLTableElementImpl::setTFoot): Ditto.
              (WebCore::HTMLTableElementImpl::setTBody): Ditto.
              (WebCore::HTMLTableElementImpl::addChild): Updated for parameter type change.
              (WebCore::HTMLTableSectionElementImpl::addChild): Ditto.
              (WebCore::HTMLTableRowElementImpl::addChild): Ditto.
              * khtml/html/html_tableimpl.h: Ditto.
      
              * khtml/html/htmlparser.cpp: (HTMLParser::handleResidualStyleCloseTagAcrossBlocks):
              Removed an unneeded explicit call to removeChild. appendChild already takes care of
              removing the child from its own location. This avoids the fact that removeChild was
              removing the parent, the only thing keeping the node alive. This is sort of the
              "flip side" of our removeChild leaks -- code that depended on the behavior that
              caused the leaks.
      
              * khtml/xml/xml_tokenizer.cpp: (WebCore::XMLTokenizer::startElementNs):
              Removed unneeded isHTMLElement() calls from before the "qualified name" change.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d545cb4f
    • darin's avatar
      Somehow this file didn't get checked in before (even though it was · f6b26111
      darin authored
      mentioned in the change log).
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f6b26111
    • ap's avatar
      Fix by Mark Rowe . Reviewed by Anders. · c3006f1e
      ap authored
              
              Build fix.  build-webkit dies with "invalid build action: (empty string)"
      
              * Scripts/build-webkit:
              Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3006f1e
    • eseidel's avatar
      2006-01-22 Eric Seidel <eseidel@apple.com> · 07b48ef8
      eseidel authored
              Reviewed by anders.
      
              Fix --no-svg option to use XCode flags instead of gcc flags.
      
              * Scripts/build-webkit:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      07b48ef8
    • eseidel's avatar
      2006-01-22 Eric Seidel <eseidel@apple.com · 05aeca35
      eseidel authored
              Rubber-stamped by anders.
      
              Remove WebCore-no-SVG target and wrap files in #if SVG_SUPPORT
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6633
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      05aeca35
    • ap's avatar
      Reviewed by Maciej. · f859a44c
      ap authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=6642
                Split XMLHttpRequest class into JS binding and implementation
      
              * WebCore.xcodeproj/project.pbxproj: Adjusted for moved and renamed files.
              New group "xml" to match directory structure.
              * xml: Added.
              * khtml/ecma/JSXMLHttpRequest.cpp: Added.
              * khtml/ecma/JSXMLHttpRequest.h: Added.
              * khtml/ecma/xmlhttprequest.cpp: Removed.
              * khtml/ecma/xmlhttprequest.h: Removed.
              * xml/xmlhttprequest.cpp: Added.
              * xml/xmlhttprequest.h: Added.
              * khtml/ecma/kjs_binding.cpp:
              (KJS::jsStringOrUndefined): Moved from kjs_events.cpp.
              * khtml/ecma/kjs_binding.h: Added prototype for jsStringOrUndefined().
              * khtml/ecma/kjs_events.cpp: Removed jsStringOrUndefined().
              * khtml/ecma/kjs_window.cpp: 
              (KJS::Window::getValueProperty): Use new class name for JSXMLHttpRequest.
              * kwq/KWQSlot.cpp: XMLHttpRequestQObject is now in WebCore, not KJS.
              * page/Frame.cpp:
              (Frame::stopLoading): XMLHttpRequest is now in WebCore, not KJS.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f859a44c
    • eseidel's avatar
      2006-01-22 Alexander Kellett <lypanov@kde.org> · d9df370e
      eseidel authored
              Reviewed by eseidel.
      
              Add support for custom fill/strokes on text.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6448
      
              * kcanvas/RenderSVGText.cpp:
              (RenderSVGText::paint): use new painter setup/teardown infrastructure
              * kcanvas/device/KRenderingPaintServer.h:
              (KRenderingPaintServer::KRenderingPaintServer):
              (KRenderingPaintServer::setup):
              (KRenderingPaintServer::render):
              (KRenderingPaintServer::teardown):
              (KRenderingPaintServer::isPaintingText):
              (KRenderingPaintServer::setPaintingText):
              * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
              (setupShadingWithStyle):
              (renderShadingWithStyle):
              (teardownShadingWithStyle):
              (KRenderingPaintServerLinearGradientQuartz::draw):
              (KRenderingPaintServerLinearGradientQuartz::setup):
              (KRenderingPaintServerLinearGradientQuartz::render):
              (KRenderingPaintServerLinearGradientQuartz::teardown):
              (KRenderingPaintServerRadialGradientQuartz::draw):
              (KRenderingPaintServerRadialGradientQuartz::setup):
              (KRenderingPaintServerRadialGradientQuartz::render):
              (KRenderingPaintServerRadialGradientQuartz::teardown):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.h:
              (KRenderingPaintServerPatternQuartz::KRenderingPaintServerPatternQuartz):
              * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
              (KRenderingPaintServerQuartzHelper::strokePath):
              (KRenderingPaintServerQuartzHelper::clipToStrokePath):
              (KRenderingPaintServerQuartzHelper::fillPath):
              (KRenderingPaintServerQuartzHelper::clipToFillPath):
              (KRenderingPaintServerSolidQuartz::draw):
              (KRenderingPaintServerSolidQuartz::setup):
              (KRenderingPaintServerSolidQuartz::render):
              (KRenderingPaintServerSolidQuartz::teardown):
              (KRenderingPaintServerPatternQuartz::draw):
              (KRenderingPaintServerPatternQuartz::setup):
              (KRenderingPaintServerPatternQuartz::render):
              (KRenderingPaintServerPatternQuartz::teardown):
              * kcanvas/device/quartz/QuartzSupport.h: fix prototype
              * kcanvas/device/quartz/QuartzSupport.mm:
              (applyStrokeStyleToContext):
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              (KSVGPainterFactory::fillPaintServer):
              (KSVGPainterFactory::strokePaintServer):
              (KSVGPainterFactory::cssPrimitiveToLength):
              (KSVGPainterFactory::strokePainter):
              (KSVGPainterFactory::fillPainter):
              * ksvg2/misc/KCanvasRenderingStyle.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9df370e
  2. 21 Jan, 2006 9 commits
  3. 20 Jan, 2006 15 commits
    • hyatt's avatar
      Fix for bug 6666, pseudo-element rules incorrectly displayed · 5fb71130
      hyatt authored
              in Web Inspector.
              
              Reviewed by darin
      
              Added fast/inspector/matchedrules.html as test case.
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::matchRulesForList):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fb71130
    • hyatt's avatar
      Add a test case for Web Inspector style matching bug. · fdd574a8
      hyatt authored
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdd574a8
    • thatcher's avatar
      WebCore: · b33dc0b5
      thatcher authored
              Reviewed by John.
      
              Removes code that is no longer needed with the new Web Inspector.
      
              * bridge/mac/WebCoreFrameBridge.h: removes the WebCoreDOMTreeCopier protocol.
              * bridge/mac/WebCoreFrameBridge.mm: removes copyDOMNode:copier:
      
      WebKit:
      
              Reviewed by John, some parts by Darin.
      
              Removes the old WebDebugDOMNode code, superseded by the ObjC DOM and the Web Inspector.
              Since Safari 2.0 still relies on these classes for the Debug menu's "Show DOM Tree", we remove
              that menu item to prevent a crash.
      
              * WebKit.exp: adds WebInspector, removes WebDebugDOMNode
              * WebKit.xcodeproj/project.pbxproj: added the REMOVE_SAFARI_DOM_TREE_DEBUG_ITEM define so the new WebView code doesn't build in the Default config
              * WebView.subproj/WebDebugDOMNode.h: Removed.
              * WebView.subproj/WebDebugDOMNode.m: Removed.
              * WebView.subproj/WebView.m:
              (+[WebView initialize]): check if we are in Safari and IncludeDebugMenu is true then observe for NSApplicationDidFinishLaunchingNotification and call _finishedLaunching
              (+[WebView _finishedLaunching]): observe for NSMenuDidAddItemNotification now that the main menu is loaded and wait for the Debug menu to be added
              (+[WebView _removeDOMTreeMenuItem:]): when the debug menu is added remove the "Show DOM Tree" item
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b33dc0b5
    • andersca's avatar
      2006-01-21 Anders Carlsson <andersca@mac.com> · b81f7763
      andersca authored
              Reviewed by David Hyatt.
      
              Rename Frame::xmlDocImpl => Frame::document and
              Frame::replaceDocImpl => Frame::setDocument
              
              * bridge/mac/MacFrame.mm:
              (MacFrame::findString):
              (MacFrame::advanceToNextMisspelling):
              (MacFrame::nextKeyViewInFrame):
              (MacFrame::nextKeyViewInFrameHierarchy):
              (MacFrame::keyEvent):
              (MacFrame::dispatchCPPEvent):
              (MacFrame::setDisplaysWithFocusAttributes):
              (MacFrame::bodyBackgroundColor):
              (MacFrame::markMisspellings):
              (MacFrame::respondToChangedSelection):
              (MacFrame::setMarkedTextRange):
              (MacFrame::dashboardRegionsDictionary):
              (MacFrame::shouldClose):
              * bridge/mac/WebCoreFrameBridge.mm:
              (updateRenderingForBindings):
              (frameHasSelection):
              (-[WebCoreFrameBridge addData:]):
              (-[WebCoreFrameBridge didNotOpenURL:pageCache:]):
              (-[WebCoreFrameBridge saveDocumentState]):
              (-[WebCoreFrameBridge restoreDocumentState]):
              (-[WebCoreFrameBridge saveDocumentToPageCache]):
              (-[WebCoreFrameBridge _documentTypeString]):
              (-[WebCoreFrameBridge deselectAll]):
              (-[WebCoreFrameBridge reapplyStylesForDeviceType:]):
              (nowPrinting):
              (-[WebCoreFrameBridge _setupRootForPrinting:]):
              (-[WebCoreFrameBridge computePageRectsWithPrintWidthScaleFactor:printHeight:]):
              (-[WebCoreFrameBridge copyDOMTree:]):
              (-[WebCoreFrameBridge URLWithAttributeString:]):
              (-[WebCoreFrameBridge unmarkAllMisspellings]):
              (-[WebCoreFrameBridge nextKeyView]):
              (-[WebCoreFrameBridge previousKeyView]):
              (-[WebCoreFrameBridge nextKeyViewInsideWebFrameViews]):
              (-[WebCoreFrameBridge previousKeyViewInsideWebFrameViews]):
              (-[WebCoreFrameBridge DOMDocument]):
              (-[WebCoreFrameBridge baseURL]):
              (-[WebCoreFrameBridge domain]):
              (-[WebCoreFrameBridge numPendingOrLoadingRequests]):
              (-[WebCoreFrameBridge doneProcessingData]):
              (-[WebCoreFrameBridge selectionColor]):
              (-[WebCoreFrameBridge accessibilityTree]):
              (-[WebCoreFrameBridge setSelectedDOMRange:affinity:closeTyping:]):
              (-[WebCoreFrameBridge convertToNSRange:]):
              (-[WebCoreFrameBridge convertToDOMRange:]):
              (-[WebCoreFrameBridge replaceMarkedTextWithText:]):
              (-[WebCoreFrameBridge smartDeleteRangeForProposedRange:]):
              (-[WebCoreFrameBridge documentFragmentWithMarkupString:baseURLString:]):
              (-[WebCoreFrameBridge documentFragmentWithText:]):
              (-[WebCoreFrameBridge documentFragmentWithNodesAsParagraphs:]):
              (-[WebCoreFrameBridge replaceSelectionWithFragment:selectReplacement:smartReplace:matchStyle:]):
              (-[WebCoreFrameBridge insertLineBreak]):
              (-[WebCoreFrameBridge insertParagraphSeparator]):
              (-[WebCoreFrameBridge insertParagraphSeparatorInQuotedContent]):
              (-[WebCoreFrameBridge insertText:selectInsertedText:]):
              (-[WebCoreFrameBridge moveSelectionToDragCaret:smartMove:]):
              (-[WebCoreFrameBridge deleteSelectionWithSmartDelete:]):
              (-[WebCoreFrameBridge deleteKeyPressedWithSmartDelete:]):
              (-[WebCoreFrameBridge forwardDeleteKeyPressedWithSmartDelete:]):
              * khtml/ecma/kjs_html.cpp:
              (KJS::KJS::HTMLDocument::putValueProperty):
              * khtml/ecma/kjs_window.cpp:
              (KJS::createNewWindow):
              (KJS::Window::getValueProperty):
              (KJS::Window::namedItemGetter):
              (KJS::Window::getOwnPropertySlot):
              (KJS::Window::put):
              (KJS::Window::isSafeScript):
              (KJS::Window::setListener):
              (KJS::Window::getListener):
              (KJS::WindowFunc::callAsFunction):
              (KJS::Window::updateLayout):
              (KJS::ScheduledAction::execute):
              (KJS::Location::put):
              (KJS::LocationFunc::callAsFunction):
              * khtml/ecma/xmlhttprequest.cpp:
              (KJS::XMLHttpRequestProtoFunc::callAsFunction):
              * khtml/editing/jsediting.cpp:
              * khtml/html/html_baseimpl.cpp:
              (WebCore::HTMLFrameElementImpl::contentDocument):
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::scriptExecution):
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::parentDocument):
              * khtml/xsl/xslt_processorimpl.cpp:
              (DOM::XSLTProcessorImpl::createDocumentFromSource):
              * kwq/KWQAccObject.mm:
              (-[KWQAccObject textUnderElement]):
              (-[KWQAccObject doAXTextMarkerForPosition:]):
              (-[KWQAccObject rendererForView:]):
              * kwq/KWQKJavaAppletWidget.mm:
              (KJavaAppletWidget::KJavaAppletWidget):
              * page/Frame.cpp:
              (Frame::document):
              (Frame::setDocument):
              (Frame::setFocusNodeIfNeeded):
              (Frame::isPointInsideSelection):
              (Frame::computeAndSetTypingStyle):
              (Frame::applyStyle):
              (Frame::applyParagraphStyle):
              (Frame::selectionComputedStyle):
              (Frame::selectFrameElementInParentIfFullySelected):
              (Frame::renderer):
              (Frame::scrollOverflow):
              (Frame::paint):
              (Frame::adjustPageHeight):
              (Frame::updatePolicyBaseURL):
              (Frame::setPolicyBaseURL):
              (Frame::forceLayoutWithPageWidthRange):
              (Frame::sendScrollEvent):
              (Frame::clearTimers):
              (Frame::styleForSelectionStart):
              (Frame::setSelectionFromNone):
              (Frame::setWindowHasFocus):
              (Frame::backslashAsCurrencySymbol):
              * page/Frame.h:
              * page/FrameView.cpp:
              (FrameView::~FrameView):
              (FrameView::clear):
              (FrameView::resizeEvent):
              (FrameView::adjustViewSize):
              (FrameView::layout):
              (FrameView::updateDashboardRegions):
              (FrameView::viewportMousePressEvent):
              (FrameView::viewportMouseDoubleClickEvent):
              (FrameView::viewportMouseMoveEvent):
              (FrameView::viewportMouseReleaseEvent):
              (FrameView::keyPressEvent):
              (FrameView::dispatchDragEvent):
              (FrameView::updateDragAndDrop):
              (FrameView::focusNextPrevNode):
              (FrameView::dispatchMouseEvent):
              (FrameView::viewportWheelEvent):
              (FrameView::timerEvent):
              (FrameView::scheduleRelayout):
              (FrameView::unscheduleRelayout):
              * rendering/render_frames.cpp:
              (WebCore::RenderPartObject::updateWidget):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12268 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b81f7763
    • thatcher's avatar
      Reviewed by Hyatt. · 2a74bd40
      thatcher authored
              Corrects the cascade order for mapped attributes.
              Shows "inline stylesheet" rather than "null" for rules in <style> tags.
      
              * WebInspector.subproj/webInspector/inspector.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12267 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a74bd40
    • cpeterse's avatar
      Reviewed by eseidel. · 59076c7b
      cpeterse authored
              Build fix.
      
              * khtml/xml/DocumentImpl.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      59076c7b
    • eseidel's avatar
      2006-01-20 Eric Seidel <eseidel@apple.com> · 525f34a4
      eseidel authored
              Reviewed by beth.
      
              Unbreak build (partial commit of animation patch)
      
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::implicitClose):
              * khtml/xml/DocumentImpl.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12265 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      525f34a4
    • eseidel's avatar
      2006-01-20 Eric Seidel <eseidel@apple.com> · f3e64252
      eseidel authored
              Reviewed by beth.
      
              Missed the kcanvas directory in my previous commit.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6683
      
              * kcanvas/KCanvasContainer.h:
              * kcanvas/RenderForeignObject.h:
              * kcanvas/RenderSVGText.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12264 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3e64252
    • eseidel's avatar
      2006-01-19 Eric Seidel <eseidel@apple.com> · a043f3d9
      eseidel authored
              Reviewed by beth.
      
              Break classes in render_table out into separate files.
              Move render_block to RenderBlock.
              Move render_container to RenderContainer.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bridge/mac/MacFrame.mm:
              * kcanvas/KCanvasContainer.h:
              * kcanvas/RenderForeignObject.h:
              * kcanvas/RenderSVGText.h:
              * khtml/editing/visible_units.cpp:
              * khtml/html/html_tableimpl.cpp:
              (WebCore::HTMLTableElementImpl::insertRow):
              * khtml/xml/dom2_rangeimpl.cpp:
              * khtml/xml/dom_position.cpp:
              * kwq/KWQRenderTreeDebug.cpp:
              * page/Frame.cpp:
              * rendering/InlineTextBox.cpp:
              * rendering/RenderBlock.cpp: Added.
              * rendering/RenderBlock.h: Added.
              * rendering/RenderContainer.cpp: Added.
              (WebCore::RenderContainer::addChild):
              * rendering/RenderContainer.h: Added.
              * rendering/RenderTable.cpp: Added.
              (WebCore::RenderTable::RenderTable):
              (WebCore::RenderTable::updateFirstLetter):
              * rendering/RenderTable.h: Added.
              * rendering/RenderTableCell.cpp: Added.
              (WebCore::RenderTableCell::RenderTableCell):
              (WebCore::RenderTableCell::updateFromElement):
              * rendering/RenderTableCell.h: Added.
              * rendering/RenderTableCol.cpp: Added.
              (WebCore::RenderTableCol::RenderTableCol):
              (WebCore::RenderTableCol::updateFromElement):
              * rendering/RenderTableCol.h: Added.
              * rendering/RenderTableRow.cpp: Added.
              (WebCore::RenderTableRow::RenderTableRow):
              * rendering/RenderTableRow.h: Added.
              * rendering/RenderTableSection.cpp: Added.
              (WebCore::RenderTableSection::RenderTableSection):
              * rendering/RenderTableSection.h: Added.
              * rendering/RenderText.cpp:
              * rendering/bidi.cpp:
              * rendering/render_block.cpp: Removed.
              * rendering/render_block.h: Removed.
              * rendering/render_box.cpp:
              * rendering/render_canvas.h:
              * rendering/render_container.cpp: Removed.
              * rendering/render_container.h: Removed.
              * rendering/render_flexbox.h:
              * rendering/render_flow.cpp:
              * rendering/render_flow.h:
              * rendering/render_form.h:
              * rendering/render_frames.h:
              * rendering/render_inline.cpp:
              * rendering/render_inline.h:
              * rendering/render_line.cpp:
              * rendering/render_list.h:
              * rendering/render_object.cpp:
              * rendering/render_replaced.h:
              * rendering/render_table.cpp: Removed.
              * rendering/render_table.h: Removed.
              * rendering/table_layout.cpp:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12263 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a043f3d9
    • mjs's avatar
      - added test case for a parsing bug that was fixed in different ways in KJS · 847557d4
      mjs authored
              and JSC. In older KJS versions, there would have been a parse error.
      
              * fast/js/parse-backslash-before-newline-expected.txt: Added.
              * fast/js/parse-backslash-before-newline.html: Added.
              * fast/js/resources/parse-backslash-before-newline.js: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12262 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      847557d4
    • adele's avatar
      LayoutTests: · 7dfe509f
      adele authored
              Reviewed by Darin, committed by Adele.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6673
                Selection highlight doesn't scroll along with an image contained in an overflow:scroll block
      
              * fast/overflow/image-selection-highlight-expected.checksum: Added.
              * fast/overflow/image-selection-highlight-expected.png: Added.
              * fast/overflow/image-selection-highlight-expected.txt: Added.
              * fast/overflow/image-selection-highlight.html: Added.
      
      WebCore:
      
              Test: fast/overflow/image-selection-highlight.html
      
              Reviewed by Darin, committed by Adele.
              
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6673
                Selection highlight doesn't scroll along with an image contained in an overflow:scroll block
      
              * rendering/render_replaced.cpp:
              (WebCore::RenderReplaced::selectionRect): Subtract the containing block's scroll offset.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12261 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7dfe509f
    • thatcher's avatar
      Add irc://irc.freenode.net/#webkit links. · ef5187f3
      thatcher authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12258 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef5187f3
    • thatcher's avatar
      Fixes the rest of http://bugzilla.opendarwin.org/show_bug.cgi?id=6535 · 46d56b88
      thatcher authored
      add <tt></tt> around an instance of "svn diff".
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      46d56b88
    • thatcher's avatar
      Replace all "cvs" references with "svn". · a36ab976
      thatcher authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a36ab976
    • thatcher's avatar
      Reviewed by Eric. · 0a113728
      thatcher authored
              Adds inline style reporting and mapped attribute support to the Inspector Style pane.
              Cleans up the node attributes area with a more natural attr = "value" look.
              Slight optimization to only update visible scrollbars during a window resize.
      
              * WebInspector.subproj/webInspector/inspector.css:
              * WebInspector.subproj/webInspector/inspector.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a113728
  4. 19 Jan, 2006 2 commits