1. 21 Feb, 2006 5 commits
    • ap's avatar
      Reviewed by Darin. · 0f59636c
      ap authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=7409
                Some minor fixes to http tests.
      
      LayoutTests:
      
              * http/conf/httpd.conf: don't define CustomLog and ErrorLog - these are now 
              passed from run-webkit-tests.
              * http/tests/favicon.ico: Added.
              * http/tests/incremental/slow-utf8-text.text: Remove an unused variable,
              * http/tests/incremental/split-hex-entities.html: Ditto.
              * http/tests/xmlhttprequest/interactive-state.cgi: Ditto.
      
      WebKitTools:
      
              * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0f59636c
    • adele's avatar
      Reviewed by Hyatt. · 590ce138
      adele authored
              - Tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=7330
              baselinePosition is wrong for new text field when empty
      
              * fast/forms/input-baseline-expected.checksum: Added.
              * fast/forms/input-baseline-expected.png: Added.
              * fast/forms/input-baseline-expected.txt: Added.
              * fast/forms/input-baseline.html: Added.
              * fast/inline-block/contenteditable-baseline-expected.checksum: Added.
              * fast/inline-block/contenteditable-baseline-expected.png: Added.
              * fast/inline-block/contenteditable-baseline-expected.txt: Added.
              * fast/inline-block/contenteditable-baseline.html: Added.
      
              Reviewed by Hyatt.
      
              Tests:
              * fast/forms/input-baseline.html
              * fast/inline-block/contenteditable-baseline.html
      
              - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=7330
              baselinePosition is wrong for new text field when empty
      
              * rendering/RenderBlock.cpp: (WebCore::RenderBlock::getBaselineOfLastLineBox):  
               If we're dealing with an empty contenteditable block, then we've added height to the block to make room for the caret, 
               and there are no children to give us the baseline.  Instead, compute the baseline for the block itself, and factor in the border and the padding.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12929 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      590ce138
    • ap's avatar
      Reviewed by Darin. · 3c1c8bcf
      ap authored
              - http://bugzilla.opendarwin.org/show_bug.cgi?id=6197
                Would like to use locally installed Apache for testing.
      
              Added two run-webkit-tests options:
                --http (--nohttp)  - whether to launch Apache (defaults to yes);
                --port - which port to listen on (defaults to 8000).
      
              Tests in LayoutTests/http are not run directly, and Apache is used instead.
              For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
              http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
      
              Also added support for .shtml and .text files. Text files give an empty 
              *-expected.txt, but a correct image.
      
              Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
      
              * Scripts/run-webkit-tests:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12923 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c1c8bcf
    • mjs's avatar
      LayoutTests: · 268b51a5
      mjs authored
              Reviewed by Geoff and Darin.
              
              Patch from Maks Orlovich, based on work by David Faure, hand-applied and 
              significantly reworked by me.
              
              - Patch: give internal function names (KJS merge)
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6279
              
              Updated test results, now showing correct function string.
      
              * fast/dom/xmlhttprequest-get-expected.txt:
              * fast/js/kde/function-expected.txt:
              * fast/js/kde/inbuilt_function_tostring-expected.txt:
      
      WebCore:
      
              Reviewed by Geoff and Darin.
              
              Patch from Maks Orlovich, based on work by David Faure, hand-applied and 
              significantly reworked by me.
              
              - Patch: give internal function names (KJS merge)
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6279
      
              * khtml/ecma/kjs_binding.h:
              * khtml/ecma/kjs_html.cpp:
              (KJS::HTMLElementFunction::HTMLElementFunction):
              * kwq/WebCoreScriptDebugger.mm:
              (-[WebCoreScriptCallFrame functionName]):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12913 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      268b51a5
    • darin's avatar
      LayoutTests: · b7b4513b
      darin authored
              - test http://bugzilla.opendarwin.org/show_bug.cgi?id=6831
                contentEditable outline darkens as caret moves
      
              * editing/selection/move-by-character-6.html: Added.
              * editing/selection/move-by-character-6-expected.txt: Added.
              * editing/selection/move-by-character-6-expected.checksum: Added.
              * editing/selection/move-by-character-6-expected.png: Added.
      
      WebCore:
      
              Collaborated with Graham Dennis <Graham.Dennis@gmail.com> on this.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6831
                contentEditable outline darkens as caret moves
      
              Test: editing/selection/move-by-character-6.html
      
              The trick was to draw the focus ring clipped to a list of rectangles instead
              of clipped to exactly one.
      
              * kwq/KWQPainter.h: Move Color parameter from initFocusRing to drawFocusRing.
              * kwq/KWQPainter.mm:
              (WebCore::QPainterPrivate::QPainterPrivate): Change focusRingPath from
              an NSBezierPath to a CGMutablePathRef.
              (WebCore::QPainterPrivate::~QPainterPrivate): Ditto.
              (WebCore::QPainter::initFocusRing): Removed color parameter, and made a
              CGPath instead of an NSBezierPath.
              (WebCore::QPainter::addFocusRingRect): CGPath instead of NSBezierPath.
              (WebCore::QPainter::drawFocusRing): Added color parameter, and changed to
              use new bridge method to draw the focus ring.
              (WebCore::QPainter::clearFocusRing): CGPath instead of NSBezierPath.
      
              * kwq/WebCoreGraphicsBridge.h:
              * kwq/WebCoreGraphicsBridge.m:
              (-[WebCoreGraphicsBridge drawFocusRingWithPath:radius:color:]):
              Replaced setFocusRingStyle: method with this one.
      
              * rendering/render_flow.cpp: (WebCore::RenderFlow::paintFocusRing):
              * rendering/render_object.cpp: (WebCore::RenderObject::paintOutline):
              Pass color to drawFocusRing instead of initFocusRing.
      
              - fixed message on exit from the other patch I just landed
      
              * platform/mac/CursorMac.mm:
              (WebCore::leakNamedCursor): Renamed and made this leak intentionally.
      
      WebKit:
      
              Collaborated with Graham Dennis <Graham.Dennis@gmail.com> on this.
      
              - WebKit part of fix for http://bugzilla.opendarwin.org/show_bug.cgi?id=6831
                contentEditable outline darkens as caret moves
      
              * WebCoreSupport/WebGraphicsBridge.m:
              (-[WebGraphicsBridge drawFocusRingWithPath:radius:color:]):
              Replaced the old bridge function that set up style with this one that renders a path.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12907 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b7b4513b
  2. 18 Feb, 2006 2 commits
  3. 17 Feb, 2006 5 commits
    • adele's avatar
      LayoutTests: · 7bc9195e
      adele authored
              Reviewed by Darin.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=4227
                The ex unit doesn't work for font-variant: small-caps
      
              * fast/css/ex-after-font-variant-expected.checksum: Added.
              * fast/css/ex-after-font-variant-expected.png: Added.
              * fast/css/ex-after-font-variant-expected.txt: Added.
              * fast/css/ex-after-font-variant.html: Added.
      
      WebCore:
      
              Test: fast/css/ex-after-font-variant.html
      
              Reviewed by Darin.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=4227
                The ex unit doesn't work for font-variant: small-caps
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyDeclarations): Added CSS_PROP_FONT_VARIANT to the properties
              that need to be applied first, since it dirties the font.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7bc9195e
    • justing's avatar
      Reviewed by eric · 3c35fbb7
      justing authored
              
              This test appears to be occasionally hanging.  Disabling it while
              I figure out why.
      
              * editing/selection/drag-to-contenteditable-iframe.html: Removed.
              * editing/selection/drag-to-contenteditable-iframe.html-disabled: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c35fbb7
    • adele's avatar
      LayoutTests: · 1c9ddded
      adele authored
              Reviewed by Anders Carlsson.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7265
                REGRESSION: noscript, noframes, nolayer, noembed tags insert break inside paragraph tag
      
              * fast/parser/nofoo-tags-inside-paragraph-expected.checksum: Added.
              * fast/parser/nofoo-tags-inside-paragraph-expected.png: Added.
              * fast/parser/nofoo-tags-inside-paragraph-expected.txt: Added.
              * fast/parser/nofoo-tags-inside-paragraph.html: Added.
      
      WebCore:
      
              Test: fast/parser/nofoo-tags-inside-paragraph.html
      
              Reviewed by Anders Carlsson.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7265
                REGRESSION: noscript, noframes, nolayer, noembed tags insert break inside paragraph tag
      
              * khtml/html/htmlparser.cpp:
              (HTMLParser::isInline): Treat noframes, nolayer, noembed and skipped noscript
              as inline elements.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12871 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1c9ddded
    • adele's avatar
      LayoutTests: · 6658b94d
      adele authored
              Reviewed by Maciej.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7218
                Text underlined on mouse over
      
              * fast/css/universal-hover-quirk-expected.checksum: Added.
              * fast/css/universal-hover-quirk-expected.png: Added.
              * fast/css/universal-hover-quirk-expected.txt: Added.
              * fast/css/universal-hover-quirk.html: Added.
      
      WebCore:
      
              Test: fast/css/universal-hover-quirk.html
      
              Reviewed by Maciej.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7218
                Text underlined on mouse over
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::checkOneSelector): Prevent *:hover and *:active
              from matching anything in quirks mode.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12869 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6658b94d
    • adele's avatar
      LayoutTests: · 7fc3e830
      adele authored
              Reviewed by Dave Hyatt.
      
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7216
                white-space: pre-wrap collapses leading whitespace following a newline
      
              * fast/text/whitespace/pre-wrap-spaces-after-newline-expected.checksum: Added.
              * fast/text/whitespace/pre-wrap-spaces-after-newline-expected.png: Added.
              * fast/text/whitespace/pre-wrap-spaces-after-newline-expected.txt: Added.
              * fast/text/whitespace/pre-wrap-spaces-after-newline.html: Added.
      
      WebCore:
      
              Test: fast/text/whitespace/pre-wrap-spaces-after-newline.html
      
              Reviewed by Dave Hyatt.
      
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7216
                white-space: pre-wrap collapses leading whitespace following a newline
      
              * rendering/bidi.cpp:
              (khtml::RenderBlock::bidiReorderLine): Use previousLineBrokeCleanly instead of
              resetBidiAtEnd now that the former is always correct.
              (khtml::RenderBlock::layoutInlineChildren): Use new skipTrailingNewline flag.
              (khtml::RenderBlock::findNextLineBreak): Set previousLineBrokeCleanly for line breaks
              caused by newlines as well. Added skipTrailingNewline flag.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12868 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7fc3e830
  4. 16 Feb, 2006 2 commits
    • adele's avatar
      LayoutTests: · 1e385966
      adele authored
              Updating results for fix:
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6812
              Missing focus ring on new text fields
      
              * fast/forms/input-appearance-focus-expected.checksum:
              * fast/forms/input-appearance-focus-expected.png:
      
      WebCore:
      
              Reviewed by Darin.
      
              - Fixed http://bugzilla.opendarwin.org/show_bug.cgi?id=6812
              Missing focus ring on new text fields
      
              Tests:
              * fast/forms/input-appearance-focus.html: Updated.
      
              * rendering/render_object.cpp: (WebCore::RenderObject::paintOutline): 
               call supportsFocusRing instead of checking the appearance.
              * rendering/render_theme.cpp: (khtml::RenderTheme::supportsFocusRing): Added. 
               Checks appearance.  Theme will draw focus ring if there's an appearance, but not for the new text fields.
              * rendering/render_theme.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12855 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e385966
    • justing's avatar
      Reviewed by darin · 9f96b2ad
      justing authored
              
              <http://bugzilla.opendarwin.org/show_bug.cgi?id=7148>
              Add drag and drop support to DumpRenderTree
      
              * css1/basic/comments-expected.checksum:
              * css1/basic/comments-expected.png:
              * css1/basic/containment-expected.checksum:
              * css1/basic/containment-expected.png:
              * css1/basic/id_as_selector-expected.checksum:
              * css1/basic/id_as_selector-expected.png:
              * css1/basic/inheritance-expected.checksum:
              * css1/basic/inheritance-expected.png:
              * css1/box_properties/border-expected.checksum:
              * css1/box_properties/border-expected.png:
              * css1/box_properties/border_bottom-expected.checksum:
              * css1/box_properties/border_bottom-expected.png:
              * css1/box_properties/border_bottom_width-expected.checksum:
              * css1/box_properties/border_bottom_width-expected.png:
              * css1/box_properties/border_left-expected.checksum:
              * css1/box_properties/border_left-expected.png:
              * css1/box_properties/border_left_width-expected.checksum:
              * css1/box_properties/border_left_width-expected.png:
              * css1/box_properties/border_right_inline-expected.checksum:
              * css1/box_properties/border_right_inline-expected.png:
              * css1/box_properties/border_right_width-expected.checksum:
              * css1/box_properties/border_right_width-expected.png:
              * css1/box_properties/border_style-expected.checksum:
              * css1/box_properties/border_style-expected.png:
              * css1/box_properties/border_top-expected.checksum:
              * css1/box_properties/border_top-expected.png:
              * css1/box_properties/border_top_width-expected.checksum:
              * css1/box_properties/border_top_width-expected.png:
              * css1/box_properties/border_width-expected.checksum:
              * css1/box_properties/border_width-expected.png:
              * css1/box_properties/clear-expected.checksum:
              * css1/box_properties/clear-expected.png:
              * css1/box_properties/clear_float-expected.checksum:
              * css1/box_properties/clear_float-expected.png:
              * css1/box_properties/float_elements_in_series-expected.checksum:
              * css1/box_properties/float_elements_in_series-expected.png:
              * css1/box_properties/float_margin-expected.checksum:
              * css1/box_properties/float_margin-expected.png:
              * css1/box_properties/float_on_text_elements-expected.checksum:
              * css1/box_properties/float_on_text_elements-expected.png:
              * css1/box_properties/height-expected.checksum:
              * css1/box_properties/height-expected.png:
              * css1/box_properties/margin-expected.checksum:
              * css1/box_properties/margin-expected.png:
              * css1/box_properties/margin_bottom-expected.checksum:
              * css1/box_properties/margin_bottom-expected.png:
              * css1/box_properties/margin_inline-expected.checksum:
              * css1/box_properties/margin_inline-expected.png:
              * css1/box_properties/margin_left-expected.checksum:
              * css1/box_properties/margin_left-expected.png:
              * css1/box_properties/margin_right-expected.checksum:
              * css1/box_properties/margin_right-expected.png:
              * css1/box_properties/margin_top-expected.checksum:
              * css1/box_properties/margin_top-expected.png:
              * css1/box_properties/padding-expected.checksum:
              * css1/box_properties/padding-expected.png:
              * css1/box_properties/padding_bottom-expected.checksum:
              * css1/box_properties/padding_bottom-expected.png:
              * css1/box_properties/padding_inline-expected.checksum:
              * css1/box_properties/padding_inline-expected.png:
              * css1/box_properties/padding_left-expected.checksum:
              * css1/box_properties/padding_left-expected.png:
              * css1/box_properties/padding_right-expected.checksum:
              * css1/box_properties/padding_right-expected.png:
              * css1/box_properties/padding_top-expected.checksum:
              * css1/box_properties/padding_top-expected.png:
              * css1/box_properties/width-expected.checksum:
              * css1/box_properties/width-expected.png:
              * css1/cascade/cascade_order-expected.checksum:
              * css1/cascade/cascade_order-expected.png:
              * css1/classification/display-expected.checksum:
              * css1/classification/display-expected.png:
              * css1/classification/list_style_type-expected.checksum:
              * css1/classification/list_style_type-expected.png:
              * css1/classification/white_space-expected.checksum:
              * css1/classification/white_space-expected.png:
              * css1/color_and_background/background-expected.checksum:
              * css1/color_and_background/background-expected.png:
              * css1/color_and_background/background_attachment-expected.checksum:
              * css1/color_and_background/background_attachment-expected.png:
              * css1/color_and_background/background_position-expected.checksum:
              * css1/color_and_background/background_position-expected.png:
              * css1/color_and_background/background_repeat-expected.checksum:
              * css1/color_and_background/background_repeat-expected.png:
              * css1/conformance/forward_compatible_parsing-expected.checksum:
              * css1/conformance/forward_compatible_parsing-expected.png:
              * css1/font_properties/font-expected.checksum:
              * css1/font_properties/font-expected.png:
              * css1/font_properties/font_family-expected.checksum:
              * css1/font_properties/font_family-expected.png:
              * css1/font_properties/font_size-expected.checksum:
              * css1/font_properties/font_size-expected.png:
              * css1/font_properties/font_weight-expected.checksum:
              * css1/font_properties/font_weight-expected.png:
              * css1/formatting_model/floating_elements-expected.checksum:
              * css1/formatting_model/floating_elements-expected.png:
              * css1/formatting_model/height_of_lines-expected.checksum:
              * css1/formatting_model/height_of_lines-expected.png:
              * css1/formatting_model/horizontal_formatting-expected.checksum:
              * css1/formatting_model/horizontal_formatting-expected.png:
              * css1/formatting_model/inline_elements-expected.checksum:
              * css1/formatting_model/inline_elements-expected.png:
              * css1/formatting_model/replaced_elements-expected.checksum:
              * css1/formatting_model/replaced_elements-expected.png:
              * css1/formatting_model/vertical_formatting-expected.checksum:
              * css1/formatting_model/vertical_formatting-expected.png:
              * css1/pseudo/anchor-expected.checksum:
              * css1/pseudo/anchor-expected.png:
              * css1/pseudo/firstletter-expected.checksum:
              * css1/pseudo/firstletter-expected.png:
              * css1/pseudo/firstline-expected.checksum:
              * css1/pseudo/firstline-expected.png:
              * css1/pseudo/multiple_pseudo_elements-expected.checksum:
              * css1/pseudo/multiple_pseudo_elements-expected.png:
              * css1/text_properties/letter_spacing-expected.checksum:
              * css1/text_properties/letter_spacing-expected.png:
              * css1/text_properties/line_height-expected.checksum:
              * css1/text_properties/line_height-expected.png:
              * css1/text_properties/text-transCapitalize-expected.checksum:
              * css1/text_properties/text-transCapitalize-expected.png:
              * css1/text_properties/text_decoration-expected.checksum:
              * css1/text_properties/text_decoration-expected.png:
              * css1/text_properties/text_indent-expected.checksum:
              * css1/text_properties/text_indent-expected.png:
              * css1/text_properties/text_transform-expected.checksum:
              * css1/text_properties/text_transform-expected.png:
              * css1/text_properties/vertical_align-expected.checksum:
              * css1/text_properties/vertical_align-expected.png:
              * css1/text_properties/word_spacing-expected.checksum:
              * css1/text_properties/word_spacing-expected.png:
              * css1/units/color_units-expected.checksum:
              * css1/units/color_units-expected.png:
              * css1/units/length_units-expected.checksum:
              * css1/units/length_units-expected.png:
              * css2.1/t0801-c412-hz-box-00-b-a-expected.checksum:
              * css2.1/t0801-c412-hz-box-00-b-a-expected.png:
              * css2.1/t0803-c5502-mrgn-r-02-c-expected.checksum:
              * css2.1/t0803-c5502-mrgn-r-02-c-expected.png:
              * css2.1/t0803-c5505-mrgn-02-c-expected.checksum:
              * css2.1/t0803-c5505-mrgn-02-c-expected.png:
              * css2.1/t080301-c411-vt-mrgn-00-b-expected.checksum:
              * css2.1/t080301-c411-vt-mrgn-00-b-expected.png:
              * css2.1/t0905-c5525-fltclr-00-c-ag-expected.checksum:
              * css2.1/t0905-c5525-fltclr-00-c-ag-expected.png:
              * css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.checksum:
              * css2.1/t0905-c5525-fltmrgn-00-c-ag-expected.png:
              * css2.1/t0905-c5525-fltwidth-00-c-g-expected.checksum:
              * css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
              * css2.1/t1002-c5523-width-02-b-g-expected.checksum:
              * css2.1/t1002-c5523-width-02-b-g-expected.png:
              * css2.1/t140201-c535-bg-fixd-00-b-g-expected.checksum:
              * css2.1/t140201-c535-bg-fixd-00-b-g-expected.png:
              * css2.1/t140201-c537-bgfxps-00-c-ag-expected.checksum:
              * css2.1/t140201-c537-bgfxps-00-c-ag-expected.png:
              * css2.1/t1508-c527-font-07-b-expected.checksum:
              * css2.1/t1508-c527-font-07-b-expected.png:
              * editing/deleting/delete-after-span-ws-001-expected.checksum:
              * editing/deleting/delete-after-span-ws-001-expected.png:
              * editing/deleting/delete-after-span-ws-002-expected.checksum:
              * editing/deleting/delete-after-span-ws-002-expected.png:
              * editing/deleting/delete-after-span-ws-003-expected.checksum:
              * editing/deleting/delete-after-span-ws-003-expected.png:
              * editing/deleting/delete-and-undo-expected.checksum:
              * editing/deleting/delete-and-undo-expected.png:
              * editing/deleting/delete-and-undo-expected.txt:
              * editing/deleting/delete-line-end-ws-001-expected.checksum:
              * editing/deleting/delete-line-end-ws-001-expected.png:
              * editing/deleting/delete-line-end-ws-002-expected.checksum:
              * editing/deleting/delete-line-end-ws-002-expected.png:
              * editing/inserting/insert-div-023-expected.checksum:
              * editing/inserting/insert-div-023-expected.png:
              * editing/selection/caret-and-focus-ring.html:
              * editing/selection/drag-to-contenteditable-iframe-expected.checksum: Added.
              * editing/selection/drag-to-contenteditable-iframe-expected.png: Added.
              * editing/selection/drag-to-contenteditable-iframe-expected.txt: Added.
              * editing/selection/drag-to-contenteditable-iframe.html: Added.
              * editing/selection/focus_editable_html-expected.checksum:
              * editing/selection/focus_editable_html-expected.png:
              * editing/selection/iframe-expected.checksum:
              * editing/selection/iframe-expected.png:
              * editing/selection/replaced-boundaries-3-expected.checksum:
              * editing/selection/replaced-boundaries-3-expected.png:
              * editing/selection/select-all-001-expected.checksum:
              * editing/selection/select-all-001-expected.png:
              * editing/selection/select-all-002-expected.checksum:
              * editing/selection/select-all-002-expected.png:
              * editing/selection/select-all-003-expected.checksum:
              * editing/selection/select-all-003-expected.png:
              * editing/selection/select-all-004-expected.checksum:
              * editing/selection/select-all-004-expected.png:
              * editing/selection/select-box-expected.checksum:
              * editing/selection/select-box-expected.png:
              * editing/selection/selection-background.html:
              * editing/selection/unrendered-001-expected.checksum:
              * editing/selection/unrendered-001-expected.png:
              * editing/selection/unrendered-002-expected.checksum:
              * editing/selection/unrendered-002-expected.png:
              * editing/selection/unrendered-003-expected.checksum:
              * editing/selection/unrendered-003-expected.png:
              * editing/selection/unrendered-004-expected.checksum:
              * editing/selection/unrendered-004-expected.png:
              * editing/selection/unrendered-005-expected.checksum:
              * editing/selection/unrendered-005-expected.png:
              * editing/undo/4063751-expected.txt:
              * editing/undo/redo-typing-001-expected.txt:
              * editing/undo/undo-typing-001-expected.checksum:
              * editing/undo/undo-typing-001-expected.png:
              * editing/undo/undo-typing-001-expected.txt:
              * fast/block/basic/016-expected.checksum:
              * fast/block/basic/016-expected.png:
              * fast/block/basic/text-indent-rtl-expected.checksum:
              * fast/block/float/008-expected.checksum:
              * fast/block/float/008-expected.png:
              * fast/block/float/013-expected.checksum:
              * fast/block/float/013-expected.png:
              * fast/block/float/019-expected.checksum:
              * fast/block/float/019-expected.png:
              * fast/block/float/021-expected.checksum:
              * fast/block/float/021-expected.png:
              * fast/block/float/025-expected.checksum:
              * fast/block/float/025-expected.png:
              * fast/block/float/026-expected.checksum:
              * fast/block/float/026-expected.png:
              * fast/block/float/027-expected.checksum:
              * fast/block/float/027-expected.png:
              * fast/block/float/028-expected.checksum:
              * fast/block/float/028-expected.png:
              * fast/block/float/032-expected.checksum:
              * fast/block/float/032-expected.png:
              * fast/block/float/033-expected.checksum:
              * fast/block/float/033-expected.png:
              * fast/block/margin-collapse/103-expected.checksum:
              * fast/block/margin-collapse/103-expected.png:
              * fast/block/margin-collapse/104-expected.checksum:
              * fast/block/margin-collapse/104-expected.png:
              * fast/block/positioning/047-expected.checksum:
              * fast/block/positioning/047-expected.png:
              * fast/block/positioning/051-expected.checksum:
              * fast/block/positioning/051-expected.png:
              * fast/block/positioning/055-expected.checksum:
              * fast/block/positioning/055-expected.png:
              * fast/block/positioning/auto/007-expected.checksum:
              * fast/block/positioning/auto/007-expected.png:
              * fast/block/positioning/relayout-on-position-change-expected.checksum:
              * fast/box-sizing/box-sizing-expected.checksum:
              * fast/box-sizing/box-sizing-expected.png:
              * fast/clip/014-expected.checksum:
              * fast/clip/014-expected.png:
              * fast/css-generated-content/014-expected.checksum:
              * fast/css-generated-content/014-expected.png:
              * fast/css/005-expected.checksum:
              * fast/css/005-expected.png:
              * fast/css/MarqueeLayoutTest-expected.checksum:
              * fast/css/MarqueeLayoutTest-expected.png:
              * fast/css/imageTileOpacity-expected.checksum:
              * fast/css/imageTileOpacity-expected.png:
              * fast/css/word-space-extra-expected.checksum:
              * fast/css/word-space-extra-expected.png:
              * fast/dom/HTMLObjectElement/object-as-frame.html:
              * fast/dom/focus-contenteditable-expected.checksum:
              * fast/dom/focus-contenteditable-expected.png:
              * fast/dom/window-onFocus.html:
              * fast/dynamic/008-expected.checksum:
              * fast/dynamic/008-expected.png:
              * fast/encoding/utf-16-big-endian-expected.checksum:
              * fast/encoding/utf-16-big-endian-expected.png:
              * fast/encoding/utf-16-little-endian-expected.checksum:
              * fast/encoding/utf-16-little-endian-expected.png:
              * fast/flexbox/009-expected.checksum:
              * fast/flexbox/009-expected.png:
              * fast/flexbox/016-expected.checksum:
              * fast/flexbox/016-expected.png:
              * fast/forms/001-expected.checksum:
              * fast/forms/001-expected.png:
              * fast/forms/003-expected.checksum:
              * fast/forms/003-expected.png:
              * fast/forms/004-expected.checksum:
              * fast/forms/004-expected.png:
              * fast/forms/HTMLOptionElement_label01-expected.checksum:
              * fast/forms/HTMLOptionElement_label01-expected.png:
              * fast/forms/HTMLOptionElement_label02-expected.checksum:
              * fast/forms/HTMLOptionElement_label02-expected.png:
              * fast/forms/HTMLOptionElement_label03-expected.checksum:
              * fast/forms/HTMLOptionElement_label03-expected.png:
              * fast/forms/HTMLOptionElement_label04-expected.checksum:
              * fast/forms/HTMLOptionElement_label04-expected.png:
              * fast/forms/button-sizes-expected.checksum:
              * fast/forms/button-sizes-expected.png:
              * fast/forms/checkbox-radio-onchange-expected.checksum:
              * fast/forms/checkbox-radio-onchange-expected.png:
              * fast/forms/form-element-geometry-expected.checksum:
              * fast/forms/form-element-geometry-expected.png:
              * fast/forms/indeterminate-expected.checksum:
              * fast/forms/indeterminate-expected.png:
              * fast/forms/option-script-expected.checksum:
              * fast/forms/option-script-expected.png:
              * fast/forms/option-strip-whitespace-expected.checksum:
              * fast/forms/option-strip-whitespace-expected.png:
              * fast/forms/radio_checked-expected.checksum:
              * fast/forms/radio_checked-expected.png:
              * fast/forms/radio_checked_dynamic-expected.checksum:
              * fast/forms/radio_checked_dynamic-expected.png:
              * fast/forms/textAreaLineHeight-expected.checksum:
              * fast/forms/textAreaLineHeight-expected.png:
              * fast/inline-block/tricky-baseline-expected.checksum:
              * fast/inline-block/tricky-baseline-expected.png:
              * fast/invalid/014-expected.checksum:
              * fast/invalid/014-expected.png:
              * fast/lists/008-expected.checksum:
              * fast/lists/008-expected.png:
              * fast/lists/li-br-expected.checksum:
              * fast/lists/li-br-expected.png:
              * fast/lists/olstart-expected.checksum:
              * fast/lists/olstart-expected.png:
              * fast/loader/form-events-back-forward.html: Removed.
              * fast/loader/form-events-back-forward.html-disabled: Added.
              * fast/overflow/002-expected.checksum:
              * fast/overflow/002-expected.png:
              * fast/overflow/003-expected.checksum:
              * fast/overflow/003-expected.png:
              * fast/overflow/005-expected.checksum:
              * fast/overflow/005-expected.png:
              * fast/overflow/006-expected.checksum:
              * fast/overflow/006-expected.png:
              * fast/overflow/007-expected.checksum:
              * fast/overflow/007-expected.png:
              * fast/overflow/image-selection-highlight-expected.checksum:
              * fast/overflow/image-selection-highlight-expected.png:
              * fast/overflow/overflow-auto-table-expected.checksum:
              * fast/overflow/overflow-auto-table-expected.png:
              * fast/overflow/overflow-rtl-expected.checksum:
              * fast/overflow/overflow-rtl-expected.png:
              * fast/overflow/overflow-text-hit-testing-expected.checksum:
              * fast/overflow/overflow-text-hit-testing-expected.png:
              * fast/overflow/scrollRevealButton-expected.checksum:
              * fast/overflow/scrollRevealButton-expected.png:
              * fast/parser/comments-expected.checksum:
              * fast/parser/comments-expected.png:
              * fast/parser/document-write-option-expected.checksum:
              * fast/parser/document-write-option-expected.png:
              * fast/parser/entities-in-xhtml-expected.checksum:
              * fast/parser/entities-in-xhtml-expected.png:
              * fast/replaced/005-expected.checksum:
              * fast/replaced/005-expected.png:
              * fast/replaced/width100percent-expected.checksum:
              * fast/replaced/width100percent-expected.png:
              * fast/selectors/166-expected.checksum:
              * fast/selectors/166-expected.png:
              * fast/table/023-expected.checksum:
              * fast/table/023-expected.png:
              * fast/table/034-expected.checksum:
              * fast/table/034-expected.png:
              * fast/table/040-expected.checksum:
              * fast/table/040-expected.png:
              * fast/table/border-collapsing/004-expected.checksum:
              * fast/table/border-collapsing/004-expected.png:
              * fast/table/edge-offsets-expected.checksum:
              * fast/table/edge-offsets-expected.png:
              * fast/table/height-percent-test-expected.checksum:
              * fast/table/height-percent-test-expected.png:
              * fast/table/overflowHidden-expected.checksum:
              * fast/table/overflowHidden-expected.png:
              * fast/table/wide-colspan-expected.checksum:
              * fast/table/wide-colspan-expected.png:
              * fast/table/wide-column-expected.checksum:
              * fast/table/wide-column-expected.png:
              * fast/text/softHyphen-expected.checksum:
              * fast/text/softHyphen-expected.png:
              * fast/text/whitespace/024-expected.checksum:
              * fast/text/whitespace/024-expected.png:
              * fast/tokenizer/004-expected.checksum:
              * fast/tokenizer/004-expected.png:
              * svg/custom/feDisplacementMap-01-expected.png: Removed.
              * svg/custom/junk-data-expected.checksum:
              * svg/custom/junk-data-expected.png:
              * svg/custom/missing-xlink-expected.checksum:
              * svg/custom/missing-xlink-expected.png:
              * svg/custom/path-bad-data-expected.checksum:
              * svg/custom/path-bad-data-expected.png:
              * traversal/tree-walker-004-expected.checksum:
              * traversal/tree-walker-004-expected.png:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12843 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9f96b2ad
  5. 15 Feb, 2006 4 commits
    • ggaren's avatar
      JavaScriptCore: · cd217c5d
      ggaren authored
              Reviewed by Maciej, Eric.
      
              - WebCore half of fix for <rdar://problem/4176077> CrashTracer: 6569
              crashes in DashboardClient at com.apple.JavaScriptCore:
              KJS::Bindings::ObjcFallbackObjectImp::type()
      
              WebCore and JavaScriptCore weren't sharing Instance objects very
              nicely. I made them use RefPtrs, and sent them to bed without dessert.
      
              * bindings/jni/jni_instance.cpp: Made _instance a RefPtr
              (JavaInstance::~JavaInstance):
              (JObjectWrapper::JObjectWrapper):
              * bindings/jni/jni_instance.h:
              (KJS::Bindings::JObjectWrapper::ref):
              (KJS::Bindings::JObjectWrapper::deref):
              * bindings/jni/jni_runtime.cpp: Made _array a RefPtr
              (JavaArray::~JavaArray):
              (JavaArray::JavaArray):
              * bindings/jni/jni_runtime.h:
              (KJS::Bindings::JavaArray::operator=):
              * bindings/objc/objc_runtime.h:
              - Prohibited copying because that would muss the ref count.
              - Prohibited construction without instance because an instance wrapper
              without an instance is almost certainly a bug.
              * bindings/objc/objc_runtime.mm:
              (ObjcFallbackObjectImp::ObjcFallbackObjectImp):
              * bindings/runtime.cpp:
              (KJS::Bindings::Instance::Instance):
              (KJS::Bindings::Instance::createBindingForLanguageInstance):
              (KJS::Bindings::Instance::createRuntimeObject):
              * bindings/runtime.h:
              (KJS::Bindings::Instance::ref):
              (KJS::Bindings::Instance::deref):
              * bindings/runtime_object.cpp:
              (RuntimeObjectImp::RuntimeObjectImp):
              (RuntimeObjectImp::fallbackObjectGetter):
              (RuntimeObjectImp::fieldGetter):
              (RuntimeObjectImp::methodGetter):
              (RuntimeObjectImp::getOwnPropertySlot):
              (RuntimeObjectImp::put):
              (RuntimeObjectImp::canPut):
              * bindings/runtime_object.h: 
              - Removed ownsInstance data member because RefPtr takes care of 
              instance lifetime now. 
              - Prohibited copying because that would muss the ref count.
              - Prohibited construction without instance because an instance wrapper
              without an instance is almost certainly a bug.
              (KJS::RuntimeObjectImp::getInternalInstance):
      
      LayoutTests:
      
              Reviewed by Eric.
      
              - Layout test for <rdar://problem/4176077> CrashTracer: 6569
              crashes in DashboardClient at com.apple.JavaScriptCore:
              KJS::Bindings::ObjcFallbackObjectImp::type()
      
              * plugins: Added.
              * plugins/undefined-property-crash-expected.txt: Added.
              * plugins/undefined-property-crash.html: Added.
      
      WebCore:
      
              Reviewed by Maciej, Eric.
      
              - WebCore half of fix for <rdar://problem/4176077> CrashTracer: 6569 
              crashes in DashboardClient at com.apple.JavaScriptCore: 
              KJS::Bindings::ObjcFallbackObjectImp::type() 
      
              WebCore and JavaScriptCore weren't sharing Instance objects very
              nicely. I made them use RefPtrs, and sent them to bed without dessert.
      
              * khtml/html/html_objectimpl.cpp: 
              (WebCore::HTMLAppletElementImpl::HTMLAppletElementImpl): Made 
              appletInstance a RefPtr
              (WebCore::HTMLAppletElementImpl::getAppletInstance):
              (WebCore::HTMLAppletElementImpl::detach):
              (WebCore::HTMLEmbedElementImpl::HTMLEmbedElementImpl): Made
              embedInstance a RefPtr
              (WebCore::HTMLEmbedElementImpl::getEmbedInstance):
              (WebCore::HTMLEmbedElementImpl::detach):
              (WebCore::HTMLObjectElementImpl::HTMLObjectElementImpl): Made
              objectInstance a RefPtr
              (WebCore::HTMLObjectElementImpl::getObjectInstance): 
              (WebCore::HTMLObjectElementImpl::detach):
              * bindings/js/JSDOMCore.cpp:
              * khtml/ecma/kjs_dom.cpp:
              (KJS::getRuntimeObject):
              * khtml/html/html_objectimpl.h:
      
      WebKitTools:
      
              Reviewed by Eric.
      
              * DumpRenderTree/DumpRenderTree.m:
              (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]): 
              Added a dummy method for the sake of LayoutTests/plugins/
              undefined-property-crash.html. (It tests a crash due to fallback 
              object use. WebCore won't create a fallback object if the method is 
              not defined.)
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12840 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd217c5d
    • eseidel's avatar
      2006-02-15 Eric Seidel <eseidel@apple.com> · a3301e83
      eseidel authored
              
              Add files missing from previous commit.
              
              * svg/custom/feDisplacementMap-01-expected.checksum: Added.
              * svg/custom/feDisplacementMap-01-expected.png: Added.
              * svg/custom/feDisplacementMap-01-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3301e83
    • eseidel's avatar
      2006-02-15 Oliver Hunt <ojh16@student.canterbury.ac.nz> · 4784fda1
      eseidel authored
              Reviewed by eseidel.  Landed by eseidel.
              
              Implemented feDisplacementMap.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=5862
      
              Test: svg/custom/feDisplacementMap-01.svg
      
              * WebCore.xcodeproj/project.pbxproj: added files.
              * kcanvas/KCanvasFilters.cpp:
              (WebCore::KCanvasFEDisplacementMap::externalRepresentation):
              * kcanvas/KCanvasFilters.h:
              (WebCore::KCanvasFEDisplacementMap::KCanvasFEDisplacementMap):
              (WebCore::KCanvasFEDisplacementMap::xChannelSelector):
              (WebCore::KCanvasFEDisplacementMap::setXChannelSelector):
              (WebCore::KCanvasFEDisplacementMap::yChannelSelector):
              (WebCore::KCanvasFEDisplacementMap::setYChannelSelector):
              (WebCore::KCanvasFEDisplacementMap::scale):
              (WebCore::KCanvasFEDisplacementMap::setScale):
              * kcanvas/device/quartz/KCanvasFilterQuartz.h:
              * kcanvas/device/quartz/KCanvasFilterQuartz.mm:
              (WebCore::getVectorForChannel):
              (WebCore::KCanvasFEDisplacementMapQuartz::getCIFilter):
              * kcanvas/device/quartz/KRenderingDeviceQuartz.mm:
              (WebCore::KRenderingDeviceQuartz::createFilterEffect):
              * kcanvas/device/quartz/filters/WKDisplacementMapFilter.cikernel: Added.
              * kcanvas/device/quartz/filters/WKDisplacementMapFilter.h: Added.
              * kcanvas/device/quartz/filters/WKDisplacementMapFilter.m: Added.
              (+[WKDisplacementMapFilter initialize]):
              (+[WKDisplacementMapFilter filterWithName:]):
              (-[WKDisplacementMapFilter init]):
              (-[WKDisplacementMapFilter outputImage]):
              * ksvg2/svg/SVGFEDisplacementMapElementImpl.cpp: Added.
              (SVGFEDisplacementMapElementImpl::SVGFEDisplacementMapElementImpl):
              (SVGFEDisplacementMapElementImpl::~SVGFEDisplacementMapElementImpl):
              (SVGFEDisplacementMapElementImpl::in1):
              (SVGFEDisplacementMapElementImpl::in2):
              (SVGFEDisplacementMapElementImpl::xChannelSelector):
              (SVGFEDisplacementMapElementImpl::yChannelSelector):
              (SVGFEDisplacementMapElementImpl::scale):
              (SVGFEDisplacementMapElementImpl::stringToChannel):
              (SVGFEDisplacementMapElementImpl::parseMappedAttribute):
              (SVGFEDisplacementMapElementImpl::filterEffect):
              * ksvg2/svg/SVGFEDisplacementMapElementImpl.h: Added.
              * ksvg2/svg/svgtags.in:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12819 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4784fda1
    • eseidel's avatar
      2006-02-15 Eric Seidel <eseidel@apple.com> · bdc0a582
      eseidel authored
              Update missing result from last commit.
      
              * fast/xsl/xslt-recursion-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdc0a582
  6. 14 Feb, 2006 7 commits
    • ap's avatar
      Reviewed by Maciej. · c3b4b1aa
      ap authored
              - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=6452
               KURL::appendEscapingBadChars() doesn't know about %u-escaping.
      
              Test case: fast/encoding/percent-escaping.html
      
              * kwq/KWQKURL.mm: (appendEscapingBadChars):
              Rather than adding support for %u, remove the existing
              "do what I mean" escaping of percent characters that do not
              look like a result of prior escaping.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12814 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3b4b1aa
    • eseidel's avatar
      2006-02-14 Eric Seidel <eseidel@apple.com> · 9ff77cb3
      eseidel authored
              Reviewed by darin.
      
              Add incremental parsing support to XMLTokenizer.
              This patch also does a few other little things:
              - removes (unused) onHold support from Tokenizer
              - adds serialization of DOCTYPEs for xml documents
              - fixes xslt support to no longer depend on synchronous parsing
              - fixes css styling for pages where xsl recursion is blocked
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6057
      
              * dom/DocumentImpl.cpp:
              (WebCore::DocumentImpl::DocumentImpl):
              (WebCore::DocumentImpl::createProcessingInstruction):
              (WebCore::DocumentImpl::open):
              (WebCore::DocumentImpl::recalcStyleSelector):
              * dom/dom_xmlimpl.cpp:
              (WebCore::ProcessingInstructionImpl::checkStyleSheet):
              * dom/xml_tokenizer.cpp:
              (WebCore::XMLTokenizer::XMLTokenizer):
              (WebCore::XMLTokenizer::write):
              (WebCore::XMLTokenizer::startElementNs):
              (WebCore::XMLTokenizer::error):
              (WebCore::XMLTokenizer::initializeParserContext):
              (WebCore::XMLTokenizer::finish):
              (WebCore::xmlDocPtrForString):
              (WebCore::parseAttributes):
              * dom/xml_tokenizer.h:
              * khtml/editing/markup.cpp:
              (khtml::startMarkup): DOCTYPE serialization
              * khtml/html/htmltokenizer.cpp:
              (WebCore::HTMLTokenizer::HTMLTokenizer): removed onHold
              (WebCore::HTMLTokenizer::reset): removed onHold
              (WebCore::HTMLTokenizer::begin): removed onHold
              (WebCore::HTMLTokenizer::write): removed onHold
              (WebCore::HTMLTokenizer::finish): removed onHold
              * khtml/html/htmltokenizer.h: removed onHold support
              * khtml/xsl/xsl_stylesheetimpl.cpp:
              (WebCore::XSLStyleSheetImpl::XSLStyleSheetImpl):
              (WebCore::XSLStyleSheetImpl::~XSLStyleSheetImpl):
              (WebCore::XSLStyleSheetImpl::document):
              (WebCore::XSLStyleSheetImpl::setDocument):
              (WebCore::XSLStyleSheetImpl::parseString):
              (WebCore::XSLStyleSheetImpl::loadChildSheets):
              (WebCore::XSLStyleSheetImpl::compileStyleSheet):
              (WebCore::XSLStyleSheetImpl::locateStylesheetSubResource):
              * khtml/xsl/xsl_stylesheetimpl.h: moved functions to .cpp file
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12812 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ff77cb3
    • adele's avatar
      LayoutTests: · fb924468
      adele authored
              Tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=6815
              Calculate correct width for new text fields
      
              * fast/forms/input-appearance-width.html: Added.
              * fast/forms/input-appearance-width-expected.txt: Added.
              * fast/forms/input-appearance-width-expected.png: Added.
              * fast/forms/input-appearance-width-expected.checksum: Added.
              * fast/forms/input-appearance-minWidth.html: Added.
              * fast/forms/input-appearance-minWidth-expected.txt: Added.
              * fast/forms/input-appearance-minWidth-expected.png: Added.
              * fast/forms/input-appearance-minWidth-expected.checksum: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              http://bugzilla.opendarwin.org/show_bug.cgi?id=6815
              Calculate correct width for new text fields
      
              Tests:
              fast/forms/input-appearance-width.html
              fast/forms/input-appearance-minWidth.html
      
              * rendering/RenderTextField.cpp:
              (WebCore::RenderTextField::createDivStyle): Remove fixed width for text field.
              (WebCore::RenderTextField::calcMinMaxWidth): Added.  This calls RenderBlock::calcMinMaxWidth and 
               then uses the size attribute to determine what the maxWidth should be.
              * rendering/RenderTextField.h: Added calcMinMaxWidth.
              * rendering/render_theme_mac.h: Added adjustTextFieldStyle.
              * rendering/render_theme_mac.mm: 
              (WebCore::RenderThemeMac::adjustRepaintRect): Remove inflation of rect.  This is no longer necessary.
              (WebCore::RenderThemeMac::paintTextField): ditto.
              (WebCore::RenderThemeMac::setTextFieldCellState): change true to YES.
              (WebCore::RenderThemeMac::adjustTextFieldStyle): Added. This is the temporary home of the code to set the 
               right padding and margins.  When we flip the switch, this will go in html4.css.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12810 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb924468
    • sullivan's avatar
      One more of the same (this one tests list boxes instead of pop-up menus) · 471ea81a
      sullivan authored
              * fast/forms/HTMLOptionElement_label05-expected.checksum: Added.
              * fast/forms/HTMLOptionElement_label05-expected.png: Added.
              * fast/forms/HTMLOptionElement_label05-expected.txt: Added.
              * fast/forms/HTMLOptionElement_label05.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12806 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      471ea81a
    • sullivan's avatar
      Added another option element label test at Dave Hyatt's suggestion · b425c370
      sullivan authored
              * fast/forms/HTMLOptionElement_label04-expected.checksum: Added.
              * fast/forms/HTMLOptionElement_label04-expected.png: Added.
              * fast/forms/HTMLOptionElement_label04-expected.txt: Added.
              * fast/forms/HTMLOptionElement_label04.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12805 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b425c370
    • adele's avatar
      Reviewed by Eric. · 834684fd
      adele authored
              Moving these tests to a better location.
      
              * dom/html/level2/html/HTMLOptionElement_label01-expected.checksum: Removed.
              * dom/html/level2/html/HTMLOptionElement_label01-expected.png: Removed.
              * dom/html/level2/html/HTMLOptionElement_label01-expected.txt: Removed.
              * dom/html/level2/html/HTMLOptionElement_label01.html: Removed.
              * dom/html/level2/html/HTMLOptionElement_label02-expected.checksum: Removed.
              * dom/html/level2/html/HTMLOptionElement_label02-expected.png: Removed.
              * dom/html/level2/html/HTMLOptionElement_label02-expected.txt: Removed.
              * dom/html/level2/html/HTMLOptionElement_label02.html: Removed.
              * dom/html/level2/html/HTMLOptionElement_label03-expected.checksum: Removed.
              * dom/html/level2/html/HTMLOptionElement_label03-expected.png: Removed.
              * dom/html/level2/html/HTMLOptionElement_label03-expected.txt: Removed.
              * dom/html/level2/html/HTMLOptionElement_label03.html: Removed.
              * fast/forms/HTMLOptionElement_label01-expected.checksum: Added.
              * fast/forms/HTMLOptionElement_label01-expected.png: Added.
              * fast/forms/HTMLOptionElement_label01-expected.txt: Added.
              * fast/forms/HTMLOptionElement_label01.html: Added.
              * fast/forms/HTMLOptionElement_label02-expected.checksum: Added.
              * fast/forms/HTMLOptionElement_label02-expected.png: Added.
              * fast/forms/HTMLOptionElement_label02-expected.txt: Added.
              * fast/forms/HTMLOptionElement_label02.html: Added.
              * fast/forms/HTMLOptionElement_label03-expected.checksum: Added.
              * fast/forms/HTMLOptionElement_label03-expected.png: Added.
              * fast/forms/HTMLOptionElement_label03-expected.txt: Added.
              * fast/forms/HTMLOptionElement_label03.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12804 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      834684fd
    • sullivan's avatar
      Reviewed by Adele Peterson. · 897662fa
      sullivan authored
              
              - tests for http://bugzilla.opendarwin.org/show_bug.cgi?id=7255
              label attribute in option elements is ignored
      
              * dom/html/level2/html/HTMLOptionElement_label01-expected.checksum: Added.
              * dom/html/level2/html/HTMLOptionElement_label01-expected.png: Added.
              * dom/html/level2/html/HTMLOptionElement_label01-expected.txt: Added.
              * dom/html/level2/html/HTMLOptionElement_label01.html: Added.
              * dom/html/level2/html/HTMLOptionElement_label02-expected.checksum: Added.
              * dom/html/level2/html/HTMLOptionElement_label02-expected.png: Added.
              * dom/html/level2/html/HTMLOptionElement_label02-expected.txt: Added.
              * dom/html/level2/html/HTMLOptionElement_label02.html: Added.
              * dom/html/level2/html/HTMLOptionElement_label03-expected.checksum: Added.
              * dom/html/level2/html/HTMLOptionElement_label03-expected.png: Added.
              * dom/html/level2/html/HTMLOptionElement_label03-expected.txt: Added.
              * dom/html/level2/html/HTMLOptionElement_label03.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12802 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      897662fa
  7. 13 Feb, 2006 1 commit
  8. 12 Feb, 2006 2 commits
    • darin's avatar
      Reviewed and tweaked by Darin. · a9a9d326
      darin authored
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7206
                REGRESSION: PDF "images" no longer render within HTML pages
      
              * fast/replaced/page-as-image.html: Added.
              * fast/replaced/page-as-image-expected.txt: Added.
              * fast/replaced/page-as-image-expected.png: Added.
              * fast/replaced/page-as-image-expected.checksum: Added.
              * fast/replaced/resources/image.pdf: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a9a9d326
    • mjs's avatar
      Rubber stamped by Geoff. · 556f94b0
      mjs authored
              
              - comment out remote <base> URLs, these were making the tests hang for a long time
      
              This also made the affected tests start passing.
              
              * dom/xhtml/level2/html/HTMLBodyElement01-expected.checksum: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement01-expected.png: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement01-expected.txt:
              * dom/xhtml/level2/html/HTMLBodyElement01.xhtml:
              * dom/xhtml/level2/html/HTMLBodyElement02-expected.checksum: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement02-expected.png: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement02-expected.txt:
              * dom/xhtml/level2/html/HTMLBodyElement02.xhtml:
              * dom/xhtml/level2/html/HTMLBodyElement03-expected.checksum: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement03-expected.png: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement03-expected.txt:
              * dom/xhtml/level2/html/HTMLBodyElement03.xhtml:
              * dom/xhtml/level2/html/HTMLBodyElement04-expected.checksum: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement04-expected.png: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement04-expected.txt:
              * dom/xhtml/level2/html/HTMLBodyElement04.xhtml:
              * dom/xhtml/level2/html/HTMLBodyElement05-expected.checksum: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement05-expected.png: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement05-expected.txt:
              * dom/xhtml/level2/html/HTMLBodyElement05.xhtml:
              * dom/xhtml/level2/html/HTMLBodyElement06-expected.checksum: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement06-expected.png: Removed.
              * dom/xhtml/level2/html/HTMLBodyElement06-expected.txt:
              * dom/xhtml/level2/html/HTMLBodyElement06.xhtml:
              * dom/xhtml/level2/html/body01-expected.checksum: Removed.
              * dom/xhtml/level2/html/body01-expected.png: Removed.
              * dom/xhtml/level2/html/body01-expected.txt:
              * dom/xhtml/level2/html/body01.xhtml:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12776 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      556f94b0
  9. 11 Feb, 2006 5 commits
    • eseidel's avatar
      2006-02-11 Alexander Kellett <lypanov@kde.org> · b4c9cbb8
      eseidel authored
              Reviewed by eseidel.
      
              - Fixing http://bugzilla.opendarwin.org/show_bug.cgi?id=6942
                Implement support for "em" and "ex" relative lengths.
      
              - Layout tests changes:
                  Fixed: svg/W3C-SVG-1.1/coords-units-03-b.svg
                  New:   svg/custom/coords-relative-units-transforms.svg
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12764 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b4c9cbb8
    • darin's avatar
      Reviewed by Darin. · 4a1c528f
      darin authored
              * fast/events/event-targets.html: Fixed a small mistake in this test, noticed while
              checking that bug 3609 is fixed in tip of tree.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a1c528f
    • adele's avatar
      LayoutTests: · 04d4ce14
      adele authored
               Reviewed by Hyatt.
       
               - new test and updated results for
                 http://bugzilla.opendarwin.org/show_bug.cgi?id=7054
                 Vertical scroll bars do not appear or do not scroll completely
       
               * fast/replaced/width100percent-expected.checksum: Updated.
               * fast/replaced/width100percent-expected.png: Updated.
               * fast/replaced/width100percent-expected.txt: Updated.
               * fast/table/edge-offsets-expected.checksum: Added.
               * fast/table/edge-offsets-expected.png: Added.
               * fast/table/edge-offsets-expected.txt: Added.
               * fast/table/edge-offsets.html: Added.
      
      WebCore:
      
               Test: fast/table/edge-offsets.html
       
               Reviewed by Hyatt.
       
               - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=7054
                 Vertical scroll bars do not appear or do not scroll completely
       
               * rendering/RenderTableSection.cpp:
               (WebCore::RenderTableSection::lowestPosition): Override the superclass implementation
               to return the lowest of all the cells' lowest positions and the section's.
               (WebCore::RenderTableSection::rightmostPosition): Ditto for rightmost.
               (WebCore::RenderTableSection::leftmostPosition): Ditto for leftmost.
               * rendering/RenderTableSection.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04d4ce14
    • ap's avatar
      Reviewed by Darin. · 4e77b914
      ap authored
             - fix http://bugzilla.opendarwin.org/show_bug.cgi?id=3400
               setting the .src of an iframe to the same value does not reload page
      
              Test cases: 
              * fast/frames/frame-set-same-location.html
              * fast/frames/frame-set-same-src.html
              * fast/frames/iframe-set-same-location.html
              * fast/frames/iframe-set-same-src.html
      
              * khtml/html/html_baseimpl.cpp:
              (WebCore::HTMLFrameElementImpl::setLocation):
              Remove the check for the new URL being different from the current one.
              Moved updateForNewURL() code into setLocation().
              * khtml/html/html_baseimpl.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12753 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e77b914
    • eseidel's avatar
      2006-02-11 Eric Seidel <eseidel@apple.com> · 352918e1
      eseidel authored
              Reviewed by hyatt.
      
              Adding support for external entity declarations in XSLT.
              http://bugzilla.opendarwin.org/show_bug.cgi?id=7184
              <rdar://problem/4271696> support external DTD references in XSLT
      
              * fast/parser/external-entities-expected.checksum: Added.
              * fast/parser/external-entities-expected.png: Added.
              * fast/parser/external-entities-expected.txt: Added.
              * fast/parser/external-entities-in-xslt-expected.txt: Added.
              * fast/parser/external-entities-in-xslt.xml: Added.
              * fast/parser/external-entities.xml: Added.
              * fast/parser/resources: Added.
              * fast/parser/resources/external-entities.dtd: Added.
              * fast/parser/resources/external-entities.xsl: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      352918e1
  10. 10 Feb, 2006 1 commit
  11. 08 Feb, 2006 5 commits
    • mjs's avatar
      Add missing file from earlier added svg test. · 10b2640c
      mjs authored
              * svg/custom/resources/link-target.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12700 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      10b2640c
    • darin's avatar
      Reviewed and tweaked by Darin. · c63fdf48
      darin authored
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=6648
                Safari strips namespace prefix when using setAttribute(), but should treat it as part of name
      
              * fast/dom/Element: Added.
              * fast/dom/Element/setAttribute-with-colon.html: Added.
              * fast/dom/Element/setAttribute-with-colon-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12688 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c63fdf48
    • darin's avatar
      Reviewed by Hyatt. · 0bcf79f5
      darin authored
              - test for http://bugzilla.opendarwin.org/show_bug.cgi?id=7095
                Removing positioning from an element does not relayout properly
      
              * fast/block/positioning/relayout-on-position-change-expected.checksum: Added.
              * fast/block/positioning/relayout-on-position-change-expected.png: Added.
              * fast/block/positioning/relayout-on-position-change-expected.txt: Added.
              * fast/block/positioning/relayout-on-position-change.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12682 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bcf79f5
    • mjs's avatar
      - added SVG path hit testing test · aabb680f
      mjs authored
              * svg/custom/hit-test-path-expected.checksum: Added.
              * svg/custom/hit-test-path-expected.png: Added.
              * svg/custom/hit-test-path-expected.txt: Added.
              * svg/custom/hit-test-path.svg: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12678 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aabb680f
    • adele's avatar
      LayoutTests: · d5799914
      adele authored
              Reviewed by Maciej.
      
              - test for
              <rdar://problem/4325160> REGRESSION(416.12-420+): window events not stopped by stopPropagation (affects macnn forums)
      
              * fast/events/window-events-bubble-expected.txt: Added.
              * fast/events/window-events-bubble.html: Added.
              * fast/events/window-events-bubble2-expected.txt: Added.
              * fast/events/window-events-bubble2.html: Added.
              * fast/events/window-events-capture-expected.txt: Added.
              * fast/events/window-events-capture.html: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - Fixed <rdar://problem/4325160> 
                REGRESSION(416.12-420+): window events not stopped by stopPropagation (affects macnn forums)
      
              Tests:
              * fast/events/window-events-bubble.html
              * fast/events/window-events-bubble2.html
              * fast/events/window-events-capture.html
      
              * khtml/xml/DocumentImpl.cpp:
              (WebCore::DocumentImpl::handleWindowEvent): Added to send events directly to the window.  This code used to be in defaultEventHandler, but that wasn't sending them at the right time.
              (WebCore::DocumentImpl::defaultEventHandler): Moved code to send window events to handleWindowEvent.
              * khtml/xml/DocumentImpl.h: Added handleWindowEvent.
              * khtml/xml/NodeImpl.cpp:
              (WebCore::NodeImpl::dispatchGenericEvent): fire window events in capture and bubble phases.
              (WebCore::NodeImpl::dispatchWindowEvent): call handleWindowEvent.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12675 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d5799914
  12. 07 Feb, 2006 1 commit
    • adele's avatar
      LayoutTests: · 5ac0b02e
      adele authored
             - test for 
              <rdar://problem/3727939> Safari strips \0 characters from HTML tags making them valid
      
              * fast/encoding/decoder-allow-null-chars.html
              * fast/encoding/decoder-allow-null-chars-expected.txt
      
      WebCore:
      
              Reviewed by Maciej.
      
              - Fixed <rdar://problem/3727939> Safari strips \0 characters from HTML tags making them valid 
      
              Test: fast/encoding/decoder-allow-null-chars.html
      
              * kwq/KWQTextCodec.cpp:
              (KWQTextDecoder::convertLatin1): Removed stripping of null characters
              (unwanted): ditto.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@12652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ac0b02e