⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Timeline



Jan 1, 2007:

9:13 PM Changeset in webkit [18517] by ddkilzer
  • 8 edits in trunk

JavaScriptCore:

Reviewed by Darin.

Modified pcre_compile() (and the functions that it calls) to work with patterns
containing null characters.

Covered by JavaScriptCore tests ecma_3/RegExp/octal-002.js and ecma_3/RegExp/regress-85721.js

  • kjs/regexp.cpp: (KJS::RegExp::RegExp): Changed to not null-terminate the pattern string and instead pass its length to pcre_compile.
  • pcre/pcre.h:
  • pcre/pcre_compile.c: (check_escape): (get_ucp): (is_counted_repeat): (check_posix_syntax): (compile_branch): (compile_regex): (pcre_compile): Added a parameter specifying the length of the pattern, which is no longer required to be null-terminated and may contain null characters. (pcre_compile2):
  • pcre/pcre_internal.h:
  • tests/mozilla/expected.html: Updated for the two tests that this patch fixes. Also updated failing results for ecma_3/RegExp/regress-100199.js which were not updated after bug 6257 was fixed.

WebCore:

Reviewed by Darin.

  • platform/RegularExpression.cpp: (WebCore::RegularExpression::Private::compile): Changed to not null-terminate the pattern string and instead pass its length to pcre_compile.
8:37 PM Changeset in webkit [18516] by ddkilzer
  • 5 edits
    4 adds in trunk

LayoutTests:

Reviewed by Darin.

  • fast/repaint/table-cell-collapsed-border-expected.checksum: Added.
  • fast/repaint/table-cell-collapsed-border-expected.png: Added.
  • fast/repaint/table-cell-collapsed-border-expected.txt: Added.
  • fast/repaint/table-cell-collapsed-border.html: Added.

WebCore:

Reviewed by Darin.

Test: fast/repaint/table-cell-collapsed-border.html

  • rendering/RenderTable.h: Added needsSectionRecalc() accessor.
  • rendering/RenderTableCell.cpp: (WebCore::RenderTableCell::getAbsoluteRepaintRect): Overloaded to add the outer half of any collapsed borders. This function checks the cell's borders' widths but also the widths of the adjoining cells' borders, since they can contribute to the length of this cell's borders perpendicular to them, making such a border overflow the cell in both dimensions. (WebCore::RenderTableCell::borderLeft): Split the collapsing borders case off to borderHalfLeft(). (WebCore::RenderTableCell::borderRight): Ditto. (WebCore::RenderTableCell::borderTop): Ditto. (WebCore::RenderTableCell::borderBottom): Ditto. (WebCore::RenderTableCell::borderHalfLeft): Added. Takes an 'outer' boolean parameter. When true, this function returns the width of the part of the border that is outside the cell (different from the inner width when the total width is odd). (WebCore::RenderTableCell::borderHalfRight): Ditto. (WebCore::RenderTableCell::borderHalfTop): Ditto. (WebCore::RenderTableCell::borderHalfBottom): Ditto.
  • rendering/RenderTableCell.h:
8:27 PM Changeset in webkit [18515] by ddkilzer
  • 4 edits in trunk/WebCore

WebCore:

WebCore.vcproj change reviewed by Darin. Additional build files updated by ddkilzer.

  • CMakeLists.txt: Removed RenderLineEdit.cpp.
  • WebCore.vcproj/WebCore/WebCore.vcproj: Removed RenderLineEdit.cpp and RenderLineEdit.h.
  • WebCoreSources.bkl: Removed RenderLineEdit.cpp.
8:19 PM Changeset in webkit [18514] by ddkilzer
  • 2 edits in trunk/JavaScriptCore

JavaScriptCore:

Reviewed by Darin.

