LayoutTests:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Jan 2006 09:03:14 +0000 (09:03 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 30 Jan 2006 09:03:14 +0000 (09:03 +0000)
commit2fb05a4df3f0a993cd0663996642a6312e0a7ca1
tree78127596ef753fbd3c8419b1f2ca7b98bbadfb4e
parent7296e791b1d04a1b22fca220621616108452a921
LayoutTests:

        - updated test result for rect changes

        * fast/box-sizing/percentage-height-expected.txt: A bunch of strange empty
        clip rects are now dumping as (0,0) 0x0.

WebCore:

        Reviewed by Eric.

        - cleanup of Int/Float-Size/Point/Rect classes

        I did this as part of a redo of QMatrix, but I decided I should
        land this part separately.

        Eliminated the concept of a null rect or point, which used to be
        indicated by negative width and height.

        Changed right and bottom to to be, e.g., 2 for a rect at (0,0) 2x2.
        The old code followed Qt's system that says right is 1 in those cases,
        which is inappropriate for floating point, and old fashioned because
        modern graphics systems use coordinates for lines between pixels, not
        the pixels themselves.

        Other API improvements to the point, size, and rect classes. For example,
        functions named with verbs now always modify the object itself.

        * rendering/render_theme_mac.mm: (RenderThemeMac::paintButton): Fixed
        a bug where it said x() where it should say y().

        * bridge/mac/MacFrame.h:
        * bridge/mac/MacFrame.mm:
        * bridge/mac/WebCoreFrameBridge.mm:
        * kcanvas/KCanvasContainer.cpp:
        * kcanvas/KCanvasItem.cpp:
        * kcanvas/RenderSVGImage.cpp:
        * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
        * kcanvas/device/quartz/KCanvasItemQuartz.mm:
        * kcanvas/device/quartz/KCanvasResourcesQuartz.mm:
        * khtml/ecma/kjs_dom.cpp:
        * khtml/ecma/kjs_window.cpp:
        * khtml/editing/SelectionController.cpp:
        * khtml/html/html_inlineimpl.cpp:
        * khtml/html/html_objectimpl.cpp:
        * khtml/html/html_objectimpl.h:
        * khtml/misc/khtmllayout.h:
        * ksvg2/svg/SVGSVGElementImpl.cpp:
        * kwq/KWQAccObject.mm:
        * kwq/KWQComboBox.mm:
        * kwq/KWQFileButton.mm:
        * kwq/KWQFontMetrics.mm:
        * kwq/KWQPainter.h:
        * kwq/KWQPainter.mm:
        * kwq/KWQRegion.cpp:
        * kwq/KWQRenderTreeDebug.cpp:
        * kwq/KWQScrollView.mm:
        * kwq/KWQWMatrix.cpp:
        * kwq/KWQWidget.h:
        * kwq/KWQWidget.mm:
        * kwq/KWQWindowWidget.mm:
        * loader/CachedImage.cpp:
        * page/Frame.cpp:
        * page/FrameView.cpp:
        * platform/FloatPoint.cpp:
        * platform/FloatPoint.h:
        * platform/FloatRect.cpp:
        * platform/FloatRect.h:
        * platform/FloatSize.cpp:
        * platform/FloatSize.h:
        * platform/Image.h:
        * platform/IntPoint.cpp:
        * platform/IntPoint.h:
        * platform/IntPointArray.cpp:
        * platform/IntPointArray.h:
        * platform/IntRect.cpp:
        * platform/IntRect.h:
        * platform/IntSize.cpp:
        * platform/IntSize.h:
        * platform/mac/FloatPoint.mm:
        * platform/mac/FloatRect.mm:
        * platform/mac/FloatSize.mm:
        * platform/mac/Image.mm:
        * platform/mac/IntPoint.mm:
        * platform/mac/IntRect.mm:
        * platform/mac/IntSize.mm:
        * platform/mac/Screen.mm:
        * rendering/InlineTextBox.cpp:
        * rendering/RenderBlock.cpp:
        * rendering/RenderBlock.h:
        * rendering/RenderTable.cpp:
        * rendering/RenderTableCell.cpp:
        * rendering/RenderText.cpp:
        * rendering/render_box.cpp:
        * rendering/render_canvas.cpp:
        * rendering/render_canvasimage.cpp:
        * rendering/render_flow.cpp:
        * rendering/render_form.cpp:
        * rendering/render_frames.cpp:
        * rendering/render_layer.cpp:
        * rendering/render_line.cpp:
        * rendering/render_list.cpp:
        * rendering/render_object.cpp:
        * rendering/render_object.h:
        * rendering/render_replaced.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12476 268f45cc-cd09-0410-ab3c-d52691b4dbfc
78 files changed:
LayoutTests/ChangeLog
LayoutTests/fast/box-sizing/percentage-height-expected.txt
WebCore/ChangeLog
WebCore/bridge/mac/MacFrame.h
WebCore/bridge/mac/MacFrame.mm
WebCore/bridge/mac/WebCoreFrameBridge.mm
WebCore/kcanvas/KCanvasContainer.cpp
WebCore/kcanvas/KCanvasItem.cpp
WebCore/kcanvas/RenderSVGImage.cpp
WebCore/kcanvas/device/quartz/KCanvasFilterQuartz.mm
WebCore/kcanvas/device/quartz/KCanvasItemQuartz.mm
WebCore/kcanvas/device/quartz/KCanvasResourcesQuartz.mm
WebCore/khtml/ecma/kjs_dom.cpp
WebCore/khtml/ecma/kjs_window.cpp
WebCore/khtml/editing/SelectionController.cpp
WebCore/khtml/html/html_inlineimpl.cpp
WebCore/khtml/html/html_objectimpl.cpp
WebCore/khtml/html/html_objectimpl.h
WebCore/khtml/misc/khtmllayout.h
WebCore/ksvg2/svg/SVGSVGElementImpl.cpp
WebCore/kwq/KWQAccObject.mm
WebCore/kwq/KWQComboBox.mm
WebCore/kwq/KWQFileButton.mm
WebCore/kwq/KWQFontMetrics.mm
WebCore/kwq/KWQPainter.h
WebCore/kwq/KWQPainter.mm
WebCore/kwq/KWQRegion.cpp
WebCore/kwq/KWQRenderTreeDebug.cpp
WebCore/kwq/KWQScrollView.mm
WebCore/kwq/KWQWMatrix.cpp
WebCore/kwq/KWQWidget.h
WebCore/kwq/KWQWidget.mm
WebCore/kwq/KWQWindowWidget.mm
WebCore/loader/CachedImage.cpp
WebCore/page/Frame.cpp
WebCore/page/FrameView.cpp
WebCore/platform/FloatPoint.cpp
WebCore/platform/FloatPoint.h
WebCore/platform/FloatRect.cpp
WebCore/platform/FloatRect.h
WebCore/platform/FloatSize.cpp
WebCore/platform/FloatSize.h
WebCore/platform/Image.h
WebCore/platform/IntPoint.cpp
WebCore/platform/IntPoint.h
WebCore/platform/IntPointArray.cpp
WebCore/platform/IntPointArray.h
WebCore/platform/IntRect.cpp
WebCore/platform/IntRect.h
WebCore/platform/IntSize.cpp
WebCore/platform/IntSize.h
WebCore/platform/mac/FloatPoint.mm
WebCore/platform/mac/FloatRect.mm
WebCore/platform/mac/FloatSize.mm
WebCore/platform/mac/Image.mm
WebCore/platform/mac/IntPoint.mm
WebCore/platform/mac/IntRect.mm
WebCore/platform/mac/IntSize.mm
WebCore/platform/mac/Screen.mm
WebCore/rendering/InlineTextBox.cpp
WebCore/rendering/RenderBlock.cpp
WebCore/rendering/RenderBlock.h
WebCore/rendering/RenderTable.cpp
WebCore/rendering/RenderTableCell.cpp
WebCore/rendering/RenderText.cpp
WebCore/rendering/render_box.cpp
WebCore/rendering/render_canvas.cpp
WebCore/rendering/render_canvasimage.cpp
WebCore/rendering/render_flow.cpp
WebCore/rendering/render_form.cpp
WebCore/rendering/render_frames.cpp
WebCore/rendering/render_layer.cpp
WebCore/rendering/render_line.cpp
WebCore/rendering/render_list.cpp
WebCore/rendering/render_object.cpp
WebCore/rendering/render_object.h
WebCore/rendering/render_replaced.cpp
WebCore/rendering/render_theme_mac.mm