WebKit-https.git
14 years agoBug #: 5825
eseidel [Sat, 26 Nov 2005 22:19:19 +0000 (22:19 +0000)]
Bug #: 5825
Submitted by: eseidel
Reviewed by: darin
        Removed all usage of ref(), deref() from ksvg2
        Instead everything uses SharedPtr now.
        Also updated lazy_create to be SharedPtr aware.
        And removed KDOM_SAFE_SET.

        No additional test cases needed.

        * WebCore+SVG/KDOMStubClasses.h:
        * ksvg2/events/SVGZoomEventImpl.cpp:
        (SVGZoomEventImpl::SVGZoomEventImpl):
        (SVGZoomEventImpl::~SVGZoomEventImpl):
        (SVGZoomEventImpl::zoomRectScreen):
        (SVGZoomEventImpl::previousTranslate):
        (SVGZoomEventImpl::newTranslate):
        * ksvg2/events/SVGZoomEventImpl.h:
        * ksvg2/misc/KSVGTimeScheduler.cpp:
        (KSVG::SVGTimer::notifyAll):
        * ksvg2/svg/SVGAElementImpl.cpp:
        (SVGAElementImpl::SVGAElementImpl):
        (SVGAElementImpl::~SVGAElementImpl):
        * ksvg2/svg/SVGAElementImpl.h:
        * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
        (SVGAnimateColorElementImpl::SVGAnimateColorElementImpl):
        (SVGAnimateColorElementImpl::~SVGAnimateColorElementImpl):
        (SVGAnimateColorElementImpl::handleTimerEvent):
        * ksvg2/svg/SVGAnimateColorElementImpl.h:
        * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
        (SVGAnimateTransformElementImpl::parseTransformValue):
        * ksvg2/svg/SVGAnimateTransformElementImpl.h:
        * ksvg2/svg/SVGAnimatedTemplate.h:
        (KSVG::SVGAnimatedTemplate::~SVGAnimatedTemplate):
        (KSVG::SVGAnimatedTemplate::baseVal):
        (KSVG::SVGAnimatedTemplate::setBaseVal):
        (KSVG::SVGAnimatedTemplate::animVal):
        (KSVG::SVGAnimatedTemplate::setAnimVal):
        (KSVG::SVGAnimatedTemplate::SVGAnimatedTemplate):
        * ksvg2/svg/SVGAnimationElementImpl.cpp:
        (SVGAnimationElementImpl::SVGAnimationElementImpl):
        (SVGAnimationElementImpl::~SVGAnimationElementImpl):
        (SVGAnimationElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGAnimationElementImpl.h:
        * ksvg2/svg/SVGCircleElementImpl.cpp:
        (SVGCircleElementImpl::SVGCircleElementImpl):
        (SVGCircleElementImpl::~SVGCircleElementImpl):
        * ksvg2/svg/SVGCircleElementImpl.h:
        * ksvg2/svg/SVGClipPathElementImpl.cpp:
        (SVGClipPathElementImpl::SVGClipPathElementImpl):
        (SVGClipPathElementImpl::~SVGClipPathElementImpl):
        (SVGClipPathElementImpl::clipPathUnits):
        * ksvg2/svg/SVGClipPathElementImpl.h:
        * ksvg2/svg/SVGColorImpl.cpp:
        (SVGColorImpl::SVGColorImpl):
        (SVGColorImpl::~SVGColorImpl):
        (SVGColorImpl::setRGBColor):
        * ksvg2/svg/SVGColorImpl.h:
        * ksvg2/svg/SVGComponentTransferFunctionElementImpl.cpp:
        (SVGComponentTransferFunctionElementImpl::SVGComponentTransferFunctionElementImpl):
        (SVGComponentTransferFunctionElementImpl::~SVGComponentTransferFunctionElementImpl):
        * ksvg2/svg/SVGComponentTransferFunctionElementImpl.h:
        * ksvg2/svg/SVGCursorElementImpl.cpp:
        (SVGCursorElementImpl::SVGCursorElementImpl):
        (SVGCursorElementImpl::~SVGCursorElementImpl):
        * ksvg2/svg/SVGCursorElementImpl.h:
        * ksvg2/svg/SVGDocumentImpl.cpp:
        (SVGDocumentImpl::SVGDocumentImpl):
        * ksvg2/svg/SVGDocumentImpl.h:
        * ksvg2/svg/SVGElementImpl.cpp:
        (SVGElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGElementImpl.h:
        * ksvg2/svg/SVGEllipseElementImpl.cpp:
        (KSVG::SVGEllipseElementImpl::SVGEllipseElementImpl):
        (KSVG::SVGEllipseElementImpl::~SVGEllipseElementImpl):
        * ksvg2/svg/SVGEllipseElementImpl.h:
        * ksvg2/svg/SVGExternalResourcesRequiredImpl.cpp:
        (SVGExternalResourcesRequiredImpl::SVGExternalResourcesRequiredImpl):
        (SVGExternalResourcesRequiredImpl::~SVGExternalResourcesRequiredImpl):
        * ksvg2/svg/SVGExternalResourcesRequiredImpl.h:
        * ksvg2/svg/SVGFEBlendElementImpl.cpp:
        (SVGFEBlendElementImpl::SVGFEBlendElementImpl):
        (SVGFEBlendElementImpl::~SVGFEBlendElementImpl):
        * ksvg2/svg/SVGFEBlendElementImpl.h:
        * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp:
        (SVGFEColorMatrixElementImpl::SVGFEColorMatrixElementImpl):
        (SVGFEColorMatrixElementImpl::~SVGFEColorMatrixElementImpl):
        * ksvg2/svg/SVGFEColorMatrixElementImpl.h:
        * ksvg2/svg/SVGFEComponentTransferElementImpl.cpp:
        (SVGFEComponentTransferElementImpl::SVGFEComponentTransferElementImpl):
        (SVGFEComponentTransferElementImpl::~SVGFEComponentTransferElementImpl):
        * ksvg2/svg/SVGFEComponentTransferElementImpl.h:
        * ksvg2/svg/SVGFECompositeElementImpl.cpp:
        (SVGFECompositeElementImpl::SVGFECompositeElementImpl):
        (SVGFECompositeElementImpl::~SVGFECompositeElementImpl):
        * ksvg2/svg/SVGFECompositeElementImpl.h:
        * ksvg2/svg/SVGFEFloodElementImpl.cpp:
        (SVGFEFloodElementImpl::SVGFEFloodElementImpl):
        (SVGFEFloodElementImpl::~SVGFEFloodElementImpl):
        * ksvg2/svg/SVGFEFloodElementImpl.h:
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp:
        (SVGFEGaussianBlurElementImpl::SVGFEGaussianBlurElementImpl):
        (SVGFEGaussianBlurElementImpl::~SVGFEGaussianBlurElementImpl):
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.h:
        * ksvg2/svg/SVGFEImageElementImpl.cpp:
        (SVGFEImageElementImpl::SVGFEImageElementImpl):
        (SVGFEImageElementImpl::~SVGFEImageElementImpl):
        * ksvg2/svg/SVGFEImageElementImpl.h:
        * ksvg2/svg/SVGFEMergeNodeElementImpl.cpp:
        (SVGFEMergeNodeElementImpl::SVGFEMergeNodeElementImpl):
        (SVGFEMergeNodeElementImpl::~SVGFEMergeNodeElementImpl):
        * ksvg2/svg/SVGFEMergeNodeElementImpl.h:
        * ksvg2/svg/SVGFEOffsetElementImpl.cpp:
        (SVGFEOffsetElementImpl::SVGFEOffsetElementImpl):
        (SVGFEOffsetElementImpl::~SVGFEOffsetElementImpl):
        * ksvg2/svg/SVGFEOffsetElementImpl.h:
        * ksvg2/svg/SVGFETileElementImpl.cpp:
        (SVGFETileElementImpl::SVGFETileElementImpl):
        (SVGFETileElementImpl::~SVGFETileElementImpl):
        * ksvg2/svg/SVGFETileElementImpl.h:
        * ksvg2/svg/SVGFETurbulenceElementImpl.cpp:
        (SVGFETurbulenceElementImpl::SVGFETurbulenceElementImpl):
        (SVGFETurbulenceElementImpl::~SVGFETurbulenceElementImpl):
        * ksvg2/svg/SVGFETurbulenceElementImpl.h:
        * ksvg2/svg/SVGFilterElementImpl.cpp:
        (SVGFilterElementImpl::SVGFilterElementImpl):
        (SVGFilterElementImpl::~SVGFilterElementImpl):
        (SVGFilterElementImpl::filterUnits):
        (SVGFilterElementImpl::primitiveUnits):
        (SVGFilterElementImpl::x):
        (SVGFilterElementImpl::y):
        (SVGFilterElementImpl::width):
        (SVGFilterElementImpl::height):
        * ksvg2/svg/SVGFilterElementImpl.h:
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.cpp:
        (SVGFilterPrimitiveStandardAttributesImpl::SVGFilterPrimitiveStandardAttributesImpl):
        (SVGFilterPrimitiveStandardAttributesImpl::~SVGFilterPrimitiveStandardAttributesImpl):
        (SVGFilterPrimitiveStandardAttributesImpl::width):
        (SVGFilterPrimitiveStandardAttributesImpl::height):
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.h:
        * ksvg2/svg/SVGGradientElementImpl.cpp:
        (SVGGradientElementImpl::SVGGradientElementImpl):
        (SVGGradientElementImpl::~SVGGradientElementImpl):
        (SVGGradientElementImpl::gradientUnits):
        * ksvg2/svg/SVGGradientElementImpl.h:
        * ksvg2/svg/SVGHelper.h:
        (KSVG::lazy_create):
        * ksvg2/svg/SVGImageElementImpl.cpp:
        (SVGImageElementImpl::SVGImageElementImpl):
        (SVGImageElementImpl::~SVGImageElementImpl):
        * ksvg2/svg/SVGImageElementImpl.h:
        * ksvg2/svg/SVGLineElementImpl.cpp:
        (SVGLineElementImpl::SVGLineElementImpl):
        (SVGLineElementImpl::~SVGLineElementImpl):
        * ksvg2/svg/SVGLineElementImpl.h:
        * ksvg2/svg/SVGLinearGradientElementImpl.cpp:
        (SVGLinearGradientElementImpl::SVGLinearGradientElementImpl):
        (SVGLinearGradientElementImpl::~SVGLinearGradientElementImpl):
        (SVGLinearGradientElementImpl::x2):
        * ksvg2/svg/SVGLinearGradientElementImpl.h:
        * ksvg2/svg/SVGMarkerElementImpl.cpp:
        (SVGMarkerElementImpl::SVGMarkerElementImpl):
        (SVGMarkerElementImpl::~SVGMarkerElementImpl):
        (SVGMarkerElementImpl::markerUnits):
        * ksvg2/svg/SVGMarkerElementImpl.h:
        * ksvg2/svg/SVGPaintImpl.cpp:
        (SVGPaintImpl::SVGPaintImpl):
        (SVGPaintImpl::~SVGPaintImpl):
        (SVGPaintImpl::uri):
        (SVGPaintImpl::setUri):
        (SVGPaintImpl::cssText):
        * ksvg2/svg/SVGPaintImpl.h:
        * ksvg2/svg/SVGPathElementImpl.cpp:
        (KSVG::SVGPathElementImpl::SVGPathElementImpl):
        (KSVG::SVGPathElementImpl::~SVGPathElementImpl):
        (KSVG::SVGPathElementImpl::pathLength):
        * ksvg2/svg/SVGPathElementImpl.h:
        * ksvg2/svg/SVGPatternElementImpl.cpp:
        (SVGPatternElementImpl::SVGPatternElementImpl):
        (SVGPatternElementImpl::~SVGPatternElementImpl):
        (SVGPatternElementImpl::patternUnits):
        (SVGPatternElementImpl::patternContentUnits):
        (SVGPatternElementImpl::getCTM):
        * ksvg2/svg/SVGPatternElementImpl.h:
        * ksvg2/svg/SVGPolyElementImpl.cpp:
        (SVGPolyElementImpl::SVGPolyElementImpl):
        (SVGPolyElementImpl::~SVGPolyElementImpl):
        * ksvg2/svg/SVGPolyElementImpl.h:
        * ksvg2/svg/SVGRadialGradientElementImpl.cpp:
        (SVGRadialGradientElementImpl::SVGRadialGradientElementImpl):
        (SVGRadialGradientElementImpl::~SVGRadialGradientElementImpl):
        (SVGRadialGradientElementImpl::cx):
        (SVGRadialGradientElementImpl::cy):
        (SVGRadialGradientElementImpl::r):
        * ksvg2/svg/SVGRadialGradientElementImpl.h:
        * ksvg2/svg/SVGRectElementImpl.cpp:
        (SVGRectElementImpl::SVGRectElementImpl):
        (SVGRectElementImpl::~SVGRectElementImpl):
        * ksvg2/svg/SVGRectElementImpl.h:
        * ksvg2/svg/SVGSVGElementImpl.cpp:
        (SVGSVGElementImpl::SVGSVGElementImpl):
        (SVGSVGElementImpl::~SVGSVGElementImpl):
        (SVGSVGElementImpl::width):
        (SVGSVGElementImpl::height):
        (SVGSVGElementImpl::viewport):
        * ksvg2/svg/SVGSVGElementImpl.h:
        * ksvg2/svg/SVGScriptElementImpl.cpp:
        (SVGScriptElementImpl::SVGScriptElementImpl):
        (SVGScriptElementImpl::~SVGScriptElementImpl):
        (SVGScriptElementImpl::type):
        (SVGScriptElementImpl::setType):
        (SVGScriptElementImpl::executeScript):
        * ksvg2/svg/SVGScriptElementImpl.h:
        * ksvg2/svg/SVGStopElementImpl.cpp:
        (SVGStopElementImpl::SVGStopElementImpl):
        (SVGStopElementImpl::~SVGStopElementImpl):
        * ksvg2/svg/SVGStopElementImpl.h:
        * ksvg2/svg/SVGStringListImpl.cpp:
        (SVGStringListImpl::reset):
        * ksvg2/svg/SVGStyledElementImpl.cpp:
        (SVGStyledElementImpl::SVGStyledElementImpl):
        (SVGStyledElementImpl::~SVGStyledElementImpl):
        (SVGStyledElementImpl::className):
        * ksvg2/svg/SVGStyledElementImpl.h:
        * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
        (SVGStyledTransformableElementImpl::SVGStyledTransformableElementImpl):
        (SVGStyledTransformableElementImpl::~SVGStyledTransformableElementImpl):
        (SVGStyledTransformableElementImpl::getCTM):
        (SVGStyledTransformableElementImpl::getScreenCTM):
        (SVGStyledTransformableElementImpl::updateLocalTransform):
        * ksvg2/svg/SVGStyledTransformableElementImpl.h:
        * ksvg2/svg/SVGTestsImpl.cpp:
        (SVGTestsImpl::SVGTestsImpl):
        (SVGTestsImpl::~SVGTestsImpl):
        * ksvg2/svg/SVGTestsImpl.h:
        * ksvg2/svg/SVGTextContentElementImpl.cpp:
        (SVGTextContentElementImpl::SVGTextContentElementImpl):
        (SVGTextContentElementImpl::~SVGTextContentElementImpl):
        * ksvg2/svg/SVGTextContentElementImpl.h:
        * ksvg2/svg/SVGTextPositioningElementImpl.cpp:
        (SVGTextPositioningElementImpl::SVGTextPositioningElementImpl):
        (SVGTextPositioningElementImpl::~SVGTextPositioningElementImpl):
        * ksvg2/svg/SVGTextPositioningElementImpl.h:
        * ksvg2/svg/SVGTransformImpl.cpp:
        (SVGTransformImpl::SVGTransformImpl):
        (SVGTransformImpl::~SVGTransformImpl):
        (SVGTransformImpl::matrix):
        (SVGTransformImpl::setMatrix):
        * ksvg2/svg/SVGTransformImpl.h:
        * ksvg2/svg/SVGURIReferenceImpl.cpp:
        (SVGURIReferenceImpl::SVGURIReferenceImpl):
        (SVGURIReferenceImpl::~SVGURIReferenceImpl):
        * ksvg2/svg/SVGURIReferenceImpl.h:
        * ksvg2/svg/SVGUseElementImpl.cpp:
        (SVGUseElementImpl::SVGUseElementImpl):
        (SVGUseElementImpl::~SVGUseElementImpl):
        * ksvg2/svg/SVGUseElementImpl.h:
        * ksvg2/svg/SVGViewElementImpl.cpp:
        (SVGViewElementImpl::SVGViewElementImpl):
        (SVGViewElementImpl::~SVGViewElementImpl):
        * ksvg2/svg/SVGViewElementImpl.h:

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

14 years agoBug #: none
eseidel [Fri, 25 Nov 2005 11:14:06 +0000 (11:14 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: rubber-stamped by mjs
        Updated test results after DOM merger.

        * svg/W3C-SVG-1.1/animate-elem-02-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-03-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-04-t-expected.png:
        * svg/W3C-SVG-1.1/animate-elem-04-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-05-t-expected.png:
        * svg/W3C-SVG-1.1/animate-elem-05-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-06-t-expected.png:
        * svg/W3C-SVG-1.1/animate-elem-06-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-07-t-expected.png:
        * svg/W3C-SVG-1.1/animate-elem-07-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-08-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-09-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-10-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-11-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-12-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-13-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-14-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-15-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-16-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-17-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-18-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-19-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-20-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-21-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-22-b-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-23-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-24-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-25-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-26-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-27-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-28-t-expected.txt:
        * svg/W3C-SVG-1.1/animate-elem-29-b-expected.txt:
        * svg/W3C-SVG-1.1/color-prof-01-f-expected.png:
        * svg/W3C-SVG-1.1/color-prof-01-f-expected.txt:
        * svg/W3C-SVG-1.1/color-prop-01-b-expected.txt:
        * svg/W3C-SVG-1.1/color-prop-02-f-expected.txt:
        * svg/W3C-SVG-1.1/color-prop-03-t-expected.txt:
        * svg/W3C-SVG-1.1/coords-trans-01-b-expected.txt:
        * svg/W3C-SVG-1.1/coords-trans-02-t-expected.txt:
        * svg/W3C-SVG-1.1/coords-trans-03-t-expected.txt:
        * svg/W3C-SVG-1.1/coords-trans-04-t-expected.txt:
        * svg/W3C-SVG-1.1/coords-trans-05-t-expected.txt:
        * svg/W3C-SVG-1.1/coords-trans-06-t-expected.txt:
        * svg/W3C-SVG-1.1/coords-viewattr-01-b.svg: Removed.
        * svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.png:
        * svg/W3C-SVG-1.1/coords-viewattr-02-b-expected.txt:
        * svg/W3C-SVG-1.1/extend-namespace-01-f-expected.txt:
        * svg/W3C-SVG-1.1/filters-blend-01-b-expected.png:
        * svg/W3C-SVG-1.1/filters-blend-01-b-expected.txt:
        * svg/W3C-SVG-1.1/filters-color-01-b-expected.png:
        * svg/W3C-SVG-1.1/filters-color-01-b-expected.txt:
        * svg/W3C-SVG-1.1/filters-comptran-01-b-expected.txt:
        * svg/W3C-SVG-1.1/filters-conv-01-f-expected.png:
        * svg/W3C-SVG-1.1/filters-conv-01-f-expected.txt:
        * svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.png:
        * svg/W3C-SVG-1.1/filters-diffuse-01-f-expected.txt:
        * svg/W3C-SVG-1.1/filters-displace-01-f-expected.png:
        * svg/W3C-SVG-1.1/filters-displace-01-f-expected.txt:
        * svg/W3C-SVG-1.1/filters-example-01-b-expected.png:
        * svg/W3C-SVG-1.1/filters-example-01-b-expected.txt:
        * svg/W3C-SVG-1.1/filters-image-01-b-expected.png:
        * svg/W3C-SVG-1.1/filters-image-01-b-expected.txt:
        * svg/W3C-SVG-1.1/filters-turb-01-f-expected.txt:
        * svg/W3C-SVG-1.1/fonts-elem-01-t-expected.txt:
        * svg/W3C-SVG-1.1/fonts-elem-02-t-expected.txt:
        * svg/W3C-SVG-1.1/fonts-elem-03-b-expected.txt:
        * svg/W3C-SVG-1.1/fonts-elem-04-b-expected.txt:
        * svg/W3C-SVG-1.1/interact-cursor-01-f-expected.txt:
        * svg/W3C-SVG-1.1/interact-dom-01-b-expected.txt:
        * svg/W3C-SVG-1.1/interact-events-01-b-expected.png:
        * svg/W3C-SVG-1.1/interact-events-01-b-expected.txt:
        * svg/W3C-SVG-1.1/interact-order-01-b-expected.txt:
        * svg/W3C-SVG-1.1/interact-order-02-b-expected.txt:
        * svg/W3C-SVG-1.1/interact-order-03-b-expected.txt:
        * svg/W3C-SVG-1.1/interact-zoom-01-t-expected.png:
        * svg/W3C-SVG-1.1/interact-zoom-01-t-expected.txt:
        * svg/W3C-SVG-1.1/linking-a-01-b-expected.txt:
        * svg/W3C-SVG-1.1/linking-a-02-b-expected.txt:
        * svg/W3C-SVG-1.1/linking-a-03-b-expected.txt:
        * svg/W3C-SVG-1.1/linking-a-04-t-expected.txt:
        * svg/W3C-SVG-1.1/linking-uri-01-b-expected.txt:
        * svg/W3C-SVG-1.1/linking-uri-02-b-expected.txt:
        * svg/W3C-SVG-1.1/linking-uri-03-t-expected.txt:
        * svg/W3C-SVG-1.1/masking-mask-01-b-expected.txt:
        * svg/W3C-SVG-1.1/masking-opacity-01-b-expected.txt:
        * svg/W3C-SVG-1.1/masking-path-01-b-expected.txt:
        * svg/W3C-SVG-1.1/masking-path-02-b-expected.png:
        * svg/W3C-SVG-1.1/masking-path-02-b-expected.txt:
        * svg/W3C-SVG-1.1/masking-path-03-b-expected.txt:
        * svg/W3C-SVG-1.1/masking-path-04-b-expected.png:
        * svg/W3C-SVG-1.1/masking-path-04-b-expected.txt:
        * svg/W3C-SVG-1.1/masking-path-05-f-expected.txt:
        * svg/W3C-SVG-1.1/metadata-example-01-b-expected.txt:
        * svg/W3C-SVG-1.1/painting-fill-01-t-expected.txt:
        * svg/W3C-SVG-1.1/painting-fill-02-t-expected.txt:
        * svg/W3C-SVG-1.1/painting-fill-03-t-expected.txt:
        * svg/W3C-SVG-1.1/painting-fill-04-t-expected.txt:
        * svg/W3C-SVG-1.1/painting-marker-01-f-expected.txt:
        * svg/W3C-SVG-1.1/painting-marker-02-f-expected.png:
        * svg/W3C-SVG-1.1/painting-marker-02-f-expected.txt:
        * svg/W3C-SVG-1.1/painting-render-01-b-expected.txt:
        * svg/W3C-SVG-1.1/painting-stroke-01-t-expected.txt:
        * svg/W3C-SVG-1.1/painting-stroke-02-t-expected.txt:
        * svg/W3C-SVG-1.1/painting-stroke-03-t-expected.txt:
        * svg/W3C-SVG-1.1/painting-stroke-04-t-expected.txt:
        * svg/W3C-SVG-1.1/paths-data-01-t-expected.txt:
        * svg/W3C-SVG-1.1/paths-data-02-t-expected.txt:
        * svg/W3C-SVG-1.1/paths-data-03-f-expected.txt:
        * svg/W3C-SVG-1.1/paths-data-04-t-expected.txt:
        * svg/W3C-SVG-1.1/paths-data-05-t-expected.txt:
        * svg/W3C-SVG-1.1/paths-data-06-t-expected.txt:
        * svg/W3C-SVG-1.1/paths-data-07-t-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-01-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-02-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-03-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-04-b-expected.png:
        * svg/W3C-SVG-1.1/pservers-grad-04-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-05-b-expected.png:
        * svg/W3C-SVG-1.1/pservers-grad-05-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-06-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-07-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-08-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-09-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-10-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-11-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-grad-12-b-expected.txt:
        * svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.txt:
        * svg/W3C-SVG-1.1/render-elems-01-t-expected.txt:
        * svg/W3C-SVG-1.1/render-elems-02-t-expected.txt:
        * svg/W3C-SVG-1.1/render-elems-03-t.svg: Removed.
        * svg/W3C-SVG-1.1/render-elems-06-t-expected.txt:
        * svg/W3C-SVG-1.1/render-elems-07-t-expected.txt:
        * svg/W3C-SVG-1.1/render-elems-08-t-expected.txt:
        * svg/W3C-SVG-1.1/render-groups-01-b-expected.png:
        * svg/W3C-SVG-1.1/render-groups-01-b-expected.txt:
        * svg/W3C-SVG-1.1/render-groups-03-t-expected.png:
        * svg/W3C-SVG-1.1/render-groups-03-t-expected.txt:
        * svg/W3C-SVG-1.1/script-handle-01-b-expected.txt:
        * svg/W3C-SVG-1.1/script-handle-02-b-expected.txt:
        * svg/W3C-SVG-1.1/script-handle-03-b-expected.txt:
        * svg/W3C-SVG-1.1/script-handle-04-b-expected.txt:
        * svg/W3C-SVG-1.1/shapes-circle-01-t-expected.txt:
        * svg/W3C-SVG-1.1/shapes-ellipse-01-t-expected.txt:
        * svg/W3C-SVG-1.1/shapes-line-01-t-expected.txt:
        * svg/W3C-SVG-1.1/shapes-polygon-01-t-expected.txt:
        * svg/W3C-SVG-1.1/shapes-polyline-01-t-expected.txt:
        * svg/W3C-SVG-1.1/shapes-rect-01-t-expected.txt:
        * svg/W3C-SVG-1.1/struct-cond-01-t-expected.txt:
        * svg/W3C-SVG-1.1/struct-cond-02-t-expected.txt:
        * svg/W3C-SVG-1.1/struct-defs-01-t-expected.txt:
        * svg/W3C-SVG-1.1/struct-dom-01-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-dom-02-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-dom-03-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-dom-04-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-dom-05-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-dom-06-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-frag-01-t-expected.png:
        * svg/W3C-SVG-1.1/struct-frag-01-t-expected.txt:
        * svg/W3C-SVG-1.1/struct-group-01-t-expected.txt:
        * svg/W3C-SVG-1.1/struct-group-02-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-image-01-t-expected.png:
        * svg/W3C-SVG-1.1/struct-image-01-t-expected.txt:
        * svg/W3C-SVG-1.1/struct-image-02-b-expected.png:
        * svg/W3C-SVG-1.1/struct-image-02-b-expected.txt:
        * svg/W3C-SVG-1.1/struct-image-03-t-expected.png:
        * svg/W3C-SVG-1.1/struct-image-03-t-expected.txt:
        * svg/W3C-SVG-1.1/struct-image-04-t-expected.png:
        * svg/W3C-SVG-1.1/struct-image-04-t-expected.txt:
        * svg/W3C-SVG-1.1/styling-css-01-b-expected.txt:
        * svg/W3C-SVG-1.1/styling-css-02-b-expected.txt:
        * svg/W3C-SVG-1.1/styling-css-03-b-expected.txt:
        * svg/W3C-SVG-1.1/styling-inherit-01-b-expected.txt:
        * svg/W3C-SVG-1.1/styling-pres-01-t-expected.txt:
        * svg/W3C-SVG-1.1/text-align-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-align-02-b-expected.txt:
        * svg/W3C-SVG-1.1/text-align-03-b-expected.txt:
        * svg/W3C-SVG-1.1/text-align-04-b-expected.txt:
        * svg/W3C-SVG-1.1/text-align-05-b-expected.txt:
        * svg/W3C-SVG-1.1/text-align-06-b-expected.txt:
        * svg/W3C-SVG-1.1/text-altglyph-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-deco-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-fonts-01-t-expected.txt:
        * svg/W3C-SVG-1.1/text-fonts-02-t-expected.txt:
        * svg/W3C-SVG-1.1/text-intro-01-t-expected.txt:
        * svg/W3C-SVG-1.1/text-intro-02-b-expected.txt:
        * svg/W3C-SVG-1.1/text-intro-03-b-expected.txt:
        * svg/W3C-SVG-1.1/text-intro-04-t-expected.txt:
        * svg/W3C-SVG-1.1/text-spacing-01-b-expected.png:
        * svg/W3C-SVG-1.1/text-spacing-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-text-01-b-expected.png:
        * svg/W3C-SVG-1.1/text-text-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-text-03-b-expected.txt:
        * svg/W3C-SVG-1.1/text-tref-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-tselect-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-tspan-01-b-expected.txt:
        * svg/W3C-SVG-1.1/text-ws-01-t-expected.txt:
        * svg/W3C-SVG-1.1/text-ws-02-t-expected.txt:

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

14 years agoBug #: none
eseidel [Fri, 25 Nov 2005 10:39:54 +0000 (10:39 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: rubber-stamped by mjs
        Test cases hrefs fixed from "../Images/" to "resources/"
        Disabled two tests which were crashing in libxml2.

        * svg/W3C-SVG-1.1/color-prof-01-f.svg:
        * svg/W3C-SVG-1.1/coords-viewattr-01-b.svg: Removed.
        * svg/W3C-SVG-1.1/coords-viewattr-01-b.svg-disabled: Added.
        * svg/W3C-SVG-1.1/filters-conv-01-f.svg:
        * svg/W3C-SVG-1.1/filters-diffuse-01-f.svg:
        * svg/W3C-SVG-1.1/filters-displace-01-f.svg:
        * svg/W3C-SVG-1.1/filters-image-01-b.svg:
        * svg/W3C-SVG-1.1/filters-light-01-f.svg:
        * svg/W3C-SVG-1.1/filters-specular-01-f.svg:
        * svg/W3C-SVG-1.1/fonts-elem-03-b.svg:
        * svg/W3C-SVG-1.1/fonts-elem-04-b.svg:
        * svg/W3C-SVG-1.1/interact-cursor-01-f.svg:
        * svg/W3C-SVG-1.1/interact-order-02-b.svg:
        * svg/W3C-SVG-1.1/interact-order-03-b.svg:
        * svg/W3C-SVG-1.1/linking-a-01-b.svg:
        * svg/W3C-SVG-1.1/linking-a-02-b.svg:
        * svg/W3C-SVG-1.1/linking-a-03-b.svg:
        * svg/W3C-SVG-1.1/linking-a-04-t.svg:
        * svg/W3C-SVG-1.1/linking-uri-02-b.svg:
        * svg/W3C-SVG-1.1/linking-uri-03-t.svg:
        * svg/W3C-SVG-1.1/masking-path-04-b.svg:
        * svg/W3C-SVG-1.1/render-elems-03-t.svg: Removed.
        * svg/W3C-SVG-1.1/render-elems-03-t.svg-disabled: Added.
        * svg/W3C-SVG-1.1/render-groups-01-b.svg:
        * svg/W3C-SVG-1.1/render-groups-03-t.svg:
        * svg/W3C-SVG-1.1/struct-image-01-t.svg:
        * svg/W3C-SVG-1.1/struct-image-02-b.svg:
        * svg/W3C-SVG-1.1/struct-image-03-t.svg:
        * svg/W3C-SVG-1.1/struct-image-05-b.svg:
        * svg/W3C-SVG-1.1/struct-symbol-01-b.svg:
        * svg/W3C-SVG-1.1/text-tref-01-b.svg:

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

14 years agoBug #: 4780
eseidel [Wed, 23 Nov 2005 15:14:11 +0000 (15:14 +0000)]
Bug #: 4780
Submitted by: eseidel
Reviewed by: mjs
         No additional test cases needed, this fixes 15+ existing tests.

         This latest set of changes fixes <image> loading (mostly)
         (There still seems to be an image loading race condition.)
         This also fixes viewBox support (for many tests)
         Fixes a Safari crasher when using patterns
         Fixes bbox() handling throughout code (for spec conformance)

         * kcanvas/KCanvasContainer.cpp:
         (KCanvasContainer::Private::Private): renamed drawContents
         (KCanvasContainer::drawsContents): renamed drawContents
         (KCanvasContainer::setDrawsContents): renamed drawContents
         (KCanvasContainer::relativeBBox): renamed bbox(), fixed
         * kcanvas/KCanvasContainer.h:
         * kcanvas/KCanvasFilters.h:
         * kcanvas/KCanvasItem.cpp:
         (RenderPath::relativeBBox): renamed bbox()
         * kcanvas/KCanvasItem.h:
         * kcanvas/KCanvasPath.cpp:
         (operator<<): removed deprecated "viewportClip" support
         * kcanvas/KCanvasPath.h:
         (KCClipDataList::addPath): removed "viewportClip" support
         * kcanvas/KCanvasResources.cpp:
         (KCanvasClipper::KCanvasClipper): removed "viewportClip" support
         (KCanvasClipper::addClipData): removed "viewportClip" support
         (KCanvasClipper::externalRepresentation): removed "viewportClip"
         * kcanvas/KCanvasResources.h:
         * kcanvas/KCanvasTreeDebug.cpp:
         (operator<<): removed "viewportClip" support
         * kcanvas/device/quartz/KCanvasFilterQuartz.h:
         * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
         (KCanvasFilterQuartz::prepareFilter): combined, simplified
         (KCanvasFilterQuartz::applyFilter): combined, simplified
         (KCanvasFilterQuartz::filterBBoxForItemBBox): simplified
         * kcanvas/device/quartz/KCanvasItemQuartz.h:
         (KCanvasItemQuartz::getAbsoluteRepaintRect): added
         * kcanvas/device/quartz/KCanvasItemQuartz.mm:
         (KCanvasItemQuartz::paint): updated for bbox() changes
         (getSharedContext): simplified
         (KCanvasItemQuartz::bboxForPath): name change
         (KCanvasItemQuartz::hitsPath): fixed for absoluteTransform()
         * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
         (KCanvasContainerQuartz::getAbsoluteRepaintRect): added
         * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
         (KCanvasContainerQuartz::layout): call RenderContainer::layout()
         (KCanvasContainerQuartz::paint): drawsContents() && viewbox()
         (KCanvasContainerQuartz::absoluteTransform): added
         (KCanvasClipperQuartz::applyClip): simplified
         * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
         (KRenderingPaintServerImageQuartz::draw): added stretch/scale
         * khtml/rendering/render_object.cpp: added absoluteTransform()
         (RenderObject::absoluteTransform):
         * khtml/rendering/render_object.h: added absoluteTransform()
         (khtml::RenderObject::relativeBBox): rename
         (khtml::RenderObject::localTransform): better default behavior
         * khtml/xml/dom_docimpl.cpp:
         (DocumentImpl::createElementNS): simpler code
         * ksvg2/svg/SVGElementImpl.cpp:
         (SVGElementImpl::viewportElement): use isElementNode()
         * ksvg2/svg/SVGImageElementImpl.cpp: removed finalizeStyle()
         (SVGImageElementImpl::attach):
         (SVGImageElementImpl::notifyFinished):
         * ksvg2/svg/SVGImageElementImpl.h:
         * ksvg2/svg/SVGLengthImpl.cpp:
         (SVGLengthImpl::value): bbox() rename
         * ksvg2/svg/SVGLocatableImpl.cpp:
         (SVGLocatableImpl::getBBox): fixed bbox() behavior
         * ksvg2/svg/SVGMarkerElementImpl.cpp:
         (SVGMarkerElementImpl::createRenderer): drawsContents rename
         * ksvg2/svg/SVGPatternElementImpl.cpp:
         (SVGPatternElementImpl::drawPatternContentIntoTile): fixed crash
         (SVGPatternElementImpl::createRenderer): drawsContents rename
         * ksvg2/svg/SVGSVGElementImpl.cpp:
         (SVGSVGElementImpl::x): simplified code
         (SVGSVGElementImpl::y): simplified code
         (SVGSVGElementImpl::width): simplified code
         (SVGSVGElementImpl::height): simplified code
         (SVGSVGElementImpl::parseMappedAttribute): add width/height to DOM
         * kwq/KWQWMatrix.mm:
         (QWMatrix::mapRect): simplified code

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

14 years ago2005-11-23 Anders Carlsson <andersca@mac.com>
andersca [Wed, 23 Nov 2005 09:48:09 +0000 (09:48 +0000)]
2005-11-23  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        Update tests for <http://bugzilla.opendarwin.org/show_bug.cgi?id=5805>
        Implement adoptNode.

        * dom/xhtml/level3/core/documentadoptnode01-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode02-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode03-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode04-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode05-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode06-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode07-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode08-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode09-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode10-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode11-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode12-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode13-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode14-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode15-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode16-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode21-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode23-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode24-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode25-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode26-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode27-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode28-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode30-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode31-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode32-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode33-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode34-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode35-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode36-expected.txt:
        These tests pass now.

        * dom/xhtml/level3/core/documentadoptnode22.xhtml: Removed.
        * dom/xhtml/level3/core/documentadoptnode22.xhtml-disabled: Added.
        Disable this test for now. It removes the entire document tree which
        makes it hard to show the test result.

        * dom/xhtml/level3/core/documentrenamenode09-expected.txt:
        This now fails because renameNode is undefined.

        * dom/xhtml/level3/core/nodeisequalnode18-expected.txt:
        This now passes.

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

14 years ago2005-11-23 Anders Carlsson <andersca@mac.com>
andersca [Wed, 23 Nov 2005 09:46:57 +0000 (09:46 +0000)]
2005-11-23  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        Fix for <http://bugzilla.opendarwin.org/show_bug.cgi?id=5805>
        Implement adoptNode.

        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMDocumentProtoFunc::callAsFunction):
        * khtml/ecma/kjs_dom.h:
        (KJS::DOMDocument::):
        Add JS wrapper for adoptNode.

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::adoptNode):
        * khtml/xml/dom_docimpl.h:
        Implement adoptNode.

        * kwq/DOM.mm:
        (-[DOMDocument adoptNode:]):
        * kwq/DOMPrivate.h:
        Add Objective C wrapper for adoptNode.

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

14 years agoJavaScriptCore:
mjs [Wed, 23 Nov 2005 05:41:23 +0000 (05:41 +0000)]
JavaScriptCore:

        Reviewed by Geoff.

<rdar://problem/4139620> Seed: WebKit: hang when sending XMLHttpRequest if automatic proxy config is used

Also factored locking code completely into a separate class, and
added a convenient packaged way to temporarily drop locks.

        * JavaScriptCore.xcodeproj/project.pbxproj:
        * kjs/JSLock.cpp: Added.
        (KJS::initializeInterpreterLock):
        (KJS::InterpreterLock::lock):
        (KJS::InterpreterLock::unlock):
        (KJS::InterpreterLock::lockCount):
        (KJS::InterpreterLock::DropAllLocks::DropAllLocks):
        (KJS::InterpreterLock::DropAllLocks::~DropAllLocks):
        * kjs/JSLock.h: Added.
        (KJS::InterpreterLock::InterpreterLock):
        (KJS::InterpreterLock::~InterpreterLock):
        * kjs/internal.cpp:
        * kjs/internal.h:
        * kjs/interpreter.cpp:
        * kjs/interpreter.h:
        * kjs/protect.h:
        * kjs/testkjs.cpp:
        (TestFunctionImp::callAsFunction):

WebCore:

        Reviewed by Geoff.

<rdar://problem/4139620> Seed: WebKit: hang when sending XMLHttpRequest if automatic proxy config is used

        * khtml/ecma/kjs_events.cpp:
        (KJS::JSLazyEventListener::parseCode):
        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequest::send):
        * kwq/WebCoreJavaScript.mm:

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

14 years agoBug #: none
eseidel [Tue, 22 Nov 2005 23:04:30 +0000 (23:04 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: No review required, svg target only.
        No additional test cases needed, this fixes 10+ existing tests.

        Fixed filters by fixing how KCanvasDeviceContexts are pushed/poped
        They now properly update the NSGrapicsContext currentContext, when
        being pushed/poped which allows for QPainter to notice the change.
        I also fixed <feImage> while there and updated all of the
        subclassed filterEffect() methods to return to proper subclass.

        * kcanvas/KCanvasFilters.h:
        * kcanvas/device/KRenderingDevice.h:
        * kcanvas/device/quartz/KCanvasFilterQuartz.h:
        * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
        (KCanvasFilterQuartz::KCanvasFilterQuartz):
        (KCanvasFilterQuartz::~KCanvasFilterQuartz):
        (KCanvasFilterQuartz::prepareFilter): fixed to push context
        (KCanvasFilterQuartz::applyFilter): fixed to pop context
        (KCanvasFEImageQuartz::getCIFilter): fixed :)
        * kcanvas/device/quartz/KCanvasItemQuartz.mm:
        (KCanvasItemQuartz::paint): fixed to push/pop context
        * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
        (KCanvasContainerQuartz::paint): fixed to push/pop context
        * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
        (KRenderingDeviceContextQuartz::cgContext):
        * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
        (KRenderingDeviceContextQuartz::KRenderingDeviceContextQuartz):
        (KRenderingDeviceContextQuartz::~KRenderingDeviceContextQuartz):
        (KRenderingDeviceContextQuartz::nsGraphicsContext): added
        (KRenderingDeviceQuartz::currentCGContext):
        (KRenderingDeviceQuartz::pushContext): now updates NSGraphicsContext
        (KRenderingDeviceQuartz::popContext): now updates NSGraphicsContext
        (KRenderingDeviceQuartz::contextForImage): fixed spacing
        (KRenderingDeviceQuartz::createPaintServer): removed comment
        * ksvg2/svg/SVGFEBlendElementImpl.cpp:
        (SVGFEBlendElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFEBlendElementImpl.h:
        * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp:
        (SVGFEColorMatrixElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFEColorMatrixElementImpl.h:
        * ksvg2/svg/SVGFEComponentTransferElementImpl.cpp:
        (SVGFEComponentTransferElementImpl::filterEffect): returns sublcass
        * ksvg2/svg/SVGFEComponentTransferElementImpl.h:
        * ksvg2/svg/SVGFECompositeElementImpl.cpp:
        (SVGFECompositeElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFECompositeElementImpl.h:
        * ksvg2/svg/SVGFEFloodElementImpl.cpp:
        (SVGFEFloodElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFEFloodElementImpl.h:
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp:
        (SVGFEGaussianBlurElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.h:
        * ksvg2/svg/SVGFEImageElementImpl.cpp:
        (SVGFEImageElementImpl::notifyFinished): updates filterEffect on load
        (SVGFEImageElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFEImageElementImpl.h:
        * ksvg2/svg/SVGFEMergeElementImpl.cpp:
        (SVGFEMergeElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFEMergeElementImpl.h:
        * ksvg2/svg/SVGFEOffsetElementImpl.cpp:
        (SVGFEOffsetElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFEOffsetElementImpl.h:
        * ksvg2/svg/SVGFETileElementImpl.cpp:
        (SVGFETileElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFETileElementImpl.h:
        * ksvg2/svg/SVGFETurbulenceElementImpl.cpp:
        (SVGFETurbulenceElementImpl::filterEffect): now returns subclass
        * ksvg2/svg/SVGFETurbulenceElementImpl.h:
        * ksvg2/svg/SVGFilterElementImpl.cpp:
        (SVGFilterElementImpl::canvasResource):
        * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
        (SVGStyledTransformableElementImpl::attach): simplified
        * kwq/KWQPainter.h:
        * kwq/KWQPainter.mm:
        (QPainterPrivate::QPainterPrivate): removed cached quartz context
        (QPainterPrivate::~QPainterPrivate): removed cached quartz context
        (QPainter::createRenderingDeviceContext): changed method name

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

14 years ago * WebView.subproj/WebView.h: Fixed incorrect comment in public header.
darin [Tue, 22 Nov 2005 15:27:44 +0000 (15:27 +0000)]
    * WebView.subproj/WebView.h: Fixed incorrect comment in public header.

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

14 years agoBug #: none
eseidel [Tue, 22 Nov 2005 12:25:13 +0000 (12:25 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: mjs
        No additional tests needed, this fixes bbox printing for all tests.

        * kcanvas/device/quartz/KCanvasFilterQuartz.h: removed space
        * khtml/rendering/render_object.h:
        (khtml::RenderObject::bbox): added const (unbreaking bbox() calls)

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

14 years agoBug #: none
eseidel [Tue, 22 Nov 2005 12:03:17 +0000 (12:03 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: mjs
        No additional test cases needed, this fixes 10+ existing tests.

        Moved filter code off of createRenderer format, fixing filters.
        Hacked in support for <image> and <feImage> (Pixmap only)
        Simplified FEComponentTransfer function construction.

        * kcanvas/KCanvasFilters.cpp:
        * kcanvas/KCanvasFilters.h:
        (KCanvasFEImage::KCanvasFEImage):
        (KCanvasFEImage::~KCanvasFEImage):
        (KCanvasFEImage::pixmap): added
        (KCanvasFEImage::setPixmap): added
        * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
        (KCanvasFEImageQuartz::getCIFilter): added
        * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
        * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
        (KRenderingPaintServerImageQuartz::draw): added
        * ksvg2/svg/SVGComponentTransferFunctionElementImpl.cpp:
        (SVGComponentTransferFunctionElementImpl::transferFunction):
        * ksvg2/svg/SVGComponentTransferFunctionElementImpl.h:
        * ksvg2/svg/SVGFEBlendElementImpl.cpp:
        (SVGFEBlendElementImpl::filterEffect):
        * ksvg2/svg/SVGFEBlendElementImpl.h:
        * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp:
        (SVGFEColorMatrixElementImpl::filterEffect):
        * ksvg2/svg/SVGFEColorMatrixElementImpl.h:
        * ksvg2/svg/SVGFEComponentTransferElementImpl.cpp:
        (SVGFEComponentTransferElementImpl::filterEffect):
        * ksvg2/svg/SVGFEComponentTransferElementImpl.h:
        * ksvg2/svg/SVGFECompositeElementImpl.cpp:
        (SVGFECompositeElementImpl::filterEffect):
        * ksvg2/svg/SVGFECompositeElementImpl.h:
        * ksvg2/svg/SVGFEFloodElementImpl.cpp:
        (SVGFEFloodElementImpl::filterEffect):
        * ksvg2/svg/SVGFEFloodElementImpl.h:
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp:
        (SVGFEGaussianBlurElementImpl::filterEffect):
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.h:
        * ksvg2/svg/SVGFEImageElementImpl.cpp:
        (SVGFEImageElementImpl::filterEffect):
        * ksvg2/svg/SVGFEMergeElementImpl.cpp:
        (SVGFEMergeElementImpl::filterEffect):
        * ksvg2/svg/SVGFEMergeElementImpl.h:
        * ksvg2/svg/SVGFEOffsetElementImpl.cpp:
        (SVGFEOffsetElementImpl::filterEffect):
        * ksvg2/svg/SVGFEOffsetElementImpl.h:
        * ksvg2/svg/SVGFETileElementImpl.cpp:
        (SVGFETileElementImpl::filterEffect):
        * ksvg2/svg/SVGFETileElementImpl.h:
        * ksvg2/svg/SVGFETurbulenceElementImpl.cpp:
        (SVGFETurbulenceElementImpl::filterEffect):
        * ksvg2/svg/SVGFETurbulenceElementImpl.h:
        * ksvg2/svg/SVGFilterElementImpl.cpp:
        (SVGFilterElementImpl::x):
        (SVGFilterElementImpl::y):
        (SVGFilterElementImpl::width):
        (SVGFilterElementImpl::height):
        (SVGFilterElementImpl::canvasResource):
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.cpp:
        (SVGFilterPrimitiveStandardAttributesImpl::setStandardAttributes):
        * ksvg2/svg/SVGImageElementImpl.cpp:
        (SVGImageElementImpl::notifyFinished):
        (SVGImageElementImpl::finalizeStyle):
        * ksvg2/svg/SVGStyledElementImpl.h:
        * ksvg2/svg/SVGURIReferenceImpl.cpp:
        (SVGURIReferenceImpl::parseMappedAttribute):

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

14 years agoBug #: none
eseidel [Tue, 22 Nov 2005 10:03:25 +0000 (10:03 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: SVG build fix only, no review.
        I used debug-only method DOMString::ascii(), broke Deployment.

        * kcanvas/KCanvasResources.cpp:
        (getResourceById):

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

14 years agoBug #: none
eseidel [Tue, 22 Nov 2005 02:22:07 +0000 (02:22 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: No review required, svg target only.
        Fixed (hacked?) gradient stop style inheritance since style is not
        currently resolved for nodes which do not create renderers,
        breaking style resolution across resource-creating nodes
        such as gradients, patterns, use, filters, etc.
        Also fixed SVG CSS values to be case-insensitive.

        * WebCore.xcodeproj/project.pbxproj: case insensitivity
        * ksvg2/svg/SVGClipPathElementImpl.cpp:
        (SVGClipPathElementImpl::canvasResource): alternative style call
        * ksvg2/svg/SVGGradientElementImpl.cpp:
        (SVGGradientElementImpl::rebuildStops): manual style resolution

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

14 years agoBug #: none
eseidel [Tue, 22 Nov 2005 00:09:11 +0000 (00:09 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: No review required, svg target only.
        No additional test cases needed, this fixes 30 or so existing tests

        Standardized all isFoo() methods to use const, which actually
        fixes svg_dynmaic_cast
        Fixed crasher in SVGGradientElementImpl (missing 0 init)
        Broke up SVGPatternElementImpl::notifyAttributeChange

        * kcanvas/KCanvasFilters.cpp:
        (KCanvasFilter::addFilterEffect): now asserts !0
        * kcanvas/KCanvasFilters.h:
        (KCanvasFilter::isFilter): added
        (KCanvasFEImage::image): now RenderObject *
        (KCanvasFEImage::setImage): now RenderObject *
        * kcanvas/KCanvasResources.cpp:
        (KCanvasMarker::draw): now uses paint()
        (getResourceById): added debug loggging
        * kcanvas/KCanvasResources.h:
        (KCanvasResource::isPaintServer): const
        (KCanvasResource::isFilter): const
        (KCanvasResource::isClipper): const
        (KCanvasResource::isMarker): const
        (KCanvasClipper::isClipper): added
        (KCanvasMarker::isMarker): added
        * kcanvas/device/KRenderingPaintServer.h:
        (KRenderingPaintServer::isPaintServer): added
        * ksvg2/svg/SVGElementImpl.cpp:
        (SVGElementImpl::parseMappedAttribute): removed extra doc check
        * ksvg2/svg/SVGElementImpl.h:
        (KSVG::SVGElementImpl::isSVGElement): const
        (KSVG::SVGElementImpl::isFilterEffect): const
        (KSVG::SVGElementImpl::isGradientStop): const
        (KSVG::SVGElementImpl::isValid): const
        (KSVG::SVGElementImpl::isClosed): const
        * ksvg2/svg/SVGFEImageElementImpl.cpp:
        (SVGFEImageElementImpl::SVGFEImageElementImpl):
        (SVGFEImageElementImpl::parseMappedAttribute): load image
        (SVGFEImageElementImpl::notifyFinished): moved logic
        (SVGFEImageElementImpl::filterEffect): lazy create
        * ksvg2/svg/SVGFEImageElementImpl.h:
        * ksvg2/svg/SVGFilterElementImpl.cpp:
        (SVGFilterElementImpl::canvasResource): added
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.h:
        (KSVG::SVGFilterPrimitiveStandardAttributesImpl::isFilterEffect):
        * ksvg2/svg/SVGGradientElementImpl.cpp:
        (SVGGradientElementImpl::SVGGradientElementImpl): init to 0
        * ksvg2/svg/SVGPatternElementImpl.cpp:
        (SVGPatternElementImpl::fillAttributesFromReferencePattern):
        (SVGPatternElementImpl::drawPatternContentIntoTile):
        (SVGPatternElementImpl::notifyClientsToRepaint):
        (SVGPatternElementImpl::notifyAttributeChange): split into pieces
        * ksvg2/svg/SVGPatternElementImpl.h:
        * ksvg2/svg/SVGStopElementImpl.h:
        (KSVG::SVGStopElementImpl::isGradientStop): const
        * ksvg2/svg/SVGTestsImpl.cpp:
        (SVGTestsImpl::isValid): const
        * ksvg2/svg/SVGTestsImpl.h:

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

14 years agoBug #: none
eseidel [Mon, 21 Nov 2005 11:59:59 +0000 (11:59 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: No review required, SVG target only.
        Fix SVG from having duplicate entries (with khtml) in its
        cssproperties.in and cssvalues.in files.  I've added an explicit
        check in the build phase for duplicates to prevent this in the
        future.  Minor code adjustments were necessary to use these
        the khtml value & property ids.

        No additional test cases needed, this change fixes:
        W3C-SVG-1.1/painting-stroke-02-t
        W3C-SVG-1.1/painting-stroke-03-t

        * WebCore.xcodeproj/project.pbxproj: duplicate id check
        * ksvg2/css/KSVGCSSParser.cpp:
        (DOM::CSSParser::parseSVGValue):
        * ksvg2/css/SVGCSSStyleSelector.cpp:
        (KDOM::CSSStyleSelector::applySVGProperty):
        * ksvg2/css/cssproperties.in: commented out duplicates
        * ksvg2/css/cssvalues.in: commented out duplicates
        * ksvg2/svg/SVGStyledTransformableElementImpl.cpp:
        (SVGStyledTransformableElementImpl::parseMappedAttribute):

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

14 years agoBug #: 5788
eseidel [Mon, 21 Nov 2005 09:39:16 +0000 (09:39 +0000)]
Bug #: 5788
Submitted by: eseidel
Reviewed by: Rubber-stamped by hyatt.
        Removed JavaScriptCore+SVG target.

        * JavaScriptCore.xcodeproj/project.pbxproj:

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

14 years agoBug #: 5788
eseidel [Mon, 21 Nov 2005 09:36:52 +0000 (09:36 +0000)]
Bug #: 5788
Submitted by: eseidel
Reviewed by: hyatt
        Some simple fixes to the build/test scripts now that SVG uses the
        WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
        or symlinks for KDOM.

        * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
        * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
        * Scripts/run-webkit-tests: now runs SVG tests using DRT
        * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
        * checkout: no longer symlink kdom

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

14 years agoBug #: 3249
eseidel [Mon, 21 Nov 2005 08:29:43 +0000 (08:29 +0000)]
Bug #: 3249
Submitted by: eseidel
Reviewed by: Only affects SVG; no review required (or possible due to size).
        The KSVG/KCanvas section of the big DOM merger.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3249
        At least the following were addressed in this patch:

        - Namespace mapping (KDOM -> DOM, khtml)
        - Forwarding Headers (temp. all kdom .h map to all webcore .h)
        - Various KDOM stub classes added to WebCore+SVG folder
        - Various DOMStringImpl -> DOMString changes
        - DOMString::string() -> DOMString::qstring() in ksvg2
        - DOMString::handle() -> DOMString::impl() in ksvg2
        - DocumentImpl, DocumentType  ::impl() -> ::implentation() in khtml
        - Moved NodeImpl::Id to QualifiedString/AtomicString in ksvg2
        - SVGNames.*, SVGElementFactory.* (and generating perl script)
        - EventImpl::id() -> type() with AtomicString
        - Removal of SVGEventImpl
        - Adding svg document and event creation in xml_docimpl.h
        - All in SVGDocumentImpl, also now using SharedPtr
        - Mapped KSVGPart, KDOMPart, KSVGView, KDOMView to KHTML*
        - Removed all throw calls, replacing with exceptioncode parameters
        - SVGElement now derives from StyledElementImpl
        - Corrected SVGNames cases (viewBoxAttr vs. viewboxAttr)
        - Moved TimeScheduler from Doc -> SVGSVGElement (temp. & wrong)
        - Moved off of DocPtr onto DocumentImpl * directly in ksvg2
        - Made SVGRenderStyle a member of khtml::RenderStyle
        - Worked KSVGCSSParser into CSSParser
        - Worked SVGCSSStyleSelector into CSSStyleSelector
        - Changed parseAttribute -> parseMappedAttribute
        - Moved KCanvasContainer onto RenderContainer
        - Renamed KCanvasItem, RenderPath, now subclass of RenderObject
        - Added RenderObject: bbox(), isRenderPath(), isKCanvasContainer()
        - Moved KCanvasContainer and RenderPath from draw() -> paint()
        - Removed RenderSVGBox && render_kcanvaswrapper hacks
        - Gutted KCanvasItem (now RenderPath) and KCanvasContainer
        - Merged KCanvasTreeDebug into KWQRenderTreeDebug
        - Made SVGNames.* SVGElementFactory.* generation a build phase
        - Removed KRenderingStyle
        - Gutted KCanvasRenderingStyle
        - Moved objectTransform onto RenderObject as "localTransform"
        - Removed KCanvasRegistry
        - Changed the way Graidents build their stop lists
        - Removed all dynamic_cast, turned off RTTI and Exceptions
        - Picked up recent marker fix & relative transform fixes from KDE

        * ForwardingHeaders/kcanvas/KCanvas.h: Added.
        * ForwardingHeaders/kcanvas/RenderPath.h: Added.
        * ForwardingHeaders/kdom/core/AttrImpl.h: Added.
        * ForwardingHeaders/kdom/core/CDFInterface.h: Added.
        * ForwardingHeaders/kdom/core/DOMConfigurationImpl.h: Added.
        * ForwardingHeaders/kdom/core/DOMExceptionImpl.h: Added.
        * ForwardingHeaders/kdom/core/DOMImplementationImpl.h: Added.
        * ForwardingHeaders/kdom/core/DOMList.h: Added.
        * ForwardingHeaders/kdom/core/DOMStringImpl.h: Added.
        * ForwardingHeaders/kdom/core/DocumentImpl.h: Added.
        * ForwardingHeaders/kdom/core/DocumentTypeImpl.h: Added.
        * ForwardingHeaders/kdom/core/ElementImpl.h: Added.
        * ForwardingHeaders/kdom/core/NamedAttrMapImpl.h: Added.
        * ForwardingHeaders/kdom/core/NodeImpl.h: Added.
        * ForwardingHeaders/kdom/core/NodeListImpl.h: Added.
        * ForwardingHeaders/kdom/core/ProcessingInstructionImpl.h: Added.
        * ForwardingHeaders/kdom/core/XMLElementImpl.h: Added.
        * ForwardingHeaders/kdom/core/domattrs.h: Added.
        * WebCore+SVG/DrawCanvasItem.mm:
        (-[DrawCanvasItem dragAnchorPointForControlPointIndex:]):
        (-[DrawCanvasItem controlPoints]):
        (-[DrawCanvasItem fitToNewBBox:]):
        (-[DrawCanvasItem valueForKey:]):
        (-[DrawCanvasItem attributedXMLString]):
        * WebCore+SVG/DrawDocument.mm:
        (-[DrawView initWithSVGData:]):
        (-[DrawView svgText]):
        (-[DrawDocument documentListensForMouseMovedEvents]):
        (-[DrawDocument documentListensForMouseDownEvents]):
        (-[DrawDocument documentListensForMouseUpEvents]):
        (-[DrawDocument KDOM::newMouseEventWithEventId:KDOM::qMouseEvent:]):
        (cursorForStyle):
        (-[DrawDocument cursorAfterPropagatingMouseMovedEvent:fromView:]):
        (-[DrawDocument removeItemFromDOM:]):
        (-[DrawDocument createItemForTool:atPoint:]):
        * WebCore+SVG/KDOMHeaders.h:
        * WebCore+SVG/KDOMSettings.cpp:
        * WebCore+SVG/SVGElementFactoryWrapper.cpp: Added.
        * WebCore+SVG/SVGNames.cpp: Removed.
        * WebCore+SVG/SVGNames.h: Removed.
        * WebCore+SVG/SVGNamesWrapper.cpp: Added.
        * WebCore+SVG/dom_kdomdocumentwrapper.cpp: Removed.
        * WebCore+SVG/dom_kdomdocumentwrapper.h: Removed.
        * WebCore+SVG/dom_kdomnodetreewrapper.cpp: Removed.
        * WebCore+SVG/dom_kdomnodetreewrapper.h: Removed.
        * WebCore+SVG/render_kcanvaswrapper.cpp: Removed.
        * WebCore+SVG/render_kcanvaswrapper.h: Removed.
        * WebCore+SVG/xml_kdomtokenizer.cpp: Removed.
        * WebCore.xcodeproj/project.pbxproj:
        * kcanvas/KCanvas.cpp: Removed.
        * kcanvas/KCanvas.h: Removed.
        * kcanvas/KCanvasContainer.cpp:
        (KCanvasContainer::Private::Private):
        (KCanvasContainer::KCanvasContainer):
        (KCanvasContainer::~KCanvasContainer):
        (KCanvasContainer::localTransform):
        (KCanvasContainer::setLocalTransform):
        (KCanvasContainer::fillContains):
        (KCanvasContainer::strokeContains):
        (KCanvasContainer::bbox):
        (KCanvasContainer::setSlice):
        (KCanvasContainer::slice):
        (KCanvasContainer::getAspectRatio):
        * kcanvas/KCanvasContainer.h:
        (KCanvasContainer::isKCanvasContainer):
        (KCanvasContainer::renderName):
        * kcanvas/KCanvasCreator.cpp:
        (KCanvasCreator::createCanvasPathData):
        * kcanvas/KCanvasCreator.h:
        * kcanvas/KCanvasFilters.cpp:
        (getFilterById):
        * kcanvas/KCanvasFilters.h:
        (KCanvasFEImage::image):
        (KCanvasFEImage::setImage):
        * kcanvas/KCanvasItem.cpp:
        (RenderPath::Private::Private):
        (RenderPath::Private::~Private):
        (RenderPath::RenderPath):
        (RenderPath::~RenderPath):
        (RenderPath::setStyle):
        (RenderPath::localTransform):
        (RenderPath::setLocalTransform):
        (RenderPath::fillContains):
        (RenderPath::strokeContains):
        (RenderPath::bbox):
        (RenderPath::hitsPath):
        (RenderPath::bboxPath):
        (RenderPath::setupForDraw):
        (RenderPath::changePath):
        (RenderPath::path):
        (RenderPath::canvasStyle):
        (RenderPath::commonArgs):
        * kcanvas/KCanvasItem.h:
        (RenderPath::isRenderPath):
        (RenderPath::renderName):
        * kcanvas/KCanvasResources.cpp:
        (KCanvasResource::addClient):
        (KCanvasResource::invalidate):
        (KCanvasMarker::KCanvasMarker):
        (KCanvasMarker::setMarker):
        (KCanvasMarker::setUseStrokeWidth):
        (KCanvasMarker::useStrokeWidth):
        (KCanvasMarker::setScaleX):
        (KCanvasMarker::scaleX):
        (KCanvasMarker::setScaleY):
        (KCanvasMarker::scaleY):
        (KCanvasMarker::draw):
        (getResourceById):
        (getMarkerById):
        (getClipperById):
        (getPaintServerById):
        * kcanvas/KCanvasResources.h:
        (KCanvasResource::isPaintServer):
        (KCanvasResource::isFilter):
        (KCanvasResource::isClipper):
        (KCanvasResource::isMarker):
        * kcanvas/KCanvasTreeDebug.cpp:
        (operator<<):
        (writeStyle):
        (getTagName):
        (write):
        * kcanvas/KCanvasTreeDebug.h:
        * kcanvas/KCanvasTypes.h:
        * kcanvas/KCanvasView.cpp: Removed.
        * kcanvas/KCanvasView.h: Removed.
        * kcanvas/KCanvasView.moc: Removed.
        * kcanvas/device/KRenderingDevice.cpp:
        (KCanvasCommonArgs::KCanvasCommonArgs):
        (KCanvasCommonArgs::canvasStyle):
        (KCanvasCommonArgs::setStyle):
        * kcanvas/device/KRenderingDevice.h:
        * kcanvas/device/KRenderingDeviceFactory.cpp: Removed.
        * kcanvas/device/KRenderingDeviceFactory.h: Removed.
        * kcanvas/device/KRenderingPaintServer.h:
        (KRenderingPaintServer::activeClient):
        (KRenderingPaintServer::setActiveClient):
        * kcanvas/device/KRenderingPaintServerGradient.cpp:
        (KRenderingPaintServerGradient::externalRepresentation):
        * kcanvas/device/KRenderingPaintServerPattern.cpp:
        (KRenderingPaintServerPattern::externalRepresentation):
        * kcanvas/device/KRenderingStrokePainter.h:
        * kcanvas/device/KRenderingStyle.cpp: Removed.
        * kcanvas/device/KRenderingStyle.h: Removed.
        * kcanvas/device/quartz/KCanvasFilterQuartz.h:
        * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
        (KCanvasFilterQuartz::applyFilter):
        * kcanvas/device/quartz/KCanvasItemQuartz.h:
        (KCanvasItemQuartz::requiresLayer):
        (KCanvasItemQuartz::layout):
        * kcanvas/device/quartz/KCanvasItemQuartz.mm:
        (KCanvasItemQuartz::KCanvasItemQuartz):
        (KCanvasItemQuartz::drawMarkersIfNeeded):
        (KCanvasItemQuartz::paint):
        (KCanvasItemQuartz::nodeAtPoint):
        (KCanvasItemQuartz::bboxPath):
        (KCanvasItemQuartz::hitsPath):
        * kcanvas/device/quartz/KCanvasResourcesQuartz.h:
        (KCanvasContainerQuartz::KCanvasContainerQuartz):
        (KCanvasContainerQuartz::canHaveChildren):
        (KCanvasContainerQuartz::requiresLayer):
        * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
        (KCanvasContainerQuartz::calcMinMaxWidth):
        (KCanvasContainerQuartz::layout):
        (KCanvasContainerQuartz::paint):
        (KCanvasContainerQuartz::setViewport):
        (KCanvasContainerQuartz::viewport):
        (KCanvasContainerQuartz::setViewBox):
        (KCanvasContainerQuartz::viewBox):
        (KCanvasContainerQuartz::setAlign):
        (KCanvasContainerQuartz::align):
        (KCanvasClipperQuartz::applyClip):
        * kcanvas/device/quartz/KCanvasViewQuartz.h: Removed.
        * kcanvas/device/quartz/KCanvasViewQuartz.mm: Removed.
        * kcanvas/device/quartz/KRenderingDeviceQuartz.h:
        * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
        (KRenderingDeviceContextQuartz::concatCTM):
        (KRenderingDeviceContextQuartz::ctm):
        (KRenderingDeviceQuartz::stringForPath):
        (KRenderingDeviceQuartz::createContainer):
        (KRenderingDeviceQuartz::createItem):
        * kcanvas/device/quartz/KRenderingPaintServerGradientQuartz.mm:
        (drawShadingWithStyle):
        (KRenderingPaintServerLinearGradientQuartz::draw):
        (KRenderingPaintServerRadialGradientQuartz::draw):
        * kcanvas/device/quartz/KRenderingPaintServerQuartz.mm:
        (KRenderingPaintServerSolidQuartz::draw):
        (KRenderingPaintServerPatternQuartz::draw):
        * kcanvas/device/quartz/QuartzSupport.h:
        * kcanvas/device/quartz/QuartzSupport.mm:
        (CFStringFromCGAffineTransform):
        (CGAffineTransformMakeMapBetweenRects):
        (CGPathTransformCallback):
        (CGPathApplyTransform):
        (applyStrokeStyleToContext):
        (CGPathToCFStringApplierFunction):
        (CFStringFromCGPath):
        * kdom/bindings/DocParser.pm: Removed.
        * kdom/bindings/IDLCodeGenerator.pm: Removed.
        * kdom/bindings/IDLCodeGeneratorCpp.pm: Removed.
        * kdom/bindings/IDLCodeGeneratorEcmaInterface.pm: Removed.
        * kdom/bindings/IDLCodeGeneratorJs.pm: Removed.
        * kdom/bindings/IDLParser.pm: Removed.
        * kdom/bindings/IDLStructure.pm: Removed.
        * kdom/bindings/idl/core/Attr.idl: Removed.
        * kdom/bindings/idl/core/CDATASection.idl: Removed.
        * kdom/bindings/idl/core/CharacterData.idl: Removed.
        * kdom/bindings/idl/core/Comment.idl: Removed.
        * kdom/bindings/idl/core/DOMConfiguration.idl: Removed.
        * kdom/bindings/idl/core/DOMError.idl: Removed.
        * kdom/bindings/idl/core/DOMErrorHandler.idl: Removed.
        * kdom/bindings/idl/core/DOMException.idl: Removed.
        * kdom/bindings/idl/core/DOMImplementation.idl: Removed.
        * kdom/bindings/idl/core/DOMLocator.idl: Removed.
        * kdom/bindings/idl/core/DOMObject.idl: Removed.
        * kdom/bindings/idl/core/DOMStringList.idl: Removed.
        * kdom/bindings/idl/core/DOMUserData.idl: Removed.
        * kdom/bindings/idl/core/Document.idl: Removed.
        * kdom/bindings/idl/core/DocumentFragment.idl: Removed.
        * kdom/bindings/idl/core/DocumentType.idl: Removed.
        * kdom/bindings/idl/core/Element.idl: Removed.
        * kdom/bindings/idl/core/Entity.idl: Removed.
        * kdom/bindings/idl/core/EntityReference.idl: Removed.
        * kdom/bindings/idl/core/NamedNodeMap.idl: Removed.
        * kdom/bindings/idl/core/Node.idl: Removed.
        * kdom/bindings/idl/core/NodeList.idl: Removed.
        * kdom/bindings/idl/core/Notation.idl: Removed.
        * kdom/bindings/idl/core/ProcessingInstruction.idl: Removed.
        * kdom/bindings/idl/core/Text.idl: Removed.
        * kdom/bindings/idl/core/TypeInfo.idl: Removed.
        * kdom/bindings/idl/core/kdomdefs.idl: Removed.
        * kdom/bindings/idl/css/CSS2Properties.idl: Removed.
        * kdom/bindings/idl/css/CSSCharsetRule.idl: Removed.
        * kdom/bindings/idl/css/CSSFontFaceRule.idl: Removed.
        * kdom/bindings/idl/css/CSSImportRule.idl: Removed.
        * kdom/bindings/idl/css/CSSMediaRule.idl: Removed.
        * kdom/bindings/idl/css/CSSPageRule.idl: Removed.
        * kdom/bindings/idl/css/CSSPrimitiveValue.idl: Removed.
        * kdom/bindings/idl/css/CSSRule.idl: Removed.
        * kdom/bindings/idl/css/CSSRuleList.idl: Removed.
        * kdom/bindings/idl/css/CSSStyleDeclaration.idl: Removed.
        * kdom/bindings/idl/css/CSSStyleRule.idl: Removed.
        * kdom/bindings/idl/css/CSSStyleSheet.idl: Removed.
        * kdom/bindings/idl/css/CSSUnknownRule.idl: Removed.
        * kdom/bindings/idl/css/CSSValue.idl: Removed.
        * kdom/bindings/idl/css/CSSValueList.idl: Removed.
        * kdom/bindings/idl/css/Counter.idl: Removed.
        * kdom/bindings/idl/css/DocumentCSS.idl: Removed.
        * kdom/bindings/idl/css/ElementCSSInlineStyle.idl: Removed.
        * kdom/bindings/idl/css/RGBColor.idl: Removed.
        * kdom/bindings/idl/css/Rect.idl: Removed.
        * kdom/bindings/idl/css/kdomdefs.idl: Removed.
        * kdom/bindings/idl/events/DocumentEvent.idl: Removed.
        * kdom/bindings/idl/events/Event.idl: Removed.
        * kdom/bindings/idl/events/EventException.idl: Removed.
        * kdom/bindings/idl/events/EventListener.idl: Removed.
        * kdom/bindings/idl/events/EventTarget.idl: Removed.
        * kdom/bindings/idl/events/MouseEvent.idl: Removed.
        * kdom/bindings/idl/events/MutationEvent.idl: Removed.
        * kdom/bindings/idl/events/UIEvent.idl: Removed.
        * kdom/bindings/idl/events/kdomdefs.idl: Removed.
        * kdom/bindings/idl/ls/DOMImplementationLS.idl: Removed.
        * kdom/bindings/idl/ls/LSException.idl: Removed.
        * kdom/bindings/idl/ls/LSInput.idl: Removed.
        * kdom/bindings/idl/ls/LSOutput.idl: Removed.
        * kdom/bindings/idl/ls/LSParser.idl: Removed.
        * kdom/bindings/idl/ls/LSParserFilter.idl: Removed.
        * kdom/bindings/idl/ls/LSResourceResolver.idl: Removed.
        * kdom/bindings/idl/ls/LSSerializer.idl: Removed.
        * kdom/bindings/idl/ls/LSSerializerFilter.idl: Removed.
        * kdom/bindings/idl/ls/kdomdefs.idl: Removed.
        * kdom/bindings/idl/range/DocumentRange.idl: Removed.
        * kdom/bindings/idl/range/Range.idl: Removed.
        * kdom/bindings/idl/range/RangeException.idl: Removed.
        * kdom/bindings/idl/range/kdomdefs.idl: Removed.
        * kdom/bindings/idl/stylesheets/DocumentStyle.idl: Removed.
        * kdom/bindings/idl/stylesheets/LinkStyle.idl: Removed.
        * kdom/bindings/idl/stylesheets/MediaList.idl: Removed.
        * kdom/bindings/idl/stylesheets/StyleSheet.idl: Removed.
        * kdom/bindings/idl/stylesheets/StyleSheetList.idl: Removed.
        * kdom/bindings/idl/stylesheets/kdomdefs.idl: Removed.
        * kdom/bindings/idl/traversal/DocumentTraversal.idl: Removed.
        * kdom/bindings/idl/traversal/NodeFilter.idl: Removed.
        * kdom/bindings/idl/traversal/NodeIterator.idl: Removed.
        * kdom/bindings/idl/traversal/TreeWalker.idl: Removed.
        * kdom/bindings/idl/traversal/kdomdefs.idl: Removed.
        * kdom/bindings/idl/views/AbstractView.idl: Removed.
        * kdom/bindings/idl/views/DocumentView.idl: Removed.
        * kdom/bindings/idl/views/kdomdefs.idl: Removed.
        * kdom/bindings/idl/xpath/XPathEvaluator.idl: Removed.
        * kdom/bindings/idl/xpath/XPathException.idl: Removed.
        * kdom/bindings/idl/xpath/XPathExpression.idl: Removed.
        * kdom/bindings/idl/xpath/XPathNSResolver.idl: Removed.
        * kdom/bindings/idl/xpath/XPathNamespace.idl: Removed.
        * kdom/bindings/idl/xpath/XPathResult.idl: Removed.
        * kdom/bindings/idl/xpath/kdomdefs.idl: Removed.
        * kdom/bindings/idl/xpointer/XPointerEvaluator.idl: Removed.
        * kdom/bindings/idl/xpointer/XPointerException.idl: Removed.
        * kdom/bindings/idl/xpointer/XPointerExpression.idl: Removed.
        * kdom/bindings/idl/xpointer/XPointerResult.idl: Removed.
        * kdom/bindings/idl/xpointer/kdomdefs.idl: Removed.
        * kdom/bindings/kdombinder.sh: Removed.
        * kdom/bindings/kdomidl.pl: Removed.
        * kdom/ls/DOMImplementationLSImpl.cpp: Removed.
        * kdom/ls/DOMImplementationLSImpl.h: Removed.
        * kdom/ls/LSExceptionImpl.cpp: Removed.
        * kdom/ls/LSExceptionImpl.h: Removed.
        * kdom/ls/LSInputImpl.cpp: Removed.
        * kdom/ls/LSInputImpl.h: Removed.
        * kdom/ls/LSOutputImpl.cpp: Removed.
        * kdom/ls/LSOutputImpl.h: Removed.
        * kdom/ls/LSParserFilterImpl.cpp: Removed.
        * kdom/ls/LSParserFilterImpl.h: Removed.
        * kdom/ls/LSParserImpl.cpp: Removed.
        * kdom/ls/LSParserImpl.h: Removed.
        * kdom/ls/LSResourceResolverImpl.cpp: Removed.
        * kdom/ls/LSResourceResolverImpl.h: Removed.
        * kdom/ls/LSSerializerFilterImpl.cpp: Removed.
        * kdom/ls/LSSerializerFilterImpl.h: Removed.
        * kdom/ls/LSSerializerImpl.cpp: Removed.
        * kdom/ls/LSSerializerImpl.h: Removed.
        * kdom/ls/kdomls.h: Removed.
        * kdom/scripts/cssmakeprops: Removed.
        * kdom/scripts/cssmakevalues: Removed.
        * ksvg2/KSVGFactory.cpp: Removed.
        * ksvg2/KSVGFactory.h: Removed.
        * ksvg2/css/KSVGCSSParser.cpp:
        (DOM::CSSParser::parseSVGValue):
        (DOM::CSSParser::parseSVGStrokeDasharray):
        (DOM::CSSParser::parseSVGPaint):
        (DOM::CSSParser::parseSVGColor):
        * ksvg2/css/SVGCSSStyleDeclarationImpl.cpp: Removed.
        * ksvg2/css/SVGCSSStyleDeclarationImpl.h: Removed.
        * ksvg2/css/SVGCSSStyleSelector.cpp:
        (KDOM::CSSStyleSelector::applySVGProperty):
        * ksvg2/css/SVGCSSStyleSheetImpl.cpp: Removed.
        * ksvg2/css/SVGCSSStyleSheetImpl.h: Removed.
        * ksvg2/css/SVGRenderStyle.cpp:
        (SVGRenderStyle::SVGRenderStyle):
        (SVGRenderStyle::equals):
        (SVGRenderStyle::inheritFrom):
        * ksvg2/css/SVGRenderStyle.h:
        (KSVG::SVGRenderStyle::SVGRenderStyle):
        * ksvg2/css/SVGRenderStyleDefs.cpp:
        (StyleMiscData::StyleMiscData):
        (StyleMiscData::operator==):
        * ksvg2/css/SVGRenderStyleDefs.h:
        * ksvg2/ecma/Ecma.cpp:
        (Ecma::inheritedGetDOMNode):
        * ksvg2/ecma/GlobalObject.cpp:
        * ksvg2/events/SVGZoomEventImpl.cpp:
        (SVGZoomEventImpl::SVGZoomEventImpl):
        * ksvg2/events/SVGZoomEventImpl.h:
        * ksvg2/misc/KCanvasRenderingStyle.cpp:
        (KCanvasRenderingStyle::KCanvasRenderingStyle):
        (KCanvasRenderingStyle::updateFill):
        (KCanvasRenderingStyle::updateStroke):
        (KCanvasRenderingStyle::updateStyle):
        (KCanvasRenderingStyle::cssPrimitiveToLength):
        * ksvg2/misc/KCanvasRenderingStyle.h:
        (KSVG::KCanvasRenderingStyle::renderStyle):
        * ksvg2/misc/KSVGTimeScheduler.cpp:
        (KSVG::SVGTimer::notifyAll):
        (KSVG::TimeScheduler::TimeScheduler):
        * ksvg2/misc/KSVGTimeScheduler.h:
        (KSVG::TimeScheduler::document):
        * ksvg2/scripts/cssmakeprops: Added.
        * ksvg2/scripts/cssmakevalues: Added.
        * ksvg2/scripts/make_names.pl: Added.
        * ksvg2/svg/CDFInterface.cpp: Removed.
        * ksvg2/svg/CDFInterface.h: Removed.
        * ksvg2/svg/SVGAElementImpl.cpp:
        (SVGAElementImpl::SVGAElementImpl):
        (SVGAElementImpl::parseMappedAttribute):
        (SVGAElementImpl::createRenderer):
        (SVGAElementImpl::defaultEventHandler):
        * ksvg2/svg/SVGAElementImpl.h:
        (KSVG::SVGAElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGAngleImpl.cpp:
        (SVGAngleImpl::setValueAsString):
        (SVGAngleImpl::valueAsString):
        * ksvg2/svg/SVGAnimateColorElementImpl.cpp:
        (SVGAnimateColorElementImpl::SVGAnimateColorElementImpl):
        (SVGAnimateColorElementImpl::handleTimerEvent):
        * ksvg2/svg/SVGAnimateColorElementImpl.h:
        * ksvg2/svg/SVGAnimateElementImpl.cpp:
        (SVGAnimateElementImpl::SVGAnimateElementImpl):
        (SVGAnimateElementImpl::handleTimerEvent):
        * ksvg2/svg/SVGAnimateElementImpl.h:
        * ksvg2/svg/SVGAnimateTransformElementImpl.cpp:
        (SVGAnimateTransformElementImpl::SVGAnimateTransformElementImpl):
        (SVGAnimateTransformElementImpl::~SVGAnimateTransformElementImpl):
        (SVGAnimateTransformElementImpl::parseMappedAttribute):
        (SVGAnimateTransformElementImpl::handleTimerEvent):
        (SVGAnimateTransformElementImpl::initialMatrix):
        (SVGAnimateTransformElementImpl::transformMatrix):
        * ksvg2/svg/SVGAnimateTransformElementImpl.h:
        * ksvg2/svg/SVGAnimatedLengthListImpl.cpp:
        * ksvg2/svg/SVGAnimatedLengthListImpl.h:
        * ksvg2/svg/SVGAnimatedNumberListImpl.cpp:
        * ksvg2/svg/SVGAnimatedNumberListImpl.h:
        * ksvg2/svg/SVGAnimatedStringImpl.cpp:
        (SVGAnimatedStringImpl::create):
        * ksvg2/svg/SVGAnimatedStringImpl.h:
        * ksvg2/svg/SVGAnimatedTemplate.h:
        (KSVG::SVGAnimatedTemplate::setBaseVal):
        (KSVG::SVGAnimatedTemplate::setAnimVal):
        * ksvg2/svg/SVGAnimatedTransformListImpl.cpp:
        * ksvg2/svg/SVGAnimatedTransformListImpl.h:
        * ksvg2/svg/SVGAnimationElementImpl.cpp:
        (SVGAnimationElementImpl::SVGAnimationElementImpl):
        (SVGAnimationElementImpl::targetElement):
        (SVGAnimationElementImpl::parseMappedAttribute):
        (SVGAnimationElementImpl::closeRenderer):
        (SVGAnimationElementImpl::targetAttribute):
        (SVGAnimationElementImpl::setTargetAttribute):
        * ksvg2/svg/SVGAnimationElementImpl.h:
        (KSVG::SVGAnimationElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGCircleElementImpl.cpp:
        (SVGCircleElementImpl::SVGCircleElementImpl):
        (SVGCircleElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGCircleElementImpl.h:
        (KSVG::SVGCircleElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGClipPathElementImpl.cpp:
        (SVGClipPathElementImpl::SVGClipPathElementImpl):
        (SVGClipPathElementImpl::parseMappedAttribute):
        (SVGClipPathElementImpl::canvasResource):
        * ksvg2/svg/SVGClipPathElementImpl.h:
        * ksvg2/svg/SVGColorImpl.cpp:
        (SVGColorImpl::rgbColor):
        (SVGColorImpl::setRGBColor):
        (SVGColorImpl::cssText):
        * ksvg2/svg/SVGColorImpl.h:
        * ksvg2/svg/SVGComponentTransferFunctionElementImpl.cpp:
        (SVGComponentTransferFunctionElementImpl::SVGComponentTransferFunctionElementImpl):
        (SVGComponentTransferFunctionElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGComponentTransferFunctionElementImpl.h:
        * ksvg2/svg/SVGCursorElementImpl.cpp:
        (SVGCursorElementImpl::SVGCursorElementImpl):
        (SVGCursorElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGCursorElementImpl.h:
        * ksvg2/svg/SVGDOMImplementationImpl.cpp:
        (SVGDOMImplementationImpl::~SVGDOMImplementationImpl):
        (SVGDOMImplementationImpl::hasFeature):
        (SVGDOMImplementationImpl::createDocumentType):
        (SVGDOMImplementationImpl::createDocument):
        (SVGDOMImplementationImpl::createCSSStyleSheet):
        * ksvg2/svg/SVGDOMImplementationImpl.h:
        * ksvg2/svg/SVGDefsElementImpl.cpp:
        (SVGDefsElementImpl::SVGDefsElementImpl):
        * ksvg2/svg/SVGDefsElementImpl.h:
        * ksvg2/svg/SVGDescElementImpl.cpp:
        (SVGDescElementImpl::SVGDescElementImpl):
        (SVGDescElementImpl::description):
        * ksvg2/svg/SVGDescElementImpl.h:
        * ksvg2/svg/SVGDocumentImpl.cpp:
        (SVGDocumentImpl::SVGDocumentImpl):
        (SVGDocumentImpl::~SVGDocumentImpl):
        (SVGDocumentImpl::title):
        (SVGDocumentImpl::createElement):
        (SVGDocumentImpl::rootElement):
        (SVGDocumentImpl::notifyFinished):
        (SVGDocumentImpl::dispatchRecursiveEvent):
        (SVGDocumentImpl::dispatchZoomEvent):
        (SVGDocumentImpl::dispatchScrollEvent):
        (SVGDocumentImpl::dispatchKeyEvent):
        (SVGDocumentImpl::createStyleSelector):
        (SVGDocumentImpl::addScripts):
        (SVGDocumentImpl::executeScripts):
        (SVGDocumentImpl::dispatchUIEvent):
        (SVGDocumentImpl::dispatchMouseEvent):
        * ksvg2/svg/SVGDocumentImpl.h:
        * ksvg2/svg/SVGElementFactory.cpp: Removed.
        * ksvg2/svg/SVGElementFactory.h: Removed.
        * ksvg2/svg/SVGElementImpl.cpp:
        (SVGElementImpl::SVGElementImpl):
        (SVGElementImpl::isSupported):
        (SVGElementImpl::ownerSVGElement):
        (SVGElementImpl::viewportElement):
        (SVGElementImpl::tryGetAttribute):
        (SVGElementImpl::tryGetAttributeNS):
        (SVGElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGElementImpl.h:
        (KSVG::SVGElementImpl::isSVGElement):
        (KSVG::SVGElementImpl::adjustViewportClipping):
        (KSVG::SVGElementImpl::isStyledTransformable):
        (KSVG::SVGElementImpl::isStyledLocatable):
        (KSVG::SVGElementImpl::isFilterEffect):
        (KSVG::SVGElementImpl::isGradientStop):
        (KSVG::SVGElementImpl::isValid):
        (KSVG::SVGElementImpl::closeRenderer):
        (KSVG::SVGElementImpl::rendererIsNeeded):
        (KSVG::SVGElementImpl::isClosed):
        * ksvg2/svg/SVGEllipseElementImpl.cpp:
        (KSVG::SVGEllipseElementImpl::SVGEllipseElementImpl):
        (KSVG::SVGEllipseElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGEllipseElementImpl.h:
        (KSVG::SVGEllipseElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGExternalResourcesRequiredImpl.cpp:
        (SVGExternalResourcesRequiredImpl::parseMappedAttribute):
        * ksvg2/svg/SVGExternalResourcesRequiredImpl.h:
        * ksvg2/svg/SVGFEBlendElementImpl.cpp:
        (SVGFEBlendElementImpl::SVGFEBlendElementImpl):
        (SVGFEBlendElementImpl::parseMappedAttribute):
        (SVGFEBlendElementImpl::createRenderer):
        * ksvg2/svg/SVGFEBlendElementImpl.h:
        (KSVG::SVGFEBlendElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFEColorMatrixElementImpl.cpp:
        (SVGFEColorMatrixElementImpl::SVGFEColorMatrixElementImpl):
        (SVGFEColorMatrixElementImpl::parseMappedAttribute):
        (SVGFEColorMatrixElementImpl::createRenderer):
        * ksvg2/svg/SVGFEColorMatrixElementImpl.h:
        (KSVG::SVGFEColorMatrixElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFEComponentTransferElementImpl.cpp:
        (SVGFEComponentTransferElementImpl::SVGFEComponentTransferElementImpl):
        (SVGFEComponentTransferElementImpl::parseMappedAttribute):
        (SVGFEComponentTransferElementImpl::createRenderer):
        (SVGFEComponentTransferElementImpl::closeRenderer):
        * ksvg2/svg/SVGFEComponentTransferElementImpl.h:
        (KSVG::SVGFEComponentTransferElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFECompositeElementImpl.cpp:
        (SVGFECompositeElementImpl::SVGFECompositeElementImpl):
        (SVGFECompositeElementImpl::parseMappedAttribute):
        (SVGFECompositeElementImpl::createRenderer):
        * ksvg2/svg/SVGFECompositeElementImpl.h:
        (KSVG::SVGFECompositeElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFEFloodElementImpl.cpp:
        (SVGFEFloodElementImpl::SVGFEFloodElementImpl):
        (SVGFEFloodElementImpl::parseMappedAttribute):
        (SVGFEFloodElementImpl::createRenderer):
        * ksvg2/svg/SVGFEFloodElementImpl.h:
        (KSVG::SVGFEFloodElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFEFuncAElementImpl.cpp:
        (SVGFEFuncAElementImpl::SVGFEFuncAElementImpl):
        * ksvg2/svg/SVGFEFuncAElementImpl.h:
        * ksvg2/svg/SVGFEFuncBElementImpl.cpp:
        (SVGFEFuncBElementImpl::SVGFEFuncBElementImpl):
        * ksvg2/svg/SVGFEFuncBElementImpl.h:
        * ksvg2/svg/SVGFEFuncGElementImpl.cpp:
        (SVGFEFuncGElementImpl::SVGFEFuncGElementImpl):
        * ksvg2/svg/SVGFEFuncGElementImpl.h:
        * ksvg2/svg/SVGFEFuncRElementImpl.cpp:
        (SVGFEFuncRElementImpl::SVGFEFuncRElementImpl):
        * ksvg2/svg/SVGFEFuncRElementImpl.h:
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.cpp:
        (SVGFEGaussianBlurElementImpl::SVGFEGaussianBlurElementImpl):
        (SVGFEGaussianBlurElementImpl::parseMappedAttribute):
        (SVGFEGaussianBlurElementImpl::createRenderer):
        * ksvg2/svg/SVGFEGaussianBlurElementImpl.h:
        (KSVG::SVGFEGaussianBlurElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFEImageElementImpl.cpp:
        (SVGFEImageElementImpl::SVGFEImageElementImpl):
        (SVGFEImageElementImpl::parseMappedAttribute):
        (SVGFEImageElementImpl::finalizeStyle):
        (SVGFEImageElementImpl::createRenderer):
        * ksvg2/svg/SVGFEImageElementImpl.h:
        (KSVG::SVGFEImageElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFEMergeElementImpl.cpp:
        (SVGFEMergeElementImpl::SVGFEMergeElementImpl):
        (SVGFEMergeElementImpl::createRenderer):
        (SVGFEMergeElementImpl::closeRenderer):
        * ksvg2/svg/SVGFEMergeElementImpl.h:
        (KSVG::SVGFEMergeElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFEMergeNodeElementImpl.cpp:
        (SVGFEMergeNodeElementImpl::SVGFEMergeNodeElementImpl):
        (SVGFEMergeNodeElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGFEMergeNodeElementImpl.h:
        * ksvg2/svg/SVGFEOffsetElementImpl.cpp:
        (SVGFEOffsetElementImpl::SVGFEOffsetElementImpl):
        (SVGFEOffsetElementImpl::parseMappedAttribute):
        (SVGFEOffsetElementImpl::createRenderer):
        * ksvg2/svg/SVGFEOffsetElementImpl.h:
        (KSVG::SVGFEOffsetElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFETileElementImpl.cpp:
        (SVGFETileElementImpl::SVGFETileElementImpl):
        (SVGFETileElementImpl::parseMappedAttribute):
        (SVGFETileElementImpl::createRenderer):
        * ksvg2/svg/SVGFETileElementImpl.h:
        (KSVG::SVGFETileElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFETurbulenceElementImpl.cpp:
        (SVGFETurbulenceElementImpl::SVGFETurbulenceElementImpl):
        (SVGFETurbulenceElementImpl::parseMappedAttribute):
        (SVGFETurbulenceElementImpl::createRenderer):
        * ksvg2/svg/SVGFETurbulenceElementImpl.h:
        (KSVG::SVGFETurbulenceElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGFilterElementImpl.cpp:
        (SVGFilterElementImpl::SVGFilterElementImpl):
        (SVGFilterElementImpl::x):
        (SVGFilterElementImpl::y):
        (SVGFilterElementImpl::width):
        (SVGFilterElementImpl::height):
        (SVGFilterElementImpl::parseMappedAttribute):
        (SVGFilterElementImpl::canvasResource):
        * ksvg2/svg/SVGFilterElementImpl.h:
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.cpp:
        (SVGFilterPrimitiveStandardAttributesImpl::SVGFilterPrimitiveStandardAttributesImpl):
        (SVGFilterPrimitiveStandardAttributesImpl::width):
        (SVGFilterPrimitiveStandardAttributesImpl::height):
        (SVGFilterPrimitiveStandardAttributesImpl::parseMappedAttribute):
        (SVGFilterPrimitiveStandardAttributesImpl::setStandardAttributes):
        * ksvg2/svg/SVGFilterPrimitiveStandardAttributesImpl.h:
        (KSVG::SVGFilterPrimitiveStandardAttributesImpl::isFilterEffect):
        * ksvg2/svg/SVGFitToViewBoxImpl.cpp:
        (SVGFitToViewBoxImpl::SVGFitToViewBoxImpl):
        (SVGFitToViewBoxImpl::~SVGFitToViewBoxImpl):
        (SVGFitToViewBoxImpl::viewBox):
        (SVGFitToViewBoxImpl::preserveAspectRatio):
        (SVGFitToViewBoxImpl::parseViewBox):
        (SVGFitToViewBoxImpl::parseMappedAttribute):
        * ksvg2/svg/SVGFitToViewBoxImpl.h:
        * ksvg2/svg/SVGGElementImpl.cpp:
        (SVGGElementImpl::SVGGElementImpl):
        (SVGGElementImpl::parseMappedAttribute):
        (SVGGElementImpl::setChanged):
        (SVGGElementImpl::createRenderer):
        (SVGDummyElementImpl::SVGDummyElementImpl):
        (SVGDummyElementImpl::localName):
        * ksvg2/svg/SVGGElementImpl.h:
        (KSVG::SVGGElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGGradientElementImpl.cpp:
        (SVGGradientElementImpl::SVGGradientElementImpl):
        (SVGGradientElementImpl::parseMappedAttribute):
        (SVGGradientElementImpl::notifyAttributeChange):
        (SVGGradientElementImpl::canvasResource):
        (SVGGradientElementImpl::resourceNotification):
        (SVGGradientElementImpl::rebuildStops):
        * ksvg2/svg/SVGGradientElementImpl.h:
        * ksvg2/svg/SVGHelper.cpp:
        (SVGHelper::PercentageOfViewport):
        * ksvg2/svg/SVGImageElementImpl.cpp:
        (SVGImageElementImpl::SVGImageElementImpl):
        (SVGImageElementImpl::parseMappedAttribute):
        (SVGImageElementImpl::createRenderer):
        (SVGImageElementImpl::notifyFinished):
        (SVGImageElementImpl::finalizeStyle):
        * ksvg2/svg/SVGImageElementImpl.h:
        (KSVG::SVGImageElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGLangSpaceImpl.cpp:
        (SVGLangSpaceImpl::SVGLangSpaceImpl):
        (SVGLangSpaceImpl::~SVGLangSpaceImpl):
        (SVGLangSpaceImpl::xmllang):
        (SVGLangSpaceImpl::setXmllang):
        (SVGLangSpaceImpl::xmlspace):
        (SVGLangSpaceImpl::setXmlspace):
        (SVGLangSpaceImpl::parseMappedAttribute):
        * ksvg2/svg/SVGLangSpaceImpl.h:
        * ksvg2/svg/SVGLengthImpl.cpp:
        (SVGLengthImpl::value):
        (SVGLengthImpl::setValueAsString):
        (SVGLengthImpl::updateValue):
        * ksvg2/svg/SVGLengthImpl.h:
        * ksvg2/svg/SVGLengthListImpl.cpp:
        (SVGLengthListImpl::parse):
        * ksvg2/svg/SVGLineElementImpl.cpp:
        (SVGLineElementImpl::SVGLineElementImpl):
        (SVGLineElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGLineElementImpl.h:
        (KSVG::SVGLineElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGLinearGradientElementImpl.cpp:
        (SVGLinearGradientElementImpl::SVGLinearGradientElementImpl):
        (SVGLinearGradientElementImpl::parseMappedAttribute):
        (SVGLinearGradientElementImpl::buildGradient):
        * ksvg2/svg/SVGLinearGradientElementImpl.h:
        (KSVG::SVGLinearGradientElementImpl::gradientType):
        * ksvg2/svg/SVGLocatableImpl.cpp:
        (SVGLocatableImpl::nearestViewportElement):
        (SVGLocatableImpl::farthestViewportElement):
        (SVGLocatableImpl::getBBox):
        (SVGLocatableImpl::getCTM):
        (SVGLocatableImpl::getScreenCTM):
        * ksvg2/svg/SVGLocatableImpl.h:
        * ksvg2/svg/SVGMarkerElementImpl.cpp:
        (SVGMarkerElementImpl::SVGMarkerElementImpl):
        (SVGMarkerElementImpl::parseMappedAttribute):
        (SVGMarkerElementImpl::canvasResource):
        (SVGMarkerElementImpl::createRenderer):
        * ksvg2/svg/SVGMarkerElementImpl.h:
        (KSVG::SVGMarkerElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGNames.cpp: Removed.
        * ksvg2/svg/SVGNames.h: Removed.
        * ksvg2/svg/SVGPaintImpl.cpp:
        (SVGPaintImpl::setUri):
        (SVGPaintImpl::cssText):
        * ksvg2/svg/SVGPaintImpl.h:
        * ksvg2/svg/SVGPathElementImpl.cpp:
        (KSVG::SVGPathElementImpl::SVGPathElementImpl):
        (KSVG::SVGPathElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGPathElementImpl.h:
        (KSVG::SVGPathElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGPatternElementImpl.cpp:
        (SVGPatternElementImpl::SVGPatternElementImpl):
        (SVGPatternElementImpl::~SVGPatternElementImpl):
        (SVGPatternElementImpl::parseMappedAttribute):
        (SVGPatternElementImpl::notifyAttributeChange):
        (SVGPatternElementImpl::createRenderer):
        (SVGPatternElementImpl::canvasResource):
        * ksvg2/svg/SVGPatternElementImpl.h:
        (KSVG::SVGPatternElementImpl::allowAttachChildren):
        (KSVG::SVGPatternElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGPolyElementImpl.cpp:
        (SVGPolyElementImpl::SVGPolyElementImpl):
        (SVGPolyElementImpl::parseMappedAttribute):
        (SVGPolyElementImpl::notifyAttributeChange):
        * ksvg2/svg/SVGPolyElementImpl.h:
        (KSVG::SVGPolyElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGPolygonElementImpl.cpp:
        (SVGPolygonElementImpl::SVGPolygonElementImpl):
        * ksvg2/svg/SVGPolygonElementImpl.h:
        * ksvg2/svg/SVGPolylineElementImpl.cpp:
        (SVGPolylineElementImpl::SVGPolylineElementImpl):
        * ksvg2/svg/SVGPolylineElementImpl.h:
        * ksvg2/svg/SVGPreserveAspectRatioImpl.cpp:
        (SVGPreserveAspectRatioImpl::parsePreserveAspectRatio):
        * ksvg2/svg/SVGRadialGradientElementImpl.cpp:
        (SVGRadialGradientElementImpl::SVGRadialGradientElementImpl):
        (SVGRadialGradientElementImpl::parseMappedAttribute):
        (SVGRadialGradientElementImpl::buildGradient):
        * ksvg2/svg/SVGRadialGradientElementImpl.h:
        (KSVG::SVGRadialGradientElementImpl::gradientType):
        * ksvg2/svg/SVGRectElementImpl.cpp:
        (SVGRectElementImpl::SVGRectElementImpl):
        (SVGRectElementImpl::parseMappedAttribute):
        (SVGRectElementImpl::toPathData):
        * ksvg2/svg/SVGRectElementImpl.h:
        (KSVG::SVGRectElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGSVGElementImpl.cpp:
        (SVGSVGElementImpl::SVGSVGElementImpl):
        (SVGSVGElementImpl::~SVGSVGElementImpl):
        (SVGSVGElementImpl::width):
        (SVGSVGElementImpl::height):
        (SVGSVGElementImpl::contentScriptType):
        (SVGSVGElementImpl::setContentScriptType):
        (SVGSVGElementImpl::contentStyleType):
        (SVGSVGElementImpl::setContentStyleType):
        (SVGSVGElementImpl::currentScale):
        (SVGSVGElementImpl::setCurrentScale):
        (SVGSVGElementImpl::currentTranslate):
        (SVGSVGElementImpl::parseMappedAttribute):
        (SVGSVGElementImpl::pauseAnimations):
        (SVGSVGElementImpl::unpauseAnimations):
        (SVGSVGElementImpl::animationsPaused):
        (SVGSVGElementImpl::getCurrentTime):
        (SVGSVGElementImpl::checkIntersection):
        (SVGSVGElementImpl::checkEnclosure):
        (SVGSVGElementImpl::getCTM):
        (SVGSVGElementImpl::getScreenCTM):
        (SVGSVGElementImpl::createRenderer):
        (SVGSVGElementImpl::setZoomAndPan):
        * ksvg2/svg/SVGSVGElementImpl.h:
        (KSVG::SVGSVGElementImpl::rendererIsNeeded):
        (KSVG::SVGSVGElementImpl::timeScheduler):
        * ksvg2/svg/SVGScriptElementImpl.cpp:
        (SVGScriptElementImpl::SVGScriptElementImpl):
        (SVGScriptElementImpl::parseMappedAttribute):
        (SVGScriptElementImpl::executeScript):
        * ksvg2/svg/SVGScriptElementImpl.h:
        * ksvg2/svg/SVGSetElementImpl.cpp:
        (SVGSetElementImpl::SVGSetElementImpl):
        (SVGSetElementImpl::handleTimerEvent):
        * ksvg2/svg/SVGSetElementImpl.h:
        * ksvg2/svg/SVGStopElementImpl.cpp:
        (SVGStopElementImpl::SVGStopElementImpl):
        (SVGStopElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGStopElementImpl.h:
        (KSVG::SVGStopElementImpl::isGradientStop):
        * ksvg2/svg/SVGStylableImpl.h:
        * ksvg2/svg/SVGStyleElementImpl.cpp:
        (SVGStyleElementImpl::SVGStyleElementImpl):
        (SVGStyleElementImpl::~SVGStyleElementImpl):
        (SVGStyleElementImpl::xmlspace):
        (SVGStyleElementImpl::setXmlspace):
        (SVGStyleElementImpl::type):
        (SVGStyleElementImpl::setType):
        (SVGStyleElementImpl::media):
        (SVGStyleElementImpl::setMedia):
        (SVGStyleElementImpl::title):
        (SVGStyleElementImpl::setTitle):
        (SVGStyleElementImpl::sheet):
        (SVGStyleElementImpl::childrenChanged):
        * ksvg2/svg/SVGStyleElementImpl.h:
        * ksvg2/svg/SVGStyledElementImpl.cpp:
        (SVGStyledElementImpl::SVGStyledElementImpl):
        (SVGStyledElementImpl::~SVGStyledElementImpl):
        (SVGStyledElementImpl::createRenderer):
        (SVGStyledElementImpl::parseMappedAttribute):
        (SVGStyledElementImpl::finalizeStyle):
        (SVGStyledElementImpl::attach):
        (SVGStyledElementImpl::canvas):
        (SVGStyledElementImpl::updateCanvasItem):
        (SVGStyledElementImpl::pushAttributeContext):
        * ksvg2/svg/SVGStyledElementImpl.h:
        (KSVG::SVGStyledElementImpl::rendererIsNeeded):
        (KSVG::SVGStyledElementImpl::canvasResource):
        * ksvg2/svg/SVGStyledLocatableElementImpl.cpp: Added.
        (SVGStyledLocatableElementImpl::SVGStyledLocatableElementImpl):
        (SVGStyledLocatableElementImpl::~SVGStyledLocatableElementImpl):
        (SVGStyledLocatableElementImpl::nearestViewportElement):
        (SVGStyledLocatableElementImpl::farthestViewportElement):
        (SVGStyledLocatableElementImpl::getBBox):
        (SVGStyledLocatableElementImpl::getCTM):
        (SVGStyledLocatableElementImpl::getScreenCTM):
        (SVGStyledLocatableElementImpl::getTransformToElement):
        * ksvg2/svg/SVGStyledLocatableElementImpl.h: Added.
        (KSVG::SVGStyledLocatableElementImpl::isStyledLocatable):
        * ksvg2/svg/SVGStyledTransformableElementImpl.cpp: Added.
        (SVGStyledTransformableElementImpl::SVGStyledTransformableElementImpl):
        (SVGStyledTransformableElementImpl::~SVGStyledTransformableElementImpl):
        (SVGStyledTransformableElementImpl::transform):
        (SVGStyledTransformableElementImpl::localMatrix):
        (SVGStyledTransformableElementImpl::getCTM):
        (SVGStyledTransformableElementImpl::getScreenCTM):
        (SVGStyledTransformableElementImpl::updateLocalTransform):
        (SVGStyledTransformableElementImpl::parseMappedAttribute):
        (SVGStyledTransformableElementImpl::nearestViewportElement):
        (SVGStyledTransformableElementImpl::farthestViewportElement):
        (SVGStyledTransformableElementImpl::getBBox):
        (SVGStyledTransformableElementImpl::getTransformToElement):
        (SVGStyledTransformableElementImpl::attach):
        * ksvg2/svg/SVGStyledTransformableElementImpl.h: Added.
        (KSVG::SVGStyledTransformableElementImpl::isStyledTransformable):
        * ksvg2/svg/SVGSwitchElementImpl.cpp:
        (SVGSwitchElementImpl::SVGSwitchElementImpl):
        (SVGSwitchElementImpl::allowAttachChildren):
        (SVGSwitchElementImpl::createRenderer):
        * ksvg2/svg/SVGSwitchElementImpl.h:
        (KSVG::SVGSwitchElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGSymbolElementImpl.cpp:
        (SVGSymbolElementImpl::SVGSymbolElementImpl):
        (SVGSymbolElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGSymbolElementImpl.h:
        * ksvg2/svg/SVGTSpanElementImpl.cpp:
        (SVGTSpanElementImpl::SVGTSpanElementImpl):
        * ksvg2/svg/SVGTSpanElementImpl.h:
        * ksvg2/svg/SVGTestsImpl.cpp:
        (SVGTestsImpl::isValid):
        (SVGTestsImpl::parseMappedAttribute):
        * ksvg2/svg/SVGTestsImpl.h:
        * ksvg2/svg/SVGTextContentElementImpl.cpp:
        (SVGTextContentElementImpl::SVGTextContentElementImpl):
        (SVGTextContentElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGTextContentElementImpl.h:
        * ksvg2/svg/SVGTextElementImpl.cpp:
        (SVGTextElementImpl::SVGTextElementImpl):
        (SVGTextElementImpl::parseMappedAttribute):
        (SVGTextElementImpl::nearestViewportElement):
        (SVGTextElementImpl::farthestViewportElement):
        (SVGTextElementImpl::getBBox):
        (SVGTextElementImpl::getScreenCTM):
        (SVGTextElementImpl::getCTM):
        * ksvg2/svg/SVGTextElementImpl.h:
        (KSVG::SVGTextElementImpl::getTransformToElement):
        (KSVG::SVGTextElementImpl::transform):
        (KSVG::SVGTextElementImpl::localMatrix):
        (KSVG::SVGTextElementImpl::updateLocalTransform):
        * ksvg2/svg/SVGTextPositioningElementImpl.cpp:
        (SVGTextPositioningElementImpl::SVGTextPositioningElementImpl):
        (SVGTextPositioningElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGTextPositioningElementImpl.h:
        * ksvg2/svg/SVGTitleElementImpl.cpp:
        (SVGTitleElementImpl::SVGTitleElementImpl):
        (SVGTitleElementImpl::title):
        * ksvg2/svg/SVGTitleElementImpl.h:
        * ksvg2/svg/SVGTransformImpl.cpp:
        (SVGTransformImpl::setMatrix):
        * ksvg2/svg/SVGTransformableImpl.cpp:
        (SVGTransformableImpl::SVGTransformableImpl):
        (SVGTransformableImpl::~SVGTransformableImpl):
        (SVGTransformableImpl::parseTransformAttribute):
        * ksvg2/svg/SVGTransformableImpl.h:
        * ksvg2/svg/SVGURIReferenceImpl.cpp:
        (SVGURIReferenceImpl::href):
        (SVGURIReferenceImpl::parseMappedAttribute):
        * ksvg2/svg/SVGURIReferenceImpl.h:
        * ksvg2/svg/SVGUseElementImpl.cpp:
        (SVGUseElementImpl::SVGUseElementImpl):
        (SVGUseElementImpl::parseMappedAttribute):
        (SVGUseElementImpl::closeRenderer):
        (SVGUseElementImpl::createRenderer):
        * ksvg2/svg/SVGUseElementImpl.h:
        (KSVG::SVGUseElementImpl::rendererIsNeeded):
        * ksvg2/svg/SVGViewElementImpl.cpp:
        (SVGViewElementImpl::SVGViewElementImpl):
        (SVGViewElementImpl::parseMappedAttribute):
        * ksvg2/svg/SVGViewElementImpl.h:
        * ksvg2/svg/SVGZoomAndPanImpl.cpp:
        (SVGZoomAndPanImpl::parseMappedAttribute):
        * ksvg2/svg/SVGZoomAndPanImpl.h:

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

14 years agoBug #: 3249
eseidel [Mon, 21 Nov 2005 04:02:02 +0000 (04:02 +0000)]
Bug #: 3249
Submitted by: eseidel
Reviewed by: hyatt
        The first part of the big KDOM-DOM merger.
        This section covers the additions necessary to the khtml/kwq side
        in order to support ksvg2 on top of WebCore's DOM.  All changes
        are enclosed within SVG_SUPPORT blocks for easy disabling.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3249

        * ForwardingHeaders/ksvg2/KSVGPart.h: to KDOMHeaders.h
        * ForwardingHeaders/ksvg2/KSVGView.h: to KDOMHeaders.h
        * WebCore-svg.exp: removed Draw* symbols
        * WebCorePrefix.h: map KDOM to DOM
        * khtml/css/css_valueimpl.h:
        (DOM::CSSValueImpl::cssValueType): defaults to CSS_CUSTOM
        * khtml/css/cssparser.cpp:
        (CSSParser::parseValue): calls parseSVGValue as necessary
        (DOM::CSSParser::lex):
        * khtml/css/cssparser.h:
        * khtml/css/cssstyleselector.cpp: svg specific support
        (khtml::CSSStyleSelector::loadDefaultStyle): loads svg UA sheet
        (khtml::CSSStyleSelector::applyProperty): calls applySVGProperty
        * khtml/css/cssstyleselector.h:
        * khtml/css/parser.y: calls KSVG::get(Property|Value)ID
        * khtml/ecma/domparser.cpp:
        (KJS::DOMParserProtoFunc::callAsFunction): use isXMLMIMEType
        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMDocument::getValueProperty): impl -> implementation
        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequest::getValueProperty): use isXMLMIMEType
        * khtml/html/html_documentimpl.cpp: remove referrer
        * khtml/html/html_documentimpl.h: remove referrer
        * khtml/khtml_part.cpp:
        (KHTMLPart::init):
        (KHTMLPart::begin):
        * khtml/khtml_part.h:
        * khtml/rendering/render_canvas.cpp: m_renderingDevice && m_registry support.
        (RenderCanvas::RenderCanvas):
        (RenderCanvas::~RenderCanvas):
        (RenderCanvas::renderingDevice): new method for svg
        (RenderCanvas::registry): new method for svg
        * khtml/rendering/render_canvas.h:
        * khtml/rendering/render_container.h: private -> protected (child manipulation)
        * khtml/rendering/render_object.h:
        (khtml::RenderObject::isKCanvasContainer): new for svg
        (khtml::RenderObject::isRenderPath): new for svg
        (khtml::RenderObject::bbox): new for svg
        * khtml/rendering/render_style.cpp: svg support
        (m_affectedByAttributeSelectors):
        (RenderStyle::RenderStyle):
        (RenderStyle::inheritFrom):
        (RenderStyle::operator==):
        (RenderStyle::contentDataEquivalent):
        * khtml/rendering/render_style.h: add m_svgStyle
        (khtml::RenderStyle::svgStyle):
        * khtml/xml/EventNames.h: add zoom event
        * khtml/xml/dom_docimpl.cpp: add referrer
        (DOMImplementationImpl::hasFeature): made const
        (DOMImplementationImpl::createDocument):
        (DOMImplementationImpl::isXMLMIMEType): new function
        (DocumentImpl::implementation): renamed function
        (DocumentImpl::createElementNS): svg support
        (DocumentImpl::recalcStyleSelector): svg <style> support
        (DocumentImpl::createEvent): SVGEvent support
        (DocumentImpl::referrer): moved from HTMLDocument
        * khtml/xml/dom_docimpl.h:
        (DOM::DocumentTypeImpl::implementation): renamed function
        * khtml/xml/dom_elementimpl.cpp:
        (ElementImpl::hasAttribute): convenience function
        (ElementImpl::rendererIsNeeded): disable renderers for unknown elements in svg
        * khtml/xml/dom_elementimpl.h:
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::createRendererIfNeeded): null check on returned rederer
        * khtml/xml/dom_nodeimpl.h:
        (DOM::NodeImpl::isSVGElement): added for svg
        * khtml/xml/dom_stringimpl.cpp:
        (DOM::DOMStringImpl::DOMStringImpl): init from QString
        * khtml/xml/dom_stringimpl.h:
        * khtml/xml/dom_textimpl.cpp:
        (TextImpl::rendererIsNeeded): don't create RenderText in SVG trees
        * khtml/xsl/xslt_processorimpl.cpp:
        (DOM::XSLTProcessorImpl::createDocumentFromSource): impl -> implementation
        * kwq/DOM.mm:
        (-[DOMDocument implementation]): impl -> implementation
        * kwq/KWQRenderTreeDebug.cpp:
        (write): dispatch to kcanvas write functions
        (externalRepresentation): dump registry
        * kwq/KWQRenderTreeDebug.h: export write function for kcanvas to use

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

14 years agoBug #: 5711
eseidel [Mon, 21 Nov 2005 01:20:43 +0000 (01:20 +0000)]
Bug #: 5711
Submitted by: eseidel
Reviewed by: mjs
        Remove #if !APPLE_CHANGES and #if 0 blocks.  No functional changes.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5711

        * khtml/css/css_computedstyle.cpp:
        (DOM::CSSComputedStyleDeclarationImpl::getPropertyCSSValue):
        * khtml/css/css_valueimpl.cpp:
        (DOM::CSSMutableStyleDeclarationImpl::setProperty):
        (DOM::CSSPrimitiveValueImpl::computeLength):
        (DOM::CSSPrimitiveValueImpl::computeLengthFloat):
        (DOM::CSSPrimitiveValueImpl::cssText):
        (DOM::FontFamilyValueImpl::FontFamilyValueImpl):
        * khtml/css/css_valueimpl.h:
        * khtml/css/cssparser.cpp:
        (qFatal):
        (CSSParser::parseValue):
        (CSSParser::parseDashboardRegions):
        * khtml/css/cssstyleselector.cpp:
        (khtml::):
        (khtml::colorForCSSValue):
        (khtml::CSSStyleSelector::applyDeclarations):
        (khtml::CSSStyleSelector::applyProperty):
        (khtml::CSSStyleSelector::checkForTextSizeAdjust):
        * khtml/css/cssstyleselector.h:
        * khtml/dom/dom_node.h:
        * khtml/ecma/kjs_binding.cpp:
        * khtml/ecma/kjs_binding.h:
        * khtml/ecma/kjs_css.cpp:
        (KJS::DOMStyleSheetList::getOwnPropertySlot):
        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMNode::getValueProperty):
        (KJS::NodeConstructor::getValueProperty):
        (KJS::DOMExceptionConstructor::getValueProperty):
        * khtml/ecma/kjs_html.cpp:
        (KJS::HTMLElement::getOwnPropertySlot):
        (KJS::KJS::HTMLElementFunction::callAsFunction):
        (KJS::KJS::HTMLElement::put):
        * khtml/ecma/kjs_html.h:
        * khtml/ecma/kjs_navigator.cpp:
        (KJS::Navigator::getValueProperty):
        (KJS::PluginBase::refresh):
        * khtml/ecma/kjs_proxy.cpp:
        (KJSProxyImpl::evaluate):
        (KJSProxyImpl::initScript):
        * khtml/ecma/kjs_window.cpp:
        (KJS::allowPopUp):
        (KJS::Window::getValueProperty):
        (KJS::Window::put):
        (KJS::Window::resumeTimeouts):
        (KJS::Window::scheduleClose):
        (KJS::Window::isSafeScript):
        (KJS::WindowFunc::callAsFunction):
        (KJS::WindowQObject::hasTimeouts):
        (KJS::Location::put):
        (KJS::LocationFunc::callAsFunction):
        (KJS::BarInfo::getValueProperty):
        * khtml/ecma/kjs_window.h:
        * khtml/ecma/xmlhttprequest.cpp:
        (KJS::XMLHttpRequestQObject::slotData):
        (KJS::XMLHttpRequest::send):
        (KJS::XMLHttpRequest::processSyncLoadResults):
        (KJS::XMLHttpRequest::slotData):
        * khtml/ecma/xmlhttprequest.h:
        * khtml/editing/SelectionController.cpp:
        (khtml::SelectionController::debugPosition):
        * khtml/editing/append_node_command.cpp:
        * khtml/editing/apply_style_command.cpp:
        * khtml/editing/break_blockquote_command.cpp:
        * khtml/editing/composite_edit_command.cpp:
        * khtml/editing/delete_from_text_node_command.cpp:
        * khtml/editing/delete_selection_command.cpp:
        * khtml/editing/edit_command.cpp:
        * khtml/editing/htmlediting.cpp:
        * khtml/editing/insert_into_text_node_command.cpp:
        * khtml/editing/insert_line_break_command.cpp:
        * khtml/editing/insert_node_before_command.cpp:
        * khtml/editing/insert_paragraph_separator_command.cpp:
        * khtml/editing/insert_text_command.cpp:
        * khtml/editing/join_text_nodes_command.cpp:
        * khtml/editing/jsediting.cpp:
        * khtml/editing/markup.cpp:
        * khtml/editing/merge_identical_elements_command.cpp:
        * khtml/editing/move_selection_command.cpp:
        * khtml/editing/rebalance_whitespace_command.cpp:
        * khtml/editing/remove_css_property_command.cpp:
        * khtml/editing/remove_node_attribute_command.cpp:
        * khtml/editing/remove_node_command.cpp:
        * khtml/editing/remove_node_preserving_children_command.cpp:
        * khtml/editing/replace_selection_command.cpp:
        * khtml/editing/set_node_attribute_command.cpp:
        * khtml/editing/split_element_command.cpp:
        * khtml/editing/split_text_node_command.cpp:
        * khtml/editing/split_text_node_containing_element.cpp:
        * khtml/editing/typing_command.cpp:
        * khtml/editing/visible_position.cpp:
        * khtml/editing/wrap_contents_in_dummy_span_command.cpp:
        * khtml/html/html_documentimpl.cpp:
        (DOM::HTMLDocumentImpl::referrer):
        (DOM::HTMLDocumentImpl::cookie):
        (DOM::HTMLDocumentImpl::setCookie):
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLFormElementImpl::attach):
        (DOM::HTMLFormElementImpl::formData):
        (DOM::HTMLFormElementImpl::submit):
        (DOM::HTMLFormElementImpl::parseMappedAttribute):
        (DOM::HTMLGenericFormElementImpl::isMouseFocusable):
        (DOM::HTMLGenericFormElementImpl::defaultEventHandler):
        (DOM::HTMLInputElementImpl::setInputType):
        (DOM::HTMLInputElementImpl::type):
        (DOM::HTMLInputElementImpl::canHaveSelection):
        (DOM::HTMLInputElementImpl::selectionStart):
        (DOM::HTMLInputElementImpl::selectionEnd):
        (DOM::HTMLInputElementImpl::setSelectionStart):
        (DOM::HTMLInputElementImpl::setSelectionEnd):
        (DOM::HTMLInputElementImpl::select):
        (DOM::HTMLInputElementImpl::setSelectionRange):
        (DOM::HTMLInputElementImpl::click):
        (DOM::HTMLInputElementImpl::accessKeyAction):
        (DOM::HTMLInputElementImpl::rendererIsNeeded):
        (DOM::HTMLInputElementImpl::createRenderer):
        (DOM::HTMLInputElementImpl::attach):
        (DOM::HTMLInputElementImpl::altText):
        (DOM::HTMLInputElementImpl::appendFormData):
        (DOM::HTMLInputElementImpl::valueWithDefault):
        (DOM::HTMLInputElementImpl::storesValueSeparateFromAttribute):
        (DOM::HTMLInputElementImpl::defaultEventHandler):
        (DOM::HTMLSelectElementImpl::state):
        (DOM::HTMLSelectElementImpl::restoreState):
        (DOM::HTMLKeygenElementImpl::appendFormData):
        * khtml/html/html_formimpl.h:
        (DOM::HTMLInputElementImpl::):
        * khtml/html/html_imageimpl.cpp:
        (HTMLImageLoader::updateFromElement):
        (HTMLImageElementImpl::parseMappedAttribute):
        * khtml/html/html_inlineimpl.cpp:
        (DOM::HTMLAnchorElementImpl::isMouseFocusable):
        * khtml/html/html_objectimpl.cpp:
        (DOM::HTMLAppletElementImpl::getMember):
        (DOM::HTMLAppletElementImpl::callMember):
        (DOM::HTMLAppletElementImpl::allParamsAvailable):
        (DOM::HTMLEmbedElementImpl::getEmbedInstance):
        (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
        (DOM::HTMLObjectElementImpl::getObjectInstance):
        (DOM::HTMLObjectElementImpl::rendererIsNeeded):
        * khtml/html/html_objectimpl.h:
        (DOM::HTMLObjectElementImpl::isDocNamedItem):
        * khtml/html/html_tableimpl.cpp:
        (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
        (DOM::HTMLTableElementImpl::parseMappedAttribute):
        * khtml/html/htmlparser.cpp:
        (HTMLParser::handleIsindex):
        * khtml/html/htmltokenizer.cpp:
        (khtml::HTMLTokenizer::scriptExecution):
        * khtml/html/htmltokenizer.h:
        * khtml/khtml_part.cpp:
        (KHTMLPart::KHTMLPart):
        (KHTMLPart::init):
        (KHTMLPart::~KHTMLPart):
        (KHTMLPart::restoreURL):
        (KHTMLPart::didOpenURL):
        (KHTMLPart::stopLoading):
        (KHTMLPart::createJavaContext):
        (KHTMLPart::setAutoloadImages):
        (KHTMLPart::clear):
        (KHTMLPart::receivedFirstData):
        (KHTMLPart::slotFinished):
        (KHTMLPart::childBegin):
        (KHTMLPart::begin):
        (KHTMLPart::write):
        (KHTMLPart::gotoAnchor):
        (KHTMLPart::slotLoaderRequestStarted):
        (KHTMLPart::slotLoaderRequestDone):
        (KHTMLPart::checkCompleted):
        (KHTMLPart::completeURL):
        (KHTMLPart::scheduleHistoryNavigation):
        (KHTMLPart::urlCursor):
        (KHTMLPart::text):
        (KHTMLPart::selectedText):
        (KHTMLPart::hasSelection):
        (KHTMLPart::setSelection):
        (KHTMLPart::urlSelected):
        (KHTMLPart::requestFrameName):
        (KHTMLPart::requestObject):
        (KHTMLPart::processObjectRequest):
        (KHTMLPart::submitForm):
        (KHTMLPart::slotChildStarted):
        (KHTMLPart::slotChildCompleted):
        (KHTMLPart::childFrame):
        (KHTMLPart::findFrame):
        (KHTMLPart::frameExists):
        (KHTMLPart::parentPart):
        (KHTMLPart::emitSelectionChanged):
        (KHTMLPart::setZoomFactor):
        (KHTMLPart::reparseConfiguration):
        (KHTMLPart::khtmlMousePressEvent):
        (KHTMLPart::khtmlMouseMoveEvent):
        (KHTMLPart::startAutoScroll):
        (KHTMLPart::stopAutoScroll):
        (KHTMLPart::shouldChangeSelection):
        (KHTMLPart::appliedEditing):
        (KHTMLPart::unappliedEditing):
        (KHTMLPart::reappliedEditing):
        (KHTMLPart::copyToPasteboard):
        (KHTMLPart::cutToPasteboard):
        (KHTMLPart::pasteFromPasteboard):
        (KHTMLPart::pasteAndMatchStyle):
        (KHTMLPart::transpose):
        (KHTMLPart::redo):
        (KHTMLPart::undo):
        * khtml/khtml_part.h:
        (KHTMLPart::didFirstLayout):
        * khtml/khtmlpart_p.h:
        (KHTMLPartPrivate::KHTMLPartPrivate):
        (KHTMLPartPrivate::~KHTMLPartPrivate):
        * khtml/khtmlview.cpp:
        (KHTMLViewPrivate::KHTMLViewPrivate):
        (KHTMLViewPrivate::~KHTMLViewPrivate):
        (KHTMLViewPrivate::reset):
        (KHTMLView::KHTMLView):
        (KHTMLView::~KHTMLView):
        (KHTMLView::resetScrollBars):
        (KHTMLView::init):
        (KHTMLView::clear):
        (KHTMLView::resizeEvent):
        (KHTMLView::initScrollBars):
        (KHTMLView::layout):
        (KHTMLView::updateDashboardRegions):
        (KHTMLView::viewportMousePressEvent):
        (KHTMLView::viewportMouseDoubleClickEvent):
        (KHTMLView::viewportMouseMoveEvent):
        (KHTMLView::viewportMouseReleaseEvent):
        (KHTMLView::keyPressEvent):
        (KHTMLView::contentsContextMenuEvent):
        (KHTMLView::dispatchDragEvent):
        (KHTMLView::focusNextPrevNode):
        (KHTMLView::mediaType):
        (KHTMLView::setScrollBarsMode):
        (KHTMLView::restoreScrollBar):
        (KHTMLView::viewportWheelEvent):
        * khtml/khtmlview.h:
        * khtml/misc/decoder.cpp:
        (Decoder::setEncoding):
        (Decoder::decode):
        (Decoder::flush):
        * khtml/misc/decoder.h:
        * khtml/misc/helper.cpp:
        (khtml::findWordBoundary):
        (khtml::nextWordFromIndex):
        (khtml::findSentenceBoundary):
        (khtml::nextSentenceFromIndex):
        * khtml/misc/helper.h:
        * khtml/misc/loader.cpp:
        (CachedObject::~CachedObject):
        (CachedImageCallback::clear):
        (CachedImage::CachedImage):
        (CachedImage::tiled_pixmap):
        (CachedImage::pixmap):
        (CachedImage::setShowAnimations):
        (CachedImage::clear):
        (CachedImage::data):
        (CachedImage::error):
        (DocLoader::DocLoader):
        (DocLoader::requestImage):
        (DocLoader::requestStyleSheet):
        (DocLoader::requestScript):
        (DocLoader::requestXSLStyleSheet):
        (DocLoader::requestXBLDocument):
        (Loader::Loader):
        (Loader::~Loader):
        (Loader::servePendingRequests):
        (Loader::slotFinished):
        (Loader::slotData):
        (Loader::numRequests):
        (Loader::cancelRequests):
        (Loader::removeBackgroundDecodingRequest):
        (Cache::init):
        (Cache::requestImage):
        (Cache::requestStyleSheet):
        (Cache::requestScript):
        (Cache::requestXSLStyleSheet):
        (Cache::requestXBLDocument):
        * khtml/misc/loader.h:
        (khtml::CachedObject::CachedObject):
        * khtml/misc/stringit.h:
        (khtml::TokenizerSubstring::TokenizerSubstring):
        * khtml/rendering/render_applet.cpp:
        (RenderApplet::RenderApplet):
        (RenderApplet::layout):
        (RenderEmptyApplet::RenderEmptyApplet):
        (RenderEmptyApplet::layout):
        * khtml/rendering/render_applet.h:
        * khtml/rendering/render_canvas.cpp:
        (RenderCanvas::setBestTruncatedAt):
        * khtml/rendering/render_canvas.h:
        (khtml::RenderCanvas::printImages):
        * khtml/rendering/render_container.cpp:
        (RenderContainer::addChild):
        (RenderContainer::removeChildNode):
        (RenderContainer::appendChildNode):
        (RenderContainer::insertChildNode):
        * khtml/rendering/render_flexbox.cpp:
        (khtml::RenderFlexibleBox::layoutVerticalBox):
        * khtml/rendering/render_flow.cpp:
        (RenderFlow::paintLines):
        (RenderFlow::paintFocusRing):
        * khtml/rendering/render_flow.h:
        * khtml/rendering/render_form.cpp:
        (RenderFormElement::baselinePosition):
        (RenderFormElement::setStyle):
        (RenderFormElement::updateFromElement):
        (RenderFormElement::layout):
        (RenderLineEdit::RenderLineEdit):
        (RenderLineEdit::slotReturnPressed):
        (RenderLineEdit::addSearchResult):
        (RenderLineEdit::calcMinMaxWidth):
        (RenderLineEdit::setStyle):
        (RenderLineEdit::updateFromElement):
        (RenderFileButton::RenderFileButton):
        (RenderFileButton::calcMinMaxWidth):
        (RenderFileButton::slotClicked):
        (RenderFileButton::updateFromElement):
        (RenderFileButton::select):
        (ComboBoxWidget::event):
        (ComboBoxWidget::eventFilter):
        (RenderSelect::updateFromElement):
        (RenderSelect::layout):
        (RenderTextArea::RenderTextArea):
        (RenderTextArea::calcMinMaxWidth):
        (RenderTextArea::setStyle):
        (RenderTextArea::updateFromElement):
        (RenderTextArea::text):
        (RenderTextArea::selectionStart):
        (RenderTextArea::selectionEnd):
        (RenderTextArea::setSelectionStart):
        (RenderTextArea::setSelectionEnd):
        (RenderTextArea::setSelectionRange):
        * khtml/rendering/render_form.h:
        (khtml::RenderFormElement::intrinsicMargin):
        (khtml::RenderLineEdit::canHaveIntrinsicMargins):
        (khtml::RenderSelect::canHaveIntrinsicMargins):
        (khtml::RenderTextArea::canHaveIntrinsicMargins):
        * khtml/rendering/render_frames.cpp:
        (RenderFrameSet::userResize):
        (RenderFrame::slotViewCleared):
        (RenderPartObject::layout):
        (RenderPartObject::slotViewCleared):
        * khtml/rendering/render_image.cpp:
        (RenderImage::setPixmap):
        (RenderImage::resetAnimation):
        (RenderImage::paint):
        (RenderImage::layout):
        * khtml/rendering/render_image.h:
        * khtml/rendering/render_layer.cpp:
        (khtml::RenderLayer::scrollToOffset):
        (khtml::RenderLayer::updateScrollInfoAfterLayout):
        (khtml::RenderLayer::paintScrollbars):
        (khtml::setClip):
        (khtml::RenderLayer::paintLayer):
        (khtml::RenderLayer::hitTest):
        * khtml/rendering/render_layer.h:
        * khtml/rendering/render_line.cpp:
        (khtml::InlineFlowBox::paintDecorations):
        * khtml/rendering/render_list.cpp:
        (RenderListMarker::paint):
        * khtml/rendering/render_list.h:
        (khtml::RenderListItem::markerStringValue):
        * khtml/rendering/render_object.cpp:
        (RenderObject::addFocusRingRects):
        (RenderObject::paintOutline):
        (RenderObject::setStyle):
        (RenderObject::removeFromObjectLists):
        (RenderObject::remove):
        (RenderObject::backslashAsCurrencySymbol):
        * khtml/rendering/render_object.h:
        * khtml/rendering/render_replaced.cpp:
        (RenderWidget::resizeWidget):
        (RenderWidget::sendConsumedMouseUp):
        (RenderWidget::setStyle):
        * khtml/rendering/render_replaced.h:
        * khtml/rendering/render_style.cpp:
        (StyleVisualData::StyleVisualData):
        (StyleCSS3NonInheritedData::operator==):
        (textSizeAdjust):
        (StyleCSS3InheritedData):
        (StyleCSS3InheritedData::operator==):
        (RenderStyle::diff):
        * khtml/rendering/render_style.h:
        (khtml::StyleVisualData::operator==):
        (khtml::RenderStyle::textSizeAdjust):
        (khtml::RenderStyle::setDashboardRegion):
        (khtml::RenderStyle::setTextSizeAdjust):
        * khtml/rendering/render_text.h:
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::DocumentImpl):
        (DocumentImpl::~DocumentImpl):
        (DocumentImpl::updateTitle):
        (DocumentImpl::recalcStyle):
        (DocumentImpl::updateRendering):
        (DocumentImpl::attach):
        (DocumentImpl::detach):
        (DocumentImpl::getAccObjectCache):
        (DocumentImpl::updateSelection):
        (DocumentImpl::implicitClose):
        (DocumentImpl::processHttpEquiv):
        (DocumentImpl::updateStyleSelector):
        (DocumentImpl::setFocusNode):
        * khtml/xml/dom_docimpl.h:
        * khtml/xml/dom_elementimpl.cpp:
        (ElementImpl::recalcStyle):
        * khtml/xml/dom_elementimpl.h:
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::dispatchKeyEvent):
        (DOM::NodeImpl::createRendererIfNeeded):
        * khtml/xml/dom_position.cpp:
        * khtml/xml/dom_textimpl.h:
        * khtml/xml/dom_xmlimpl.h:
        * khtml/xml/xml_tokenizer.cpp:
        (khtml::Tokenizer::Tokenizer):
        (khtml::Tokenizer::finishedParsing):
        (khtml::XMLTokenizer::error):
        * khtml/xml/xml_tokenizer.h:

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

14 years agoBug #: 5777
eseidel [Sun, 20 Nov 2005 21:34:15 +0000 (21:34 +0000)]
Bug #: 5777
Submitted by: eseidel
Reviewed by: none
        Rolling out the getMatchedCSSRules change, as it caused
        many layout tests to crash on TOT:
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5777

        * khtml/css/cssparser.cpp:
        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::matchRules):
        (khtml::CSSStyleSelector::matchRulesForList):
        (khtml::CSSStyleSelector::initForStyleResolve):
        * khtml/css/cssstyleselector.h:
        * khtml/css/parser.y:
        * khtml/ecma/kjs_views.cpp:
        (KJS::DOMAbstractViewProtoFunc::callAsFunction):
        * khtml/ecma/kjs_views.h:
        (KJS::DOMAbstractView::):
        * khtml/xml/dom2_viewsimpl.cpp:
        (DOM::AbstractViewImpl::getComputedStyle):
        * khtml/xml/dom2_viewsimpl.h:
        * kwq/DOM-CSS.mm:
        * kwq/DOMCSS.h:

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

14 years ago Reviewed by Tim Hatcher.
harrison [Sat, 19 Nov 2005 02:36:25 +0000 (02:36 +0000)]
    Reviewed by Tim Hatcher.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=5774
        Failed assertion `!eventDispatchForbidden()' in dom_nodeimpl.cpp:892

        Tests added: None, becaause it keeps some existing ones from crashing.

        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::ContainerNodeImpl::insertBefore):
        (DOM::ContainerNodeImpl::replaceChild):
        (DOM::ContainerNodeImpl::removeChild):
        (DOM::ContainerNodeImpl::appendChild):
        (DOM::ContainerNodeImpl::addChild):
        Call enableEventDispatch() sooner, when basic dom mods are done.

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

14 years ago Changes by Tim H, reviewed by Vicki.
vicki [Sat, 19 Nov 2005 02:08:06 +0000 (02:08 +0000)]
Changes by Tim H, reviewed by Vicki.

- call shouldClose on the bridge for the main frame

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

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

14 years ago Changes by Darin, reviewed by Beth and Vicki.
vicki [Sat, 19 Nov 2005 01:27:06 +0000 (01:27 +0000)]
    Changes by Darin, reviewed by Beth and Vicki.

        - fix <rdar://problem/3939265> support "before unload" event and onbeforeunload handler (supported by both IE and Mozilla)

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge canRunBeforeUnloadConfirmPanel]):
        (-[WebBridge runBeforeUnloadConfirmPanelWithMessage:]):
        * WebView.subproj/WebFrame.m:
        (-[WebFrame _checkNavigationPolicyForRequest:dataSource:formState:andCall:withSelector:]):
        (-[WebFrame _continueLoadRequestAfterNavigationPolicy:formState:]):
        * WebView.subproj/WebUIDelegatePrivate.h:
        * WebView.subproj/WebView.m:
        (-[WebView shouldClose]):
        * WebView.subproj/WebViewPrivate.h:

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

14 years ago Changes by Darin, reviewed by Beth and Vicki.
vicki [Sat, 19 Nov 2005 01:26:48 +0000 (01:26 +0000)]
    Changes by Darin, reviewed by Beth and Vicki.

        - fix <rdar://problem/3939265> support "before unload" event and onbeforeunload handler (supported by both IE and Mozilla)

        * khtml/ecma/kjs_events.cpp:
        (KJS::JSAbstractEventListener::handleEvent):
        * khtml/ecma/kjs_window.cpp:
        (KJS::Window::getValueProperty):
        (KJS::Window::put):
        * khtml/ecma/kjs_window.h:
        (KJS::Window::):
        * khtml/html/html_baseimpl.cpp:
        (HTMLBodyElementImpl::parseMappedAttribute):
        (HTMLFrameElementImpl::parseMappedAttribute):
        (HTMLFrameSetElementImpl::parseMappedAttribute):
        * khtml/html/htmlnames.h:
        * khtml/xml/EventNames.h:
        * khtml/xml/dom2_eventsimpl.cpp:
        (DOM::EventImpl::storesResultAsString):
        (DOM::EventImpl::storeResult):
        (DOM::BeforeUnloadEventImpl::BeforeUnloadEventImpl):
        (DOM::BeforeUnloadEventImpl::storesResultAsString):
        (DOM::BeforeUnloadEventImpl::storeResult):
        * khtml/xml/dom2_eventsimpl.h:
        (DOM::BeforeUnloadEventImpl::result):
        * kwq/KWQKHTMLPart.h:
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::shouldClose):
        * kwq/WebCoreBridge.h:
        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge shouldClose]):

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

14 years agoBug #:
bdakin [Fri, 18 Nov 2005 23:42:06 +0000 (23:42 +0000)]
Bug #:
Submitted by:
Reviewed by:

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

14 years ago Layout tests for <http://bugzilla.opendarwin.org/show_bug.cgi?id=5629>
harrison [Fri, 18 Nov 2005 21:35:03 +0000 (21:35 +0000)]
    Layout tests for <bugzilla.opendarwin.org/show_bug.cgi?id=5629>

        * editing/deleting/move-nodes-001-expected.checksum: Added.
        * editing/deleting/move-nodes-001-expected.png: Added.
        * editing/deleting/move-nodes-001-expected.txt: Added.
        * editing/deleting/move-nodes-001.html: Added.

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

14 years ago <http://bugzilla.opendarwin.org/show_bug.cgi?id=5629>
harrison [Fri, 18 Nov 2005 21:34:40 +0000 (21:34 +0000)]
    <bugzilla.opendarwin.org/show_bug.cgi?id=5629>
        REGRESSION: appendChild() does not remove nodes from source nodelist when inserting into destination

        Enable event dispatch when calling removeChild() in loops.   That it was
        disabled previously was wrong because the DOM is not fragile at that point.
        Makes the event dispatch forbiddance a debug-only check

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::createEvent):
        * khtml/xml/dom_docimpl.h:
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::dispatchEvent):
        (DOM::NodeImpl::dispatchGenericEvent):
        (DOM::NodeImpl::dispatchHTMLEvent):
        (DOM::NodeImpl::dispatchWindowEvent):
        (DOM::NodeImpl::dispatchMouseEvent):
        (DOM::NodeImpl::dispatchSimulatedMouseEvent):
        (DOM::NodeImpl::dispatchUIEvent):
        (DOM::NodeImpl::dispatchSubtreeModifiedEvent):
        (DOM::NodeImpl::dispatchKeyEvent):
        (DOM::NodeImpl::dispatchWheelEvent):
        (DOM::ContainerNodeImpl::insertBefore):
        (DOM::ContainerNodeImpl::replaceChild):
        (DOM::ContainerNodeImpl::removeChild):
        (DOM::ContainerNodeImpl::removeChildren):
        (DOM::ContainerNodeImpl::appendChild):
        (DOM::ContainerNodeImpl::addChild):
        (DOM::ContainerNodeImpl::dispatchChildInsertedEvents):

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

14 years agoBug #:
bdakin [Thu, 17 Nov 2005 23:40:01 +0000 (23:40 +0000)]
Bug #:
Submitted by:
Reviewed by:

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

14 years ago Reviewed by Beth.
adele [Thu, 17 Nov 2005 23:17:00 +0000 (23:17 +0000)]
    Reviewed by Beth.

        - fix for <rdar://problem/4347856> Safari crash after browsing Fandango.

        When removeFormElement is getting called in a destructor, there may not be a document.
        So we don't need to worry about cleaning up the radio buttons in this case, not only to
        avoid the crash, but also because the document's destructor will clean that up.

        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLFormElementImpl::removeFormElement): Added nil check for document.

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

14 years ago Add support for getting a style property off of a DOMAttr. This is an API that...
hyatt [Thu, 17 Nov 2005 22:29:14 +0000 (22:29 +0000)]
Add support for getting a style property off of a DOMAttr.  This is an API that allows
access to the style declaration for HTML presentational attributes like width and height.  This API exists only
in Objective-C, since JS would have to make the declaration readonly before it could be safely
returned.

        Reviewed by darin

        * khtml/xml/dom_elementimpl.h:
        (DOM::AttributeImpl::style):
        (DOM::AttrImpl::style):
        (DOM::MappedAttributeImpl::style):
        * kwq/DOM.mm:
        (-[DOMAttr style]):
        * kwq/DOMPrivate.h:

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

14 years ago Add support for getMatchedCSSRules, an API that can be used to
hyatt [Thu, 17 Nov 2005 21:28:13 +0000 (21:28 +0000)]
Add support for getMatchedCSSRules, an API that can be used to
inspect the set of rules that match on an element.  From Obj-C
you see all rules (user agent, author, user).  From JS you just
see author rules.

        Reviewed by darin

        * khtml/css/cssparser.cpp:
        * khtml/css/cssstyleselector.cpp:
        (khtml::CSSStyleSelector::matchRules):
        (khtml::CSSStyleSelector::matchRulesForList):
        (khtml::CSSStyleSelector::initForStyleResolve):
        (khtml::CSSStyleSelector::styleRulesForElement):
        (khtml::CSSStyleSelector::pseudoStyleRulesForElement):
        * khtml/css/cssstyleselector.h:
        * khtml/css/parser.y:
        * khtml/ecma/kjs_views.cpp:
        (KJS::DOMAbstractViewProtoFunc::callAsFunction):
        * khtml/ecma/kjs_views.h:
        (KJS::DOMAbstractView::):
        * khtml/xml/dom2_viewsimpl.cpp:
        (DOM::AbstractViewImpl::getComputedStyle):
        (DOM::AbstractViewImpl::getMatchedCSSRules):
        * khtml/xml/dom2_viewsimpl.h:
        * kwq/DOM-CSS.mm:
        (-[DOMDocument getMatchedCSSRules::]):
        * kwq/DOMCSS.h:

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

14 years agoBug #:
bdakin [Thu, 17 Nov 2005 18:45:15 +0000 (18:45 +0000)]
Bug #:
Submitted by:
Reviewed by:

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

14 years agoFixed the line endings in my previous ChangeLog entry.
justing [Thu, 17 Nov 2005 03:37:07 +0000 (03:37 +0000)]
Fixed the line endings in my previous ChangeLog entry.

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

14 years ago Reviewed by harrison
justing [Thu, 17 Nov 2005 01:05:52 +0000 (01:05 +0000)]
    Reviewed by harrison

        Updated editing tests to reflect changes for:

        <rdar://problem/4108909> Editing delegate gets extra webViewDidChangeSelection: notifications

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

14 years ago Reviewed by darin
justing [Thu, 17 Nov 2005 01:04:34 +0000 (01:04 +0000)]
    Reviewed by darin

        <rdar://problem/4108909> Editing delegate gets extra webViewDidChangeSelection: notifications

        Editing operations used to set an empty selection on the part before
        doing work.  Doing this 1) isn't necessary* 2) creates an extra didChangeSelection
        notification (4108909) 3) produces a strange shouldChangeSelection call after the
        editing operation is complete, i.e. "shouldChangeSelection from null to ...?"

        There are still strange shouldChangeSelection calls after this change. For example,
        after a delete, the selection before the delete no longer exists, so it probably
        doesn't make sense to ask the delegate if WebKit shouldChangeSelection.  This is filed
        as 4343068.

        * This was added on 2004-09-28 in order to mark misspellings in the selection to
        be operated on (marking misspellings is a side effect of setting a selection).
        Misspellings in the old selection are still marked, but not until after the operation
        is complete.  Since some editing operations remove the selection from the document
        (i.e. delete or undo-typing), respondToChangedSelection no longer assumes that the old
        selection is in the document.

        Updated layout tests to reflect this change.

        * khtml/editing/edit_command.cpp:
        (khtml::EditCommand::EditCommand): Don't set the part's selection to empty before editing.
        (khtml::EditCommand::apply): Ditto.
        (khtml::EditCommand::unapply): Ditto.
        (khtml::EditCommand::reapply): Ditto.
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::respondToChangedSelection): Don't assume that the old selection is still in the document.

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

14 years ago Reviewed by Dave Harrson.
adele [Thu, 17 Nov 2005 00:32:32 +0000 (00:32 +0000)]
    Reviewed by Dave Harrson.

        - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=5759
        <rdar://problem/4346132> REGRESSION (10.4.3-10.4.4): horizontal link scrolling broken at aplacecalledcommon.co.uk (5759)

        * khtml/rendering/render_layer.cpp: (khtml::RenderLayer::getRectToExpose): If the rect is larger than the visible rect, and we're trying to align to the closest edge, align to the left edge.
        * khtml/xml/dom_nodeimpl.cpp: (DOM::ContainerNodeImpl::getRect): If width or height is negative, we were setting both to zero.
        Now we only set the negative value to zero without affecting the other value.

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

14 years ago2005-11-14 Anders Carlsson <andersca@mac.com>
andersca [Wed, 16 Nov 2005 09:45:01 +0000 (09:45 +0000)]
2005-11-14  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        Updated tests for <http://bugzilla.opendarwin.org/show_bug.cgi?id=5737>
        Implement DOM3 namespace functions.

        * dom/xhtml/level3/core/nodeisdefaultnamespace01-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace02-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace03-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace05-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace06-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace07-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace08-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace09-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace10-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace11-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace13-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace14-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace15-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace16-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri02-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri03-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri05-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri06-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri07-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri08-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri09-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri10-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri11-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri13-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri14-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri15-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri16-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri18-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri19-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix01-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix02-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix03-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix05-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix06-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix07-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix08-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix09-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix10-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix11-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix13-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix14-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix15-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix16-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix18-expected.txt:
        These tests pass now.

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

14 years ago2005-11-14 Anders Carlsson <andersca@mac.com>
andersca [Wed, 16 Nov 2005 09:43:14 +0000 (09:43 +0000)]
2005-11-14  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        - fix <http://bugzilla.opendarwin.org/show_bug.cgi?id=5737>
        Implement DOM3 namespace functions.

        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMNodeProtoFunc::callAsFunction):
        * khtml/ecma/kjs_dom.h:
        (KJS::DOMNode::):
        Add JavaScript wrappers for new Node namespace functions.

        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::isDefaultNamespace):
        (DOM::NodeImpl::lookupPrefix):
        (DOM::NodeImpl::lookupNamespaceURI):
        (DOM::NodeImpl::lookupNamespacePrefix):
        (DOM::NodeImpl::getAncestorElement):
        Implement Node namespace functions.

        * khtml/xml/dom_nodeimpl.h:
        Add definitions for Node namespace functions.

        * kwq/DOM.mm:
        (-[DOMNode isDefaultNamespace:]):
        (-[DOMNode lookupPrefix:]):
        (-[DOMNode lookupNamespaceURI:]):
        Add objective C wrappers for new Node namespace functions.

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

14 years ago Reviewed by mjs.
ggaren [Wed, 16 Nov 2005 01:45:12 +0000 (01:45 +0000)]
    Reviewed by mjs.

        - Fixed <rdar://problem/4342216> Installer crash in
          KJS::ValueImp::marked() when garbage collector runs inside call to
          ConstantValues::init()

        I took responsibility for initializing and marking ConstantValues away
        from InterpreterImp, since it's possible to reference such a value
        before any interpreter has been created and after the last interpreter
        has been destroyed.

        InterpreterImp::lock now initializes ConstantValues. It's a good
        place for the initialization because you have to call it before
        creating any objects. Since ::lock can be called more than once,
        I added a check in ConstantValues::init to ensure that it executes
        only once.

        Collector:collect is now responsible for marking ConstantValues.

        We no longer clear the ConstantValues since we can't guarantee that no
        one has a reference to them.

        FIXME: This is hackery. The long-term plan is to make ConstantValues
        use immediate values that require no initialization.

        * ChangeLog:
        * kjs/collector.cpp:
        (KJS::Collector::collect):
        * kjs/internal.cpp:
        (KJS::InterpreterImp::InterpreterImp):
        (KJS::InterpreterImp::lock):
        (KJS::InterpreterImp::clear):
        (KJS::InterpreterImp::mark):
        * kjs/internal.h:
        * kjs/value.cpp:
        (KJS::ConstantValues::initIfNeeded):
        * kjs/value.h:

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

14 years ago Reviewed by Tim O.
vicki [Tue, 15 Nov 2005 22:53:44 +0000 (22:53 +0000)]
    Reviewed by Tim O.

Improve this loop.  We'd get an infinite loop in the old code if we came across a part with no renderer, such as a frame whose src is an image.

        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge elementAtPoint:]):

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

14 years ago Reviewed by Darin.
adele [Tue, 15 Nov 2005 20:02:27 +0000 (20:02 +0000)]
    Reviewed by Darin.

        - fix for <rdar://problem/4341948> REGRESSION(TOT/GLENDALE): Safari won't tab between input/textarea elements if a select element is present

        * kwq/KWQComboBox.mm: (-[KWQPopUpButton canBecomeKeyView]): removed check for tabsToAllControls() since we now always allow tabbing to select elements
        * kwq/KWQListBox.mm: (-[KWQTableView canBecomeKeyView]): ditto.

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

14 years ago <rdar://problem/4337532> Paragraph concatenation fails
harrison [Tue, 15 Nov 2005 20:00:46 +0000 (20:00 +0000)]
    <rdar://problem/4337532> Paragraph concatenation fails

        Fix these tests to check for same behavior as in TextEdit.
        (updated png and checksums)

        * editing/deleting/delete-block-merge-contents-019-expected.checksum:
        * editing/deleting/delete-block-merge-contents-019-expected.png:
        * editing/deleting/delete-line-011-expected.checksum:
        * editing/deleting/delete-line-011-expected.png:
        * editing/deleting/delete-line-012-expected.checksum:
        * editing/deleting/delete-line-012-expected.png:

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

14 years ago <http://bugzilla.opendarwin.org/show_bug.cgi?id=5717>
justing [Tue, 15 Nov 2005 19:15:20 +0000 (19:15 +0000)]
    <bugzilla.opendarwin.org/show_bug.cgi?id=5717>
        REGRESSION: [WebCoreBridge _visiblePositionForPoint:(0,x)] crashes

        Reviewed by justin

        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge _visiblePositionForPoint:]): Early return if node found by hitTest is null.

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

14 years agoLayoutTests:
adele [Tue, 15 Nov 2005 02:05:45 +0000 (02:05 +0000)]
LayoutTests:

        Reviewed by Maciej.

        Added layout tests for:
        <rdar://problem/4233938> calling focus on contentEditable block elements should scroll them into view
        <rdar://problem/3624946> No 'blur' method defined on editable non-form DOM objects

        * fast/dom/blur-contenteditable-expected.checksum: Added.
        * fast/dom/blur-contenteditable-expected.png: Added.
        * fast/dom/blur-contenteditable-expected.txt: Added.
        * fast/dom/blur-contenteditable.html: Added.
        * fast/dom/focus-contenteditable-expected.checksum: Added.
        * fast/dom/focus-contenteditable-expected.png: Added.
        * fast/dom/focus-contenteditable-expected.txt: Added.
        * fast/dom/focus-contenteditable.html: Added.

WebCore:

        Reviewed by Maciej and Darin.

        - fix for <rdar://problem/4233938> calling focus on contentEditable block elements should scroll them into view
        - fix for <rdar://problem/3624946> No 'blur' method defined on editable non-form DOM objects

        Added
        * fast/dom/focus-contenteditable.html
        * fast/dom/blur-contenteditable.html

        * khtml/ecma/kjs_dom.cpp: Added ElementFocus and ElementBlur to DOMElementProtoTable
        (KJS::DOMElementProtoFunc::callAsFunction): Added cases for ElementFocus and ElementBlur
        * khtml/ecma/kjs_dom.h: (KJS::DOMElement::): Added ElementFocus and ElementBlur to enum
        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::parseMappedAttribute): Added case for onblur.
        * khtml/xml/dom_elementimpl.cpp:
        (ElementImpl::focus): If the element isFocusable, calls setFocusNode to give element focus.
        (ElementImpl::blur): If the element is focused, calls setFocusNode to take away focus.
        * khtml/xml/dom_elementimpl.h: Added focus and blur functions
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::setFocusNode): If we're trying to take focus away from a node, then we should clear the selection before we fire events.
        If we don't, then efforts to focus the cursor during the event can reset focus on the old node.
        (DocumentImpl::clearSelectionIfNeeded): Added function since we need to clear the selection at multiple points.
        * khtml/xml/dom_docimpl.h: Added clearSelectionIfNeeded.
        * kwq/DOMExtensions.h: Added Obj-C bindings for focus and blur.
        * kwq/DOM.mm:
        (-[DOMElement focus]):
        (-[DOMElement blur]):

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

14 years agoAdd copyright for box-sizing render code from Allan Jensen at KDE
hyatt [Tue, 15 Nov 2005 01:12:32 +0000 (01:12 +0000)]
Add copyright for box-sizing render code from Allan Jensen at KDE

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

14 years ago Reviewed by harrison
justing [Mon, 14 Nov 2005 22:09:35 +0000 (22:09 +0000)]
    Reviewed by harrison

        <rdar://problem/4180820> Erroneous spacing between lines introduced on paste

        Added/update layout test results:

        * editing/pasteboard/block-wrappers-necessary-expected.checksum: Added.
        * editing/pasteboard/block-wrappers-necessary-expected.png: Added.
        * editing/pasteboard/block-wrappers-necessary-expected.txt: Added.
        * editing/pasteboard/block-wrappers-necessary.html: Added.
        * editing/style/create-block-for-style-001-expected.checksum:
        * editing/style/create-block-for-style-001-expected.png:
        * editing/style/create-block-for-style-001-expected.txt:
        * editing/style/create-block-for-style-002-expected.checksum:
        * editing/style/create-block-for-style-002-expected.png:
        * editing/style/create-block-for-style-002-expected.txt:
        * editing/style/create-block-for-style-003-expected.checksum:
        * editing/style/create-block-for-style-003-expected.png:
        * editing/style/create-block-for-style-003-expected.txt:
        * editing/style/create-block-for-style-004-expected.checksum:
        * editing/style/create-block-for-style-004-expected.png:
        * editing/style/create-block-for-style-004-expected.txt:
        * editing/style/create-block-for-style-007-expected.checksum:
        * editing/style/create-block-for-style-007-expected.png:
        * editing/style/create-block-for-style-007-expected.txt:
        * editing/style/create-block-for-style-009-expected.checksum:
        * editing/style/create-block-for-style-009-expected.png:
        * editing/style/create-block-for-style-009-expected.txt:
        * editing/style/create-block-for-style-010-expected.checksum:
        * editing/style/create-block-for-style-010-expected.png:
        * editing/style/create-block-for-style-010-expected.txt:
        * editing/style/create-block-for-style-011-expected.checksum:
        * editing/style/create-block-for-style-011-expected.png:
        * editing/style/create-block-for-style-011-expected.txt:
        * editing/style/create-block-for-style-012-expected.checksum:
        * editing/style/create-block-for-style-012-expected.png:
        * editing/style/create-block-for-style-012-expected.txt:
        * editing/style/create-block-for-style-013-expected.checksum:
        * editing/style/create-block-for-style-013-expected.png:
        * editing/style/create-block-for-style-013-expected.txt:

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

14 years ago Reviewed by harrison
justing [Mon, 14 Nov 2005 22:09:07 +0000 (22:09 +0000)]
    Reviewed by harrison

        <rdar://problem/4180820> Erroneous spacing between lines introduced on paste

        Updated layout test results in editing/style
        Added layout test in editing/pasteboard

        * khtml/css/css_valueimpl.cpp:
        Fixed a comment.
        * khtml/editing/composite_edit_command.cpp:
        (khtml::CompositeEditCommand::moveParagraphContentsToNewBlockIfNecessary):
        Don't use clones of paragraphs already in the document to hold paragraph
        contents, since they are likely to introduce unwanted styles, just use
        a generic paragraph element.  It's less likely, but still possible that a generic
        paragraph element will have unwanted style, so we may want to eventually
        use class=Apple-style-block.

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

14 years ago <rdar://problem/4337532> Paragraph concatenation fails
harrison [Mon, 14 Nov 2005 19:53:58 +0000 (19:53 +0000)]
    <rdar://problem/4337532> Paragraph concatenation fails

        Fix these tests to check for same behavior as in TextEdit.

        * editing/deleting/delete-block-merge-contents-019-expected.txt:
        * editing/deleting/delete-block-merge-contents-019.html:
        * editing/deleting/delete-line-011-expected.txt:
        * editing/deleting/delete-line-012-expected.txt:

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

14 years ago Reviewed by Darin.
harrison [Mon, 14 Nov 2005 19:53:48 +0000 (19:53 +0000)]
    Reviewed by Darin.

        <rdar://problem/4337532> Paragraph concatenation fails

        Updated editing/deleting tests to correctly check this behavior.

        * khtml/editing/delete_selection_command.cpp:
        (khtml::DeleteSelectionCommand::initializePositionData):
        Remove erroneous check for isStartOfParagraph(visibleEnd) when deciding whether to clear m_mergeBlocksAfterDelete.

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

14 years ago2005-11-14 Anders Carlsson <andersca@mac.com>
andersca [Mon, 14 Nov 2005 09:55:14 +0000 (09:55 +0000)]
2005-11-14  Anders Carlsson  <andersca@mac.com>

        * ChangeLog: Add bug numbers for recent fixes.

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

14 years agoActually save the document.
andersca [Mon, 14 Nov 2005 09:51:21 +0000 (09:51 +0000)]
Actually save the document.

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

14 years ago2005-11-14 Anders Carlsson <andersca@mac.com>
andersca [Mon, 14 Nov 2005 09:44:37 +0000 (09:44 +0000)]
2005-11-14  Anders Carlsson  <andersca@mac.com>

        * ChangeLog: Add bug numbers for recent fixes.

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

14 years ago - fix Deployment build
mjs [Mon, 14 Nov 2005 07:43:13 +0000 (07:43 +0000)]
    - fix Deployment build

        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge elementAtPoint:]):

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

14 years ago Reviewed by Adele.
vicki [Mon, 14 Nov 2005 06:46:45 +0000 (06:46 +0000)]
    Reviewed by Adele.

- fix <rdar://problem/4341389> crash in elementAtPoint code quitting Safari, and make this code slightly more readable

        * kwq/WebCoreBridge.mm:
        (-[WebCoreBridge elementAtPoint:]): add a nil check

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

14 years ago Reviewed by Maciej.
vicki [Mon, 14 Nov 2005 03:49:54 +0000 (03:49 +0000)]
    Reviewed by Maciej.

- fix <rdar://problem/4316201> REGRESSION: cursor and text in status bar is not updated when mousing over links in a frame (5509)

        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::passSubframeEventToSubframe): add a case to handle NSMouseMoved, to fix the problem with the hand cursor
        (KWQKHTMLPart::mouseMoved): return if we're already sending an event to the subview
* kwq/WebCoreBridge.mm:
        (-[WebCoreBridge elementAtPoint:]): if we're over a frame, return the element within the frame, to fix the problem with
status bar text

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

14 years ago2005-11-14 Anders Carlsson <andersca@mac.com>
andersca [Sun, 13 Nov 2005 23:56:40 +0000 (23:56 +0000)]
2005-11-14  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        Add test to make sure that importNode preserves element prefixes.

        * fast/dom/importNode-prefix-expected.txt: Added.
        * fast/dom/importNode-prefix.html: Added.

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

14 years ago2005-11-14 Anders Carlsson <andersca@mac.com>
andersca [Sun, 13 Nov 2005 23:52:53 +0000 (23:52 +0000)]
2005-11-14  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::importNode):
        Use tagName() instead of localName() so the prefix will be preserved.

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

14 years agoBug #:
bdakin [Sun, 13 Nov 2005 20:42:17 +0000 (20:42 +0000)]
Bug #:
Submitted by:
Reviewed by:

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

14 years ago2005-11-13 Anders Carlsson <andersca@mac.com>
andersca [Sun, 13 Nov 2005 19:45:46 +0000 (19:45 +0000)]
2005-11-13  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        Update tests for change to createDocument which now creates a document element.

        * dom/xhtml/level3/core/documentadoptnode14-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode26-expected.txt:
        * dom/xhtml/level3/core/documentadoptnode27-expected.txt:
        * dom/xhtml/level3/core/infoset07-expected.txt:
        * dom/xhtml/level3/core/nodeisdefaultnamespace05-expected.txt:
        * dom/xhtml/level3/core/nodelookupnamespaceuri05-expected.txt:
        * dom/xhtml/level3/core/nodelookupprefix05-expected.txt:
        * dom/xhtml/level3/core/wellformed03-expected.txt:
        * dom/xhtml/level3/core/wellformed04-expected.txt:
        These tests still fail, but elsewhere now.

        * dom/xhtml/level3/core/nodereplacechild14-expected.txt:
        * dom/xhtml/level3/core/nodesettextcontent02-expected.txt:
        These tests now succeed.

        * fast/dom/createDocument.html: Added.
        * fast/dom/createDocument-expected.txt: Added.

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

14 years ago2005-11-13 Anders Carlsson <andersca@mac.com>
andersca [Sun, 13 Nov 2005 19:44:28 +0000 (19:44 +0000)]
2005-11-13  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        * khtml/xml/dom_docimpl.cpp:
        (DOMImplementationImpl::createDocument):
        Make sure to create a document element.

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

14 years agoForgot this.
andersca [Sun, 13 Nov 2005 19:26:57 +0000 (19:26 +0000)]
Forgot this.

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

14 years ago2005-11-13 Anders Carlsson <andersca@mac.com>
andersca [Sun, 13 Nov 2005 18:53:15 +0000 (18:53 +0000)]
2005-11-13  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        Add test for setAttributeNS with null namespaceURI.

        * fast/dom/setAttributeNS.html: Added.

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

14 years ago2005-11-13 Anders Carlsson <andersca@mac.com>
andersca [Sun, 13 Nov 2005 18:52:37 +0000 (18:52 +0000)]
2005-11-13  Anders Carlsson  <andersca@mac.com>

        Reviewed by Eric.

        * khtml/ecma/kjs_binding.cpp:
        (KJS::valueToStringWithNullCheck):
        * khtml/ecma/kjs_binding.h:
        Add function which converts a JavaScript value to a DOMString,
        converting the null value to a null DOMString.

        * khtml/ecma/kjs_dom.cpp:
        (KJS::DOMNode::putValueProperty):
        (KJS::DOMElementProtoFunc::callAsFunction):
        Use valueToStringWithNullCheck in setAttributeNS and the textContent
        setter.

        * khtml/html/html_headimpl.cpp:
        (HTMLScriptElementImpl::insertedIntoDocument):
        Don't try to evaluate scripts for viewless documents.

        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::isEqualNode):
        Get the attribute map from the correct element.

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

14 years agoBug #: 4187169
eseidel [Sat, 12 Nov 2005 02:32:21 +0000 (02:32 +0000)]
Bug #: 4187169
Submitted by: eseidel
Reviewed by: mjs
        Unfortunately both the Render and DOM trees will actually preform
        the load on <embed> <object> and <iframe> tags depending on the
        circumstances.  The <iframe> code path was missing a recursion
        check in the render tree.  I fixed that.  And improved the
        recursion checking for all tags.
        <rdar://problem/4187169> High CPU usage/hang occurs with Safari after loading cbsnews.com (also at cbs.com)

        * khtml/rendering/render_frames.cpp:
        (isURLAllowed): added, to prevent recursive loops
        (mapClassIdToServiceType): added, to simplify code
        (RenderPartObject::updateWidget): updated, to use above functions.

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

14 years ago Reviewed by Geoff.
tomernic [Fri, 11 Nov 2005 23:35:17 +0000 (23:35 +0000)]
    Reviewed by Geoff.

<rdar://problem/4202650> crash in QWidget::afterMouseDown selecting "Departure box"; http://www.funjet.com/ (works in Firefox)

This crash was caused by a script which replaced the QWidget for a RenderSelect while the user was clicking on that widget.
RenderSelect has the interesting property that it dynamically recreates its QWidget based on how many items there are and
whether the select is "multiple".  Any script which caused a change to those attributes in mouseDown could have triggered
this crash.

The problem was simply that of a stale pointer; KWQTableView and KWQListBoxScrollView both kept a pointer to the associated
QListBox, but only KWQTableView had any logic to clear the pointer when the QListBox was deallocated.  Instead of adding
similar functionality to KWQTableViewListBox (this duplicating code), I removed KWQTableViewListBox's "_box" pointer and
changed its -widget method to get the widget via the KWQTableView.

        * kwq/KWQListBox.mm:
        (QListBox::QListBox):
        (-[KWQListBoxScrollView widget]):
Instead of keeping a pointer to the QListBox, get the QListBox from the KWQTableView, which is always this
view's documentView.
(-[KWQListBoxScrollView initWithListBox:]):
Removed this method, since we can get at the QListBox by simply asking the KWQTableView for it.

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

14 years agoBug #:
bdakin [Fri, 11 Nov 2005 17:44:44 +0000 (17:44 +0000)]
Bug #:
Submitted by:
Reviewed by:

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

14 years ago Build fix, not reviewed.
mjs [Fri, 11 Nov 2005 06:08:19 +0000 (06:08 +0000)]
    Build fix, not reviewed.

        * Plugins.subproj/WebBaseNetscapePluginViewInternal.h: Added.

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

14 years agoLayoutTests:
adele [Fri, 11 Nov 2005 03:16:20 +0000 (03:16 +0000)]
LayoutTests:

        Reviewed by Maciej.

        Layout test for <rdar://problem/4327363> GAP: tabs not treated as whitespace in option element

        * fast/forms/option-strip-whitespace-expected.checksum: Added.
        * fast/forms/option-strip-whitespace-expected.png: Added.
        * fast/forms/option-strip-whitespace-expected.txt: Added.
        * fast/forms/option-strip-whitespace.html: Added.

WebCore:

        Reviewed by Maciej.

        - fixed <rdar://problem/4327363> GAP: tabs not treated as whitespace in option element

        Added
        * fast/forms/option-strip-whitespace.html

        * khtml/rendering/render_form.cpp: (RenderSelect::updateFromElement): call simplifyWhiteSpace() on the itemText or label to collapse whitespace.

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

14 years agoLayoutTests:
adele [Fri, 11 Nov 2005 02:15:38 +0000 (02:15 +0000)]
LayoutTests:

        Reviewed by Maciej.

        Layout test for <rdar://problem/4228997> selecting a new radio button does not automatically clear the previous selected (outside <form> element)

        * fast/forms/radio_checked-expected.checksum: Added.
        * fast/forms/radio_checked-expected.png: Added.
        * fast/forms/radio_checked-expected.txt: Added.
        * fast/forms/radio_checked.html: Added.

WebCore:

        Reviewed by Maciej.

        -fixed <rdar://problem/4228997> selecting a new radio button does not automatically clear the previous selected (outside <form> element)

        Moved the radio button checking code to the document, since we shouldn't need a form to keep track of grouped radio buttons.

        Added
        * fast/forms/radio_checked.html

        * khtml/xml/dom_docimpl.h: Added m_selectedRadioButtons (now a two level hash table to account for forms and group names),
        radioButtonChecked, checkedRadioButtonForGroup, and removeRadioButtonGroup
        * khtml/xml/dom_docimpl.cpp:
        (DocumentImpl::DocumentImpl): initialize m_selectedRadioButtons
        (DocumentImpl::~DocumentImpl): delete m_selectedRadioButtons, and any of the inner hashtables if necessary
        (DocumentImpl::radioButtonChecked): moved from HTMLFormElementImpl.
        (DocumentImpl::checkedRadioButtonForGroup): ditto.
        (DocumentImpl::removeRadioButtonGroup): ditto.
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLFormElementImpl::HTMLFormElementImpl): removed initialization of m_selectedRadioButtons.
        (DOM::HTMLFormElementImpl::~HTMLFormElementImpl): removed deletion of m_selectedRadioButtons.
        (DOM::HTMLFormElementImpl::removeFormElement): now calls document's radio button functions
        (DOM::HTMLInputElementImpl::isKeyboardFocusable): ditto.
        (DOM::HTMLInputElementImpl::setInputType): ditto.
        (DOM::HTMLInputElementImpl::parseMappedAttribute): ditto.
        (DOM::HTMLInputElementImpl::setChecked): ditto.
        (DOM::HTMLInputElementImpl::preDispatchEventHandler): ditto.
        * khtml/html/html_formimpl.h: removed m_selectedRadioButtons, radioButtonChecked, checkedRadioButtonForGroup, and removeRadioButtonGroup

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

14 years ago Reviewed by Geoff.
tomernic [Fri, 11 Nov 2005 01:15:37 +0000 (01:15 +0000)]
    Reviewed by Geoff.

<rdar://problem/4237941> Dashboard needs a way to stop Netscape plug-ins from getting null events

        * Plugins.subproj/WebBaseNetscapePluginViewInternal.h: Added.
Added WebInternal category, with -stopNullEvents and -restartNullEvents.  These methods already exist on WebBaseNetscapePluginView.
I am just exposing them to callers elsewhere within WebKit.

        * WebKit.xcodeproj/project.pbxproj:
Added WebBaseNetscapePluginViewInternal.h.

        * WebView.subproj/WebFrame.m:
        (-[WebFrame _recursive_pauseNullEventsForAllNetscapePlugins]):
Walks down the web frame hierarchy and calls -_pauseNullEventsForAllNetscapePlugins on each WebHTMLView.
        (-[WebFrame _recursive_resumeNullEventsForAllNetscapePlugins]):
Same as above, but calls -_resumeNullEventsForAllNetscapePlugins.

        * WebView.subproj/WebFramePrivate.h:
Declared -_recursive_pauseNullEventsForAllNetscapePlugins and -_recursive_pauseNullEventsForAllNetscapePlugins.

        * WebView.subproj/WebHTMLView.m:
        (-[WebHTMLView _pauseNullEventsForAllNetscapePlugins]):
Checks subviews for WebBaseNetscapePluginViews, and calls -stopNullEvents on them.
        (-[WebHTMLView _resumeNullEventsForAllNetscapePlugins]):
Same as above, but calls -restartNullEvents.

        * WebView.subproj/WebHTMLViewInternal.h:
Declared -_pauseNullEventsForAllNetscapePlugins and -_resumeNullEventsForAllNetscapePlugins.

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

14 years ago Reviewed by Tim Omernick.
harrison [Fri, 11 Nov 2005 00:24:01 +0000 (00:24 +0000)]
    Reviewed by Tim Omernick.

        <rdar://problem/3766883> AX: Should be able to tell whether an AXLink has been visited to or not

        No test cases because this does not affect layout.

        * kwq/KWQAccObject.mm:
        (-[KWQAccObject accessibilityAttributeNames]):
        (-[KWQAccObject accessibilityAttributeValue:]):
        Added "AXVisited" attribute.

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

14 years agoBug #: 3473
eseidel [Thu, 10 Nov 2005 22:55:15 +0000 (22:55 +0000)]
Bug #: 3473
Submitted by: eseidel
Reviewed by: ggaren
        * khtml/ecma/kjs_html.cpp:
        (KJS::Image::getValueProperty): resolve relative urls in Image::src
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3473
        <rdar://problem/3787988> Preloaded Image objects .src field is not a fully resolved path (3473)

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

14 years agoBug #: 3473
eseidel [Thu, 10 Nov 2005 22:54:40 +0000 (22:54 +0000)]
Bug #: 3473
Submitted by: eseidel
Reviewed by: ggaren
        * fast/dom/HTMLImageElement/image-src-absolute-url-expected.txt: Added.
        * fast/dom/HTMLImageElement/image-src-absolute-url.html: Added.
        http://bugzilla.opendarwin.org/show_bug.cgi?id=3473
        <rdar://problem/3787988> Preloaded Image objects .src field is not a fully resolved path (3473)

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

14 years agoBug #: none
eseidel [Thu, 10 Nov 2005 22:38:00 +0000 (22:38 +0000)]
Bug #: none
Submitted by: eseidel
Reviewed by: ggaren
        * Scripts/build-webkit: Pass through options to xcodebuild

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

14 years ago Fix hit testing of relative positioned inline flows inside
hyatt [Wed, 9 Nov 2005 23:05:09 +0000 (23:05 +0000)]
Fix hit testing of relative positioned inline flows inside
clipped overflow blocks so that they aren't mistakenly included
in hit testing.

Reviewed by Beth.

        * khtml/rendering/render_layer.cpp:
        (khtml::RenderLayer::containsPoint):
        * kwq/KWQComboBox.mm:
        (QComboBox::focusPolicy):
        * kwq/KWQListBox.mm:
        (QListBox::focusPolicy):

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

14 years ago Layout tests for <rdar://problem/4313925>
harrison [Wed, 9 Nov 2005 19:57:17 +0000 (19:57 +0000)]
    Layout tests for <rdar://problem/4313925>
        Denver Regression: Mail: "TAB+paste+insert before" actually inserts after the pasted text

        * editing/inserting/insert-br-at-tabspan-001-expected.checksum: Added.
        * editing/inserting/insert-br-at-tabspan-001-expected.png: Added.
        * editing/inserting/insert-br-at-tabspan-001-expected.txt: Added.
        * editing/inserting/insert-br-at-tabspan-001.html: Added.
        * editing/inserting/insert-br-at-tabspan-002-expected.checksum: Added.
        * editing/inserting/insert-br-at-tabspan-002-expected.png: Added.
        * editing/inserting/insert-br-at-tabspan-002-expected.txt: Added.
        * editing/inserting/insert-br-at-tabspan-002.html: Added.
        * editing/inserting/insert-br-at-tabspan-003-expected.checksum: Added.
        * editing/inserting/insert-br-at-tabspan-003-expected.png: Added.
        * editing/inserting/insert-br-at-tabspan-003-expected.txt: Added.
        * editing/inserting/insert-br-at-tabspan-003.html: Added.
        * editing/inserting/insert-text-at-tabspan-001-expected.checksum: Added.
        * editing/inserting/insert-text-at-tabspan-001-expected.png: Added.
        * editing/inserting/insert-text-at-tabspan-001-expected.txt: Added.
        * editing/inserting/insert-text-at-tabspan-001.html: Added.
        * editing/inserting/insert-text-at-tabspan-002-expected.checksum: Added.
        * editing/inserting/insert-text-at-tabspan-002-expected.png: Added.
        * editing/inserting/insert-text-at-tabspan-002-expected.txt: Added.
        * editing/inserting/insert-text-at-tabspan-002.html: Added.
        * editing/inserting/insert-text-at-tabspan-003-expected.checksum: Added.
        * editing/inserting/insert-text-at-tabspan-003-expected.png: Added.
        * editing/inserting/insert-text-at-tabspan-003-expected.txt: Added.
        * editing/inserting/insert-text-at-tabspan-003.html: Added.
        * editing/pasteboard/paste-text-at-tabspan-001-expected.checksum: Added.
        * editing/pasteboard/paste-text-at-tabspan-001-expected.png: Added.
        * editing/pasteboard/paste-text-at-tabspan-001-expected.txt: Added.
        * editing/pasteboard/paste-text-at-tabspan-001.html: Added.
        * editing/pasteboard/paste-text-at-tabspan-002-expected.checksum: Added.
        * editing/pasteboard/paste-text-at-tabspan-002-expected.png: Added.
        * editing/pasteboard/paste-text-at-tabspan-002-expected.txt: Added.
        * editing/pasteboard/paste-text-at-tabspan-002.html: Added.
        * editing/pasteboard/paste-text-at-tabspan-003-expected.checksum: Added.
        * editing/pasteboard/paste-text-at-tabspan-003-expected.png: Added.
        * editing/pasteboard/paste-text-at-tabspan-003-expected.txt: Added.
        * editing/pasteboard/paste-text-at-tabspan-003.html: Added.

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

14 years ago Reviewed by Justin.
harrison [Wed, 9 Nov 2005 19:56:48 +0000 (19:56 +0000)]
    Reviewed by Justin.

        <rdar://problem/4313925> Denver Regression: Mail: "TAB+paste+insert before" actually inserts after the pasted text

        - added tab span editing functions in composite_edit_command.cpp
        - called them from insertText, insertLineBreak, and replaceSelection commands
        - also exposed some handy tab span funcs from htmlediting.cpp

        Tests added in editing/insertion and editing/pasteboard.

        * khtml/editing/composite_edit_command.cpp:
        (khtml::CompositeEditCommand::positionOutsideTabSpan):
        (khtml::CompositeEditCommand::insertNodeAtTabSpanPosition):
        * khtml/editing/composite_edit_command.h:
        * khtml/editing/htmlediting.cpp:
        (khtml::positionBeforeNode):
        (khtml::positionAfterNode):
        (khtml::tabSpanNode):
        (khtml::positionBeforeTabSpan):
        * khtml/editing/htmlediting.h:
        * khtml/editing/insert_line_break_command.cpp:
        (khtml::InsertLineBreakCommand::doApply):
        * khtml/editing/insert_text_command.cpp:
        (khtml::InsertTextCommand::prepareForTextInsertion):
        * khtml/editing/replace_selection_command.cpp:
        (khtml::ReplaceSelectionCommand::doApply):

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

14 years ago Reviewed by Darin.
ggaren [Wed, 9 Nov 2005 06:34:56 +0000 (06:34 +0000)]
    Reviewed by Darin.

        This patch fixes some naughty naughty code -- 5 crashes and 2
        may-go-haywire-in-the-futures.

        One such crash is <rdar://problem/4247330> 8C46 Crash with with
        incomplete parameter list to webScript object function.

        I replaced early returns from within NS_DURINGs with calls to
        NS_VALUERETURN because the doc says, "You cannot use goto or
        return to exit an exception handling domain -- errors will result."

        I replaced hard-coded analyses of -[NSMethodSignature
        methodReturnType] with more abstracted alternatives, since
        the documentation says "This encoding is implementation-specific,
        so applications should use it with caution," and then emits an
        evil cackle.

        I removed the early return in the case where a JavaScript caller
        supplies an insufficient number of arguments, because the right
        thing to do in such a case is to use JavaScript's defined behavior
        of supplying "undefined" for any missing arguments.

        I also changed ObjcInstance::invokeMethod so that it no longer
        deletes the method passed to it. It doesn't create the method,
        so it shouldn't delete it. A friend of mine named
        KERNEL_PROTECTION_FAILURE agrees with me on this point.

        Finally, I changed an assert(true) to assert(false) because
        all the other asserts were making fun of it.

        * bindings/objc/objc_instance.mm:
        (ObjcInstance::invokeMethod):
        (ObjcInstance::invokeDefaultMethod):

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

14 years ago <http://bugzilla.opendarwin.org/show_bug.cgi?id=5665> (REGRESSION: Crash in deleteTimer)
tomernic [Wed, 9 Nov 2005 02:46:29 +0000 (02:46 +0000)]
<bugzilla.opendarwin.org/show_bug.cgi?id=5665> (REGRESSION: Crash in deleteTimer)

Rolled back Darin's timer changes from 2005-11-07, as they caused a couple of regressions.

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

14 years ago Reviewed by Darin.
adele [Tue, 8 Nov 2005 21:54:23 +0000 (21:54 +0000)]
    Reviewed by Darin.

        - fixed <rdar://problem/4333862> REGRESSION: Crash in new JavaScript timer implementation (5661)
        http://bugzilla.opendarwin.org/show_bug.cgi?id=5661

        * kwq/KWQObject.mm: (sendDeferredTimerEvents): Added nil check for timers.

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

14 years agoLayoutTests:
mjs [Tue, 8 Nov 2005 08:11:19 +0000 (08:11 +0000)]
LayoutTests:

        Reviewed by Eric, Geoff and Darin.

- added test cases for <rdar://problem/4118258> XML DOM trees freed prematurely unless reference held to document node (causes crash)

Also updated the GC tests to try a little harder to trigger GC,
the old way might not work as well with the reworking of SimpleNumber.

        * fast/dom/gc-1.html:
        * fast/dom/gc-2.html:
        * fast/dom/gc-3.html:
        * fast/dom/gc-5.html:
        * fast/dom/gc-6-expected.txt: Added.
        * fast/dom/gc-6.html: Added.
        * fast/dom/gc-7-expected.txt: Added.
        * fast/dom/gc-7.html: Added.

WebCore:

        Reviewed by Eric, Geoff and Darin.

- fixed <rdar://problem/4118258> XML DOM trees freed prematurely unless reference held to document node (causes crash)

I changed the design for how DOM nodes maintain their reference to
the document. Instead of using DocumentPtr, an indirect reference
which would go null in a clean way when the document is destroyed,
they now have a different strategy.

Nodes that belong to the document now hold a special kind of
reference on the document - a "self only reference". When a
document has no regular references but still has self-only
references, it won't be destroyed, but it will drop all its
children. This allows detached nodees to still have a valid
document reference, but they won't keep the rest of the DOM alive
or cause circular references.

        * khtml/editing/SelectionController.cpp:
        (khtml::SelectionController::toRange):
        * khtml/editing/visible_position.cpp:
        (khtml::makeRange):
        * khtml/editing/visible_text.cpp:
        (khtml::TextIterator::range):
        (khtml::SimplifiedBackwardsTextIterator::range):
        * khtml/html/html_baseimpl.cpp:
        (HTMLBodyElementImpl::HTMLBodyElementImpl):
        (HTMLFrameElementImpl::HTMLFrameElementImpl):
        (HTMLFrameSetElementImpl::HTMLFrameSetElementImpl):
        (HTMLHeadElementImpl::HTMLHeadElementImpl):
        (HTMLHtmlElementImpl::HTMLHtmlElementImpl):
        (HTMLIFrameElementImpl::HTMLIFrameElementImpl):
        * khtml/html/html_baseimpl.h:
        * khtml/html/html_blockimpl.cpp:
        (HTMLBlockquoteElementImpl::HTMLBlockquoteElementImpl):
        (HTMLDivElementImpl::HTMLDivElementImpl):
        (HTMLHRElementImpl::HTMLHRElementImpl):
        (HTMLHeadingElementImpl::HTMLHeadingElementImpl):
        (HTMLParagraphElementImpl::HTMLParagraphElementImpl):
        (HTMLPreElementImpl::HTMLPreElementImpl):
        (HTMLMarqueeElementImpl::HTMLMarqueeElementImpl):
        * khtml/html/html_blockimpl.h:
        * khtml/html/html_canvasimpl.cpp:
        (HTMLCanvasElementImpl::HTMLCanvasElementImpl):
        * khtml/html/html_canvasimpl.h:
        * khtml/html/html_documentimpl.cpp:
        (DOM::HTMLDocumentImpl::createTokenizer):
        (DOM::HTMLDocumentImpl::determineParseMode):
        * khtml/html/html_elementimpl.cpp:
        (HTMLElementImpl::HTMLElementImpl):
        (HTMLElementImpl::createContextualFragment):
        (HTMLElementImpl::setInnerText):
        (HTMLElementImpl::setOuterText):
        * khtml/html/html_elementimpl.h:
        * khtml/html/html_formimpl.cpp:
        (DOM::HTMLFormElementImpl::HTMLFormElementImpl):
        (DOM::HTMLGenericFormElementImpl::HTMLGenericFormElementImpl):
        (DOM::HTMLButtonElementImpl::HTMLButtonElementImpl):
        (DOM::HTMLFieldSetElementImpl::HTMLFieldSetElementImpl):
        (DOM::HTMLInputElementImpl::HTMLInputElementImpl):
        (DOM::HTMLLabelElementImpl::HTMLLabelElementImpl):
        (DOM::HTMLLegendElementImpl::HTMLLegendElementImpl):
        (DOM::HTMLSelectElementImpl::HTMLSelectElementImpl):
        (DOM::HTMLKeygenElementImpl::HTMLKeygenElementImpl):
        (DOM::HTMLOptGroupElementImpl::HTMLOptGroupElementImpl):
        (DOM::HTMLOptionElementImpl::HTMLOptionElementImpl):
        (DOM::HTMLOptionElementImpl::setText):
        (DOM::HTMLTextAreaElementImpl::HTMLTextAreaElementImpl):
        (DOM::HTMLIsIndexElementImpl::HTMLIsIndexElementImpl):
        * khtml/html/html_formimpl.h:
        * khtml/html/html_headimpl.cpp:
        (HTMLBaseElementImpl::HTMLBaseElementImpl):
        (HTMLLinkElementImpl::HTMLLinkElementImpl):
        (HTMLMetaElementImpl::HTMLMetaElementImpl):
        (HTMLScriptElementImpl::HTMLScriptElementImpl):
        (HTMLStyleElementImpl::HTMLStyleElementImpl):
        (HTMLTitleElementImpl::HTMLTitleElementImpl):
        * khtml/html/html_headimpl.h:
        * khtml/html/html_imageimpl.cpp:
        (HTMLImageElementImpl::HTMLImageElementImpl):
        (HTMLMapElementImpl::HTMLMapElementImpl):
        (HTMLAreaElementImpl::HTMLAreaElementImpl):
        * khtml/html/html_imageimpl.h:
        * khtml/html/html_inlineimpl.cpp:
        (DOM::HTMLAnchorElementImpl::HTMLAnchorElementImpl):
        (DOM::HTMLBRElementImpl::HTMLBRElementImpl):
        (DOM::HTMLFontElementImpl::HTMLFontElementImpl):
        (DOM::HTMLModElementImpl::HTMLModElementImpl):
        (DOM::HTMLQuoteElementImpl::HTMLQuoteElementImpl):
        * khtml/html/html_inlineimpl.h:
        * khtml/html/html_listimpl.h:
        (DOM::HTMLUListElementImpl::HTMLUListElementImpl):
        (DOM::HTMLDirectoryElementImpl::HTMLDirectoryElementImpl):
        (DOM::HTMLMenuElementImpl::HTMLMenuElementImpl):
        (DOM::HTMLOListElementImpl::HTMLOListElementImpl):
        (DOM::HTMLLIElementImpl::HTMLLIElementImpl):
        (DOM::HTMLDListElementImpl::HTMLDListElementImpl):
        * khtml/html/html_miscimpl.cpp:
        (DOM::HTMLBaseFontElementImpl::HTMLBaseFontElementImpl):
        * khtml/html/html_miscimpl.h:
        * khtml/html/html_objectimpl.cpp:
        (DOM::HTMLAppletElementImpl::HTMLAppletElementImpl):
        (DOM::HTMLEmbedElementImpl::HTMLEmbedElementImpl):
        (DOM::HTMLObjectElementImpl::HTMLObjectElementImpl):
        (DOM::HTMLParamElementImpl::HTMLParamElementImpl):
        * khtml/html/html_objectimpl.h:
        * khtml/html/html_tableimpl.cpp:
        (DOM::HTMLTableElementImpl::HTMLTableElementImpl):
        (DOM::HTMLTableElementImpl::createTHead):
        (DOM::HTMLTableElementImpl::createTFoot):
        (DOM::HTMLTableElementImpl::createCaption):
        (DOM::HTMLTableElementImpl::insertRow):
        (DOM::HTMLTableSectionElementImpl::HTMLTableSectionElementImpl):
        (DOM::HTMLTableSectionElementImpl::insertRow):
        (DOM::HTMLTableRowElementImpl::insertCell):
        (DOM::HTMLTableCellElementImpl::HTMLTableCellElementImpl):
        (DOM::HTMLTableColElementImpl::HTMLTableColElementImpl):
        * khtml/html/html_tableimpl.h:
        (DOM::HTMLTablePartElementImpl::HTMLTablePartElementImpl):
        (DOM::HTMLTableRowElementImpl::HTMLTableRowElementImpl):
        (DOM::HTMLTableCaptionElementImpl::HTMLTableCaptionElementImpl):
        * khtml/html/htmlfactory.cpp:
        (DOM::htmlConstructor):
        (DOM::headConstructor):
        (DOM::bodyConstructor):
        (DOM::baseConstructor):
        (DOM::linkConstructor):
        (DOM::metaConstructor):
        (DOM::styleConstructor):
        (DOM::titleConstructor):
        (DOM::frameConstructor):
        (DOM::framesetConstructor):
        (DOM::iframeConstructor):
        (DOM::formConstructor):
        (DOM::buttonConstructor):
        (DOM::inputConstructor):
        (DOM::isindexConstructor):
        (DOM::fieldsetConstructor):
        (DOM::labelConstructor):
        (DOM::legendConstructor):
        (DOM::optgroupConstructor):
        (DOM::optionConstructor):
        (DOM::selectConstructor):
        (DOM::textareaConstructor):
        (DOM::dlConstructor):
        (DOM::ulConstructor):
        (DOM::olConstructor):
        (DOM::dirConstructor):
        (DOM::menuConstructor):
        (DOM::liConstructor):
        (DOM::blockquoteConstructor):
        (DOM::divConstructor):
        (DOM::headingConstructor):
        (DOM::hrConstructor):
        (DOM::paragraphConstructor):
        (DOM::preConstructor):
        (DOM::basefontConstructor):
        (DOM::fontConstructor):
        (DOM::modConstructor):
        (DOM::anchorConstructor):
        (DOM::imageConstructor):
        (DOM::mapConstructor):
        (DOM::areaConstructor):
        (DOM::canvasConstructor):
        (DOM::appletConstructor):
        (DOM::embedConstructor):
        (DOM::objectConstructor):
        (DOM::paramConstructor):
        (DOM::scriptConstructor):
        (DOM::tableConstructor):
        (DOM::tableCaptionConstructor):
        (DOM::tableColConstructor):
        (DOM::tableRowConstructor):
        (DOM::tableCellConstructor):
        (DOM::tableSectionConstructor):
        (DOM::brConstructor):
        (DOM::quoteConstructor):
        (DOM::marqueeConstructor):
        (DOM::HTMLElementFactory::createHTMLElement):
        * khtml/html/htmlparser.cpp:
        (HTMLParser::HTMLParser):
        (HTMLParser::~HTMLParser):
        * khtml/html/htmlparser.h:
        (HTMLParser::doc):
        * khtml/html/htmltokenizer.cpp:
        (khtml::HTMLTokenizer::HTMLTokenizer):
        (khtml::HTMLTokenizer::parseTag):
        (khtml::parseHTMLDocumentFragment):
        * khtml/html/htmltokenizer.h:
        * khtml/misc/loader.h:
        * khtml/misc/shared.h:
        (khtml::TreeShared::~TreeShared):
        (khtml::TreeShared::destroy):
        (khtml::TreeShared::deref):
        * khtml/xbl/xbl_tokenizer.cpp:
        (XBL::XBLTokenHandler::XBLTokenHandler):
        * khtml/xbl/xbl_tokenizer.h:
        (XBL::):
        * khtml/xml/dom2_rangeimpl.cpp:
        (DOM::RangeImpl::RangeImpl):
        (DOM::RangeImpl::setStart):
        (DOM::RangeImpl::setEnd):
        (DOM::RangeImpl::processContents):
        (DOM::RangeImpl::cloneRange):
        (DOM::RangeImpl::setStartAfter):
        (DOM::RangeImpl::setEndBefore):
        (DOM::RangeImpl::setEndAfter):
        (DOM::RangeImpl::setStartBefore):
        (DOM::rangeOfContents):
        * khtml/xml/dom2_rangeimpl.h:
        * khtml/xml/dom_docimpl.cpp:
        (DOMImplementationImpl::createDocumentType):
        (DOMImplementationImpl::createDocument):
        (DocumentImpl::DocumentImpl):
        (DocumentImpl::destroy):
        (DocumentImpl::~DocumentImpl):
        (DocumentImpl::createDocumentFragment):
        (DocumentImpl::createTextNode):
        (DocumentImpl::createComment):
        (DocumentImpl::createCDATASection):
        (DocumentImpl::createProcessingInstruction):
        (DocumentImpl::createEntityReference):
        (DocumentImpl::createEditingTextNode):
        (DocumentImpl::createElementNS):
        (DocumentImpl::setTitle):
        (DocumentImpl::removeTitle):
        (DocumentImpl::createRange):
        (DocumentImpl::createTokenizer):
        (DocumentImpl::implicitClose):
        (DocumentImpl::setHoverNode):
        (DocumentImpl::setActiveNode):
        (DocumentImpl::setFocusNode):
        (DocumentImpl::createAttributeNS):
        (DocumentFragmentImpl::DocumentFragmentImpl):
        (DocumentFragmentImpl::cloneNode):
        (DocumentTypeImpl::DocumentTypeImpl):
        * khtml/xml/dom_docimpl.h:
        (DOM::DocumentImpl::selfOnlyRef):
        (DOM::DocumentImpl::selfOnlyDeref):
        (DOM::DocumentImpl::focusNode):
        (DOM::DocumentImpl::hoverNode):
        (DOM::DocumentImpl::activeNode):
        * khtml/xml/dom_elementimpl.cpp:
        (AttributeImpl::allocateImpl):
        (AttrImpl::AttrImpl):
        (AttrImpl::cloneNode):
        (ElementImpl::ElementImpl):
        (StyledElementImpl::StyledElementImpl):
        * khtml/xml/dom_elementimpl.h:
        * khtml/xml/dom_nodeimpl.cpp:
        (DOM::NodeImpl::NodeImpl):
        (DOM::NodeImpl::setDocument):
        (DOM::NodeImpl::~NodeImpl):
        (DOM::NodeImpl::dispatchEvent):
        (DOM::NodeImpl::dispatchWindowEvent):
        (DOM::NodeImpl::dispatchMouseEvent):
        (DOM::NodeImpl::checkAddChild):
        (DOM::ContainerNodeImpl::ContainerNodeImpl):
        (DOM::ContainerNodeImpl::removeAllChildren):
        (DOM::ContainerNodeImpl::~ContainerNodeImpl):
        * khtml/xml/dom_nodeimpl.h:
        (DOM::NodeImpl::inDocument):
        (DOM::NodeImpl::getDocument):
        * khtml/xml/dom_textimpl.cpp:
        (CharacterDataImpl::CharacterDataImpl):
        (CommentImpl::CommentImpl):
        (TextImpl::TextImpl):
        (TextImpl::createNew):
        (CDATASectionImpl::CDATASectionImpl):
        (CDATASectionImpl::createNew):
        (EditingTextImpl::EditingTextImpl):
        * khtml/xml/dom_textimpl.h:
        * khtml/xml/dom_xmlimpl.cpp:
        (DOM::EntityImpl::EntityImpl):
        (DOM::EntityReferenceImpl::EntityReferenceImpl):
        (DOM::EntityReferenceImpl::cloneNode):
        (DOM::NotationImpl::NotationImpl):
        (DOM::ProcessingInstructionImpl::ProcessingInstructionImpl):
        (DOM::ProcessingInstructionImpl::cloneNode):
        * khtml/xml/dom_xmlimpl.h:
        * khtml/xml/xml_tokenizer.cpp:
        (khtml::XMLTokenizer::XMLTokenizer):
        (khtml::XMLTokenizer::startElementNs):
        (khtml::XMLTokenizer::enterText):
        (khtml::XMLTokenizer::processingInstruction):
        (khtml::XMLTokenizer::cdataBlock):
        (khtml::XMLTokenizer::comment):
        (khtml::XMLTokenizer::internalSubset):
        (khtml::XMLTokenizer::finish):
        (khtml::XMLTokenizer::insertErrorMessageBlock):
        (khtml::XMLTokenizer::executeScripts):
        (khtml::newXMLTokenizer):
        * khtml/xml/xml_tokenizer.h:
        * khtml/xsl/xslt_processorimpl.cpp:
        (DOM::createFragmentFromSource):

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

14 years ago Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=3739
harrison [Tue, 8 Nov 2005 00:49:36 +0000 (00:49 +0000)]
    Layout test for bugzilla.opendarwin.org/show_bug.cgi?id=3739
        Unreproducible - Assertion failure in isEqualIgnoringAffinity on double-click

        * editing/selection/doubleclick-crash-expected.checksum: Added.
        * editing/inserting/doubleclick-crash-expected.png: Added.
        * editing/inserting/doubleclick-crash-expected.txt: Added.
        * editing/inserting/doubleclick-crash.html: Added.

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

14 years ago Reviewed by Justin and Hyatt.
harrison [Tue, 8 Nov 2005 00:49:09 +0000 (00:49 +0000)]
    Reviewed by Justin and Hyatt.

        http://bugzilla.opendarwin.org/show_bug.cgi?id=3739
        Unreproducible - Assertion failure in isEqualIgnoringAffinity on double-click

        Test case added:
        * editing/inserting/doubleclick-crash.html

        * khtml/rendering/render_text.cpp:
        (RenderText::atLineWrap):
        New utility function.
        (RenderText::caretRect):
        Use atLineWrap.  Remove dead code.
        (RenderText::inlineBox):
        Use atLineWrap.
        * khtml/rendering/render_text.h:
        Add atLineWrap.

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

14 years ago Fix for sluggish loading of large pages due to excessive
hyatt [Mon, 7 Nov 2005 23:24:19 +0000 (23:24 +0000)]
Fix for sluggish loading of large pages due to excessive
repaints.  Large pages still need a lot of work while
loading, but this helps.

        Reviewed by darin

        * khtml/rendering/render_object.cpp:
        (RenderObject::mustRepaintBackgroundOrBorder):
        (RenderObject::repaintAfterLayoutIfNeeded):
        * khtml/rendering/render_object.h:

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

14 years ago Reviewed by Darin Adler.
adele [Mon, 7 Nov 2005 22:30:22 +0000 (22:30 +0000)]
    Reviewed by Darin Adler.
        Committed by Adele Peterson.

        - fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5398
        source visible when <script> used inside <option>

        Added:
        * fast/forms/option-select.html

        * khtml/html/html_formimpl.h: (DOM::HTMLOptionElementImpl::checkDTD): Allow <script> tags to be children of option elements
        * khtml/html/html_formimpl.cpp: (DOM::HTMLOptionElementImpl::text): Skip the script content when creating text string

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

14 years ago * Scripts/cvs-apply: Fix case where the patch has files at the top level.
darin [Mon, 7 Nov 2005 21:32:52 +0000 (21:32 +0000)]
    * Scripts/cvs-apply: Fix case where the patch has files at the top level.

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

14 years ago - Added manual test cases for <rdar://problem/4161660> window.close
ggaren [Mon, 7 Nov 2005 21:21:06 +0000 (21:21 +0000)]
    - Added manual test cases for <rdar://problem/4161660> window.close
        followed by window.print in onload handler crashes Safari in
        KJS::ScopeChain::bottom (redmccombstoyota.com)

        * manual-tests/resources/window-close-during-parsing-popup1.html: Added.
        * manual-tests/resources/window-close-during-parsing-popup2.html: Added.
        * manual-tests/window-close-during-parsing.html: Added.

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

14 years ago Darin reviewed this a while back.
ggaren [Mon, 7 Nov 2005 21:18:03 +0000 (21:18 +0000)]
    Darin reviewed this a while back.

        - Fixed <rdar://problem/4161660> window.close followed by window.print
        in onload handler crashes Safari in KJS::ScopeChain::bottom
        (redmccombstoyota.com)

        Added a call to stopLoading inside closeWindowSoon to prevent load
        events from firing after a window has torn down.

        Manual test case: WebCore/manual-tests/window-close-during-parsing.html

        * WebCoreSupport.subproj/WebBridge.m:
        (-[WebBridge closeWindowSoon]):

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

14 years ago Reviewed by Tim Omernick.
darin [Mon, 7 Nov 2005 20:52:11 +0000 (20:52 +0000)]
    Reviewed by Tim Omernick.

        - speed up timers by using CFTimerRunLoopRef instead of NSTimer

        * kwq/KWQObject.h: Removed pauseTimer, resumeTimers, and _addTimer, added timerIntervals and
        restartTimer. Made KWQObjectSenderScope functions be inline.
        * kwq/KWQObject.mm:
        (timerFired): Added. Function called when the CFRunLoopTimerRef fires. Puts the timer into the
        deferred timer array if timers are deferred, otherwise makes a QTimerEvent and calls timerEvent
        on the target.
        (QObject::startTimer): Moved most of the code inside restartTimer. This now just picks a new
        timer ID and calls restartTimer.
        (QObject::restartTimer): Added. Creates a KWQObjectTimer and puts it in a timers dictionary.
        That includes creating a CFRunLoopTimer and scheduling it on the current run loop.
        (QObject::timerIntervals): Added. Looks up a timer and returns the intervals for next time to
        fire and the "fire again" interval.
        (deleteTimer): Added. Invalidates and then removes a timer.
        (QObject::killTimer): Changed to use deleteTimer to do most of its work.
        (deleteOneTimer): Added. Calls deleteTimer.
        (QObject::killTimers): Changed to use deleteOneTimer to do most of its work.
        (sendDeferredTimerEvent): Added. Creates a QTimerEvent and calls timerEvent on the target.
        (sendDeferredTimerEvents): Added. Calls sendDeferredTimerEvent in a loop on all the deferred timers.
        (QObject::setDefersTimers): Updated to call sendDeferredTimerEvents as needed.

        * kwq/KWQTimer.h:
        (QTimer::QTimer): Made constructor inline and removed the optional parameter.
        (QTimer::isActive): Made inline.
        (QTimer::fireDate): Added. Inline function.
        Got rid of the NSTimer and added a CFRunLoopTimer.
        * kwq/KWQTimer.mm:
        (timerFired): Added. Calls fire on the QTimer object.
        (QTimer::start): Changed to create a CFRunLoopTimer.
        (QTimer::stop): Changed to use CFRunLoopTimer functions.
        (QTimer::fire): Ditto.
        (deleteKWQSlot): Added. Used as delete function for the CFRunLoopTimerContext below.
        (singleShotTimerFired): Added. Used as the fire function for the CFRunLoopTimerContext below.
        (QTimer::singleShot): Changed to create, schedule, and release a CFRunLoopTimer.

        * khtml/ecma/kjs_window.h: Added PausedTimeouts class. Moved WindowQObject class up in the
        file so it can be used inline in the implementation of the Window class, and changed to
        use the PausedTimeouts class intead of a QMap to store the paused timeouts.
        * khtml/ecma/kjs_window.cpp:
        (KJS::ScheduledAction::execute): Put a check for nil part at the start; this replaces
        a check in the caller and a check partway down this function (after the part was
        already dereferenced). Fixed message handling so the message is not converted to ascii
        and back. Added an isObject() check so we won't crash if the passed function is a value
        that's not an object. Changed check for function vs. script to check for a function
        of nil instead of using a separate boolean.
        (KJS::WindowQObject::pauseTimeouts): Updated to create the new PausedTimeouts object,
        using the new QObject::timerIntervals function rather than the old QObject::pauseTimer
        function. This means that the paused timers are entirely stored in the PausedTimeouts
        object instead of being half in a QMap and the other half inside the QObject itself.
        (KJS::WindowQObject::resumeTimeouts): Ditto, using the new QObject::restartTimer function.
        (KJS::PausedTimeouts::~PausedTimeouts): Added. Deletes the stored timeouts, including
        the scheduled actions, unless the timeouts have already been resumed (in which case the
        m_array field will be 0).

        * kwq/KWQKHTMLPart.h: Renamed pause/resumeActions to pause/resumeTimeouts and made them
        use the PausedTimeouts class and no longer take a key parameter.
        * kwq/KWQKHTMLPart.mm:
        (KWQKHTMLPart::redirectionTimerStartedOrStopped): Use the new fireDate() function rathe than
        the old getNSTimer() function to get the fire date.
        (KWQKHTMLPart::pauseTimeouts): Remove the call to hasTimeouts and the key parameter.
        (KWQKHTMLPart::resumeTimeouts): Remove the key parameter.
        (KWQKHTMLPart::openURLFromPageCache): Change the timeout handling to use PausedTimeouts instead
        of a QMap for the paused timeouts.

        * kwq/KWQPageState.h: Changed to use PausedTimeouts instead of a QMap for timeouts.
        Added a pausedTimeouts parameter to the initializer and removed the setPausedActions: method.
        * kwq/KWQPageState.mm:
        (-[KWQPageState initWithDocument:URL:windowProperties:locationProperties:interpreterBuiltins:pausedTimeouts:]):
        Added code where it sets the pausedTimouts.
        (-[KWQPageState pausedTimeouts]): Added.
        (-[KWQPageState clear]): Added code to delete the pausedTimeouts and to deref mousePressNode.
        (-[KWQPageState invalidate]): Fixed bug where document would not be deref'd if the view was 0.
        (-[KWQPageState dealloc]): Removed code to deref mousePressNode since that's now handled in the clear method.
        (-[KWQPageState finalize]): Set document to 0 after deref for consistency.

        * kwq/WebCoreBridge.mm: (-[WebCoreBridge saveDocumentToPageCache]): Changed to pass in the
        paused timeouts using the new pauseTimeouts function.

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

14 years ago Reviewed by harrison
justing [Mon, 7 Nov 2005 19:59:32 +0000 (19:59 +0000)]
    Reviewed by harrison

        New/updated layout tests for fixes for:

        <rdar://problem/4125131> REGRESSION (Mail): after certain steps,
        extra blank line appears when typing past end of reply-quoted text
        <rdar://problem/4024996> Applying block styles can cause assertion
        failure in inline style removal

        * editing/deleting/delete-at-paragraph-boundaries-011-expected.txt:
        * editing/deleting/delete-br-011-expected.checksum:
        * editing/deleting/delete-br-011-expected.png:
        * editing/deleting/delete-br-011-expected.txt:
        * editing/inserting/insert-3786362-fix-expected.txt:
        * editing/inserting/insert-at-end-01-expected.checksum: Added.
        * editing/inserting/insert-at-end-01-expected.png: Added.
        * editing/inserting/insert-at-end-01-expected.txt: Added.
        * editing/inserting/insert-at-end-01.html: Added.
        * editing/inserting/insert-at-end-02-expected.checksum: Added.
        * editing/inserting/insert-at-end-02-expected.png: Added.
        * editing/inserting/insert-at-end-02-expected.txt: Added.
        * editing/inserting/insert-at-end-02.html: Added.

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

14 years ago Reviewed by harrison
justing [Mon, 7 Nov 2005 19:59:22 +0000 (19:59 +0000)]
    Reviewed by harrison

        <rdar://problem/4125131> REGRESSION (Mail): after certain steps,
        extra blank line appears when typing past end of reply-quoted text
        <rdar://problem/4024996> Applying block styles can cause assertion
        failure in inline style removal

        Prevent VisiblePositions at [br, 1] at the end of root editable elements.

        Layout tests added:
        * inserting/insert-at-end-01.html
        * inserting/insert-at-end-02.html

        Layout tests changed (fixed):
        * editing/deleting/delete-br-011.html
        * editing/deleting/delete-at-paragraph-boundaries-011.html
        * editing/inserting/insert-3786362-fix.html

        * khtml/editing/apply_style_command.cpp:
        (khtml::ApplyStyleCommand::applyInlineStyle):
        Do the layout before calculating start/end positions, not after,
        since upstream/downstream need to know who is rendered/unrendered.
        Don't do equivalentRangeCompliantPosition() on the start position
        in addition to downstream(), since it a) is confusing, b) frequently
        causes start/end to be equal, making removeInlineStyle a no-op and
        c) causes an assertion to fire.
        Only reset start/end using endingSelection() if splitTextElement was
        needed, since reseting start/end negates the work done above to swap
        start/end if they are backwards.
        When the start position points off the end of a node, that node should
        be skipped in all cases, not just the start.node() != end.node() case.

        * khtml/editing/composite_edit_command.cpp:
        (khtml::CompositeEditCommand::appendBlockPlaceholder):
        (khtml::CompositeEditCommand::insertBlockPlaceholder):
        Placeholders should be allowed in nodes that aren't blockFlow, for example,
        deleting the b in <div><span>b</span></div> should insert a placeholder.
        The assertion here should really be something like isBlockFlow ||
        isInlineFlow, but I can't assert those until deletion improves (4244964).

        * khtml/editing/delete_selection_command.cpp:
        (khtml::DeleteSelectionCommand::calculateTypingStyleAfterDelete):
        Don't try to select the placeholder when applying style to it.  It
        isn't necessary, and it's now impossible to do at the end of the
        document in any case.

        * khtml/editing/visible_position.cpp:
        (khtml::VisiblePosition::initDownstream):
        Don't create VisiblePositions at [br, 1] at the end of editable blocks, it
        produces strange/inconsistent editing behavior at the end of the document.

        * khtml/khtml_part.cpp: Fixed a comment.

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

14 years agochangelog fixup
ggaren [Mon, 7 Nov 2005 03:07:14 +0000 (03:07 +0000)]
changelog fixup

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

14 years ago2005-11-06 Anders Carlsson <andersca@mac.com>
andersca [Sun, 6 Nov 2005 21:47:28 +0000 (21:47 +0000)]
2005-11-06  Anders Carlsson  <andersca@mac.com>

        Reviewed by Darin.

        * kwq/KWQClipboard.mm:
        (KWQClipboard::dragNSImage):
        Get the NSImage from the image renderer.

        * kwq/WebCoreImageRenderer.h:
        Add image method. This already exists in WebImageRenderer in
        WebKit.

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

14 years ago Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5571
ggaren [Sun, 6 Nov 2005 20:44:35 +0000 (20:44 +0000)]
    Layout test for bugzilla.opendarwin.org/show_bug.cgi?id=5571
        REGRESSION (412.5-TOT): duplicated words/sentences at
        shakespeer.sourceforge.net

        Also renamed previous test for consistency.

        * fast/js/regexp-big-unicode-ranges-expected.txt: Removed.
        * fast/js/regexp-big-unicode-ranges.html: Removed.
        * fast/js/regexp-extended-characters-crash-expected.txt: Added.
        * fast/js/regexp-extended-characters-crash.html: Added.
        * fast/js/regexp-extended-characters-match-expected.txt: Added.
        * fast/js/regexp-extended-characters-match.html: Added.

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

14 years ago Reviewed by Darin.
ggaren [Sun, 6 Nov 2005 20:41:08 +0000 (20:41 +0000)]
    Reviewed by Darin.

        - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5571
          REGRESSION (412.5-TOT): duplicated words/sentences at
          shakespeer.sourceforge.net

        Our UTF16-modified PCRE didn't work with extended character classes
        (classes involving characters > 255) because it used the GETCHARINC
        macro to read through them. In UTF16 mode, GETCHARINC expects UTF16
        input, but PCRE encodes character classes in UTF8 regardless of the
        input mode of the subject string.

        The fix is to explicitly define GETUTF8CHARINC, and to use it,
        rather than GETCHARINC, when reading extended character classes.

        In UTF8 mode, we simply define GETCHARINC to be GETUTF8CHARINC.

        * pcre/pcre_internal.h:
        * pcre/pcre_xclass.c:
        (_pcre_xclass):

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

14 years ago Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5357
ggaren [Sun, 6 Nov 2005 06:22:56 +0000 (06:22 +0000)]
    Layout test for bugzilla.opendarwin.org/show_bug.cgi?id=5357
        REGRESSION: Scriptable plugin hides properties of OBJECT element

        * fast/dom/object-plugin-hides-properties.html: Added.
        * fast/js/object-plugin-hides-properties-expected.txt: Added.

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

14 years ago Patch by Mitz Pettel, reviewed by Maciej.
ggaren [Sun, 6 Nov 2005 06:20:43 +0000 (06:20 +0000)]
    Patch by Mitz Pettel, reviewed by Maciej.

        - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=5357
          REGRESSION: Scriptable plugin hides properties of OBJECT element

        * bindings/objc/objc_class.mm:
        (KJS::Bindings::ObjcClass::fallbackObject):

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

14 years agochangelog fixup
ggaren [Sun, 6 Nov 2005 05:58:14 +0000 (05:58 +0000)]
changelog fixup

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

14 years ago Layout test for http://bugzilla.opendarwin.org/show_bug.cgi?id=5409
ggaren [Sun, 6 Nov 2005 05:52:46 +0000 (05:52 +0000)]
    Layout test for bugzilla.opendarwin.org/show_bug.cgi?id=5409
        slice() testcase doesn't pass

        * fast/js/string-slice-abnormal-values.html: Added.
        * fast/js/string-slice-abnormal-values-expected.txt: Added.

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