1. 28 Sep, 2008 1 commit
    • ap@webkit.org's avatar
      Reviewed by Eric Seidel. · df67f133
      ap@webkit.org authored
              https://bugs.webkit.org/show_bug.cgi?id=20366
              Reproducible test failure for editing/undo/undo-iframe-location-change.html
      
              This does not fix the problem, but makes the test more predictable by using iframe onload.
              Also, makes the test runnable in browser. Turns out that the test reliably fails there too,
              even without any special steps needed in DRT.
      
              * editing/undo/undo-iframe-location-change-expected.txt:
              * editing/undo/undo-iframe-location-change.html:
      
              * ChangeLog-2007-10-14: Added bug URLs for a patch that included this test.
      
      WebCore:
              * ChangeLog-2006-05-10: Added bug URLs for a fix that included this test.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@37038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df67f133
  2. 04 Sep, 2008 1 commit
  3. 14 Oct, 2007 1 commit
  4. 13 Oct, 2007 2 commits
    • oliver's avatar
      Adding leopard specific results to a few SVG specific tests · a8c3eda6
      oliver authored
              RS=Maciej.
      
              * platform/mac-leopard/svg/batik/text/smallFonts-expected.txt: Added.
              * platform/mac-leopard/svg/batik/text/textBiDi-expected.txt: Added.
              * platform/mac-leopard/svg/hixie/text/003-expected.txt:
              * platform/mac-leopard/svg/hixie/text/003a-expected.txt:
              * platform/mac-leopard/svg/hixie/viewbox/preserveAspectRatio/001-expected.txt: Added.
              * platform/mac-leopard/svg/hixie/viewbox/preserveAspectRatio/002-expected.txt:
              * platform/mac-leopard/svg/text/text-path-01-b-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8c3eda6
    • oliver's avatar
      Make svg/batik/text/textDecoration2.svg use Lucida Grande · a9c5d4c5
      oliver authored
      RS=Eric.
      
              This test case used to use Lucida Sans which is apparently available on some
              systems, but not all.  Switching to Lucida Grande results in a slight change
              but we'll be testing with a font that everyone has.
      
              * svg/batik/text/textDecoration2-expected.checksum:
              * svg/batik/text/textDecoration2-expected.png:
              * svg/batik/text/textDecoration2-expected.txt:
              * svg/batik/text/textDecoration2.svg:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9c5d4c5
  5. 12 Oct, 2007 35 commits
    • weinig's avatar
      Reviewed by Darin. · b4552c78
      weinig authored
              * platform/mac/editing/pasteboard/paste-RTFD-expected.txt: Update results to reflect current
              tree. Reopening <rdar://problem/5483567> (see below) to note the potential bug.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4552c78
    • darin's avatar
      Reviewed by Oliver Hunt. · 50230445
      darin authored
              - change test that was accidentally detecting changes in frame load delegate
                calls to run in a directory where we do not log frame load delegate calls
      
              At some point we may want to test them (and so re-add the test that is
              currently intermittently giving different results), but this test is about
              the DOMContentLoaded event and we want to test just that.
      
              * http/tests/loading/DOMContentLoaded-event-expected.txt: Removed.
              * http/tests/loading/DOMContentLoaded-event.html: Removed.
              * http/tests/misc/DOMContentLoaded-event-expected.txt: Copied from http/tests/loading/DOMContentLoaded-event-expected.txt.
              * http/tests/misc/DOMContentLoaded-event.html: Copied from http/tests/loading/DOMContentLoaded-event.html.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50230445
    • darin's avatar
      Reviewed by Stephanie and Oliver. · 343fc153
      darin authored
              * platform/mac/fast/forms/select-change-listbox-to-popup-expected.txt:
              Update result to reflect current behavior. This is a bug and we wrote
              a bug report in Radar, <rdar://problem/5538793>.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      343fc153
    • justing's avatar
      WebCore: · 7d4a4343
      justing authored
              Reviewed by Harrison.
              
              <rdar://problem/5483370> GoogleDocs: Deleting cell text in a table row also removes any empty rows beneath the row being edited
              <rdar://problem/5482524> GoogleDocs: A hang occurs when applying list to selected table
              
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::removePreviouslySelectedEmptyTableRows):
              * editing/InsertListCommand.cpp:
              (WebCore::InsertListCommand::modifyRange):
              (WebCore::InsertListCommand::doApply):
      
      LayoutTests:
      
              Reviewed by Harrison.
              
              <rdar://problem/5483370> GoogleDocs: Deleting cell text in a table row also removes any empty rows beneath the row being edited
              <rdar://problem/5482524> GoogleDocs: A hang occurs when applying list to selected table
      
              * editing/deleting/5483370.html: Added.
              * editing/pasteboard/5483567.html-disabled: Removed.
              * editing/execCommand/5482524.html: Added.
              * platform/mac/editing/deleting/5483370-expected.checksum: Added.
              * platform/mac/editing/deleting/5483370-expected.png: Added.
              * platform/mac/editing/deleting/5483370-expected.txt: Added.
              * platform/mac/editing/execCommand/5482524-expected.checksum: Added.
              * platform/mac/editing/execCommand/5482524-expected.png: Added.
              * platform/mac/editing/execCommand/5482524-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d4a4343
    • darin's avatar
      Reviewed by Oliver Hunt. · dc5c8763
      darin authored
              - more work toward getting layout tests passing
      
              * fast/images/svg-background-crash-on-refresh.html: Removed.
              * fast/images/svg-background-crash-on-refresh.html-disabled: Copied from fast/images/svg-background-crash-on-refresh.html.
              Needed to disable this test because it causes a hang; not necessarily right after
              this test, sometimes quite a few tests later.
      
              * platform/mac-leopard/Skipped: Re-enabled a test that's fixed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc5c8763
    • darin's avatar
      * fast/css/computed-style-expected.txt: Again, but right this time. · f3759514
      darin authored
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f3759514
    • darin's avatar
      Reviewed by Oliver Hunt. · 28c4d24a
      darin authored
              * fast/css/computed-style-expected.txt: Added SVG CSS properties.
              * fast/css/computed-style-without-renderer-expected.txt: Ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28c4d24a
    • oliver's avatar
      Correct date in merge markers · 034b044b
      oliver authored
      RS=Darin
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      034b044b
    • oliver's avatar
      More Layout test tidying · 1378f7ae
      oliver authored
      RS=Alexey
      
      Move dom/xhtml/level2/html/HTMLBaseElement0[12].xhtml expected output
      to cross platform directory, remove unnecessary pixel results.
      
              * dom/xhtml/level2/html/HTMLBaseElement01-expected.txt: Added.
              * dom/xhtml/level2/html/HTMLBaseElement02-expected.txt: Added.
              * platform/mac/dom/xhtml/level2/html/HTMLBaseElement01-expected.checksum: Removed.
              * platform/mac/dom/xhtml/level2/html/HTMLBaseElement01-expected.png: Removed.
              * platform/mac/dom/xhtml/level2/html/HTMLBaseElement01-expected.txt: Removed.
              * platform/mac/dom/xhtml/level2/html/HTMLBaseElement02-expected.checksum: Removed.
              * platform/mac/dom/xhtml/level2/html/HTMLBaseElement02-expected.png: Removed.
              * platform/mac/dom/xhtml/level2/html/HTMLBaseElement02-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1378f7ae
    • oliver's avatar
      Correct expected output of a few test cases · ef76b99d
      oliver authored
      RS=Eric
      
              * platform/mac/dom/xhtml/level2/html/HTMLBaseElement01-expected.txt:
              * platform/mac/dom/xhtml/level2/html/HTMLBaseElement02-expected.txt:
              * platform/mac/fast/dom/dom-parse-serialize-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef76b99d
    • oliver's avatar
      Add merge markers · f2a33548
      oliver authored
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2a33548
    • oliver's avatar
      Fix Bug 15469: feature branch has 100's of implicit double -> float conversions · 859ead71
      oliver authored
              Reviewed by Sam.
      
              Re-enable -Wshorten-64-to-32, and make required code changes to make us build sanely again.
      
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSSVGMatrixCustom.cpp:
              (WebCore::JSSVGMatrix::translate):
              (WebCore::JSSVGMatrix::scale):
              (WebCore::JSSVGMatrix::scaleNonUniform):
              (WebCore::JSSVGMatrix::rotate):
              (WebCore::JSSVGMatrix::skewX):
              (WebCore::JSSVGMatrix::skewY):
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorObjC.pm:
              * ksvg2/css/SVGRenderStyle.cpp:
              (WebCore::SVGRenderStyle::cssPrimitiveToLength):
              * ksvg2/css/SVGRenderStyle.h:
              * ksvg2/svg/SVGAnimateMotionElement.cpp:
              (WebCore::SVGAnimateMotionElement::parseMappedAttribute):
              (WebCore::SVGAnimateMotionElement::updateAnimatedValue):
              (WebCore::parsePoint):
              (WebCore::SVGAnimateMotionElement::calculateFromAndToValues):
              * ksvg2/svg/SVGAnimationElement.cpp:
              (WebCore::SVGAnimationElement::parseKeyNumbers):
              (WebCore::parseKeySplines):
              * ksvg2/svg/SVGComponentTransferFunctionElement.cpp:
              (WebCore::SVGComponentTransferFunctionElement::SVGComponentTransferFunctionElement):
              (WebCore::SVGComponentTransferFunctionElement::parseMappedAttribute):
              * ksvg2/svg/SVGFECompositeElement.cpp:
              (WebCore::SVGFECompositeElement::SVGFECompositeElement):
              (WebCore::SVGFECompositeElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEDiffuseLightingElement.cpp:
              (WebCore::SVGFEDiffuseLightingElement::SVGFEDiffuseLightingElement):
              (WebCore::SVGFEDiffuseLightingElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEDisplacementMapElement.cpp:
              (WebCore::SVGFEDisplacementMapElement::SVGFEDisplacementMapElement):
              (WebCore::SVGFEDisplacementMapElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEGaussianBlurElement.cpp:
              (WebCore::SVGFEGaussianBlurElement::SVGFEGaussianBlurElement):
              (WebCore::SVGFEGaussianBlurElement::parseMappedAttribute):
              * ksvg2/svg/SVGFELightElement.cpp:
              (WebCore::SVGFELightElement::SVGFELightElement):
              (WebCore::SVGFELightElement::parseMappedAttribute):
              * ksvg2/svg/SVGFEOffsetElement.cpp:
              (WebCore::SVGFEOffsetElement::SVGFEOffsetElement):
              (WebCore::SVGFEOffsetElement::parseMappedAttribute):
              * ksvg2/svg/SVGFESpecularLightingElement.cpp:
              (WebCore::SVGFESpecularLightingElement::SVGFESpecularLightingElement):
              (WebCore::SVGFESpecularLightingElement::parseMappedAttribute):
              * ksvg2/svg/SVGFETurbulenceElement.cpp:
              (WebCore::SVGFETurbulenceElement::SVGFETurbulenceElement):
              (WebCore::SVGFETurbulenceElement::parseMappedAttribute):
              * ksvg2/svg/SVGFitToViewBox.cpp:
              (WebCore::SVGFitToViewBox::parseMappedAttribute):
              * ksvg2/svg/SVGFitToViewBox.h:
              * ksvg2/svg/SVGLength.cpp:
              (WebCore::SVGLength::setValueAsString):
              (WebCore::SVGLength::PercentageOfViewport):
              * ksvg2/svg/SVGNumber.idl:
              * ksvg2/svg/SVGNumberList.cpp:
              (WebCore::SVGNumberList::parse):
              * ksvg2/svg/SVGNumberList.h:
              * ksvg2/svg/SVGParserUtilities.cpp:
              (WebCore::_parseNumber):
              (WebCore::parseNumber):
              (WebCore::pointsListFromSVGData):
              (WebCore::PathBuilder::svgMoveTo):
              (WebCore::PathBuilder::svgLineTo):
              (WebCore::PathBuilder::svgCurveToCubic):
              (WebCore::SVGPathSegListBuilder::svgMoveTo):
              (WebCore::SVGPathSegListBuilder::svgLineTo):
              (WebCore::SVGPathSegListBuilder::svgLineToHorizontal):
              (WebCore::SVGPathSegListBuilder::svgLineToVertical):
              (WebCore::SVGPathSegListBuilder::svgCurveToCubic):
              (WebCore::SVGPathSegListBuilder::svgCurveToCubicSmooth):
              (WebCore::SVGPathSegListBuilder::svgCurveToQuadratic):
              (WebCore::SVGPathSegListBuilder::svgCurveToQuadraticSmooth):
              (WebCore::SVGPathSegListBuilder::svgArcTo):
              * ksvg2/svg/SVGParserUtilities.h:
              * ksvg2/svg/SVGPathElement.cpp:
              (WebCore::SVGPathElement::SVGPathElement):
              * ksvg2/svg/SVGSVGElement.cpp:
              (WebCore::SVGSVGElement::pixelUnitToMillimeterX):
              (WebCore::SVGSVGElement::pixelUnitToMillimeterY):
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGTransformDistance.cpp:
              (WebCore::SVGTransformDistance::addToSVGTransform):
              (WebCore::SVGTransformDistance::distance):
              * ksvg2/svg/SVGTransformDistance.h:
              * ksvg2/svg/SVGTransformable.cpp:
              (WebCore::SVGTransformable::parseTransformValue):
              * ksvg2/svg/SVGViewSpec.cpp:
              (WebCore::SVGViewSpec::parseViewSpec):
              * platform/graphics/svg/SVGResourceFilter.cpp:
              (WebCore::SVGResourceFilter::filterBBoxForItemBBox):
              * platform/graphics/svg/cg/CgSupport.cpp:
              (WebCore::applyStrokeStyleToContext):
              * platform/graphics/svg/cg/SVGPaintServerPatternCg.cpp:
              (WebCore::SVGPaintServerPattern::setup):
              * platform/graphics/svg/cg/SVGResourceFilterCg.mm:
              (WebCore::SVGResourceFilter::applyFilter):
              * platform/graphics/svg/filters/SVGFEComponentTransfer.h:
              (WebCore::SVGComponentTransferFunction::SVGComponentTransferFunction):
              * platform/graphics/svg/filters/SVGFEComposite.cpp:
              (WebCore::SVGFEComposite::SVGFEComposite):
              * platform/graphics/svg/filters/SVGFEConvolveMatrix.cpp:
              (WebCore::SVGFEConvolveMatrix::SVGFEConvolveMatrix):
              * platform/graphics/svg/filters/SVGFEDiffuseLighting.cpp:
              (WebCore::SVGFEDiffuseLighting::SVGFEDiffuseLighting):
              * platform/graphics/svg/filters/SVGFEFlood.cpp:
              (WebCore::SVGFEFlood::SVGFEFlood):
              * platform/graphics/svg/filters/SVGFEGaussianBlur.cpp:
              (WebCore::SVGFEGaussianBlur::SVGFEGaussianBlur):
              * platform/graphics/svg/filters/SVGFEMorphology.cpp:
              (WebCore::SVGFEMorphology::SVGFEMorphology):
              * platform/graphics/svg/filters/SVGFEOffset.cpp:
              (WebCore::SVGFEOffset::SVGFEOffset):
              * platform/graphics/svg/filters/SVGFESpecularLighting.cpp:
              (WebCore::SVGFESpecularLighting::SVGFESpecularLighting):
              * platform/graphics/svg/filters/SVGFETurbulence.cpp:
              (WebCore::SVGFETurbulence::SVGFETurbulence):
              * platform/graphics/svg/filters/cg/SVGFEColorMatrixCg.mm:
              (WebCore::SVGFEColorMatrix::getCIFilter):
              * platform/graphics/svg/filters/cg/SVGFEHelpersCg.mm:
              (WebCore::getVectorForChannel):
              (WebCore::getLightVectors):
              * platform/graphics/svg/filters/cg/SVGFEImageCg.mm:
              (WebCore::SVGFEImage::getCIFilter):
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::drawMarkersIfNeeded):
              * rendering/RenderSVGImage.cpp:
              (WebCore::RenderSVGImage::paint):
              * rendering/RenderSVGInlineText.cpp:
              (WebCore::RenderSVGInlineText::computeAbsoluteRectForRange):
              * rendering/RenderSVGRoot.cpp:
              (WebCore::RenderSVGRoot::applyContentTransforms):
              (WebCore::RenderSVGRoot::calcViewport):
              (WebCore::RenderSVGRoot::nodeAtPoint):
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::absoluteRects):
              (WebCore::RenderSVGText::relativeBBox):
              * rendering/RenderSVGTextPath.cpp:
              * rendering/SVGCharacterLayoutInfo.cpp:
              (WebCore::calculateBaselineShift):
              (WebCore::SVGCharacterLayoutInfo::SVGCharacterLayoutInfo):
              (WebCore::SVGCharacterLayoutInfo::processedChunk):
              (WebCore::SVGCharacterLayoutInfo::nextPathLayoutPointAndAngle):
              (WebCore::SVGCharacterLayoutInfo::addLayoutInformation):
              * rendering/SVGCharacterLayoutInfo.h:
              * rendering/SVGInlineTextBox.cpp:
              (WebCore::SVGInlineTextBox::calculateGlyphBoundaries):
              (WebCore::SVGInlineTextBoxClosestCharacterToPositionWalker::chunkPortionCallback):
              (WebCore::pathForDecoration):
              * rendering/SVGRenderTreeAsText.cpp:
              (WebCore::writeStyle):
              * rendering/SVGRootInlineBox.cpp:
              (WebCore::SVGRootInlineBoxPaintWalker::chunkPortionCallback):
              (WebCore::applyTextAnchorToTextChunk):
              (WebCore::SVGRootInlineBox::buildLayoutInformation):
              (WebCore::SVGRootInlineBox::buildLayoutInformationForTextBox):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      859ead71
    • oliver's avatar
      Reviewed by Oliver. · 47cc042c
      oliver authored
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=6421 (<text> textLength attribute is not respected)
      Fixes: http://bugs.webkit.org/show_bug.cgi?id=6422 (<text> lengthAdjust attribute is not respected)
      
      Implement textLength and full lengthAdjust (both 'spacing' & 'spacingAndGlyphs' mode)
      for <text> & <tspan> & friends. <textPath> is still todo, as it's special.
      
      Also fix usage of cummulatedGlyphWidth/Height in SVGInlineTextBox, calculateGlyphBoundaries was
      supposed to be used in the distance calculations, to take per character transformations into account (ie. rotation).
      
      Fixes: svg/W3C-SVG-1.1/text-text-01-b.svg (complelty fixed the single W3C textLength testcase)
      Partly fixed: svg/batik/text/textOnPathSpaces.svg (kerning support missing)
      Partly fixed: svg/batik/text/textLayout.svg (word-letter spacing & textLength is todo)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      47cc042c
    • oliver's avatar
      Fix for Bug 15468: Parsing of numbers and lists is too lenient in SVG · 8f62a460
      oliver authored
      Reviewed by Niko.
      
      Correct parsing of numbers, number lists, and length lists in SVG.
      
              * ksvg2/svg/SVGLength.cpp:
              (WebCore::SVGLength::setValueAsString):
              * ksvg2/svg/SVGLength.h:
              * ksvg2/svg/SVGLengthList.cpp:
              (WebCore::SVGLengthList::parse):
              * ksvg2/svg/SVGParserUtilities.cpp:
              (WebCore::parseNumber):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8f62a460
    • oliver's avatar
      2007-10-11 Allan Sandfeld Jensen <sandfeld@kde.org> · 91753a02
      oliver authored
               Reviewed by Maciej and Eric.
      
               Implement CSS selector combinators nondeterministic matching.
               Fixes http://bugs.webkit.org/show_bug.cgi?id=3428
      
               * css/CSSStyleSelector.cpp:
               (WebCore::CSSStyleSelector::matchRulesForList):
               (WebCore::CSSStyleSelector::checkSelector): Split the function and make the second part recursive
               (WebCore::CSSStyleSelector::checkOneSelector): Handle pseodo-elements rules and hoveractive quirks
               here instead of in checkSelector.
               * css/CSSStyleSelector.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      91753a02
    • oliver's avatar
      2007-10-10 Eric Seidel <eric@webkit.org> · 3ff0a12f
      oliver authored
              Reviewed by Nikolas Zimmermann.
      
              Fix the SVG dom so that rect.x.baseVal = rect.x.baseVal like it should.
              http://bugs.webkit.org/show_bug.cgi?id=14150
      
              Test: svg/dom/animated-tearoff-equlity.xhtml
      
              * ksvg2/svg/SVGAnimatedTemplate.h:
              (WebCore::SVGAnimatedTypeWrapperKey::SVGAnimatedTypeWrapperKey):
              (WebCore::SVGAnimatedTypeWrapperKey::operator==):
              (WebCore::SVGAnimatedTypeWrapperKeyHash::hash):
              (WebCore::SVGAnimatedTypeWrapperKeyHash::equal):
              (WebCore::SVGAnimatedTypeWrapperKeyHashTraits::deletedValue):
              (WebCore::SVGAnimatedTypeWrapperKeyHashTraits::emptyValue):
              (WebCore::SVGAnimatedTemplate::~SVGAnimatedTemplate):
              (WebCore::SVGAnimatedTemplate::wrapperCache):
              (WebCore::SVGAnimatedTemplate::forgetWrapper):
              (WebCore::lookupOrCreateWrapper):
              * ksvg2/svg/SVGElement.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ff0a12f
    • oliver's avatar
      Correcting expected output of svg/batik/text/textOnPathSpaces · 0d0d6a8c
      oliver authored
      RS = Eric.
      
      * svg/batik/text/textOnPathSpaces-expected.txt
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0d0d6a8c
    • oliver's avatar
      2007-10-10 Eric Seidel <eric@webkit.org> · 09e98ea0
      oliver authored
              Reviewed by Oliver.
      
              Make renderers pull localTransform instead of depending on DOM elements to push
              This allows for cleaner invalidation code, and makes writing animation easier.
              Also fixed a tiny bug in SVGRenderImage focus ring calculations while there
      
              Updated test results for svg/custom/focus-ring.svg
      
              * WebCore.xcodeproj/project.pbxproj:
              * ksvg2/svg/SVGAElement.cpp:
              (WebCore::SVGAElement::createRenderer):
              * ksvg2/svg/SVGAnimateMotionElement.cpp:
              (WebCore::SVGAnimateMotionElement::applyAnimatedValueToElement):
              * ksvg2/svg/SVGAnimateTransformElement.cpp:
              (WebCore::SVGAnimateTransformElement::applyAnimatedValueToElement):
              * ksvg2/svg/SVGClipPathElement.cpp:
              (WebCore::SVGClipPathElement::canvasResource):
              * ksvg2/svg/SVGElement.h:
              * ksvg2/svg/SVGGElement.cpp:
              (WebCore::SVGGElement::createRenderer):
              * ksvg2/svg/SVGImageElement.cpp:
              * ksvg2/svg/SVGLocatable.cpp:
              (WebCore::SVGLocatable::getCTM):
              (WebCore::SVGLocatable::getScreenCTM):
              * ksvg2/svg/SVGMarkerElement.cpp:
              (WebCore::SVGMarkerElement::canvasResource):
              (WebCore::SVGMarkerElement::notifyAttributeChange):
              * ksvg2/svg/SVGSVGElement.h:
              * ksvg2/svg/SVGStyledElement.cpp:
              (WebCore::SVGStyledElement::rendererIsNeeded):
              (WebCore::SVGStyledElement::notifyResourceParentIfExistant):
              * ksvg2/svg/SVGStyledElement.h:
              (WebCore::SVGStyledElement::style):
              * ksvg2/svg/SVGStyledTransformableElement.cpp:
              (WebCore::SVGStyledTransformableElement::animatedLocalTransform):
              (WebCore::SVGStyledTransformableElement::parseMappedAttribute):
              (WebCore::SVGStyledTransformableElement::notifyAttributeChange):
              (WebCore::SVGStyledTransformableElement::createRenderer):
              * ksvg2/svg/SVGStyledTransformableElement.h:
              (WebCore::SVGStyledTransformableElement::toPathData):
              * ksvg2/svg/SVGSwitchElement.cpp:
              (WebCore::SVGSwitchElement::createRenderer):
              * ksvg2/svg/SVGTRefElement.cpp:
              (WebCore::SVGTRefElement::updateReferencedText):
              * ksvg2/svg/SVGTextElement.cpp:
              (WebCore::SVGTextElement::parseMappedAttribute):
              (WebCore::SVGTextElement::animatedLocalTransform):
              * ksvg2/svg/SVGTextElement.h:
              * ksvg2/svg/SVGTextPathElement.cpp:
              * ksvg2/svg/SVGTextPathElement.h:
              * ksvg2/svg/SVGTransformable.cpp:
              (WebCore::SVGTransformable::getCTM):
              (WebCore::SVGTransformable::getScreenCTM):
              * ksvg2/svg/SVGTransformable.h:
              * ksvg2/svg/SVGUseElement.cpp:
              (WebCore::SVGUseElement::createRenderer):
              (WebCore::SVGUseElement::attachShadowTree):
              * platform/graphics/AffineTransform.h:
              (WebCore::AffineTransform::operator!=):
              * platform/graphics/svg/SVGResourceMarker.cpp:
              (WebCore::SVGResourceMarker::setMarker):
              * platform/graphics/svg/SVGResourceMarker.h:
              * rendering/RenderForeignObject.cpp:
              (WebCore::RenderForeignObject::calculateLocalTransform):
              (WebCore::RenderForeignObject::layout):
              * rendering/RenderForeignObject.h:
              (WebCore::RenderForeignObject::localTransform):
              * rendering/RenderObject.cpp:
              * rendering/RenderObject.h:
              * rendering/RenderPath.cpp:
              (WebCore::RenderPath::RenderPath):
              (WebCore::RenderPath::localTransform):
              (WebCore::RenderPath::calculateLocalTransform):
              (WebCore::RenderPath::layout):
              * rendering/RenderPath.h:
              * rendering/RenderSVGContainer.cpp:
              (WebCore::RenderSVGContainer::localTransform):
              (WebCore::RenderSVGContainer::calculateLocalTransform):
              (WebCore::RenderSVGContainer::layout):
              * rendering/RenderSVGContainer.h:
              * rendering/RenderSVGImage.h:
              (WebCore::RenderSVGImage::localTransform):
              * rendering/RenderSVGText.cpp:
              (WebCore::RenderSVGText::calculateLocalTransform):
              (WebCore::RenderSVGText::layout):
              * rendering/RenderSVGText.h:
              (WebCore::RenderSVGText::isSVGText):
              (WebCore::RenderSVGText::localTransform):
              * rendering/RenderSVGTextPath.cpp:
              (WebCore::RenderSVGTextPath::layoutPath):
              (WebCore::RenderSVGTextPath::startOffset):
              (WebCore::RenderSVGTextPath::exactAlignment):
              (WebCore::RenderSVGTextPath::stretchMethod):
              * rendering/RenderSVGTextPath.h:
              * rendering/RenderSVGTransformableContainer.cpp: Added.
              (WebCore::RenderSVGTransformableContainer::RenderSVGTransformableContainer):
              (WebCore::RenderSVGTransformableContainer::calculateLocalTransform):
              * rendering/RenderSVGTransformableContainer.h: Added.
              * rendering/RenderSVGViewportContainer.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      09e98ea0
    • oliver's avatar
      Reviewed by Anders. · a53c7489
      oliver authored
              http://bugs.webkit.org/show_bug.cgi?id=15436
              Wrong node order for XPath reverse axes
      
              Test: fast/xpath/reverse-axes.html
      
              * xml/XPathStep.cpp:
              (WebCore::XPath::Step::nodesInAxis): Do not prematurely sort reverse
              axes. Generate preceding axis nodes in reversed document order.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a53c7489
    • oliver's avatar
      Reviewed by Mitz. · 26d3e5b8
      oliver authored
              http://bugs.webkit.org/show_bug.cgi?id=15437
              XPath substring-after function is broken
      
              Test: fast/xpath/substring-after.html
      
              * xml/XPathFunctions.cpp:
              (WebCore::XPath::FunSubstringAfter::evaluate): Fix it for real this time, hopefully.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26d3e5b8
    • oliver's avatar
      Not reviewed. · 51df3ab9
      oliver authored
      Regenerated the SVG test baseline, they have been generated with _trunk_ instead of feature-branch.
      Not sure who committed it, but it's wrong - so I'm fixing.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51df3ab9
    • oliver's avatar
      Reviewed by Eric. · c8826dc6
      oliver authored
              http://bugs.webkit.org/show_bug.cgi?id=15080
              <use> element not refresh after adding objects by script in referrer
      
              Update shadow tree when elements are added/removed from a tree
              that is referenced by a <use>.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8826dc6
    • oliver's avatar
      Reviewed by Maciej. · cd8eb895
      oliver authored
              http://bugs.webkit.org/show_bug.cgi?id=15088
              HTMLOptionElement.selected returns false when parent HTMLSelectElement is "display: none" until parent's .selectedIndex is accessed
      
              Make sure the list items are up to date when there is no renderer.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd8eb895
    • oliver's avatar
      2007-10-08 Eric Seidel <eric@webkit.org> · f7865031
      oliver authored
              Reviewed by hyatt.
      
              Implement getComputedStyle support for SVG CSS values
              http://bugs.webkit.org/show_bug.cgi?id=15422
      
              This also unifies SVG and non-SVG CSS hash lookups. A unified hash
              solves correctness problems as well as offers improved speed.
      
              Test: svg/css/getComputedStyle-basic.xhtml
      
              * DerivedSources.make: unify SVG and non-SVG CSS hash files
              * WebCore.xcodeproj/project.pbxproj: remove old SVG CSS hash files
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::):
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): call getPropertyCSSValue
              * css/CSSComputedStyleDeclaration.h: add getPropertyCSSValue
              * css/CSSGrammar.y:
              * css/CSSParser.cpp:
              (WebCore::CSSParser::parseValue):
              * css/CSSStyleDeclaration.cpp:
              (WebCore::propertyID):
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * ksvg2/css/CSSPropertyNames.in: remove font-size-adjust
              * ksvg2/css/SVGCSSComputedStyleDeclaration.cpp: Added.
              (WebCore::CSSComputedStyleDeclaration::getSVGPropertyCSSValue): added.
              * ksvg2/css/SVGCSSParser.cpp:
              (WebCore::CSSParser::parseSVGValue):
              * ksvg2/css/SVGCSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::applySVGProperty):
              * ksvg2/scripts/cssmakeprops: Removed.
              * ksvg2/scripts/cssmakevalues: Removed.
              * ksvg2/svg/SVGAnimationElement.cpp:
              * ksvg2/svg/SVGStyledElement.cpp:
              (WebCore::mapAttributeToCSSProperty):
              (WebCore::SVGStyledElement::cssPropertyIdForSVGAttributeName): remove font-size-adjust
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f7865031
    • oliver's avatar
      WebCore: · 27f86d98
      oliver authored
              Reviewed by Steve Falkenburg;
      
              Fix for <rdar://problem/5519698> CrashTracer: [USER] 47 crashes in Safari at com.apple.WebCore: WebCore::XMLTokenizer::lineNumber const + 9
      
              Test: fast/innerHTML/innerHTML-script-tag-crash.xhtml
      
              * dom/XMLTokenizer.cpp:
              (WebCore::XMLTokenizer::lineNumber): Return 1 when there is no context.
              (WebCore::XMLTokenizer::columnNumber): ditto.
      
      LayoutTests:
      
              Reviewed by Steve Falkenburg.
      
              Test for <rdar://problem/5519698> CrashTracer: [USER] 47 crashes in Safari at com.apple.WebCore: WebCore::XMLTokenizer::lineNumber const + 9
      
              * fast/innerHTML/innerHTML-script-tag-crash-expected.txt: Added.
              * fast/innerHTML/innerHTML-script-tag-crash.xhtml: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27f86d98
    • oliver's avatar
      Not reviewed. · 602752c2
      oliver authored
      Forgot to land some result test changes in my last commit.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      602752c2
    • oliver's avatar
      Reviewed by Eric. · 70d597ee
      oliver authored
      Fix some issues with rotation & baseline-shift, when spanning
      across <tspan> elements. Highlighted by the existing batik tests.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70d597ee
    • oliver's avatar
      2007-10-07 Mark Rowe <mrowe@apple.com> · 8aeb19b6
      oliver authored
              Reviewed by Maciej.
      
              Bug 5122: Need an equivalent of Mozilla's DOMContentLoaded event
              http://bugs.webkit.org/show_bug.cgi?id=5122
      
              This is based on a patch by Daniel Peebles (pumpkingod@gmail.com).
      
              Test: http/tests/loading/DOMContentLoaded-event.html
      
              * dom/Document.cpp:
              (WebCore::Document::finishedParsing): Dispatch the DOMContentLoaded event when parsing completes.
              * dom/EventNames.h:  Add DOMContentLoaded to the list of events.
      
      2007-10-07  Mark Rowe  <mrowe@apple.com>
      
              Reviewed by Maciej.
      
              Test for Bug 5122: Need an equivalent of Mozilla's DOMContentLoaded event
              http://bugs.webkit.org/show_bug.cgi?id=5122
      
              * http/tests/loading/DOMContentLoaded-event-expected.txt: Added.
              * http/tests/loading/DOMContentLoaded-event.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26515 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8aeb19b6
    • oliver's avatar
      Reviewed by Mark. · 6434541d
      oliver authored
      Fix textLength.svg testcase - missed xmlns.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26514 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6434541d
    • oliver's avatar
      Reviewed by Eric Seidel. · c2e19e23
      oliver authored
              http://bugs.webkit.org/show_bug.cgi?id=15368
              xsl:import fails when preceded by comment
      
              Test: fast/xsl/import-after-comment.xml
      
              * xml/XSLStyleSheet.cpp:
              (WebCore::XSLStyleSheet::loadChildSheets): It's OK for xsl:import to be preceded by
              non-element nodes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26511 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c2e19e23
    • oliver's avatar
      2007-10-07 Vincent Ricard <magic@magicninja.org> · dc20d021
      oliver authored
              Reviewed by Maciej.  Landed by eseidel.
      
              http://bugs.webkit.org/show_bug.cgi?id=15062
              Implement document.compatMode
      
              Tests: fast/dom/compatMode-AlmostStrict.html
                     fast/dom/compatMode-Compat.html
                     fast/dom/compatMode-Strict.html
      
              * html/HTMLDocument.cpp:
              (WebCore::HTMLDocument::compatMode):
              * html/HTMLDocument.h:
              * html/HTMLDocument.idl:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26510 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc20d021
    • oliver's avatar
      2007-10-07 Sam Weinig <sam@webkit.org> · 7a6a508d
      oliver authored
              Reviewed by Darin & Nikolas.  Landed by eseidel.
      
              Patch for http://bugs.webkit.org/show_bug.cgi?id=14455
              Autogenerate the JS bindings for the StyleSheetList
      
              * DerivedSources.make:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/js/JSStyleSheetListCustom.cpp: Added.
              (WebCore::JSStyleSheetList::canGetItemsForName):
              (WebCore::JSStyleSheetList::nameGetter):
              * bindings/js/kjs_css.cpp:
              * bindings/js/kjs_css.h:
              * bindings/objc/DOMUtility.mm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * css/StyleSheetList.cpp:
              (WebCore::StyleSheetList::StyleSheetList):
              (WebCore::StyleSheetList::documentDestroyed):
              (WebCore::StyleSheetList::getNamedItem):
              * css/StyleSheetList.h: Add Document member variable and
              getNamedItem function to accommodate the odd javascript
              name getter functionality.
              * css/StyleSheetList.idl:
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::~Document):
              * page/DOMWindow.idl: Add StyleSheetListConstructor
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26509 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a6a508d
    • oliver's avatar
      Reviewed by Mark. · f90c7a3d
      oliver authored
      Remove useless onload/onunload handlers from js-update-container.svg,
      causing a console message saying these handlers don't exist.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26505 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f90c7a3d
    • oliver's avatar
      Rubberstamped by Oliver. · 4557ac99
      oliver authored
      Update SVG baseline with Tiger. No regressions.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26504 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4557ac99
    • oliver's avatar
      Reviewed by Mitz. · a0ee8b47
      oliver authored
              http://bugs.webkit.org/show_bug.cgi?id=15380
              XPath: id('foo') doesn't resolve correctly
      
              Test: fast/xpath/id-simple.html
      
              * xml/XPathFunctions.cpp:
              (WebCore::XPath::FunId::evaluate): Fixed a logic error in id() parameter parsing.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@26502 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0ee8b47