Because Mac OS X returns geographically and historically accurate time zone information,
converting Jan 02, 1970 12:00:00 AM to local time then subtracting 24 hours did not work
in GMT (London - England) since it was in BST (+0100) all year in 1970[1]. Instead, the
UTC offset is calculated by converting Jan 01, 2000 12:00:00 AM to local time then
subtracting that from the same date in UTC.

[1] http://en.wikipedia.org/wiki/British_Summer_Time

  • kjs/DateMath.cpp: (KJS::getUTCOffset): Updated UTC offset calculation. (KJS::getDSTOffset): Improved comment.
8:13 PM Changeset in webkit [18513] by ddkilzer
  • 4 edits in trunk/WebKitTools

WebKitTools:

Reviewed by Darin.

http://bugs.webkit.org/show_bug.cgi?id=12023
svn-create-patch and friends should handle moved/copied files

  • Scripts/svn-apply: Identify copied files and handle those before all other patches.
  • Scripts/svn-create-patch: Generate patches with subtle changes for copied files. (findMimeType($)): Added. (findModificationTime($)): Added. (findSourceFileAndRevision($)): Added. (generateDiff($$$)): Changed to use svn stat instead of svn diff. (isBinaryMimeType($)): Added. (manufacturePatchForAdditionWithHistory($$)): Added.
  • Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
6:27 PM Changeset in webkit [18512] by darin
  • 2 edits in trunk/WebKitSite
  • quality/bugzilla.html: Fix a lingering reference to opendarwin.org.
6:03 PM Changeset in webkit [18511] by ddkilzer
  • 3 edits
    4 adds in trunk

LayoutTests:

Reviewed by Mark Rowe.

  • fast/borders/outline-offset-min-assert-expected.checksum: Added.
  • fast/borders/outline-offset-min-assert-expected.png: Added.
  • fast/borders/outline-offset-min-assert-expected.txt: Added.
  • fast/borders/outline-offset-min-assert.html: Added.

WebCore:

Reviewed by Mark Rowe.

Test: fast/borders/outline-offset-min-assert.html

  • rendering/RenderObject.cpp: (WebCore::RenderObject::paintOutline): Bail out if the width or height is smaller than twice the outline inset.
5:42 PM Changeset in webkit [18510] by bdash
  • 3 edits
    2 adds in trunk

2007-01-01 Mark Rowe <bdash@webkit.org>

Reviewed by Eric.

http://bugs.webkit.org/show_bug.cgi?id=12061
Bug 12061: Crash in WebCore::Shared<WebCore::StringImpl>::deref

  • rendering/RenderStyle.cpp: (WebCore::ContentData::clearContent): Reset _contentType to CONTENT_NONE to ensure repeated calls to clearContent do not result in derefing deallocated members.

2007-01-01 Mark Rowe <bdash@webkit.org>

Reviewed by Eric.

Layout test for http://bugs.webkit.org/show_bug.cgi?id=12061
Bug 12061: Crash in WebCore::Shared<WebCore::StringImpl>::deref

  • fast/css-generated-content/reset-content-to-initial-expected.txt: Added.
  • fast/css-generated-content/reset-content-to-initial.html: Added.
12:48 PM Changeset in webkit [18509] by eseidel
  • 10 edits in trunk/WebCore

2007-01-01 Eric Seidel <eric@webkit.org>

Reviewed by andersca.

Begin pushing code down into SVGAnimateElement

  • ksvg2/svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::handleStartCondition):
  • ksvg2/svg/SVGAnimateColorElement.h:
  • ksvg2/svg/SVGAnimateElement.h: (WebCore::SVGAnimateElement::updateCurrentValue): (WebCore::SVGAnimateElement::handleStartCondition): (WebCore::SVGAnimateElement::handleEndCondition):
  • ksvg2/svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::handleStartCondition):
  • ksvg2/svg/SVGAnimateTransformElement.h:
  • ksvg2/svg/SVGAnimationElement.cpp: (WebCore::SVGAnimationElement::handleTimerEvent):
  • ksvg2/svg/SVGAnimationElement.h:
  • ksvg2/svg/SVGSetElement.cpp: (WebCore::SVGSetElement::updateCurrentValue): (WebCore::SVGSetElement::handleStartCondition): (WebCore::SVGSetElement::handleEndCondition):
  • ksvg2/svg/SVGSetElement.h:
