1. 04 Dec, 2007 1 commit
    • aroben@apple.com's avatar
      Make the implementation of Frame::setNeedsReapplyStyles cross-platform · 4cfcb8ae
      aroben@apple.com authored
       WebCore:
      
               Make the implementation of Frame::setNeedsReapplyStyles cross-platform
      
               Reviewed by Hyatt.
      
               No change in functionality.
      
               * page/Frame.cpp:
               (WebCore::Frame::setNeedsReapplyStyles): Added. Invalidates the
               FrameView so that FrameView::layout will be called, which ends up
               calling reapplyStyles.
               (WebCore::Frame::needsReapplyStyles): Added.
               (WebCore::Frame::reapplyStyles): Renamed from reparseConfiguration.
               (WebCore::FramePrivate::FramePrivate):
               * page/Frame.h:
               * page/FramePrivate.h: Added new boolean member.
               * page/FrameView.cpp:
               (WebCore::FrameView::layout): Call Frame::reapplyStyles if needed.
               (WebCore::FrameView::needsLayout): Say that we need layout if the
               Frame needs styles reapplied.
               * page/mac/WebCoreFrameBridge.h: Removed setNeedsReapplyStyles.
               * page/mac/WebCoreFrameBridge.mm:
               (-[WebCoreFrameBridge reapplyStylesForDeviceType:]): Updated for
               rename.
      
               * bridge/win/FrameWin.cpp: Removed Frame::setNeedsReapplyStyles.
               * page/gtk/FrameGtk.cpp: Ditto.
               * page/mac/FrameMac.mm: Ditto.
               * page/qt/FrameQt.cpp: Ditto.
               * platform/wx/TemporaryLinkStubs.cpp: Ditto.
      
       WebKit/mac:
      
               Remove -[WebFrameBridge setNeedsReapplyStyles]
      
               This functionality is now WebCore's responsibility.
      
               Reviewed by Hyatt.
      
               * WebCoreSupport/WebFrameBridge.mm:
               * WebKit.order:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4cfcb8ae
  2. 03 Dec, 2007 2 commits
    • mitz@apple.com's avatar
      WebCore: · fe1e11ac
      mitz@apple.com authored
              Reviewed by Dave Hyatt.
      
              - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
      
              Test: fast/events/resize-subframe.html
      
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::FrameViewPrivate): Added a timer used when
              deferring tasks that need to be done after layout.
              (WebCore::FrameViewPrivate::reset):
              (WebCore::FrameView::~FrameView):
              (WebCore::FrameView::layout): Moved the updating of widget positions,
              loading plug-ins and sending events queued up during layout into
              performPostLayoutTasks(). performPostLayoutTasks() is called after
              layout unless the layout was triggered by a previous layout's post-
              layout tasks. In the latter case, performPostLayoutTasks() is scheduled
              to run later.
              (WebCore::FrameView::performPostLayoutTasks): Performs work that needs
              to be done after layout but which can result in arbitrary code
              execution and therefore may re-invalidate the layout. This includes
              updating widget positions, loading plug-ins, and dispatching layout-
              related DOM events (scroll, overflow and resize).
              (WebCore::FrameView::postLayoutTimerFired):
              (WebCore::FrameView::dispatchScheduledEvents):
              * page/FrameView.h:
              * page/mac/WebCoreFrameBridge.h:
              * page/mac/WebCoreFrameBridge.mm: Removed -sendResizeEvent since this
              is handled by FrameView now.
      
      WebKit/gtk:
      
              Reviewed by Dave Hyatt.
      
              - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
      
              * WebView/webkitwebview.cpp: Remove the call to sendResizeEvent() since
              FrameView sends it now.
      
      WebKit/mac:
      
              Reviewed by Dave Hyatt.
      
              - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
      
              * WebView/WebHTMLView.mm:
              (-[WebHTMLView layoutToMinimumPageWidth:maximumPageWidth:adjustingViewSize:]): Removed the code
              that checked if the view had resized and sent the resize event, since
              FrameView sends resize events now.
              * WebView/WebHTMLViewInternal.h:
      
      WebKit/win:
      
              Reviewed by Dave Hyatt.
      
              - fix <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
      
              * WebView.cpp:
              (WebViewWndProc): Removed call to sendResizeEvent() since FrameView
              sends them now.
      
      LayoutTests:
      
              Reviewed by Dave Hyatt.
      
              - test for <rdar://problem/5346452> Resize event doesn't fire on body element inside a frame
      
              * fast/events/resize-subframe-expected.txt: Added.
              * fast/events/resize-subframe.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe1e11ac
    • zecke@webkit.org's avatar
      * Avoid crashes by making sure everything is layouted before · 0543ef83
      zecke@webkit.org authored
        we start painting. This avoids a crash in Widget::invalidateRect
        because QPainter::begin would fail
      * The QWebFrame::layout() methods and calls are left untouched because
        this would be an API decision.
      
      Signed-off-by: Simon
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0543ef83
  3. 01 Dec, 2007 1 commit
    • mitz@apple.com's avatar
      WebCore: · 919b5999
      mitz@apple.com authored
              Reviewed by Darin Adler.
      
              - fix <rdar://problem/5619240> REGRESSION (Leopard-r28069): Reproducible crash with a Mootools-based calendar picker (jump to null in FrameView::layout)
      
              Test: fast/dynamic/subtree-common-root.html
      
              * page/FrameView.cpp:
              (WebCore::FrameView::layoutRoot): Added a parameter to let this method
              return the layout root for a pending layout as well.
              (WebCore::FrameView::scheduleRelayoutOfSubtree): Pass the new root
              to markContainingBlocksForLayout(). Otherwise,
              markContainingBlocksForLayout() could mark past the new root, if it had
              previously been marked as having a normal child needing layout and then
              was reached via a positioned child.
              * page/FrameView.h:
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::calcWidth):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::~RenderObject): Fixed the ASSERT so that
              it would really catch deletion of the layout root.
              (WebCore::RenderObject::markContainingBlocksForLayout): Added the
              newRoot parameter, which tells this method where to stop marking.
              * rendering/RenderObject.h:
      
      LayoutTests:
      
              Reviewed by Darin Adler.
      
              - test for <rdar://problem/5619240> REGRESSION (Leopard-r28069): Reproducible crash with a Mootools-based calendar picker (jump to null in FrameView::layout)
      
              * fast/dynamic/subtree-common-root-expected.txt: Added.
              * fast/dynamic/subtree-common-root.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@28299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      919b5999
  4. 21 Nov, 2007 1 commit
    • mitz@apple.com's avatar
      WebCore: · 2927a273
      mitz@apple.com authored
              Reviewed by Eric Seidel.
      
              - fix <rdar://problem/5607037> REGRESSION (r27351): Departure date does not repaint when changed on Google Maps public transit planner (16034)
      
              Test: fast/repaint/subtree-root-skipped.html
      
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::FrameViewPrivate): Initialize the layout
              root to 0.
              (WebCore::FrameView::layoutRoot): Changed to return a RenderObject
              instead of a Node.
              (WebCore::FrameView::layout): Changed for layout root being a renderer
              rather than a DOM node. Also replaced clearing the repaint rects
              set with asserting that it is empty if this is the top-level call to
              layout(). If it is not, the set may contain rects from enclosing
              layout() and those should not be removed.
              (WebCore::FrameView::scheduleRelayout): Changed for layout root being
              a renderer rather than a DOM node.
              (WebCore::isObjectAncestorContainerOf): Added this helper function that
              tests whether one object will be marked by calling
              markContainingBlocksForLayout() on the other.
              (WebCore::FrameView::scheduleRelayoutOfSubtree): Changed for layout
              root being a renderer rather than a DOM node. Changed the check if new
              and current layout roots are on the same path from the root to use
              the subgraph of the render tree defined by container()hood instead of
              the DOM tree and parenthood.
              * page/FrameView.h:
              * rendering/RenderBox.cpp: 
              (WebCore::RenderBox::calcWidth): Changed for layout root being a
              renderer rather than a DOM node.
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::~RenderObject): Added an assertion that the
              object being deleted is not currently the layout root.
              (WebCore::RenderObject::scheduleRelayout): Changed for layout root being
              a renderer rather than a DOM node.
      
      LayoutTests:
      
              Reviewed by Eric Seidel.
      
              - repaint test for <rdar://problem/5607037> REGRESSION (r27351): Departure date does not repaint when changed on Google Maps public transit planner (16034)
      
              * fast/repaint/subtree-root-skipped.html: Added.
              * platform/mac-leopard/fast/repaint/subtree-root-skipped-expected.checksum: Added.
              * platform/mac-leopard/fast/repaint/subtree-root-skipped-expected.png: Added.
              * platform/mac/fast/repaint/subtree-root-skipped-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2927a273
  5. 01 Nov, 2007 1 commit
    • mitz's avatar
      WebCore: · b69ffd07
      mitz authored
              Reviewed by Dave Hyatt.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=15015
                <rdar://problem/5420308> Most of www.aol.com redraws unnecessarily when headline/photo section changes
      
              Test: fast/repaint/overflow-clip-subtree-layout.html
      
              This patch does not address the bigger issue of doing a full relayout
              of inline flows containing floats, but it addresses the problem on
              aol.com, where the changes that trigger layout are confined to an
              overflow area inside the float.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::scheduleRelayoutOfSubtree): If the new and old
              layout roots are different but one descends from the other, make (or
              keep) the ancestor as the layout root.
              * rendering/RenderObject.cpp:
              (WebCore::objectIsRelayoutBoundary): Made boxes with overflow
              clipping and non-auto width and height relayout boundaries.
      
      LayoutTests:
      
              Reviewed by Dave Hyatt.
      
              - repaint test for http://bugs.webkit.org/show_bug.cgi?id=15015
                <rdar://problem/5420308> Most of www.aol.com redraws unnecessarily when headline/photo section changes
      
              * fast/repaint/overflow-clip-subtree-layout.html: Added.
              * platform/mac/fast/repaint/overflow-clip-subtree-layout-expected.checksum: Added.
              * platform/mac/fast/repaint/overflow-clip-subtree-layout-expected.png: Added.
              * platform/mac/fast/repaint/overflow-clip-subtree-layout-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@27351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b69ffd07
  6. 04 Oct, 2007 1 commit
  7. 01 Oct, 2007 3 commits
  8. 25 Sep, 2007 4 commits
    • ddkilzer's avatar
      JavaScriptCore: · c8eccecd
      ddkilzer authored
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * COPYING.LIB:
              * bindings/testbindings.cpp:
              * kjs/AllInOneFile.cpp:
              * kjs/DateMath.cpp:
              * kjs/PropertyNameArray.cpp:
              * kjs/PropertyNameArray.h:
              * kjs/config.h:
      
      WebCore:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * LICENSE-LGPL-2:
              * LICENSE-LGPL-2.1:
              * WebCorePrefix.h:
              * bindings/js/JSCanvasRenderingContext2DCustom.cpp:
              * bindings/js/JSDOMWindowCustom.cpp:
              * bindings/js/JSDocumentCustom.cpp:
              * bindings/js/JSHTMLCollectionCustom.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.cpp:
              * bindings/js/JSHTMLElementWrapperFactory.h:
              * bindings/js/JSHTMLInputElementBase.cpp:
              * bindings/js/JSHTMLInputElementBase.h:
              * bindings/js/JSHTMLOptionElementConstructor.cpp:
              * bindings/js/JSHTMLOptionElementConstructor.h:
              * bindings/js/JSHTMLOptionsCollectionCustom.cpp:
              * bindings/js/JSHTMLSelectElementCustom.cpp:
              * bindings/js/JSNodeFilterCondition.cpp:
              * bindings/js/JSNodeFilterCondition.h:
              * bindings/js/JSNodeIteratorCustom.cpp:
              * bindings/js/JSSVGElementWrapperFactory.cpp:
              * bindings/js/JSSVGElementWrapperFactory.h:
              * bindings/js/JSSVGMatrixCustom.cpp:
              * bindings/js/JSSVGPathSegCustom.cpp:
              * bindings/js/JSSVGPathSegListCustom.cpp:
              * bindings/js/JSSVGPointListCustom.cpp:
              * bindings/js/JSTreeWalkerCustom.cpp:
              * bindings/js/JSXMLHttpRequest.cpp:
              * bindings/js/JSXMLHttpRequest.h:
              * bindings/js/kjs_binding.cpp:
              * bindings/js/kjs_binding.h:
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/js/kjs_dom.cpp:
              * bindings/js/kjs_dom.h:
              * bindings/js/kjs_events.cpp:
              * bindings/js/kjs_events.h:
              * bindings/js/kjs_html.cpp:
              * bindings/js/kjs_html.h:
              * bindings/js/kjs_navigator.cpp:
              * bindings/js/kjs_navigator.h:
              * bindings/js/kjs_proxy.cpp:
              * bindings/js/kjs_proxy.h:
              * bindings/js/kjs_window.cpp:
              * bindings/js/kjs_window.h:
              * bindings/objc/DOMImplementationFront.cpp:
              * bindings/objc/DOMImplementationFront.h:
              * bindings/scripts/CodeGenerator.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * bindings/scripts/IDLParser.pm:
              * bindings/scripts/IDLStructure.pm:
              * bindings/scripts/generate-bindings.pl:
              * config.h:
              * css/CSSBorderImageValue.cpp:
              * css/CSSBorderImageValue.h:
              * css/CSSCharsetRule.cpp:
              * css/CSSCharsetRule.h:
              * css/CSSCharsetRule.idl:
              * css/CSSComputedStyleDeclaration.cpp:
              * css/CSSComputedStyleDeclaration.h:
              * css/CSSCursorImageValue.cpp:
              * css/CSSCursorImageValue.h:
              * css/CSSFontFaceRule.cpp:
              * css/CSSFontFaceRule.h:
              * css/CSSFontFaceRule.idl:
              * css/CSSGrammar.y:
              * css/CSSHelper.cpp:
              * css/CSSHelper.h:
              * css/CSSImageValue.cpp:
              * css/CSSImageValue.h:
              * css/CSSImportRule.cpp:
              * css/CSSImportRule.h:
              * css/CSSImportRule.idl:
              * css/CSSInheritedValue.cpp:
              * css/CSSInheritedValue.h:
              * css/CSSInitialValue.cpp:
              * css/CSSInitialValue.h:
              * css/CSSMediaRule.cpp:
              * css/CSSMediaRule.h:
              * css/CSSMediaRule.idl:
              * css/CSSMutableStyleDeclaration.cpp:
              * css/CSSMutableStyleDeclaration.h:
              * css/CSSNamespace.h:
              * css/CSSPageRule.cpp:
              * css/CSSPageRule.h:
              * css/CSSPageRule.idl:
              * css/CSSParser.cpp:
              * css/CSSParser.h:
              * css/CSSPrimitiveValue.cpp:
              * css/CSSPrimitiveValue.h:
              * css/CSSPrimitiveValue.idl:
              * css/CSSProperty.cpp:
              * css/CSSProperty.h:
              * css/CSSQuirkPrimitiveValue.h:
              * css/CSSRule.cpp:
              * css/CSSRule.h:
              * css/CSSRule.idl:
              * css/CSSRuleList.cpp:
              * css/CSSRuleList.h:
              * css/CSSSelector.cpp:
              * css/CSSSelector.h:
              * css/CSSStyleDeclaration.cpp:
              * css/CSSStyleDeclaration.h:
              * css/CSSStyleDeclaration.idl:
              * css/CSSStyleRule.cpp:
              * css/CSSStyleRule.h:
              * css/CSSStyleRule.idl:
              * css/CSSStyleSelector.cpp:
              * css/CSSStyleSelector.h:
              * css/CSSStyleSheet.cpp:
              * css/CSSStyleSheet.h:
              * css/CSSStyleSheet.idl:
              * css/CSSUnknownRule.h:
              * css/CSSUnknownRule.idl:
              * css/CSSValue.h:
              * css/CSSValue.idl:
              * css/CSSValueList.cpp:
              * css/CSSValueList.h:
              * css/Counter.h:
              * css/Counter.idl:
              * css/DashboardRegion.h:
              * css/FontFamilyValue.cpp:
              * css/FontFamilyValue.h:
              * css/FontValue.cpp:
              * css/FontValue.h:
              * css/MediaFeatureNames.cpp:
              * css/MediaFeatureNames.h:
              * css/MediaList.cpp:
              * css/MediaList.h:
              * css/Pair.h:
              * css/RGBColor.idl:
              * css/Rect.h:
              * css/Rect.idl:
              * css/ShadowValue.cpp:
              * css/ShadowValue.h:
              * css/StyleBase.cpp:
              * css/StyleBase.h:
              * css/StyleList.cpp:
              * css/StyleList.h:
              * css/StyleSheet.cpp:
              * css/StyleSheet.h:
              * css/StyleSheet.idl:
              * css/StyleSheetList.cpp:
              * css/StyleSheetList.h:
              * css/StyleSheetList.idl:
              * css/html4.css:
              * css/make-css-file-arrays.pl:
              * css/makegrammar.pl:
              * css/makeprop.pl:
              * css/maketokenizer:
              * css/makevalues.pl:
              * css/quirks.css:
              * dom/AtomicStringList.h:
              * dom/Attr.cpp:
              * dom/Attr.h:
              * dom/Attr.idl:
              * dom/Attribute.cpp:
              * dom/Attribute.h:
              * dom/BeforeUnloadEvent.cpp:
              * dom/BeforeUnloadEvent.h:
              * dom/CDATASection.cpp:
              * dom/CDATASection.h:
              * dom/CDATASection.idl:
              * dom/CSSMappedAttributeDeclaration.cpp:
              * dom/CSSMappedAttributeDeclaration.h:
              * dom/CharacterData.cpp:
              * dom/CharacterData.h:
              * dom/CharacterData.idl:
              * dom/ChildNodeList.cpp:
              * dom/ChildNodeList.h:
              * dom/Clipboard.h:
              * dom/ClipboardEvent.cpp:
              * dom/ClipboardEvent.h:
              * dom/Comment.cpp:
              * dom/Comment.h:
              * dom/Comment.idl:
              * dom/ContainerNode.cpp:
              * dom/ContainerNode.h:
              * dom/DOMImplementation.cpp:
              * dom/DOMImplementation.h:
              * dom/DOMImplementation.idl:
              * dom/DocPtr.h:
              * dom/Document.cpp:
              * dom/Document.h:
              * dom/Document.idl:
              * dom/DocumentFragment.cpp:
              * dom/DocumentFragment.h:
              * dom/DocumentFragment.idl:
              * dom/DocumentMarker.h:
              * dom/DocumentType.cpp:
              * dom/DocumentType.h:
              * dom/DocumentType.idl:
              * dom/EditingText.cpp:
              * dom/EditingText.h:
              * dom/Element.cpp:
              * dom/Element.h:
              * dom/Element.idl:
              * dom/Entity.cpp:
              * dom/Entity.h:
              * dom/Entity.idl:
              * dom/EntityReference.cpp:
              * dom/EntityReference.h:
              * dom/EntityReference.idl:
              * dom/Event.cpp:
              * dom/Event.h:
              * dom/Event.idl:
              * dom/EventListener.h:
              * dom/EventListener.idl:
              * dom/EventNames.cpp:
              * dom/EventNames.h:
              * dom/EventTarget.idl:
              * dom/EventTargetNode.cpp:
              * dom/EventTargetNode.h:
              * dom/ExceptionCode.h:
              * dom/KeyboardEvent.cpp:
              * dom/KeyboardEvent.h:
              * dom/KeyboardEvent.idl:
              * dom/MappedAttribute.cpp:
              * dom/MappedAttribute.h:
              * dom/MappedAttributeEntry.h:
              * dom/MouseEvent.cpp:
              * dom/MouseEvent.h:
              * dom/MouseEvent.idl:
              * dom/MouseRelatedEvent.cpp:
              * dom/MouseRelatedEvent.h:
              * dom/MutationEvent.cpp:
              * dom/MutationEvent.h:
              * dom/MutationEvent.idl:
              * dom/NameNodeList.cpp:
              * dom/NameNodeList.h:
              * dom/NamedAttrMap.cpp:
              * dom/NamedAttrMap.h:
              * dom/NamedMappedAttrMap.cpp:
              * dom/NamedMappedAttrMap.h:
              * dom/NamedNodeMap.h:
              * dom/NamedNodeMap.idl:
              * dom/Node.cpp:
              * dom/Node.h:
              * dom/Node.idl:
              * dom/NodeFilter.cpp:
              * dom/NodeFilter.h:
              * dom/NodeFilter.idl:
              * dom/NodeFilterCondition.cpp:
              * dom/NodeFilterCondition.h:
              * dom/NodeIterator.cpp:
              * dom/NodeIterator.h:
              * dom/NodeIterator.idl:
              * dom/NodeList.cpp:
              * dom/NodeList.h:
              * dom/NodeList.idl:
              * dom/Notation.cpp:
              * dom/Notation.h:
              * dom/Notation.idl:
              * dom/ProcessingInstruction.cpp:
              * dom/ProcessingInstruction.h:
              * dom/ProcessingInstruction.idl:
              * dom/QualifiedName.cpp:
              * dom/QualifiedName.h:
              * dom/Range.cpp:
              * dom/Range.h:
              * dom/Range.idl:
              * dom/RangeException.h:
              * dom/RangeException.idl:
              * dom/RegisteredEventListener.cpp:
              * dom/RegisteredEventListener.h:
              * dom/StyleElement.cpp:
              * dom/StyleElement.h:
              * dom/StyledElement.cpp:
              * dom/StyledElement.h:
              * dom/Text.cpp:
              * dom/Text.h:
              * dom/Text.idl:
              * dom/Tokenizer.h:
              * dom/Traversal.cpp:
              * dom/Traversal.h:
              * dom/TreeWalker.cpp:
              * dom/TreeWalker.h:
              * dom/TreeWalker.idl:
              * dom/UIEvent.cpp:
              * dom/UIEvent.h:
              * dom/UIEvent.idl:
              * dom/UIEventWithKeyState.cpp:
              * dom/UIEventWithKeyState.h:
              * dom/WheelEvent.cpp:
              * dom/WheelEvent.h:
              * dom/WheelEvent.idl:
              * dom/XMLTokenizer.cpp:
              * dom/XMLTokenizer.h:
              * html/FormDataList.cpp:
              * html/FormDataList.h:
              * html/HTMLAnchorElement.cpp:
              * html/HTMLAnchorElement.h:
              * html/HTMLAnchorElement.idl:
              * html/HTMLAppletElement.cpp:
              * html/HTMLAppletElement.h:
              * html/HTMLAppletElement.idl:
              * html/HTMLAreaElement.cpp:
              * html/HTMLAreaElement.h:
              * html/HTMLAreaElement.idl:
              * html/HTMLBRElement.cpp:
              * html/HTMLBRElement.h:
              * html/HTMLBRElement.idl:
              * html/HTMLBaseElement.cpp:
              * html/HTMLBaseElement.h:
              * html/HTMLBaseElement.idl:
              * html/HTMLBaseFontElement.cpp:
              * html/HTMLBaseFontElement.h:
              * html/HTMLBaseFontElement.idl:
              * html/HTMLBlockquoteElement.cpp:
              * html/HTMLBlockquoteElement.h:
              * html/HTMLBlockquoteElement.idl:
              * html/HTMLBodyElement.cpp:
              * html/HTMLBodyElement.h:
              * html/HTMLBodyElement.idl:
              * html/HTMLButtonElement.cpp:
              * html/HTMLButtonElement.h:
              * html/HTMLButtonElement.idl:
              * html/HTMLCollection.cpp:
              * html/HTMLCollection.h:
              * html/HTMLCollection.idl:
              * html/HTMLDListElement.cpp:
              * html/HTMLDListElement.h:
              * html/HTMLDListElement.idl:
              * html/HTMLDirectoryElement.cpp:
              * html/HTMLDirectoryElement.h:
              * html/HTMLDirectoryElement.idl:
              * html/HTMLDivElement.cpp:
              * html/HTMLDivElement.h:
              * html/HTMLDivElement.idl:
              * html/HTMLDocument.cpp:
              * html/HTMLDocument.h:
              * html/HTMLDocument.idl:
              * html/HTMLElement.cpp:
              * html/HTMLElement.h:
              * html/HTMLElement.idl:
              * html/HTMLElementFactory.cpp:
              * html/HTMLElementFactory.h:
              * html/HTMLEmbedElement.cpp:
              * html/HTMLEmbedElement.h:
              * html/HTMLEmbedElement.idl:
              * html/HTMLEntityNames.gperf:
              * html/HTMLFieldSetElement.cpp:
              * html/HTMLFieldSetElement.h:
              * html/HTMLFieldSetElement.idl:
              * html/HTMLFontElement.cpp:
              * html/HTMLFontElement.h:
              * html/HTMLFontElement.idl:
              * html/HTMLFormCollection.cpp:
              * html/HTMLFormCollection.h:
              * html/HTMLFormElement.cpp:
              * html/HTMLFormElement.h:
              * html/HTMLFormElement.idl:
              * html/HTMLFrameElement.cpp:
              * html/HTMLFrameElement.h:
              * html/HTMLFrameElement.idl:
              * html/HTMLFrameElementBase.cpp:
              * html/HTMLFrameElementBase.h:
              * html/HTMLFrameOwnerElement.cpp:
              * html/HTMLFrameOwnerElement.h:
              * html/HTMLFrameSetElement.cpp:
              * html/HTMLFrameSetElement.h:
              * html/HTMLFrameSetElement.idl:
              * html/HTMLGenericFormElement.cpp:
              * html/HTMLGenericFormElement.h:
              * html/HTMLHRElement.cpp:
              * html/HTMLHRElement.h:
              * html/HTMLHRElement.idl:
              * html/HTMLHeadElement.cpp:
              * html/HTMLHeadElement.h:
              * html/HTMLHeadElement.idl:
              * html/HTMLHeadingElement.cpp:
              * html/HTMLHeadingElement.h:
              * html/HTMLHeadingElement.idl:
              * html/HTMLHtmlElement.cpp:
              * html/HTMLHtmlElement.h:
              * html/HTMLHtmlElement.idl:
              * html/HTMLIFrameElement.cpp:
              * html/HTMLIFrameElement.h:
              * html/HTMLIFrameElement.idl:
              * html/HTMLImageElement.cpp:
              * html/HTMLImageElement.h:
              * html/HTMLImageElement.idl:
              * html/HTMLImageLoader.cpp:
              * html/HTMLImageLoader.h:
              * html/HTMLInputElement.cpp:
              * html/HTMLInputElement.h:
              * html/HTMLInputElement.idl:
              * html/HTMLIsIndexElement.cpp:
              * html/HTMLIsIndexElement.h:
              * html/HTMLIsIndexElement.idl:
              * html/HTMLKeygenElement.cpp:
              * html/HTMLKeygenElement.h:
              * html/HTMLLIElement.cpp:
              * html/HTMLLIElement.h:
              * html/HTMLLIElement.idl:
              * html/HTMLLabelElement.cpp:
              * html/HTMLLabelElement.h:
              * html/HTMLLabelElement.idl:
              * html/HTMLLegendElement.cpp:
              * html/HTMLLegendElement.h:
              * html/HTMLLegendElement.idl:
              * html/HTMLLinkElement.cpp:
              * html/HTMLLinkElement.h:
              * html/HTMLLinkElement.idl:
              * html/HTMLMapElement.cpp:
              * html/HTMLMapElement.h:
              * html/HTMLMapElement.idl:
              * html/HTMLMarqueeElement.cpp:
              * html/HTMLMarqueeElement.h:
              * html/HTMLMarqueeElement.idl:
              * html/HTMLMenuElement.cpp:
              * html/HTMLMenuElement.h:
              * html/HTMLMenuElement.idl:
              * html/HTMLMetaElement.cpp:
              * html/HTMLMetaElement.h:
              * html/HTMLMetaElement.idl:
              * html/HTMLModElement.cpp:
              * html/HTMLModElement.h:
              * html/HTMLModElement.idl:
              * html/HTMLNameCollection.cpp:
              * html/HTMLNameCollection.h:
              * html/HTMLOListElement.cpp:
              * html/HTMLOListElement.h:
              * html/HTMLOListElement.idl:
              * html/HTMLObjectElement.cpp:
              * html/HTMLObjectElement.h:
              * html/HTMLObjectElement.idl:
              * html/HTMLOptGroupElement.cpp:
              * html/HTMLOptGroupElement.h:
              * html/HTMLOptGroupElement.idl:
              * html/HTMLOptionElement.cpp:
              * html/HTMLOptionElement.h:
              * html/HTMLOptionElement.idl:
              * html/HTMLOptionsCollection.cpp:
              * html/HTMLOptionsCollection.h:
              * html/HTMLOptionsCollection.idl:
              * html/HTMLParagraphElement.cpp:
              * html/HTMLParagraphElement.h:
              * html/HTMLParagraphElement.idl:
              * html/HTMLParamElement.cpp:
              * html/HTMLParamElement.h:
              * html/HTMLParamElement.idl:
              * html/HTMLParser.cpp:
              * html/HTMLParser.h:
              * html/HTMLPlugInElement.cpp:
              * html/HTMLPlugInElement.h:
              * html/HTMLPreElement.cpp:
              * html/HTMLPreElement.h:
              * html/HTMLPreElement.idl:
              * html/HTMLQuoteElement.cpp:
              * html/HTMLQuoteElement.h:
              * html/HTMLQuoteElement.idl:
              * html/HTMLScriptElement.cpp:
              * html/HTMLScriptElement.h:
              * html/HTMLScriptElement.idl:
              * html/HTMLSelectElement.cpp:
              * html/HTMLSelectElement.h:
              * html/HTMLSelectElement.idl:
              * html/HTMLStyleElement.cpp:
              * html/HTMLStyleElement.h:
              * html/HTMLStyleElement.idl:
              * html/HTMLTableCaptionElement.cpp:
              * html/HTMLTableCaptionElement.h:
              * html/HTMLTableCaptionElement.idl:
              * html/HTMLTableCellElement.cpp:
              * html/HTMLTableCellElement.h:
              * html/HTMLTableCellElement.idl:
              * html/HTMLTableColElement.cpp:
              * html/HTMLTableColElement.h:
              * html/HTMLTableColElement.idl:
              * html/HTMLTableElement.cpp:
              * html/HTMLTableElement.h:
              * html/HTMLTableElement.idl:
              * html/HTMLTablePartElement.cpp:
              * html/HTMLTablePartElement.h:
              * html/HTMLTableRowElement.cpp:
              * html/HTMLTableRowElement.h:
              * html/HTMLTableRowElement.idl:
              * html/HTMLTableSectionElement.cpp:
              * html/HTMLTableSectionElement.h:
              * html/HTMLTableSectionElement.idl:
              * html/HTMLTextAreaElement.cpp:
              * html/HTMLTextAreaElement.h:
              * html/HTMLTextAreaElement.idl:
              * html/HTMLTitleElement.cpp:
              * html/HTMLTitleElement.h:
              * html/HTMLTitleElement.idl:
              * html/HTMLTokenizer.cpp:
              * html/HTMLTokenizer.h:
              * html/HTMLUListElement.cpp:
              * html/HTMLUListElement.h:
              * html/HTMLUListElement.idl:
              * ksvg2/css/SVGCSSParser.cpp:
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              * ksvg2/css/SVGRenderStyle.cpp:
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/css/SVGRenderStyleDefs.cpp:
              * ksvg2/css/SVGRenderStyleDefs.h:
              * ksvg2/events/JSSVGLazyEventListener.cpp:
              * ksvg2/events/JSSVGLazyEventListener.h:
              * ksvg2/events/SVGZoomEvent.cpp:
              * ksvg2/events/SVGZoomEvent.h:
              * ksvg2/misc/KCanvasRenderingStyle.cpp:
              * ksvg2/misc/KCanvasRenderingStyle.h:
              * ksvg2/misc/PointerEventsHitRules.cpp:
              * ksvg2/misc/PointerEventsHitRules.h:
              * ksvg2/misc/SVGDocumentExtensions.cpp:
              * ksvg2/misc/SVGDocumentExtensions.h:
              * ksvg2/misc/SVGImageLoader.cpp:
              * ksvg2/misc/SVGImageLoader.h:
              * ksvg2/misc/SVGTimer.cpp:
              * ksvg2/misc/SVGTimer.h:
              * ksvg2/misc/TimeScheduler.cpp:
              * ksvg2/misc/TimeScheduler.h:
              * ksvg2/scripts/cssmakeprops:
              * ksvg2/scripts/cssmakevalues:
              * ksvg2/svg/ColorDistance.cpp:
              * ksvg2/svg/ColorDistance.h:
              * ksvg2/svg/GradientAttributes.h:
              * ksvg2/svg/LinearGradientAttributes.h:
              * ksvg2/svg/PatternAttributes.h:
              * ksvg2/svg/RadialGradientAttributes.h:
              * ksvg2/svg/SVGAElement.cpp:
              * ksvg2/svg/SVGAElement.h:
              * ksvg2/svg/SVGAngle.cpp:
              * ksvg2/svg/SVGAngle.h:
              * ksvg2/svg/SVGAngle.idl:
              * ksvg2/svg/SVGAnimateColorElement.cpp:
              * ksvg2/svg/SVGAnimateColorElement.h:
              * ksvg2/svg/SVGAnimateElement.cpp:
              * ksvg2/svg/SVGAnimateElement.h:
              * ksvg2/svg/SVGAnimateMotionElement.cpp:
              * ksvg2/svg/SVGAnimateMotionElement.h:
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              * ksvg2/svg/SVGAnimateTransformElement.h:
              * ksvg2/svg/SVGAnimatedPathData.cpp:
              * ksvg2/svg/SVGAnimatedPathData.h:
              * ksvg2/svg/SVGAnimatedPoints.cpp:
              * ksvg2/svg/SVGAnimatedPoints.h:
              * ksvg2/svg/SVGAnimatedTemplate.h:
              * ksvg2/svg/SVGAnimationElement.cpp:
              * ksvg2/svg/SVGAnimationElement.h:
              * ksvg2/svg/SVGCircleElement.cpp:
              * ksvg2/svg/SVGCircleElement.h:
              * ksvg2/svg/SVGClipPathElement.cpp:
              * ksvg2/svg/SVGClipPathElement.h:
              * ksvg2/svg/SVGColor.cpp:
              * ksvg2/svg/SVGColor.h:
              * ksvg2/svg/SVGColor.idl:
              * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
              * ksvg2/svg/SVGComponentTransferFunctionElement.h:
              * ksvg2/svg/SVGCursorElement.cpp:
              * ksvg2/svg/SVGCursorElement.h:
              * ksvg2/svg/SVGDefsElement.cpp:
              * ksvg2/svg/SVGDefsElement.h:
              * ksvg2/svg/SVGDescElement.cpp:
              * ksvg2/svg/SVGDescElement.h:
              * ksvg2/svg/SVGDocument.cpp:
              * ksvg2/svg/SVGDocument.h:
              * ksvg2/svg/SVGDocument.idl:
              * ksvg2/svg/SVGElement.cpp:
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGElement.idl:
              * ksvg2/svg/SVGElementInstance.cpp:
              * ksvg2/svg/SVGElementInstance.h:
              * ksvg2/svg/SVGElementInstanceList.cpp:
              * ksvg2/svg/SVGElementInstanceList.h:
              * ksvg2/svg/SVGEllipseElement.cpp:
              * ksvg2/svg/SVGEllipseElement.h:
              * ksvg2/svg/SVGException.h:
              * ksvg2/svg/SVGExternalResourcesRequired.cpp:
              * ksvg2/svg/SVGExternalResourcesRequired.h:
              * ksvg2/svg/SVGFEBlendElement.cpp:
              * ksvg2/svg/SVGFEBlendElement.h:
              * ksvg2/svg/SVGFEColorMatrixElement.cpp:
              * ksvg2/svg/SVGFEColorMatrixElement.h:
              * ksvg2/svg/SVGFEComponentTransferElement.cpp:
              * ksvg2/svg/SVGFEComponentTransferElement.h:
              * ksvg2/svg/SVGFECompositeElement.cpp:
              * ksvg2/svg/SVGFECompositeElement.h:
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              * ksvg2/svg/SVGFEDiffuseLightingElement.h:
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              * ksvg2/svg/SVGFEDisplacementMapElement.h:
              * ksvg2/svg/SVGFEDistantLightElement.cpp:
              * ksvg2/svg/SVGFEDistantLightElement.h:
              * ksvg2/svg/SVGFEFloodElement.cpp:
              * ksvg2/svg/SVGFEFloodElement.h:
              * ksvg2/svg/SVGFEFuncAElement.cpp:
              * ksvg2/svg/SVGFEFuncAElement.h:
              * ksvg2/svg/SVGFEFuncBElement.cpp:
              * ksvg2/svg/SVGFEFuncBElement.h:
              * ksvg2/svg/SVGFEFuncGElement.cpp:
              * ksvg2/svg/SVGFEFuncGElement.h:
              * ksvg2/svg/SVGFEFuncRElement.cpp:
              * ksvg2/svg/SVGFEFuncRElement.h:
              * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
              * ksvg2/svg/SVGFEGaussianBlurElement.h:
              * ksvg2/svg/SVGFEImageElement.cpp:
              * ksvg2/svg/SVGFEImageElement.h:
              * ksvg2/svg/SVGFELightElement.cpp:
              * ksvg2/svg/SVGFELightElement.h:
              * ksvg2/svg/SVGFEMergeElement.cpp:
              * ksvg2/svg/SVGFEMergeElement.h:
              * ksvg2/svg/SVGFEMergeNodeElement.cpp:
              * ksvg2/svg/SVGFEMergeNodeElement.h:
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              * ksvg2/svg/SVGFEOffsetElement.h:
              * ksvg2/svg/SVGFEPointLightElement.cpp:
              * ksvg2/svg/SVGFEPointLightElement.h:
              * ksvg2/svg/SVGFESpecularLightingElement.cpp:
              * ksvg2/svg/SVGFESpecularLightingElement.h:
              * ksvg2/svg/SVGFESpotLightElement.cpp:
              * ksvg2/svg/SVGFESpotLightElement.h:
              * ksvg2/svg/SVGFETileElement.cpp:
              * ksvg2/svg/SVGFETileElement.h:
              * ksvg2/svg/SVGFETurbulenceElement.cpp:
              * ksvg2/svg/SVGFETurbulenceElement.h:
              * ksvg2/svg/SVGFilterElement.cpp:
              * ksvg2/svg/SVGFilterElement.h:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.cpp:
              * ksvg2/svg/SVGFilterPrimitiveStandardAttributes.h:
              * ksvg2/svg/SVGFitToViewBox.cpp:
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGForeignObjectElement.cpp:
              * ksvg2/svg/SVGForeignObjectElement.h:
              * ksvg2/svg/SVGGElement.cpp:
              * ksvg2/svg/SVGGElement.h:
              * ksvg2/svg/SVGGradientElement.cpp:
              * ksvg2/svg/SVGGradientElement.h:
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGImageElement.h:
              * ksvg2/svg/SVGLangSpace.cpp:
              * ksvg2/svg/SVGLangSpace.h:
              * ksvg2/svg/SVGLength.cpp:
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLength.idl:
              * ksvg2/svg/SVGLengthList.cpp:
              * ksvg2/svg/SVGLengthList.h:
              * ksvg2/svg/SVGLineElement.cpp:
              * ksvg2/svg/SVGLineElement.h:
              * ksvg2/svg/SVGLinearGradientElement.cpp:
              * ksvg2/svg/SVGLinearGradientElement.h:
              * ksvg2/svg/SVGList.h:
              * ksvg2/svg/SVGListTraits.h:
              * ksvg2/svg/SVGLocatable.cpp:
              * ksvg2/svg/SVGLocatable.h:
              * ksvg2/svg/SVGMPathElement.cpp:
              * ksvg2/svg/SVGMPathElement.h:
              * ksvg2/svg/SVGMarkerElement.cpp:
              * ksvg2/svg/SVGMarkerElement.h:
              * ksvg2/svg/SVGMaskElement.cpp:
              * ksvg2/svg/SVGMaskElement.h:
              * ksvg2/svg/SVGMatrix.idl:
              * ksvg2/svg/SVGMetadataElement.cpp:
              * ksvg2/svg/SVGMetadataElement.h:
              * ksvg2/svg/SVGMetadataElement.idl:
              * ksvg2/svg/SVGNumber.idl:
              * ksvg2/svg/SVGNumberList.cpp:
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGPaint.cpp:
              * ksvg2/svg/SVGPaint.h:
              * ksvg2/svg/SVGParserUtilities.cpp:
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.cpp:
              * ksvg2/svg/SVGPathElement.h:
              * ksvg2/svg/SVGPathSeg.h:
              * ksvg2/svg/SVGPathSegArc.cpp:
              * ksvg2/svg/SVGPathSegArc.h:
              * ksvg2/svg/SVGPathSegClosePath.cpp:
              * ksvg2/svg/SVGPathSegClosePath.h:
              * ksvg2/svg/SVGPathSegCurvetoCubic.cpp:
              * ksvg2/svg/SVGPathSegCurvetoCubic.h:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp:
              * ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp:
              * ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp:
              * ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
              * ksvg2/svg/SVGPathSegLineto.cpp:
              * ksvg2/svg/SVGPathSegLineto.h:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.cpp:
              * ksvg2/svg/SVGPathSegLinetoHorizontal.h:
              * ksvg2/svg/SVGPathSegLinetoVertical.cpp:
              * ksvg2/svg/SVGPathSegLinetoVertical.h:
              * ksvg2/svg/SVGPathSegList.cpp:
              * ksvg2/svg/SVGPathSegList.h:
              * ksvg2/svg/SVGPathSegMoveto.cpp:
              * ksvg2/svg/SVGPathSegMoveto.h:
              * ksvg2/svg/SVGPatternElement.cpp:
              * ksvg2/svg/SVGPatternElement.h:
              * ksvg2/svg/SVGPoint.idl:
              * ksvg2/svg/SVGPointList.cpp:
              * ksvg2/svg/SVGPointList.h:
              * ksvg2/svg/SVGPolyElement.cpp:
              * ksvg2/svg/SVGPolyElement.h:
              * ksvg2/svg/SVGPolygonElement.cpp:
              * ksvg2/svg/SVGPolygonElement.h:
              * ksvg2/svg/SVGPolylineElement.cpp:
              * ksvg2/svg/SVGPolylineElement.h:
              * ksvg2/svg/SVGPreserveAspectRatio.cpp:
              * ksvg2/svg/SVGPreserveAspectRatio.h:
              * ksvg2/svg/SVGRadialGradientElement.cpp:
              * ksvg2/svg/SVGRadialGradientElement.h:
              * ksvg2/svg/SVGRect.idl:
              * ksvg2/svg/SVGRectElement.cpp:
              * ksvg2/svg/SVGRectElement.h:
              * ksvg2/svg/SVGRenderingIntent.h:
              * ksvg2/svg/SVGSVGElement.cpp:
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGSVGElement.idl:
              * ksvg2/svg/SVGScriptElement.cpp:
              * ksvg2/svg/SVGScriptElement.h:
              * ksvg2/svg/SVGSetElement.cpp:
              * ksvg2/svg/SVGSetElement.h:
              * ksvg2/svg/SVGStopElement.cpp:
              * ksvg2/svg/SVGStopElement.h:
              * ksvg2/svg/SVGStringList.cpp:
              * ksvg2/svg/SVGStringList.h:
              * ksvg2/svg/SVGStylable.cpp:
              * ksvg2/svg/SVGStylable.h:
              * ksvg2/svg/SVGStyleElement.cpp:
              * ksvg2/svg/SVGStyleElement.h:
              * ksvg2/svg/SVGStyledElement.cpp:
              * ksvg2/svg/SVGStyledElement.h:
              * ksvg2/svg/SVGStyledLocatableElement.cpp:
              * ksvg2/svg/SVGStyledLocatableElement.h:
              * ksvg2/svg/SVGStyledTransformableElement.cpp:
              * ksvg2/svg/SVGStyledTransformableElement.h:
              * ksvg2/svg/SVGSwitchElement.cpp:
              * ksvg2/svg/SVGSwitchElement.h:
              * ksvg2/svg/SVGSymbolElement.cpp:
              * ksvg2/svg/SVGSymbolElement.h:
              * ksvg2/svg/SVGTRefElement.cpp:
              * ksvg2/svg/SVGTRefElement.h:
              * ksvg2/svg/SVGTSpanElement.cpp:
              * ksvg2/svg/SVGTSpanElement.h:
              * ksvg2/svg/SVGTests.cpp:
              * ksvg2/svg/SVGTests.h:
              * ksvg2/svg/SVGTextContentElement.cpp:
              * ksvg2/svg/SVGTextContentElement.h:
              * ksvg2/svg/SVGTextElement.cpp:
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPositioningElement.cpp:
              * ksvg2/svg/SVGTextPositioningElement.h:
              * ksvg2/svg/SVGTitleElement.cpp:
              * ksvg2/svg/SVGTitleElement.h:
              * ksvg2/svg/SVGTransform.cpp:
              * ksvg2/svg/SVGTransform.h:
              * ksvg2/svg/SVGTransform.idl:
              * ksvg2/svg/SVGTransformDistance.cpp:
              * ksvg2/svg/SVGTransformDistance.h:
              * ksvg2/svg/SVGTransformList.cpp:
              * ksvg2/svg/SVGTransformList.h:
              * ksvg2/svg/SVGTransformable.cpp:
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGURIReference.cpp:
              * ksvg2/svg/SVGURIReference.h:
              * ksvg2/svg/SVGUnitTypes.h:
              * ksvg2/svg/SVGUseElement.cpp:
              * ksvg2/svg/SVGUseElement.h:
              * ksvg2/svg/SVGViewElement.cpp:
              * ksvg2/svg/SVGViewElement.h:
              * ksvg2/svg/SVGZoomAndPan.cpp:
              * ksvg2/svg/SVGZoomAndPan.h:
              * loader/Cache.cpp:
              * loader/Cache.h:
              * loader/CachedCSSStyleSheet.cpp:
              * loader/CachedCSSStyleSheet.h:
              * loader/CachedImage.cpp:
              * loader/CachedImage.h:
              * loader/CachedResource.cpp:
              * loader/CachedResource.h:
              * loader/CachedResourceClient.h:
              * loader/CachedResourceClientWalker.cpp:
              * loader/CachedResourceClientWalker.h:
              * loader/CachedScript.cpp:
              * loader/CachedScript.h:
              * loader/CachedXBLDocument.cpp:
              * loader/CachedXBLDocument.h:
              * loader/CachedXSLStyleSheet.cpp:
              * loader/CachedXSLStyleSheet.h:
              * loader/DocLoader.cpp:
              * loader/DocLoader.h:
              * loader/FTPDirectoryParser.cpp:
              * loader/FTPDirectoryParser.h:
              * loader/Request.cpp:
              * loader/Request.h:
              * loader/TextResourceDecoder.cpp:
              * loader/TextResourceDecoder.h:
              * loader/loader.cpp:
              * loader/loader.h:
              * page/Chrome.cpp:
              * page/Chrome.h:
              * page/ChromeClient.h:
              * page/Frame.cpp:
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameTree.cpp:
              * page/FrameTree.h:
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/MouseEventWithHitTestResults.cpp:
              * page/MouseEventWithHitTestResults.h:
              * page/Page.cpp:
              * page/Page.h:
              * page/Plugin.h:
              * page/mac/ChromeMac.mm:
              * platform/Arena.cpp:
              * platform/Arena.h:
              * platform/AtomicString.cpp:
              * platform/AtomicString.h:
              * platform/AtomicStringImpl.h:
              * platform/BidiContext.cpp:
              * platform/BidiContext.h:
              * platform/BidiResolver.h:
              * platform/Font.cpp:
              * platform/Font.h:
              * platform/FontData.h:
              * platform/FontDescription.h:
              * platform/FontFallbackList.h:
              * platform/PlatformString.h:
              * platform/PopupMenu.h:
              * platform/PopupMenuClient.h:
              * platform/SearchPopupMenu.h:
              * platform/SegmentedString.cpp:
              * platform/SegmentedString.h:
              * platform/Shared.h:
              * platform/StaticConstructors.h:
              * platform/String.cpp:
              * platform/StringHash.h:
              * platform/StringImpl.cpp:
              * platform/StringImpl.h:
              * platform/TextBreakIterator.h:
              * platform/TextBreakIteratorICU.cpp:
              * platform/TextBreakIteratorInternalICU.h:
              * platform/TextStyle.h:
              * platform/UnicodeRange.cpp:
              * platform/UnicodeRange.h:
              * platform/cf/StringCF.cpp:
              * platform/cf/StringImplCF.cpp:
              * platform/graphics/FloatPoint3D.cpp:
              * platform/graphics/FloatPoint3D.h:
              * platform/graphics/Icon.h:
              * platform/graphics/IntSizeHash.h:
              * platform/graphics/PathTraversalState.cpp:
              * platform/graphics/cairo/CairoPath.h:
              * platform/graphics/cairo/PathCairo.cpp:
              * platform/graphics/mac/IconMac.mm:
              * platform/graphics/qt/IconQt.cpp:
              * platform/graphics/svg/SVGResourceFilter.cpp:
              * platform/graphics/svg/SVGResourceFilter.h:
              * platform/graphics/svg/cg/SVGPaintServerCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
              * platform/graphics/svg/cg/SVGPaintServerSolidCg.cpp:
              * platform/graphics/svg/filters/SVGDistantLightSource.h:
              * platform/graphics/svg/filters/SVGFEBlend.cpp:
              * platform/graphics/svg/filters/SVGFEBlend.h:
              * platform/graphics/svg/filters/SVGFEColorMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEColorMatrix.h:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.cpp:
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              * platform/graphics/svg/filters/SVGFEComposite.cpp:
              * platform/graphics/svg/filters/SVGFEComposite.h:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp:
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.h:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp:
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.h:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.cpp:
              * platform/graphics/svg/filters/SVGFEDisplacementMap.h:
              * platform/graphics/svg/filters/SVGFEFlood.cpp:
              * platform/graphics/svg/filters/SVGFEFlood.h:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp:
              * platform/graphics/svg/filters/SVGFEGaussianBlur.h:
              * platform/graphics/svg/filters/SVGFEImage.cpp:
              * platform/graphics/svg/filters/SVGFEImage.h:
              * platform/graphics/svg/filters/SVGFEMerge.cpp:
              * platform/graphics/svg/filters/SVGFEMerge.h:
              * platform/graphics/svg/filters/SVGFEMorphology.cpp:
              * platform/graphics/svg/filters/SVGFEMorphology.h:
              * platform/graphics/svg/filters/SVGFEOffset.cpp:
              * platform/graphics/svg/filters/SVGFEOffset.h:
              * platform/graphics/svg/filters/SVGFESpecularLighting.cpp:
              * platform/graphics/svg/filters/SVGFESpecularLighting.h:
              * platform/graphics/svg/filters/SVGFETile.h:
              * platform/graphics/svg/filters/SVGFETurbulence.cpp:
              * platform/graphics/svg/filters/SVGFETurbulence.h:
              * platform/graphics/svg/filters/SVGFilterEffect.cpp:
              * platform/graphics/svg/filters/SVGFilterEffect.h:
              * platform/graphics/svg/filters/SVGLightSource.cpp:
              * platform/graphics/svg/filters/SVGLightSource.h:
              * platform/graphics/svg/filters/SVGPointLightSource.h:
              * platform/graphics/svg/filters/SVGSpotLightSource.h:
              * platform/graphics/svg/filters/cg/SVGFEBlendCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEComponentTransferCg.mm:
              * platform/graphics/svg/filters/cg/SVGFECompositeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDiffuseLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEDisplacementMapCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEFloodCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEGaussianBlurCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.h:
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEImageCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEMergeCg.mm:
              * platform/graphics/svg/filters/cg/SVGFEOffsetCg.mm:
              * platform/graphics/svg/filters/cg/SVGFESpecularLightingCg.mm:
              * platform/graphics/svg/filters/cg/SVGFETileCg.mm:
              * platform/graphics/svg/filters/cg/SVGFilterEffectCg.mm:
              * platform/graphics/svg/qt/RenderPathQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerLinearGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerPatternQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerRadialGradientQt.cpp:
              * platform/graphics/svg/qt/SVGPaintServerSolidQt.cpp:
              * platform/graphics/svg/qt/SVGResourceClipperQt.cpp:
              * platform/graphics/svg/qt/SVGResourceFilterQt.cpp:
              * platform/graphics/svg/qt/SVGResourceMaskerQt.cpp:
              * platform/graphics/win/IconWin.cpp:
              * platform/gtk/FontPlatformData.h:
              * platform/gtk/FontPlatformDataGtk.cpp:
              * platform/gtk/PopupMenuGtk.cpp:
              * platform/gtk/RenderThemeGtk.cpp:
              * platform/gtk/RenderThemeGtk.h:
              * platform/image-decoders/jpeg/JPEGImageDecoder.cpp:
              * platform/image-decoders/png/PNGImageDecoder.cpp:
              * platform/mac/FontMac.mm:
              * platform/mac/FontPlatformData.h:
              * platform/mac/LocalCurrentGraphicsContext.h:
              * platform/mac/LocalCurrentGraphicsContext.mm:
              * platform/mac/PopupMenuMac.mm:
              * platform/mac/SearchPopupMenuMac.mm:
              * platform/mac/StringImplMac.mm:
              * platform/mac/StringMac.mm:
              * platform/mac/TextBreakIteratorInternalICUMac.mm:
              * platform/network/FormData.cpp:
              * platform/network/FormData.h:
              * platform/qt/FileChooserQt.cpp:
              * platform/qt/FontQt.cpp:
              * platform/qt/MenuEventProxy.h:
              * platform/qt/PlugInInfoStoreQt.cpp:
              * platform/qt/PopupMenuQt.cpp:
              * platform/qt/QWebPopup.cpp:
              * platform/qt/QWebPopup.h:
              * platform/qt/RenderThemeQt.cpp:
              * platform/qt/RenderThemeQt.h:
              * platform/qt/SearchPopupMenuQt.cpp:
              * platform/qt/TextBreakIteratorQt.cpp:
              * platform/qt/WheelEventQt.cpp:
              * platform/win/FontPlatformData.h:
              * platform/win/FontPlatformDataWin.cpp:
              * platform/win/PopupMenuWin.cpp:
              * platform/win/SearchPopupMenuWin.cpp:
              * platform/win/TextBreakIteratorInternalICUWin.cpp:
              * rendering/AutoTableLayout.cpp:
              * rendering/AutoTableLayout.h:
              * rendering/CounterNode.cpp:
              * rendering/CounterNode.h:
              * rendering/DataRef.h:
              * rendering/EllipsisBox.cpp:
              * rendering/EllipsisBox.h:
              * rendering/FixedTableLayout.cpp:
              * rendering/FixedTableLayout.h:
              * rendering/GapRects.h:
              * rendering/HitTestRequest.h:
              * rendering/HitTestResult.cpp:
              * rendering/HitTestResult.h:
              * rendering/InlineBox.cpp:
              * rendering/InlineBox.h:
              * rendering/InlineFlowBox.cpp:
              * rendering/InlineFlowBox.h:
              * rendering/InlineRunBox.h:
              * rendering/InlineTextBox.cpp:
              * rendering/InlineTextBox.h:
              * rendering/Length.h:
              * rendering/ListMarkerBox.cpp:
              * rendering/ListMarkerBox.h:
              * rendering/RenderApplet.cpp:
              * rendering/RenderApplet.h:
              * rendering/RenderArena.cpp:
              * rendering/RenderArena.h:
              * rendering/RenderBR.cpp:
              * rendering/RenderBR.h:
              * rendering/RenderBlock.cpp:
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              * rendering/RenderBox.h:
              * rendering/RenderButton.cpp:
              * rendering/RenderButton.h:
              * rendering/RenderContainer.cpp:
              * rendering/RenderContainer.h:
              * rendering/RenderCounter.cpp:
              * rendering/RenderCounter.h:
              * rendering/RenderFieldset.cpp:
              * rendering/RenderFieldset.h:
              * rendering/RenderFileUploadControl.cpp:
              * rendering/RenderFileUploadControl.h:
              * rendering/RenderFlexibleBox.cpp:
              * rendering/RenderFlexibleBox.h:
              * rendering/RenderFlow.cpp:
              * rendering/RenderFlow.h:
              * rendering/RenderForeignObject.cpp:
              * rendering/RenderForeignObject.h:
              * rendering/RenderFrame.cpp:
              * rendering/RenderFrame.h:
              * rendering/RenderFrameSet.cpp:
              * rendering/RenderFrameSet.h:
              * rendering/RenderImage.cpp:
              * rendering/RenderImage.h:
              * rendering/RenderInline.cpp:
              * rendering/RenderInline.h:
              * rendering/RenderLayer.cpp:
              * rendering/RenderLayer.h:
              * rendering/RenderLegend.cpp:
              * rendering/RenderLegend.h:
              * rendering/RenderListItem.cpp:
              * rendering/RenderListItem.h:
              * rendering/RenderListMarker.cpp:
              * rendering/RenderListMarker.h:
              * rendering/RenderMenuList.cpp:
              * rendering/RenderMenuList.h:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderPart.cpp:
              * rendering/RenderPart.h:
              * rendering/RenderPartObject.cpp:
              * rendering/RenderPartObject.h:
              * rendering/RenderPath.cpp:
              * rendering/RenderPath.h:
              * rendering/RenderReplaced.cpp:
              * rendering/RenderReplaced.h:
              * rendering/RenderSVGBlock.cpp:
              * rendering/RenderSVGBlock.h:
              * rendering/RenderSVGContainer.cpp:
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGGradientStop.cpp:
              * rendering/RenderSVGGradientStop.h:
              * rendering/RenderSVGHiddenContainer.cpp:
              * rendering/RenderSVGHiddenContainer.h:
              * rendering/RenderSVGImage.cpp:
              * rendering/RenderSVGImage.h:
              * rendering/RenderSVGInline.cpp:
              * rendering/RenderSVGInline.h:
              * rendering/RenderSVGInlineText.cpp:
              * rendering/RenderSVGInlineText.h:
              * rendering/RenderSVGTSpan.cpp:
              * rendering/RenderSVGTSpan.h:
              * rendering/RenderSVGText.cpp:
              * rendering/RenderSVGText.h:
              * rendering/RenderSlider.cpp:
              * rendering/RenderSlider.h:
              * rendering/RenderStyle.cpp:
              * rendering/RenderStyle.h:
              * rendering/RenderTable.cpp:
              * rendering/RenderTable.h:
              * rendering/RenderTableCell.cpp:
              * rendering/RenderTableCell.h:
              * rendering/RenderTableCol.cpp:
              * rendering/RenderTableCol.h:
              * rendering/RenderTableRow.cpp:
              * rendering/RenderTableRow.h:
              * rendering/RenderTableSection.cpp:
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              * rendering/RenderText.h:
              * rendering/RenderTextControl.cpp:
              * rendering/RenderTextControl.h:
              * rendering/RenderTextFragment.cpp:
              * rendering/RenderTextFragment.h:
              * rendering/RenderTheme.cpp:
              * rendering/RenderTheme.h:
              * rendering/RenderThemeMac.h:
              * rendering/RenderThemeMac.mm:
              * rendering/RenderThemeSafari.cpp:
              * rendering/RenderThemeSafari.h:
              * rendering/RenderThemeWin.cpp:
              * rendering/RenderThemeWin.h:
              * rendering/RenderView.cpp:
              * rendering/RenderView.h:
              * rendering/RenderWidget.cpp:
              * rendering/RenderWidget.h:
              * rendering/RootInlineBox.cpp:
              * rendering/RootInlineBox.h:
              * rendering/SVGInlineFlowBox.cpp:
              * rendering/SVGInlineFlowBox.h:
              * rendering/SVGInlineTextBox.cpp:
              * rendering/SVGInlineTextBox.h:
              * rendering/SVGRootInlineBox.cpp:
              * rendering/SVGRootInlineBox.h:
              * rendering/TableLayout.h:
              * rendering/bidi.cpp:
              * rendering/bidi.h:
              * rendering/break_lines.cpp:
              * rendering/break_lines.h:
              * xml/DOMParser.cpp:
              * xml/DOMParser.h:
              * xml/DOMParser.idl:
              * xml/XMLHttpRequest.cpp:
              * xml/XMLHttpRequest.h:
              * xml/XMLSerializer.cpp:
              * xml/XMLSerializer.h:
              * xml/XMLSerializer.idl:
              * xml/XPathEvaluator.idl:
              * xml/XPathExpression.idl:
              * xml/XPathNSResolver.idl:
              * xml/XPathResult.idl:
              * xml/XSLImportRule.cpp:
              * xml/XSLImportRule.h:
              * xml/XSLStyleSheet.cpp:
              * xml/XSLStyleSheet.h:
              * xml/XSLTProcessor.cpp:
              * xml/XSLTProcessor.h:
      
      WebKitQt:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * Api/qcookiejar.cpp:
              * Api/qcookiejar.h:
              * Api/qwebframe.cpp:
              * Api/qwebframe.h:
              * Api/qwebframe_p.h:
              * Api/qwebhistoryinterface.cpp:
              * Api/qwebhistoryinterface.h:
              * Api/qwebkitglobal.h:
              * Api/qwebnetworkinterface.cpp:
              * Api/qwebnetworkinterface.h:
              * Api/qwebnetworkinterface_p.h:
              * Api/qwebobjectplugin.cpp:
              * Api/qwebobjectplugin.h:
              * Api/qwebobjectpluginconnector.cpp:
              * Api/qwebobjectpluginconnector.h:
              * Api/qwebpage.cpp:
              * Api/qwebpage.h:
              * Api/qwebpage_p.h:
              * Api/qwebpagehistory.cpp:
              * Api/qwebpagehistory.h:
              * Api/qwebsettings.cpp:
              * Api/qwebsettings.h:
              * WebCoreSupport/EditCommandQt.cpp:
              * WebCoreSupport/EditCommandQt.h:
      
      WebKitSite:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * blog/wp-content/plugins/wp-cache/wp-cache.php:
              * blog/wp-includes/class-snoopy.php:
              * blog/wp-includes/gettext.php:
              * blog/wp-includes/js/tinymce/license.html:
              * blog/wp-includes/streams.php:
      
      WebKitTools:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * Drosera/config.h:
      
      LayoutTests:
      
              Reviewed by Adam.
      
              - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
                LGPL'ed files contain incorrect FSF address
      
              * svg/carto.net/resources/button.js:
              * svg/carto.net/resources/colourPicker.js:
              * svg/carto.net/resources/comboBox.js:
              * svg/carto.net/resources/helper_functions.js:
              * svg/carto.net/resources/mapApp.js:
              * svg/carto.net/resources/scrollbar.js:
              * svg/carto.net/resources/selectionList.js:
              * svg/carto.net/resources/slider.js:
              * svg/carto.net/resources/tabgroup.js:
              * svg/carto.net/resources/textbox.js:
              * svg/carto.net/resources/window.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25754 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8eccecd
    • darin's avatar
      Reviewed by Harrison. · 0ac92654
      darin authored
              - fix <rdar://problem/5503225> CrashTracer: [USER] 2 crashes in Dashcode
                at com.apple.WebCore: WebCore::Frame::document const + 0
      
              * page/FrameView.cpp: (WebCore::FrameView::updateControlTints):
              Added null check.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0ac92654
    • bdakin's avatar
      Reviewed by Darin. · 369caa84
      bdakin authored
              Fixes http://bugs.webkit.org/show_bug.cgi?id=15282 r25726 caused 
              plugins/mouse-events.html to fail
      
              * page/FrameView.cpp:
              (WebCore::FrameView::layout): We need to call 
              updateWidgetPosition() after updating each widget.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      369caa84
    • bdakin's avatar
      Reviewed by Darin. · b0bd7321
      bdakin authored
              Fix for <rdar://problem/5466459> CrashTracer: [USER] 1 crash in 
              NetNewsWire at com.apple.WebCore: WebCore::bidiNext + 485 (15241)
      
              Mitz discovered that this crash appeared because r25128 made it 
              possible for RenderPartObject::updateWidget() to be called during 
              layout. updateWidget() can, through a series of calls, cause an 
              attach/detach to happen, which is very bad in the middle of a 
              layout and is what led to this crash. This patch fixes that by 
              having the FrameView keep track of a queue of RenderPartObjects 
              that need to call updateWidget(), and it goes through the queue 
              calling updateWidget() as soon as layout is done.
      
              * page/FrameView.cpp: We only want to call updateWidget() if we are 
              not in a nested layout. Unfortunately, the existing variables on 
              FrameViewPrivate do not have exactly the information that we need, 
              so I added nestedLayoutCount.
              (WebCore::FrameViewPrivate::reset): Reset nestedLayoutCount.
              (WebCore::FrameView::layout): Increment nestedLayoutCount once we 
              have gotten through all of the early returns. Call updateWidget() 
              after layout is nestedLayoutCount is 1 and there are widgets to 
              update. Decrement nestedLayoutCount at the end.
              (WebCore::FrameView::addWidgetToUpdate):
              (WebCore::FrameView::removeWidgetToUpdate):
              * page/FrameView.h:
              * rendering/RenderPartObject.cpp:
              (WebCore::RenderPartObject::~RenderPartObject): Remove this from 
              the FrameView's update set.
              (WebCore::RenderPartObject::layout): Instead of calling 
              updateWidget() immediately, add this to the update widget set on 
              FrameView.
              * rendering/RenderPartObject.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0bd7321
  9. 23 Sep, 2007 1 commit
    • zecke's avatar
      /: · 2752405f
      zecke authored
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * WebKit.pri:
              * WebKit.pro:
      
      JavaScriptCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK 
      
              * JavaScriptCore.pri:
              * kjs/testkjs.pro:
              * pcre/dftables.pro:
              * wtf/Platform.h: PLATFORM(GDK) to PLATFORM(GTK)
      
      WebCore:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              Renamed files from *Gdk to *Gtk (see #14732) using the
              work of Juan A. Suarez Romero as a base.
      
              GDK -> GTK
      
              * Projects/gdk/webcore-gdk.bkl:
              * WebCore.pro:
              * WebCoreSources.bkl:
              * loader/gdk: Removed.
              * loader/gdk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk: Added.
              * loader/gtk/DocumentLoaderGdk.cpp: Removed.
              * loader/gtk/DocumentLoaderGtk.cpp: Added.
              * page/FrameView.cpp:
              * page/FrameView.h:
              * page/gdk: Removed.
              * page/gdk/DragControllerGdk.cpp: Removed.
              * page/gdk/EventHandlerGdk.cpp: Removed.
              * page/gdk/FrameGdk.cpp: Removed.
              * page/gtk: Added.
              * page/gtk/DragControllerGdk.cpp: Removed.
              * page/gtk/DragControllerGtk.cpp: Added.
              * page/gtk/EventHandlerGdk.cpp: Removed.
              * page/gtk/EventHandlerGtk.cpp: Added.
              (WebCore::EventHandler::createDraggingClipboard):
              * page/gtk/FrameGdk.cpp: Removed.
              * page/gtk/FrameGtk.cpp: Added.
              * platform/ContextMenuItem.h:
              * platform/Cursor.h:
              * platform/DragData.h:
              * platform/DragImage.h:
              * platform/FontData.h:
              * platform/NotImplemented.h:
              * platform/PlatformKeyboardEvent.h:
              * platform/PlatformMenuDescription.h:
              * platform/PlatformMouseEvent.h:
              * platform/PlatformWheelEvent.h:
              * platform/ScrollView.h:
              * platform/Widget.h:
              * platform/gdk: Removed.
              * platform/gdk/ClipboardGdk.cpp: Removed.
              * platform/gdk/ClipboardGdk.h: Removed.
              * platform/gdk/ContextMenuGdk.cpp: Removed.
              * platform/gdk/ContextMenuItemGdk.cpp: Removed.
              * platform/gdk/CookieJarGdk.cpp: Removed.
              * platform/gdk/CursorGdk.cpp: Removed.
              * platform/gdk/DragDataGdk.cpp: Removed.
              * platform/gdk/DragImageGdk.cpp: Removed.
              * platform/gdk/FileChooserGdk.cpp: Removed.
              * platform/gdk/FileSystemGdk.cpp: Removed.
              * platform/gdk/FontCacheGdk.cpp: Removed.
              * platform/gdk/FontDataGdk.cpp: Removed.
              * platform/gdk/FontGdk.cpp: Removed.
              * platform/gdk/FontPlatformData.h: Removed.
              * platform/gdk/FontPlatformDataGdk.cpp: Removed.
              * platform/gdk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gdk/KeyEventGdk.cpp: Removed.
              * platform/gdk/KeyboardCodes.h: Removed.
              * platform/gdk/LocalizedStringsGdk.cpp: Removed.
              * platform/gdk/LoggingGdk.cpp: Removed.
              * platform/gdk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gdk/MouseEventGdk.cpp: Removed.
              * platform/gdk/PasteboardGdk.cpp: Removed.
              * platform/gdk/PlatformScreenGdk.cpp: Removed.
              * platform/gdk/PlatformScrollBar.h: Removed.
              * platform/gdk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gdk/PopupMenuGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.cpp: Removed.
              * platform/gdk/RenderThemeGdk.h: Removed.
              * platform/gdk/ScrollViewGdk.cpp: Removed.
              * platform/gdk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gdk/SharedTimerLinux.cpp: Removed.
              * platform/gdk/SoundGdk.cpp: Removed.
              * platform/gdk/SystemTimeLinux.cpp: Removed.
              * platform/gdk/TemporaryLinkStubs.cpp: Removed.
              * platform/gdk/WheelEventGdk.cpp: Removed.
              * platform/gdk/WidgetGdk.cpp: Removed.
              * platform/graphics/GraphicsContext.h:
              * platform/graphics/cairo/GraphicsContextCairo.cpp:
              (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
              (WebCore::GraphicsContext::setPlatformFont):
              * platform/graphics/gdk: Removed.
              * platform/graphics/gdk/IconGdk.cpp: Removed.
              * platform/graphics/gdk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk: Added.
              * platform/graphics/gtk/IconGdk.cpp: Removed.
              * platform/graphics/gtk/IconGtk.cpp: Added.
              * platform/graphics/gtk/ImageGdk.cpp: Removed.
              * platform/graphics/gtk/ImageGtk.cpp: Added.
              * platform/gtk: Added.
              * platform/gtk/ClipboardGdk.cpp: Removed.
              * platform/gtk/ClipboardGdk.h: Removed.
              * platform/gtk/ClipboardGtk.cpp: Added.
              (WebCore::ClipboardGtk::ClipboardGtk):
              (WebCore::ClipboardGtk::~ClipboardGtk):
              (WebCore::ClipboardGtk::clearData):
              (WebCore::ClipboardGtk::clearAllData):
              (WebCore::ClipboardGtk::getData):
              (WebCore::ClipboardGtk::setData):
              (WebCore::ClipboardGtk::types):
              (WebCore::ClipboardGtk::dragLocation):
              (WebCore::ClipboardGtk::dragImage):
              (WebCore::ClipboardGtk::setDragImage):
              (WebCore::ClipboardGtk::dragImageElement):
              (WebCore::ClipboardGtk::setDragImageElement):
              (WebCore::ClipboardGtk::createDragImage):
              (WebCore::ClipboardGtk::declareAndWriteDragImage):
              (WebCore::ClipboardGtk::writeURL):
              (WebCore::ClipboardGtk::writeRange):
              (WebCore::ClipboardGtk::hasData):
              * platform/gtk/ClipboardGtk.h: Added.
              * platform/gtk/ContextMenuGdk.cpp: Removed.
              * platform/gtk/ContextMenuGtk.cpp: Added.
              * platform/gtk/ContextMenuItemGdk.cpp: Removed.
              * platform/gtk/ContextMenuItemGtk.cpp: Added.
              * platform/gtk/CookieJarGdk.cpp: Removed.
              * platform/gtk/CookieJarGtk.cpp: Added.
              * platform/gtk/CursorGdk.cpp: Removed.
              * platform/gtk/CursorGtk.cpp: Added.
              * platform/gtk/DragDataGdk.cpp: Removed.
              * platform/gtk/DragDataGtk.cpp: Added.
              * platform/gtk/DragImageGdk.cpp: Removed.
              * platform/gtk/DragImageGtk.cpp: Added.
              * platform/gtk/FileChooserGdk.cpp: Removed.
              * platform/gtk/FileChooserGtk.cpp: Added.
              * platform/gtk/FileSystemGdk.cpp: Removed.
              * platform/gtk/FileSystemGtk.cpp: Added.
              * platform/gtk/FontCacheGdk.cpp: Removed.
              * platform/gtk/FontCacheGtk.cpp: Added.
              * platform/gtk/FontDataGdk.cpp: Removed.
              * platform/gtk/FontDataGtk.cpp: Added.
              * platform/gtk/FontGdk.cpp: Removed.
              * platform/gtk/FontGtk.cpp: Added.
              * platform/gtk/FontPlatformDataGdk.cpp: Removed.
              * platform/gtk/FontPlatformDataGtk.cpp: Added.
              * platform/gtk/GlyphPageTreeNodeGdk.cpp: Removed.
              * platform/gtk/GlyphPageTreeNodeGtk.cpp: Added.
              * platform/gtk/KeyEventGdk.cpp: Removed.
              * platform/gtk/KeyEventGtk.cpp: Added.
              * platform/gtk/LocalizedStringsGdk.cpp: Removed.
              * platform/gtk/LocalizedStringsGtk.cpp: Added.
              * platform/gtk/LoggingGdk.cpp: Removed.
              * platform/gtk/LoggingGtk.cpp: Added.
              * platform/gtk/MIMETypeRegistryGdk.cpp: Removed.
              * platform/gtk/MIMETypeRegistryGtk.cpp: Added.
              * platform/gtk/MouseEventGdk.cpp: Removed.
              * platform/gtk/MouseEventGtk.cpp: Added.
              * platform/gtk/PasteboardGdk.cpp: Removed.
              * platform/gtk/PasteboardGtk.cpp: Added.
              * platform/gtk/PlatformScreenGdk.cpp: Removed.
              * platform/gtk/PlatformScreenGtk.cpp: Added.
              * platform/gtk/PlatformScrollBarGdk.cpp: Removed.
              * platform/gtk/PlatformScrollBarGtk.cpp: Added.
              * platform/gtk/PopupMenuGdk.cpp: Removed.
              * platform/gtk/PopupMenuGtk.cpp: Added.
              * platform/gtk/RenderThemeGdk.cpp: Removed.
              * platform/gtk/RenderThemeGdk.h: Removed.
              * platform/gtk/RenderThemeGtk.cpp: Added.
              (WebCore::theme):
              (WebCore::RenderThemeGtk::RenderThemeGtk):
              (WebCore::RenderThemeGtk::close):
              (WebCore::RenderThemeGtk::addIntrinsicMargins):
              (WebCore::RenderThemeGtk::supportsFocus):
              (WebCore::RenderThemeGtk::determineState):
              (WebCore::RenderThemeGtk::determineShadow):
              (WebCore::RenderThemeGtk::getThemeData):
              (WebCore::RenderThemeGtk::setCheckboxSize):
              (WebCore::RenderThemeGtk::paintCheckbox):
              (WebCore::RenderThemeGtk::setRadioSize):
              (WebCore::RenderThemeGtk::paintRadio):
              (WebCore::RenderThemeGtk::paintButton):
              (WebCore::RenderThemeGtk::adjustTextFieldStyle):
              (WebCore::RenderThemeGtk::paintTextField):
              (WebCore::RenderThemeGtk::paintTextArea):
              (WebCore::RenderThemeGtk::adjustButtonStyle):
              (WebCore::RenderThemeGtk::systemFont):
              (WebCore::RenderThemeGtk::gtkButton):
              (WebCore::RenderThemeGtk::gtkCheckbox):
              (WebCore::RenderThemeGtk::gtkRadioButton):
              (WebCore::RenderThemeGtk::gtkWindowContainer):
              * platform/gtk/RenderThemeGtk.h: Added.
              * platform/gtk/ScrollViewGdk.cpp: Removed.
              * platform/gtk/ScrollViewGtk.cpp: Added.
              * platform/gtk/SearchPopupMenuGdk.cpp: Removed.
              * platform/gtk/SearchPopupMenuGtk.cpp: Added.
              * platform/gtk/SoundGdk.cpp: Removed.
              * platform/gtk/SoundGtk.cpp: Added.
              * platform/gtk/WheelEventGdk.cpp: Removed.
              * platform/gtk/WheelEventGtk.cpp: Added.
              * platform/gtk/WidgetGdk.cpp: Removed.
              * platform/gtk/WidgetGtk.cpp: Added.
              * platform/network/ResourceHandle.h:
      
      WebKitTools:
      2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Rubber stamped by Adam.
      
              * GdkLauncher: Removed.
              * GdkLauncher/Bakefiles.bkgen: Removed.
              * GdkLauncher/ENV: Removed.
              * GdkLauncher/GdkLauncher.pro: Removed.
              * GdkLauncher/gdklauncher.bkl: Removed.
              * GdkLauncher/main.cpp: Removed.
              * GdkLauncher/mk: Removed.
              * GdkLauncher/simple.svg: Removed.
              * GdkLauncher/text.html: Removed.
              * GtkLauncher: Added.
              * GtkLauncher/GdkLauncher.pro: Removed.
              * GtkLauncher/GtkLauncher.pro: Added.
              * GtkLauncher/main.cpp:
              (updateWindowTitle):
              (main):
              * Scripts/build-webkit:
              * Scripts/regenerate-makefiles:
              * Scripts/run-javascriptcore-tests:
              * Scripts/run-launcher:
              * Scripts/run-webkit-tests:
              * Scripts/webkitdirs.pm:
      
      
      
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25703 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2752405f
  10. 25 Aug, 2007 1 commit
    • bdash's avatar
      2007-08-25 Peter Kasting <zerodpx@gmail.org> · 62b657b8
      bdash authored
              Reviewed by Sam Weinig.
      
              Part 2 of http://bugs.webkit.org/show_bug.cgi?id=14967.
              Eliminate all remaining implicit conversions of wtf::Vector<T> to T*.  Where code was
              previously checking that the Vector's data pointer was non-NULL, check !Vector::isEmpty()
              instead.
      
              * wtf/Vector.h:
              (WTF::Vector::data):
      
      2007-08-25  Peter Kasting <zerodpx@gmail.org>
      
              Reviewed by Sam Weinig.
      
              Part 2 of http://bugs.webkit.org/show_bug.cgi?id=14967.
              Eliminate all remaining implicit conversions of wtf::Vector<T> to T*.  Where code was
              previously checking that the Vector's data pointer was non-NULL, check !Vector::isEmpty()
              instead.
      
              * bindings/js/kjs_navigator.cpp:
              (KJS::PluginBase::cachePluginDataIfNecessary):
              * loader/mac/LoaderNSURLExtras.m:
              (suggestedFilenameWithMIMEType):
              * page/FrameView.cpp:
              (WebCore::FrameView::~FrameView):
              (WebCore::FrameView::pauseScheduledEvents):
              (WebCore::FrameView::resumeScheduledEvents):
              (WebCore::FrameView::dispatchScheduledEvents):
              * platform/mac/PlugInInfoStoreMac.mm:
              (WebCore::PlugInInfoStore::createPluginInfoForPluginAtIndex):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25240 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      62b657b8
  11. 21 Aug, 2007 2 commits
    • aroben's avatar
      Build fix for Mac · b8f1c677
      aroben authored
              Keep FrameView::layoutIfNeededRecursive Windows- and Gtk-only for now
              (sadly). This will have to wait until we merge ScrollView and FrameView.
      
              Reviewed by NOBODY.
      
              * page/FrameView.cpp:
              * page/FrameView.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25179 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b8f1c677
    • aroben's avatar
      Switch Windows to using FrameView::layoutIfNeededRecursive · 7a1f2516
      aroben authored
       WebCore:
      
               Made FrameView::layoutIfNeededRecursive available to all platforms
      
               Currently it's only used on Gtk+ and Windows.
      
               Reviewed by Darin.
      
               * page/FrameView.cpp: Removed #ifdef.
               * page/FrameView.h: Ditto.
      
       WebKit/win:
      
               Switch Windows to using FrameView::layoutIfNeededRecursive
      
               Reviewed by Darin.
      
               * WebFrame.cpp: Removed layoutIfNeededRecursive.
               * WebFrame.h: Ditto.
               * WebView.cpp:
               (WebView::updateBackingStore): Call FrameView::layoutIfNeededRecursive.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25177 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a1f2516
  12. 10 Aug, 2007 2 commits
    • bdash's avatar
      2007-08-11 Mark Rowe <mrowe@apple.com> · f2e203d2
      bdash authored
              Build fix.  Change "#ifdef PLATFORM(GDK)" to "#if PLATFORM(GDK)".
      
              * page/FrameView.cpp:
              * page/FrameView.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25007 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2e203d2
    • zecke's avatar
      WebCore: · b387fe29
      zecke authored
      2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              Copy the WebFrame::layoutIfNeededRecursive method of the windows port
              to FrameView to be used by the Gtk+ port. Simplify the implementation due
              moving it to the FrameView class.
      
              Implement the ScrollView::children() method for the Gtk+ port and make it
              available to the FrameView as children() is used within the layoutIfNeededRecursive method.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::layoutIfNeededRecursive):
              * page/FrameView.h:
              * platform/ScrollView.h:
              * platform/gdk/ScrollViewGdk.cpp:
      
      WebKit/gtk:
      2007-08-11  Holger Hans Peter Freyther  <zecke@selfish.org>
      
              Reviewed by Adam.
      
              To not hit the needsLayout() assert of Frame::paint for subframes we need to
              make sure they are layed out. Use the newly created FrameView::layoutIfNeededRecursive
              method to do this.
      
              * Api/webkitgtkpage.cpp:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@25006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b387fe29
  13. 05 Aug, 2007 1 commit
    • antti's avatar
      Reviewed by Darin. · 6e917c3a
      antti authored
              Fix <rdar://problem/5378214>
              Mail crashes at RenderLayer::paintLayer() when dragging a selection over To Do text
              
              ObjC interface does not guarantee that Document::updateRendering() gets called after
              modification are made to document. This can lead to situation where paint()
              is invoked with document still dirty which can then crash in number of interesting ways.
              
              - add hasChangedChild() as needsLayout() condition. layout() will then call recalcStyle() 
                catching most cases and making sure document is not dirty when entering painting.
              - protect recalcStyle() and layout() from being executed during painting. There are some
                cases needsLayout() protection does not cover.
              
              No layout test, these states are very hard or impossible to reach using Javascript interface
              (which generally guarantees that updateRendering() is done right after execution).
      
              * dom/Document.cpp:
              (WebCore::Document::recalcStyle):
              * page/Frame.cpp:
              (WebCore::Frame::paint):
              (WebCore::Frame::setPaintRestriction):
              (WebCore::Frame::isPainting):
              (WebCore::FramePrivate::FramePrivate):
              * page/Frame.h:
              * page/FramePrivate.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::layout):
              (WebCore::FrameView::needsLayout):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@24878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6e917c3a
  14. 03 Jul, 2007 1 commit
    • antti's avatar
      Reviewed by Maciej. · 82a77f52
      antti authored
              Blind fix for CrashTracer: [USER] 25 crashes in Safari at com.apple.WebCore: WebCore::Frame::document const + 6
              <rdar://problem/5263939>
              
              No one has managed to reproduce this but it looks like null check is needed here. There are plausible ways
              m_frame could be null for a live FrameView object.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::needsLayout):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82a77f52
  15. 28 Jun, 2007 1 commit
    • weinig's avatar
      LayoutTests: · eeb79389
      weinig authored
              Reviewed by Beth.
      
              - test for http://bugs.webkit.org/show_bug.cgi?id=14118
                ASSERTION FAILED: !needsLayout() seen again
      
              * fast/dynamic/recursive-layout-expected.txt: Added.
              * fast/dynamic/recursive-layout.html: Added.
      
      WebCore:
      
              Reviewed by Beth.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=14118
                ASSERTION FAILED: !needsLayout() seen again
      
              Test: fast/dynamic/recursive-layout.html
      
              * page/FrameView.cpp:
              (WebCore::FrameView::layout): Removed the midLayout guards around
              the calls to invalidateSelection() and updateWidgetPositions(). Those
              calls may dirty the layout, but in that case they also update it, so
              they should be allowed to do it. Added an ASSERT to make sure that when
              they return, the root is not marked for layout.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23866 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eeb79389
  16. 07 Jun, 2007 1 commit
  17. 06 Jun, 2007 1 commit
  18. 31 May, 2007 1 commit
    • hyatt's avatar
      WebCore: · 6a8da928
      hyatt authored
              Fix for 11768, Flash plugin does not respect clips set via CSS.
      
              Reviewed by olliej
      
              * bindings/objc/DOM.mm:
              (-[DOMElement _windowClipRect]):
              * bindings/objc/DOMPrivate.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::windowClipRect):
              (WebCore::FrameView::windowClipRectForLayer):
              * platform/ScrollView.h:
              (WebCore::ScrollView::contentsToWindow):
              (WebCore::ScrollView::windowToContents):
              * platform/mac/ScrollViewMac.mm:
              (WebCore::ScrollView::contentsToWindow):
              (WebCore::ScrollView::windowToContents):
      
      WebKit:
      
              Fix for 11768, Flash plugin does not respect clips set by CSS.
      
              Reviewed by olliej
      
              * Plugins/WebBaseNetscapePluginView.mm:
              (-[WebBaseNetscapePluginView saveAndSetNewPortStateForUpdate:]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21932 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a8da928
  19. 30 May, 2007 1 commit
  20. 25 May, 2007 2 commits
  21. 18 May, 2007 1 commit
  22. 14 May, 2007 2 commits
    • adele's avatar
      Reviewed by Darin. · 7a2e1974
      adele authored
              Remove incorrect assertion.
      
              * page/FrameView.cpp: (WebCore::FrameView::setContentsPos):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21462 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a2e1974
    • darin's avatar
      Reviewed by Antti. · 8f1a187b
      darin authored
              - fix <rdar://problem/3109180> VIP: after go back, page jumps after loading even if I scrolled while loading
      
              * history/CachedPage.cpp: (WebCore::CachedPage::clear): Call clearFrame rather than
              clearPart -- the "part" term was leftover prehistoric terminology.
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::open): Call setWasScrolledByUser(false) on the page, so that we
              can detect any user scrolling that happens during the "go back" process.
              (WebCore::FrameLoader::restoreScrollPositionAndViewState): Don't scroll if the view's
              wasScrolledByUser flag is set.
              (WebCore::FrameLoader::loadItem): Call setWasScrolledByUser(false) false when we do
              a new "load" (actually just a scroll) using the same frame. Also moved the line of code that
              sets m_currentHistoryItem to make this code path mroe similar to recursiveGoToItem.
              (WebCore::FrameLoader::recursiveGoToItem): Ditto.
      
              * page/Frame.cpp:
              (WebCore::Frame::~Frame): Call clearFrame rather than stting m_frame directly.
              (WebCore::Frame::sendScrollEvent): Call setWasScrolledByUser(true) on FrameView. The FrameView
              itself knows to ignore this if the scrolling is being done programmatically instead of by the user.
      
              * page/FrameView.h: Added wasScrolledByUser and setWasScrolledByUser. Also removed unneeded
              include and class forward declarations, renamed clearPart to clearFrame, removed uneeded function
              haveDelayedLayoutScheduled, and removed unneeded friend declarations.
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::FrameViewPrivate): Added m_inProgrammaticScroll and m_wasScrolledByUser.
              (WebCore::FrameViewPrivate::reset): Set m_wasScrolledByUser to false.
              (WebCore::FrameView::clearFrame): Renamed from clearPart.
              (WebCore::FrameView::scrollRectIntoViewRecursively): Added code to set the m_inProgrammaticScroll flag.
              (WebCore::FrameView::setContentsPos): Ditto.
              (WebCore::FrameView::wasScrolledByUser): Added.
              (WebCore::FrameView::setWasScrolledByUser): Added. Does nothing if called when m_inProgrammaticScroll
              is true.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21454 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f1a187b
  23. 10 May, 2007 1 commit
    • thatcher's avatar
      LayoutTests: · 2acf17d1
      thatcher authored
              Reviewed by Darin.
      
              - repaint test and updated results for http://bugs.webkit.org/show_bug.cgi?id=13655
                Incomplete repaint when text-shadow is used in a render layer with explicit height
      
              * fast/repaint/layer-full-repaint-expected.checksum: Added.
              * fast/repaint/layer-full-repaint-expected.png: Added.
              * fast/repaint/layer-full-repaint-expected.txt: Added.
              * fast/repaint/layer-full-repaint.html: Added.
              * fast/repaint/repaint-resized-overflow-expected.checksum:
              * fast/repaint/repaint-resized-overflow-expected.png:
      
      WebCore:
      
              Reviewed by Darin.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=13655
                Incomplete repaint when text-shadow is used in a render layer with explicit height
      
              Test: fast/repaint/layer-full-repaint.html
      
              Removed custom repaint logic from RenderLayer. repaintAfterLayoutIfNeeded()
              knows how to do everything we need now. The only catch is that we cannot
              rely on its "do a full repaint if the object needs layout" behavior, since
              by the time we call it, the needs layout flag has been reset. The solution
              is to cache the need for a full repaint in the layer.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::layout): Removed call to checkForRepaintOnResize().
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::checkForRepaintOnResize): Removed.
              (WebCore::RenderLayer::RenderLayer): Replaced the m_repaintOverflowOnResize
              flag with a m_needsFullRepaint flag, which indicates that the layer needs
              to do a full repaint in the next call to updateLayerPositions().
              (WebCore::RenderLayer::updateLayerPositions): Simplified the repaint logic.
              Either call repaintAfterLayoutIfNeeded() or do a full repaint, depending on
              m_needsFullRepaint.
              * rendering/RenderLayer.h:
              (WebCore::RenderLayer::setNeedsFullRepaint):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::setNeedsLayout): Mark the layer for full repaint.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2acf17d1
  24. 09 May, 2007 1 commit
    • bdash's avatar
      2007-05-09 Mitz Pettel <mitz@webkit.org> · 2c0baa5a
      bdash authored
              Reviewed by Dave Hyatt.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=13037
                REGRESSION: Copy-on-scroll not reset properly after back/forward navigation
      
              * page/FrameView.cpp:
              (WebCore::FrameViewPrivate::FrameViewPrivate): Moved initialization of
              m_slowRepaintObjectCount here.
              (WebCore::FrameViewPrivate::reset): Do not reset the slow repaint object
              count here.
              (WebCore::FrameView::useSlowRepaints):
              (WebCore::FrameView::addSlowRepaintObject):
              (WebCore::FrameView::removeSlowRepaintObject): Added an assertion that the
              object count is positive.
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::setStyle): Corrected a mix up between old and new
              style, which caused the object count to be decremented when it was supposed
              to be incremented and vice versa.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21329 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c0baa5a
  25. 29 Apr, 2007 1 commit
    • weinig's avatar
      LayoutTests: · fef13633
      weinig authored
              Reviewed by Darin and Hyatt.
      
              - test and updated results for http://bugs.webkit.org/show_bug.cgi?id=13487
                Implement O(1) absoluteClippedOverflowRect and absoluteOutlineBox during layout for a possible speed gain
      
              * fast/repaint/bugzilla-3509-expected.checksum:
              * fast/repaint/bugzilla-3509-expected.png:
              * fast/repaint/intermediate-layout-position-clip-expected.checksum: Added.
              * fast/repaint/intermediate-layout-position-clip-expected.png: Added.
              * fast/repaint/intermediate-layout-position-clip-expected.txt: Added.
              * fast/repaint/intermediate-layout-position-clip.html: Added.
              * fast/repaint/intermediate-layout-position-expected.checksum:
              * fast/repaint/intermediate-layout-position-expected.png:
      
      WebCore:
      
              Reviewed by Darin and Hyatt.
      
              - http://bugs.webkit.org/show_bug.cgi?id=13487
                Implement O(1) absoluteClippedOverflowRect and absoluteOutlineBox during layout for a possible speed gain
      
              Test for a bug fixed by this patch: fast/repaint/intermediate-layout-position-clip.html
      
              By keeping track of the total translation and clip during layout, absolutePosition and
              computeAbsoluteRepaintRect become O(1).
      
              * WebCore.pro: Added LayoutState.cpp
              * WebCore.vcproj/WebCore/WebCore.vcproj: Added LayoutState.{cpp,h}
              * WebCore.xcodeproj/project.pbxproj: Added LayoutState.{cpp,h}
              * WebCoreSources.bkl: Added LayoutState.cpp
              * page/FrameView.cpp:
              (WebCore::FrameView::layout): When doing subtree layout, push an initial layout state for the
              layout root.
              * rendering/LayoutState.cpp: Added. A LayoutState corresponding to a box consists of the origin of
              its coordinate system in view coordinates and possibly the clip rect, in view coordinates, which
              applies to its children.
              (WebCore::LayoutState::LayoutState):
              (WebCore::LayoutState::destroy):
              (WebCore::throw):
              (WebCore::LayoutState::operator delete):
              * rendering/LayoutState.h: Added.
              (WebCore::LayoutState::LayoutState):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::layoutBlock): Factored out the "only positioned objects" case into
              layoutOnlyPositionedObjects(). Added code to push/pop LayoutState, unless we have columns, in
              which case we disable/enable LayoutState. Removed the translation by the layout delta
              of the old absolute rects, since that is now integral to absoluteClippedOverflowRect() and
              absoluteOutlineBox().
              (WebCore::RenderBlock::layoutOnlyPositionedObjects): Added this helper function that checks for
              and handles the case where only positioned objects need layout. Returns true in that case.
              (WebCore::RenderBlock::repaintOverhangingFloats): Disabled LayoutState when repainting floats, since
              they may belong to other containers.
              (WebCore::RenderBlock::updateFirstLetter): Disabled LayoutState when adding and removing from the
              first letter container, since it may be different than ourselves.
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::setStyle): Minor cleanup: changed element()->document() to the equivalent document().
              (WebCore::RenderBox::offsetForPositionedInContainer): Added. Factored out common code from
              absolutePosition, computeAbsoluteRepaintRect and RenderLayer::updateLayerPosition into this function.
              (WebCore::RenderBox::absolutePosition): Added an O(1) code path when this function is called during
              layout (and LayoutState has not been disabled). Factored out some code into
              offsetForPositionedInContainer.
              (WebCore::RenderBox::absoluteClippedOverflowRect): Added the layout delta here, so callers don't need
              to.
              (WebCore::RenderBox::computeAbsoluteRepaintRect): Added an O(1) code path when this function is called
              during layout (and LayoutState has not been disabled). Factored out some code into
              offsetForPositionedInContainer.
              * rendering/RenderContainer.cpp:
              (WebCore::RenderContainer::layout): Added LayoutState push/pop.
              * rendering/RenderFlexibleBox.cpp:
              (WebCore::RenderFlexibleBox::layoutBlock): Factored out the "only positioned objects" case into
              layoutOnlyPositionedObjects(). Added LayoutState push/pop. Removed the translation by the layout delta
              of the old absolute rects, since that is now integral to absoluteClippedOverflowRect() and
              absoluteOutlineBox().
              * rendering/RenderFlow.cpp:
              (WebCore::RenderFlow::absoluteClippedOverflowRect): Added an ASSERT.
              * rendering/RenderForeignObject.cpp:
              (WebCore::RenderForeignObject::layout): Disabled LayoutState because it is incompatible with arbitrary
              affine transforms.
              * rendering/RenderHTMLCanvas.cpp:
              (WebCore::RenderHTMLCanvas::layout): Removed the translation by the layout delta of the old absolute
              rects, since that is now integral to absoluteClippedOverflowRect() and absoluteOutlineBox().
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::layout): Ditto.
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::updateLayerPositions): Added ASSERTs. Factored out some code into
              RenderBox::offsetForPositionedInContainer.
              (WebCore::RenderLayer::updateScrollInfoAfterLayout): Disabled LayoutState around the call to
              scrollToOffset.
              * rendering/RenderListItem.cpp:
              (WebCore::RenderListItem::updateMarkerLocation): Disabled LayoutState when moving the list marker, since
              it can trigger repainting in other containers.
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::isRoot): Minor cleanup: changed element()->document() to the equivalent
              document().
              (WebCore::RenderObject::computeAbsoluteRepaintRect): Removed 'return' at the end of the function.
              (WebCore::RenderObject::container): Reordered to avoid calling isText() twice.
              (WebCore::RenderObject::absoluteOutlineBox): Added the layout delta here, so callers don't need to.
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::layout): Disabled LayoutState because it is incompatible with arbitrary
              affine transforms.
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::layout):  Factored out the "only positioned objects" case into
              layoutOnlyPositionedObjects(). Added LayoutState push/pop. Removed the translation by the layout delta
              of the old absolute rects, since that is now integral to absoluteClippedOverflowRect() and
              absoluteOutlineBox().
              * rendering/RenderTableCell.cpp:
              (WebCore::RenderTableCell::absoluteClippedOverflowRect): Added the layout delta here, so callers
              don't need to.
              (WebCore::RenderTableCell::computeAbsoluteRepaintRect): For the O(1) code path, skipped the correction
              for the parent row, because RenderTableRow doesn't push a translation into LayoutState.
              (WebCore::RenderTableCell::absolutePosition): Ditto.
              * rendering/RenderTableRow.cpp:
              (WebCore::RenderTableRow::layout): Added LayoutState push/pop.
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::setCellWidths): Added LayoutState push/pop if cells are repainted or
              receive layout.
              (WebCore::RenderTableSection::calcRowHeight): Ditto.
              (WebCore::RenderTableSection::layoutRows): Added LayoutState push/pop.
              * rendering/RenderView.cpp:
              (WebCore::RenderView::RenderView):
              (WebCore::RenderView::layout): Added initial LayoutState setup for the layout.
              (WebCore::RenderView::paintBoxDecorations): Minor cleanup: changed element()->document() to the
              equivalent document().
              (WebCore::RenderView::repaintViewRectangle): Ditto.
              (WebCore::RenderView::pushLayoutState): Added. Pushes initial layout state for subtree layout.
              * rendering/RenderView.h:
              (WebCore::RenderView::pushLayoutState):
              (WebCore::RenderView::popLayoutState):
              (WebCore::RenderView::layoutState):
              (WebCore::RenderView::disableLayoutState):
              (WebCore::RenderView::enableLayoutState):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21183 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fef13633
  26. 26 Apr, 2007 1 commit
    • hyatt's avatar
      Reviewed by hyatt · d72625b9
      hyatt authored
              - http://bugs.webkit.org/show_bug.cgi?id=13496
                Eliminate repaintObjectsBeforeLayout
      
              No tests added since there is no change to functionality. Several
              tests in fast/repaint test repainting of objects that move during layout.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::layout):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::layoutBlockChildren): Removed an early
              setNeedsLayout(false). Resetting the bit here prevents the full repaint
              that we rely on when we decide not to repaint children that move.
              * rendering/RenderBlock.h:
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::setCellWidths): Replaced the call to
              repaintObjectsBeforeLayout() if the cell didn't need layout with
              an unconditional repaint(). We don't bother with repainting only the
              delta between the old and new widths, since by marking the cell for
              layout results in a full repaint with the new width anyway.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d72625b9
  27. 25 Apr, 2007 1 commit
    • hyatt's avatar
      Rearchitect calcPrefWidths. The calculation is now done lazily only when minPrefWidth · 818bb121
      hyatt authored
              or maxPrefWidth are asked for.  The result of the calculation is cached.
      
              The new invalidation scheme for pref width invalidation follows the
              containing block hierarchy and knows to halt at positioned objects, since
              they cannot influence the size of their containers.
      
              Reviewed by darin
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::init):
              (WebCore::CSSStyleSelector::initForStyleResolve):
              * page/FrameView.cpp:
              (WebCore::FrameView::layout):
              * rendering/RenderApplet.cpp:
              (WebCore::RenderApplet::layout):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::makeChildrenNonInline):
              (WebCore::RenderBlock::removeChild):
              (WebCore::RenderBlock::layout):
              (WebCore::RenderBlock::layoutBlock):
              (WebCore::RenderBlock::calcPrefWidths):
              (WebCore::InlineMinMaxIterator::endOfInline):
              (WebCore::shouldGrowTableCellForImage):
              (WebCore::RenderBlock::calcInlinePrefWidths):
              (WebCore::RenderBlock::calcBlockPrefWidths):
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::setStyle):
              (WebCore::RenderBox::minPrefWidth):
              (WebCore::RenderBox::maxPrefWidth):
              (WebCore::RenderBox::calcWidth):
              (WebCore::RenderBox::calcWidthUsing):
              (WebCore::RenderBox::calcAbsoluteHorizontal):
              (WebCore::RenderBox::calcAbsoluteHorizontalValues):
              * rendering/RenderBox.h:
              * rendering/RenderContainer.cpp:
              (WebCore::RenderContainer::removeChildNode):
              (WebCore::RenderContainer::appendChildNode):
              (WebCore::RenderContainer::insertChildNode):
              (WebCore::RenderContainer::layout):
              * rendering/RenderContainer.h:
              (WebCore::RenderContainer::moveChildNode):
              * rendering/RenderCounter.cpp:
              (WebCore::RenderCounter::dirtyLineBoxes):
              (WebCore::RenderCounter::calcPrefWidths):
              * rendering/RenderCounter.h:
              * rendering/RenderFileUploadControl.cpp:
              (WebCore::RenderFileUploadControl::calcPrefWidths):
              * rendering/RenderFlexibleBox.cpp:
              (WebCore::RenderFlexibleBox::calcHorizontalPrefWidths):
              (WebCore::RenderFlexibleBox::calcVerticalPrefWidths):
              (WebCore::RenderFlexibleBox::calcPrefWidths):
              (WebCore::RenderFlexibleBox::layoutBlock):
              * rendering/RenderForeignObject.cpp:
              (WebCore::RenderForeignObject::layout):
              * rendering/RenderFrameSet.cpp:
              (WebCore::RenderFrameSet::layout):
              * rendering/RenderHTMLCanvas.cpp:
              (WebCore::RenderHTMLCanvas::layout):
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::layout):
              * rendering/RenderInline.cpp:
              * rendering/RenderInline.h:
              * rendering/RenderListBox.cpp:
              (WebCore::RenderListBox::updateFromElement):
              (WebCore::RenderListBox::calcPrefWidths):
              * rendering/RenderListItem.cpp:
              (WebCore::firstNonMarkerChild):
              (WebCore::RenderListItem::updateMarkerLocation):
              (WebCore::RenderListItem::calcPrefWidths):
              (WebCore::RenderListItem::layout):
              * rendering/RenderListMarker.cpp:
              (WebCore::RenderListMarker::layout):
              (WebCore::RenderListMarker::calcPrefWidths):
              (WebCore::RenderListMarker::updateMargins):
              * rendering/RenderListMarker.h:
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::RenderObject):
              (WebCore::RenderObject::removeChildNode):
              (WebCore::RenderObject::moveChildNode):
              (WebCore::RenderObject::appendChildNode):
              (WebCore::RenderObject::insertChildNode):
              (WebCore::RenderObject::setPrefWidthsDirty):
              (WebCore::RenderObject::invalidateContainingBlockPrefWidths):
              (WebCore::RenderObject::information):
              (WebCore::RenderObject::setStyle):
              * rendering/RenderObject.h:
              (WebCore::RenderObject::layer):
              (WebCore::RenderObject::hasLayer):
              (WebCore::RenderObject::prefWidthsDirty):
              (WebCore::RenderObject::setNeedsLayoutAndPrefWidthsRecalc):
              (WebCore::RenderObject::setHasLayer):
              * rendering/RenderPartObject.cpp:
              (WebCore::RenderPartObject::layout):
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::layout):
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGHiddenContainer.cpp:
              * rendering/RenderSVGHiddenContainer.h:
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::layout):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::calcWidth):
              (WebCore::RenderTable::layout):
              (WebCore::RenderTable::removeChildNode):
              * rendering/RenderTable.h:
              * rendering/RenderTableRow.cpp:
              (WebCore::RenderTableRow::layout):
              * rendering/RenderTableSection.cpp:
              (WebCore::RenderTableSection::removeChildNode):
              * rendering/RenderTableSection.h:
              * rendering/RenderText.cpp:
              (WebCore::RenderText::trimmedPrefWidths):
              (WebCore::isSpaceAccordingToStyle):
              (WebCore::RenderText::minPrefWidth):
              (WebCore::RenderText::maxPrefWidth):
              (WebCore::RenderText::calcPrefWidths):
              (WebCore::RenderText::width):
              * rendering/RenderText.h:
              * rendering/RenderView.cpp:
              (WebCore::RenderView::RenderView):
              (WebCore::RenderView::calcPrefWidths):
              (WebCore::RenderView::layout):
              * rendering/RenderWidget.cpp:
              (WebCore::RenderWidget::layout):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@21093 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      818bb121
  28. 19 Apr, 2007 1 commit
    • bdash's avatar
      2007-04-19 Mitz Pettel <mitz@webkit.org> · ba1a663f
      bdash authored
              Reviewed by Darin.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=13403
                REGRESSION (r18875-r18899): Can no longer type into search form field after searching and then clicking "back"
      
              The problem was that the page was loaded from the page cache with a subtree
              marked for layout and the layout timer stopped (having been stopped when the
              page entered the page cache). FrameView::needsLayout() was returning false
              which prevented the pending layout from completing.
      
              * page/FrameView.cpp:
              (WebCore::FrameView::clear): Removed the call to stop the layout timer, since
              reset() does that already.
              (WebCore::FrameView::needsLayout): Changed to return true if there's a subtree
              pending relayout.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ba1a663f
  29. 16 Apr, 2007 1 commit
    • darin's avatar
      WebCore: · 28399bcb
      darin authored
              Reviewed by John Sullivan.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=13303
                <rdar://problem/5126341> REGRESSION: controls in a background Safari window
                maintain active appearance if the address bar has focus (13303)
      
              - fix a related problem where elements could look focused in non-active windows
      
              - simplify secure keyboard entry logic in Frame::setIsActive
      
              * WebCore.exp: Add two new symbols for use by WebKit.
      
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::dispatchFocusEvent): Call setUseSecureKeyboardEntryWhenActive
              rather than calling setSecureKeyboardEntry directly -- does nothing if the frame is not active.
              (WebCore::HTMLInputElement::dispatchBlurEvent): Ditto.
      
              * page/Frame.cpp:
              (WebCore::Frame::setUseSecureKeyboardEntryWhenActive): Added. Calls
              setUseSecureKeyboardEntry only if the frame is active, but also stores away the state,
              so that the setIsActive function doesn't have to recompute it.
              (WebCore::Frame::setIsActive): Rewrote all the comments in the function. Removed the code
              to manage control tints, which are not based on the whether the frame is active but rather
              on AppKit's concept of whether the window should have "key appearance". Simplified the
              logic about when to call setUseSecureKeyboardEntry by using the value of
              m_useSecureKeyboardEntryWhenActive.
              (WebCore::FramePrivate::FramePrivate): Initialize m_useSecureKeyboardEntryWhenActive.
              * page/Frame.h: Made setSecureKeyboardEntry private and renamed it to
              setUseSecureKeyboardEntry, removed isSecureKeyboardEntry, and
              added a public setUseSecureKeyboardEntryWhenActive.
              * page/FramePrivate.h: Added m_useSecureKeyboardEntryWhenActive.
              * page/mac/FrameMac.mm: (WebCore::Frame::setUseSecureKeyboardEntry): Added an assertion,
              and removed isSecureKeyboardEntry().
      
              * page/FrameView.h: Added updateControlTints.
              * page/FrameView.cpp: (WebCore::FrameView::updateControlTints): Added. Code was moved
              here from setIsActive for two reasons: (1) it makes more sense in the view class, and
              (2) it needs to be called at the appropriate time for AppKit, not when active changes.
      
              * rendering/RenderTheme.cpp: (WebCore::RenderTheme::isFocused): Added an isActive
              check here to match the logic in the implementation of the CSS pseudo-state.
              * rendering/RenderThemeMac.mm:
              (WebCore::RenderThemeMac::updateFocusedState): Use the isFocused function instead of
              repeating the logic here. Removed the "need to add a key window test here" comment.
              (WebCore::RenderThemeMac::controlSupportsTints): Added a comment about the NSCell
              SPI that's related to the _windowChangedKeyState method we now use in WebHTMLView.
      
      WebKit:
      
              Reviewed by John Sullivan.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=13303
                <rdar://problem/5126341> REGRESSION: controls in a background Safari window
                maintain active appearance if the address bar has focus (13303)
      
              * WebView/WebHTMLView.mm: (-[WebHTMLView _windowChangedKeyState]):
              Added. Calls FrameView::updateControlTints.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28399bcb
  30. 08 Apr, 2007 1 commit
    • aroben's avatar
      Reviewed by Oliver. · e9b4cc74
      aroben authored
              Bestowed the gift of -webkit-dashboard-region upon all platforms, since
              there's nothing Mac-specific about it other than the name. This also
              allowed me to get rid of FrameViewMac.mm.
      
              Removed a lot of #if PLATFORM(MAC):
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::):
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSPrimitiveValue.cpp:
              (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
              (WebCore::CSSPrimitiveValue::cleanup):
              (WebCore::CSSPrimitiveValue::cssText):
              * css/CSSPrimitiveValue.h:
              (WebCore::CSSPrimitiveValue::getDashboardRegionValue):
              (WebCore::CSSPrimitiveValue::):
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseValue):
              (WebCore::CSSParser::parseDashboardRegions):
              * css/cssparser.h:
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              * dom/Document.h:
              * page/Frame.cpp:
              (WebCore::Frame::paint):
              * page/Frame.h:
              * page/FrameView.cpp:
              (WebCore::FrameView::layout):
              (WebCore::FrameView::updateDashboardRegions): Moved from FrameViewMac.mm.
              * page/FrameView.h:
              * page/qt/FrameQt.cpp:
              (WebCore::Frame::dashboardRegionsChanged): Stubbed out.
              * platform/gdk/FrameGdk.cpp:
              (WebCore::Frame::dashboardRegionsChanged): Ditto.
              * rendering/RenderLayer.cpp:
              (WebCore::RenderLayer::scrollToOffset):
              (WebCore::RenderLayer::setHasHorizontalScrollbar):
              (WebCore::RenderLayer::setHasVerticalScrollbar):
              (WebCore::RenderLayer::updateScrollInfoAfterLayout):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::setStyle):
      
              * WebCore.xcodeproj/project.pbxproj: Removed FrameViewMac.mm.
              * bridge/mac/FrameViewMac.mm: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20794 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e9b4cc74