11:40 AM Changeset in webkit [18508] by eseidel
  • 4 edits in trunk/WebCore

2007-01-01 Eric Seidel <eric@webkit.org>

Reviewed by andersca.

Add static function SVGColor::colorFromRGBColorString to allow parsing Colors from SVG color strings w/o creating an SVGColor object.

  • ksvg2/svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::storeInitialValue): use colorFromRGBColorString (WebCore::SVGAnimateColorElement::startIfNecessary): use colorFromRGBColorString
  • ksvg2/svg/SVGColor.cpp: (WebCore::SVGColor::setRGBColor): use colorFromRGBColorString (WebCore::parseNumberOrPercent): new color parsing helper (WebCore::SVGColor::colorFromRGBColorString): cleaned up version of setRGBColor parsing logic
  • ksvg2/svg/SVGColor.h:
10:58 AM Changeset in webkit [18507] by eseidel
  • 5 edits in trunk/WebCore

2007-01-01 Eric Seidel <eric@webkit.org>

Reviewed by andersca.

Split handleTimerEvent logic into separate functions in preparation for moving down into SVGAnimationElement

  • ksvg2/svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::storeInitialValue): (WebCore::SVGAnimateColorElement::resetValues): (WebCore::SVGAnimateColorElement::updateCurrentValue): (WebCore::SVGAnimateColorElement::startIfNecessary): (WebCore::SVGAnimateColorElement::handleEndCondition): (WebCore::SVGAnimateColorElement::handleTimerEvent):
  • ksvg2/svg/SVGAnimateColorElement.h:
  • ksvg2/svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::storeInitialValue): (WebCore::SVGAnimateTransformElement::resetValues): (WebCore::SVGAnimateTransformElement::updateCurrentValue): (WebCore::SVGAnimateTransformElement::startIfNecessary): (WebCore::SVGAnimateTransformElement::handleEndCondition): (WebCore::SVGAnimateTransformElement::handleTimerEvent):
  • ksvg2/svg/SVGAnimateTransformElement.h:
10:56 AM Changeset in webkit [18506] by rwlbuis
  • 3 edits in trunk/WebCore

Reviewed by Eric.

Simple cleanups, removing unused color table, copyright and include guard fixes.

10:20 AM Changeset in webkit [18505] by eseidel
  • 1 edit in trunk/WebCore/ChangeLog

correct reviewer, was andersca not mitz

10:19 AM Changeset in webkit [18504] by eseidel
  • 7 edits in trunk/WebCore

2007-01-01 Eric Seidel <eric@eseidel.com>

Reviewed by mitz.

More animation code cleanup.

  • ksvg2/svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::handleTimerEvent):
  • ksvg2/svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::handleTimerEvent):
  • ksvg2/svg/SVGAnimationElement.cpp: (WebCore::SVGAnimationElement::SVGAnimationElement): (WebCore::SVGAnimationElement::connectedToTimer): (WebCore::SVGAnimationElement::connectTimer): (WebCore::SVGAnimationElement::disconnectTimer): (WebCore::SVGAnimationElement::updateForElapsedSeconds):
  • ksvg2/svg/SVGAnimationElement.h:
  • ksvg2/svg/SVGSetElement.cpp: (WebCore::SVGSetElement::handleTimerEvent):
  • ksvg2/svg/SVGSetElement.h:
9:53 AM Changeset in webkit [18503] by eseidel
  • 3 edits in trunk/WebCore

2007-01-01 Eric Seidel <eric@eseidel.com>

Reviewed by mitz.

More clean-up to animation code.

  • ksvg2/svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::handleTimerEvent):
  • ksvg2/svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::handleTimerEvent): (WebCore::SVGAnimateTransformElement::parseTransformValue): (WebCore::SVGAnimateTransformElement::calculateRotationFromMatrix):
12:12 AM Changeset in webkit [18502] by eseidel
  • 12 edits in trunk/WebCore

2007-01-01 Eric Seidel <eric@webkit.org>

Reviewed by olliej.

Begin pushing more animation logic out of SVGTimer and into the SVGAnimate* classes.


  • ksvg2/misc/SVGTimer.cpp: (WebCore::SVGTimer::animationsByElement): add comment (WebCore::SVGTimer::notifyAll): push logic into SVGAnimte* classes
  • ksvg2/svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::applyAnimationToValue): added.
  • ksvg2/svg/SVGAnimateColorElement.h:
  • ksvg2/svg/SVGAnimateElement.cpp:
  • ksvg2/svg/SVGAnimateTransformElement.cpp: (WebCore::SVGAnimateTransformElement::applyAnimationToValue): added.
  • ksvg2/svg/SVGAnimateTransformElement.h:
  • ksvg2/svg/SVGAnimationElement.cpp: (WebCore::calculateTimePercentage): logic moved from SVGTimer (WebCore::SVGAnimationElement::updateForElapsedSeconds): logic moved from SVGTimer
  • ksvg2/svg/SVGAnimationElement.h:
  • ksvg2/svg/SVGTransformList.cpp: (SVGTransformList::concatenate): fixed spacing

Dec 31, 2006:

10:47 PM Changeset in webkit [18501] by eseidel
  • 5 edits in trunk/WebCore

2007-01-01 Eric Seidel <eric@webkit.org>

Reviewed by olliej.

Split out animationsByElement() logic in preparation for adding AnimationCompositor class
Add addColorsAndClamp helper (since adding and clamping is the common case)

  • ksvg2/misc/SVGTimer.cpp: (WebCore::SVGTimer::animationsByElement): split out from notifyAll (WebCore::SVGTimer::notifyAll):
  • ksvg2/misc/SVGTimer.h:
  • ksvg2/svg/SVGAnimateColorElement.cpp: (WebCore::SVGAnimateColorElement::addColorsAndClamp): added.
  • ksvg2/svg/SVGAnimateColorElement.h:
10:03 PM Changeset in webkit [18500] by eseidel
  • 10 edits
    2 copies
    2 moves in trunk/WebCore

2006-12-31 Eric Seidel <eric@webkit.org>

Reviewed by olliej.

Split KSVGTimeScheduler into SVGTimer and TimeScheduler.
(Basic clean-up before re-working animation system)

  • WebCore.xcodeproj/project.pbxproj:
  • ksvg2/misc/KSVGTimeScheduler.cpp: Removed.
  • ksvg2/misc/KSVGTimeScheduler.h: Removed.
  • ksvg2/misc/SVGTimer.cpp: Added. (WebCore::SVGTimer::SVGTimer): (WebCore::SVGTimer::calculateTimePercentage): (WebCore::SVGTimer::notifyAll):
  • ksvg2/misc/SVGTimer.h: Added.
  • ksvg2/misc/TimeScheduler.cpp: Added. (WebCore::TimeScheduler::TimeScheduler):
9:15 PM Changeset in webkit [18499] by eseidel
  • 2 edits in trunk/WebCore

2006-12-31 Eric Seidel <eric@webkit.org>

Reviewed by olliej.

Re-enable animateTransform (now that SVGList is fixed)
(Things are only "less broken" not totally fixed yet.)

  • ksvg2/misc/KSVGTimeScheduler.cpp: (WebCore::SVGTimer::notifyAll):
9:07 PM Changeset in webkit [18498] by ddkilzer
  • 23 edits
    1 move
    1 delete in trunk/JavaScriptCore

JavaScriptCore:

Reviewed by Geoff.

Update embedded pcre library from version 6.2 to 6.4. Changes from pcre 6.2 to 6.3
did not include any files in JavaScriptCore/pcre.

All changes include renaming EXPORT to PCRE_EXPORT, renaming of ucp_findchar() to
_pcre_ucp_findchar(), or comment changes. Additional changes noted below.

  • JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj: Updated source file list.
  • JavaScriptCore.xcodeproj/project.pbxproj: Renamed pcre_printint.c to pcre_printint.src and changed it from a source file to a header file.
  • JavaScriptCoreSources.bkl: Updated source file list.
  • pcre/CMakeLists.txt: Updated source file list.
  • pcre/pcre-config.h:
  • pcre/pcre.h: Updated version.
  • pcre/pcre.pri: Updated source file list.
  • pcre/pcre_compile.c: Include pcre_printint.src #if DEBUG. (pcre_compile2):
  • pcre/pcre_config.c:
  • pcre/pcre_exec.c: (match):
  • pcre/pcre_fullinfo.c:
  • pcre/pcre_info.c:
  • pcre/pcre_internal.h: Added header guard. Removed export of _pcre_printint().
  • pcre/pcre_ord2utf8.c:
  • pcre/pcre_printint.c: Renamed to pcre_printint.src.
  • pcre/pcre_printint.src: Added. Renamed _pcre_printint() to pcre_printint().
  • pcre/pcre_refcount.c:
  • pcre/pcre_study.c:
  • pcre/pcre_tables.c:
  • pcre/pcre_try_flipped.c:
  • pcre/pcre_ucp_findchar.c: Added contents of ucp_findchar.c.
  • pcre/pcre_version.c:
  • pcre/pcre_xclass.c: (_pcre_xclass):
  • pcre/ucp.h: Removed export of ucp_findchar().
  • pcre/ucp_findchar.c: Removed. Contents moved to pcre_ucp_findchar.c.
4:49 PM Changeset in webkit [18497] by ddkilzer
  • 2 edits in trunk/WebCore

WebCore:

Reviewed by Hyatt.

No test possible (no change to functionality).

  • rendering/RenderBlock.cpp: (WebCore::RenderBlock::calcMinMaxWidth): Call calc{Inline,Block}MinMaxWidth() only if their result is needed.
4:37 PM Changeset in webkit [18496] by bdash
  • 1 copy
    1 add in trunk/WebCore

Roll over WebCore ChangeLog

1:45 PM Changeset in webkit [18495] by eseidel
  • 21 edits in trunk/WebCore

2006-12-31 Eric Seidel <eric@webkit.org>

Reviewed by weinig.

Make SVGPathSeg construction take fewer lines of code.

  • WebCore.xcodeproj/project.pbxproj:
  • ksvg2/svg/SVGPathElement.cpp: (WebCore::SVGPathElement::createSVGPathSegMovetoAbs): (WebCore::SVGPathElement::createSVGPathSegMovetoRel): (WebCore::SVGPathElement::createSVGPathSegLinetoAbs): (WebCore::SVGPathElement::createSVGPathSegLinetoRel): (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicAbs): (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicRel): (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticAbs): (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticRel): (WebCore::SVGPathElement::createSVGPathSegArcAbs): (WebCore::SVGPathElement::createSVGPathSegArcRel): (WebCore::SVGPathElement::createSVGPathSegLinetoHorizontalAbs): (WebCore::SVGPathElement::createSVGPathSegLinetoHorizontalRel): (WebCore::SVGPathElement::createSVGPathSegLinetoVerticalAbs): (WebCore::SVGPathElement::createSVGPathSegLinetoVerticalRel): (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicSmoothAbs): (WebCore::SVGPathElement::createSVGPathSegCurvetoCubicSmoothRel): (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothAbs): (WebCore::SVGPathElement::createSVGPathSegCurvetoQuadraticSmoothRel):
  • ksvg2/svg/SVGPathSegArc.cpp: (WebCore::SVGPathSegArcAbs::SVGPathSegArcAbs): (WebCore::SVGPathSegArcRel::SVGPathSegArcRel):
  • ksvg2/svg/SVGPathSegArc.h:
  • ksvg2/svg/SVGPathSegCurvetoCubic.cpp: (WebCore::SVGPathSegCurvetoCubicAbs::SVGPathSegCurvetoCubicAbs): (WebCore::SVGPathSegCurvetoCubicRel::SVGPathSegCurvetoCubicRel):
  • ksvg2/svg/SVGPathSegCurvetoCubic.h:
  • ksvg2/svg/SVGPathSegCurvetoCubicSmooth.cpp: (WebCore::SVGPathSegCurvetoCubicSmoothAbs::SVGPathSegCurvetoCubicSmoothAbs): (WebCore::SVGPathSegCurvetoCubicSmoothRel::SVGPathSegCurvetoCubicSmoothRel):
  • ksvg2/svg/SVGPathSegCurvetoCubicSmooth.h:
  • ksvg2/svg/SVGPathSegCurvetoQuadratic.cpp: (WebCore::SVGPathSegCurvetoQuadraticAbs::SVGPathSegCurvetoQuadraticAbs): (WebCore::SVGPathSegCurvetoQuadraticRel::SVGPathSegCurvetoQuadraticRel):
  • ksvg2/svg/SVGPathSegCurvetoQuadratic.h:
  • ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.cpp: (WebCore::SVGPathSegCurvetoQuadraticSmoothAbs::SVGPathSegCurvetoQuadraticSmoothAbs): (WebCore::SVGPathSegCurvetoQuadraticSmoothRel::SVGPathSegCurvetoQuadraticSmoothRel):
  • ksvg2/svg/SVGPathSegCurvetoQuadraticSmooth.h:
  • ksvg2/svg/SVGPathSegLineto.cpp: (WebCore::SVGPathSegLinetoAbs::SVGPathSegLinetoAbs): (WebCore::SVGPathSegLinetoRel::SVGPathSegLinetoRel):
  • ksvg2/svg/SVGPathSegLineto.h:
  • ksvg2/svg/SVGPathSegLinetoHorizontal.cpp: (WebCore::SVGPathSegLinetoHorizontalAbs::SVGPathSegLinetoHorizontalAbs): (WebCore::SVGPathSegLinetoHorizontalRel::SVGPathSegLinetoHorizontalRel):
  • ksvg2/svg/SVGPathSegLinetoHorizontal.h:
  • ksvg2/svg/SVGPathSegLinetoVertical.cpp: (WebCore::SVGPathSegLinetoVerticalAbs::SVGPathSegLinetoVerticalAbs): (WebCore::SVGPathSegLinetoVerticalRel::SVGPathSegLinetoVerticalRel):
  • ksvg2/svg/SVGPathSegLinetoVertical.h:
  • ksvg2/svg/SVGPathSegMoveto.cpp: (WebCore::SVGPathSegMovetoAbs::SVGPathSegMovetoAbs): (WebCore::SVGPathSegMovetoRel::SVGPathSegMovetoRel):
  • ksvg2/svg/SVGPathSegMoveto.h:
12:38 PM Changeset in webkit [18494] by eseidel
  • 3 edits
    2 deletes in trunk/LayoutTests

2006-12-31 Eric Seidel <eric@eseidel.com>

Reviewed by mitz.


Make getTotalLength test case work in Opera and FireFox.

  • svg/custom/path-getTotalLength-expected.checksum: Removed.
  • svg/custom/path-getTotalLength-expected.png: Removed.
  • svg/custom/path-getTotalLength-expected.txt:
  • svg/custom/path-getTotalLength.svg:
11:37 AM Changeset in webkit [18493] by eseidel
  • 6 edits
    6 adds in trunk

2006-12-31 Eric Seidel <eric@eseidel.com>

Reviewed by weinig.

Implement path length measuring for SVGPathElement::getTotalLength and friends.
http://bugs.webkit.org/show_bug.cgi?id=12033

  • WebCore.xcodeproj/project.pbxproj:
  • ksvg2/svg/SVGPathElement.cpp: (WebCore::SVGPathElement::getTotalLength): (WebCore::SVGPathElement::getPointAtLength):
  • platform/graphics/Path.cpp: (WebCore::pathLengthApplierFunction): (WebCore::Path::length): (WebCore::Path::pointAtLength):
  • platform/graphics/Path.h:
  • platform/graphics/PathTraversalState.cpp: Added. (WebCore::midPoint): (WebCore::distanceLine): (WebCore::QuadraticBezier::QuadraticBezier): (WebCore::QuadraticBezier::approximateDistance): (WebCore::QuadraticBezier::split): (WebCore::CubicBezier::CubicBezier): (WebCore::CubicBezier::approximateDistance): (WebCore::CubicBezier::split): (WebCore::curveLength): (WebCore::PathTraversalState::PathTraversalState): (WebCore::PathTraversalState::closeSubpath): (WebCore::PathTraversalState::moveTo): (WebCore::PathTraversalState::lineTo): (WebCore::PathTraversalState::quadraticBezierTo): (WebCore::PathTraversalState::cubicBezierTo):
  • platform/graphics/PathTraversalState.h: Added. (WebCore::PathTraversalState::):
8:08 AM Changeset in webkit [18492] by weinig
  • 5 edits in trunk/WebCore

Reviewed by Mitz.

Move the SVGZoomAndPanType enum out of SVGSVGElement and
SVGViewElement and into SVGZoomAndPan where it belongs.

  • ksvg2/svg/SVGSVGElement.h:
  • ksvg2/svg/SVGViewElement.h:
  • ksvg2/svg/SVGZoomAndPan.cpp: (WebCore::SVGZoomAndPan::SVGZoomAndPan): (WebCore::SVGZoomAndPan::parseMappedAttribute):
  • ksvg2/svg/SVGZoomAndPan.h: (WebCore::SVGZoomAndPan::):
6:25 AM Changeset in webkit [18491] by ddkilzer
  • 4 edits
    4 adds in trunk

LayoutTests:

Reviewed by Hyatt. Tweaked by Mitz.

  • fast/overflow/clip-rects-fixed-ancestor-expected.checksum: Added.
  • fast/overflow/clip-rects-fixed-ancestor-expected.png: Added.
  • fast/overflow/clip-rects-fixed-ancestor-expected.txt: Added.
  • fast/overflow/clip-rects-fixed-ancestor.html: Added.

WebCore:

Reviewed by Hyatt.

Added a 'fixed' flag to ClipRects, indicating that the cached rects are in
viewport coordinates. The flag is set (and scrolling is compensated for) for
fixed objects and their descendants.

  • rendering/RenderLayer.cpp: (WebCore::RenderLayer::calculateClipRects): (WebCore::RenderLayer::calculateRects):
  • rendering/RenderLayer.h: (WebCore::ClipRects::ClipRects): (WebCore::ClipRects::fixed):
6:00 AM Changeset in webkit [18490] by ddkilzer
  • 3 edits
    4 adds in trunk

LayoutTests:

Reviewed by Sam.

  • fast/block/positioning/relative-overconstrained-expected.checksum: Added.
  • fast/block/positioning/relative-overconstrained-expected.png: Added.
  • fast/block/positioning/relative-overconstrained-expected.txt: Added.
  • fast/block/positioning/relative-overconstrained.html: Added.

WebCore:

Reviewed by Sam.

Test: fast/block/positioning/relative-overconstrained.html

  • rendering/RenderBox.cpp: (WebCore::RenderBox::relativePositionOffsetX):
Note: See TracTimeline for information about the timeline view.