1. 09 Jan, 2007 10 commits
  2. 08 Jan, 2007 30 commits
    • ddkilzer's avatar
      Fix typo. · ac5f55f5
      ddkilzer authored
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18686 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      ac5f55f5
    • sullivan's avatar
      Fixed text of previous comment. · 8c36bd37
      sullivan authored
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18685 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8c36bd37
    • sullivan's avatar
      Tweak to previous checkin · 079806aa
      sullivan authored
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::contextMenuItemSelected):
              Adam suggested I should nil-check page->frame()
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18684 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      079806aa
    • sullivan's avatar
      Reviewed by Brady and Beth · eb7ed64e
      sullivan authored
              
              - fixed <rdar://problem/4912541> GMAIL: With selected text in a rich text message, choosing 
              "Search in Google" displays search results in the message body field
      
              * page/ContextMenuController.cpp:
              (WebCore::ContextMenuController::contextMenuItemSelected):
              Visit google URL in main frame rather than in current frame
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18683 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      eb7ed64e
    • hyatt's avatar
      Fix computed style errors for color properties that had invalid colors. · a8aa8e6f
      hyatt authored
              They should return the value of the 'color' property when their colors
              are not valid.
      
              Fixed the computed style value for border-top-color (a typo was causing it to
              use border-left-color instead).
      
              Implement outline-color computed style.
      
              Reviewed by harrison
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::currentColorOrValidColor):
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18682 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a8aa8e6f
    • weinig's avatar
      LayoutTests: · b1fe1b67
      weinig authored
              Reviewed by Darin and Eric.
      
              Fixes: http://bugs.webkit.org/show_bug.cgi?id=12150
              Corrected results for W3C's pservers-grad-16-b.
              Add a test for stop calues corner cases.
      
              * svg/W3C-SVG-1.1/pservers-grad-16-b-expected.checksum:
              * svg/W3C-SVG-1.1/pservers-grad-16-b-expected.png:
              * svg/W3C-SVG-1.1/pservers-grad-16-b-expected.txt:
              * svg/custom/gradient-stop-corner-cases-expected.checksum: Added.
              * svg/custom/gradient-stop-corner-cases-expected.png: Added.
              * svg/custom/gradient-stop-corner-cases-expected.txt: Added.
              * svg/custom/gradient-stop-corner-cases.svg: Added.
      
      WebCore:
      
              Reviewed by Darin and Eric.
      
              Fixes: http://bugs.webkit.org/show_bug.cgi?id=12150
              Handle correctly cases where no stops are defined, cases where a
              stop offset value is less than previous stops offset value, and cases
              where a stop offset value is greater than 1.0.
              
              * platform/graphics/svg/SVGPaintServerGradient.cpp:
              (WebCore::SVGPaintServerGradient::setGradientStops): Don't sort stops
              * platform/graphics/svg/cg/SVGPaintServerGradientCg.cpp:
              (WebCore::cgGradientCallback): When there are no stops, use a transparent
              fill
              (WebCore::SVGPaintServerGradient::updateQuartzGradientStopsCache):
              a stop offset must always be considered at greater or equal to all
              preceding stop offsets, but no more than 1.0
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18681 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      b1fe1b67
    • thatcher's avatar
      Reviewed by Geoff. · 90800ca3
      thatcher authored
              <rdar://problem/4865325> please re-add auto font activation support in WebKit
      
              * platform/mac/WebFontCache.mm:
              (+[WebFontCache fontWithFamily:traits:size:]):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18680 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      90800ca3
    • darin's avatar
      - turn off the Armenian part of this test for now, · c3358951
      darin authored
                since it gives different results with different fonts
      
              * fast/lists/w3-list-styles-expected.checksum:
              * fast/lists/w3-list-styles-expected.png:
              * fast/lists/w3-list-styles-expected.txt:
              * fast/lists/w3-list-styles.html:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18679 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      c3358951
    • bdakin's avatar
      Reviewed by Adam. · d4e6b9d3
      bdakin authored
              Fix for http://bugs.webkit.org/show_bug.cgi?id=12161 REGRESSION: 
              Crash when control-clicking on an image for contextual menu
      
              * WebView/WebHTMLView.m:
              (-[WebHTMLView menuForEvent:]): We need to nil-check coreMenu since 
              it will be nil if the DOM popped up a menu instead. I cleaned up 
              the function to make all the nil checks early returns instead of 
              nesting all of the content. Also moved the autorelease to be with 
              the creation of the menu instead of at the return.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18678 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      d4e6b9d3
    • weinig's avatar
      Reviewed by Adam. · 0a85c2e8
      weinig authored
              - http://bugs.webkit.org/show_bug.cgi?id=12143
                remove Widget code unneeded now that form elements do not use Widget
      
              * bindings/objc/DOMHTML.mm: (-[DOMHTMLSelectElement _activateItemAtIndex:]):
              Removed useless implementation that would only work with NSView-based
              <select> elements, and added a FIXME about the fact that this function
              doesn't do anything any more. I think it's used by Safari forms auto-fill.
      
              * bridge/mac/WebCoreAXObject.mm: (-[WebCoreAXObject rendererForView:]):
              Removed code that depends on elementForView:, since that always returns
              nil now.
      
              * html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::~HTMLFormElement):
              Use a formDestroyed() function rather than clearing m_form directly so that
              this class doesn't have to be a friend of HTMLGenericFormElement.
      
              * html/HTMLGenericFormElement.h: Removed now-unneeded friend declaration
              for HTMLFormElement. Moved definition of supportsFocus into the .cpp file.
              Added a public formDestroyed function for use by HTMLFormElement.
              * html/HTMLGenericFormElement.cpp:
              (WebCore::HTMLGenericFormElement::attach): Removed widget-specific code.
              (WebCore::HTMLGenericFormElement::isKeyboardFocusable): Ditto.
              (WebCore::HTMLGenericFormElement::isMouseFocusable): Ditto.
              (WebCore::HTMLGenericFormElement::supportsFocus): Added this here; it was
              in the header file before, for no good reason.
      
              * page/EventHandler.h: Removed unused Mac-specific
              currentEventIsMouseDownInWidget.
              * page/mac/EventHandlerMac.mm: Ditto.
      
              * page/Frame.cpp: (WebCore::Frame::frameForWidget): Changed to use
              RenderWidget to find the frame rather than the WigetClient element()
              function.
      
              * page/mac/FrameMac.h: Removed unused bridgeForWidget.
              * page/mac/FrameMac.mm: Ditto.
      
              * page/mac/WebCoreFrameBridge.h: Removed elementForView.
              * page/mac/WebCoreFrameBridge.mm: Ditto. While the scroll bar still did
              implement WebCoreWidgetHolder, it does not correspond to a DOM element,
              so this method was always returning nil.
      
              * platform/Widget.h: Moved unused types and functions that are still
              in the platform-specific implementations into a "to be deleted" section:
              FocusPolicy, NoFocus, TabFocus, ClickFocus, StrongFocus, WheelFocus,
              lockDrawingFocus, font, focusPolicy, hasFocus, clearFocus, setFont,
              disableFlushDrawing, enableFlushDrawing, unlockDrawingFocus.
              Removed unused functions that are not in platform-specific implementations:
              sizeHint, baselinePosition, checksDescendantsForFocus.
              * platform/Widget.cpp: Removed functions.
      
              * platform/WidgetClient.h: Emptied out the class. Soon we can delete it.
      
              * platform/mac/PlatformScrollBarMac.mm: (-[WebCoreScrollBar mouseDown:]):
              Got rid of unneeded includes, removed use of the WebCoreWidgetHolder
              protocol and the one method in it, and changed the calls to beforeMouseDown
              and afterMouseDown to pass the widget pointer in.
      
              * platform/mac/WebCoreWidgetHolder.h: Emptied out the file -- to be deleted
              later.
      
              * platform/mac/WidgetMac.mm:
              (WebCore::Widget::~Widget): Removed code to manage deferredFirstResponder.
              (WebCore::Widget::hasFocus): Removed body of function and replaced with
              an assertion that it's never called. Later we'll remove it.
              (WebCore::Widget::setFocus): Tweaked a bit to work given changes to the
              FrameMac class. Also added a FIXME. Given how this works, it does not
              belong in the platform layer.
              (WebCore::Widget::clearFocus): Removed body of function and replaced with
              an assertion that it's never called. Later we'll remove it.
              (WebCore::Widget::focusPolicy): Ditto.
              (WebCore::Widget::font): Ditto.
              (WebCore::Widget::setFont): Ditto.
              (WebCore::Widget::lockDrawingFocus): Ditto.
              (WebCore::Widget::unlockDrawingFocus): Ditto.
              (WebCore::Widget::disableFlushDrawing): Ditto.
              (WebCore::Widget::enableFlushDrawing): Ditto.
              (WebCore::Widget::paint): Removed obsolete comment.
              (WebCore::Widget::sendConsumedMouseUp): Removed body of function and replaced with
              an assertion that it's never called. Later we'll remove it.
              (WebCore::Widget::setIsSelected): Tweaked a bit to work given changes to the
              FrameMac class. Also added a FIXME. Given how this works, it does not
              belong in the platform layer.
              (WebCore::Widget::beforeMouseDown): Changed to take an explicit Widget parameter.
              (WebCore::Widget::afterMouseDown): Ditto.
      
              * rendering/RenderApplet.cpp:
              (WebCore::RenderApplet::intrinsicWidth): Changed to not call sizeHint() any more.
              I didn't change the values returned by the function, but they make no sense and
              this should probably be fixed later.
              (WebCore::RenderApplet::intrinsicHeight): Ditto.
      
              * rendering/RenderWidget.h: Removed unneeded WidgetClient.h include. Changed
              RenderWidget to no longer inherit from WidgetClient. Added a find function to find
              a RenderWidget given a Widget. Removed all the virtual functions that override
              WidgetClient hooks.
              * rendering/RenderWidget.cpp: Removed all the WidgetClient functions.
              (WebCore::widgetRendererMap): Added. Map that gives the RenderWidget for each
              Widget that is owned by a RenderWidget.
              (WebCore::RenderWidget::destroy): Removed the setClient call and added a call to
              remove the widget from the widgetRendererMap.
              (WebCore::RenderWidget::setWidget): Ditto.
              (WebCore::RenderWidget::setStyle): Removed the call to Widget::setFont.
              (WebCore::RenderWidget::find): Added. Returns the RenderWidget for a Widget, if any.
      
              - other changes
      
              * dom/Node.cpp:
              (WebCore::Node::dump): Removed unnecessary use of DeprecatedString.
              (WebCore::appendAttributeDesc): Ditto.
              (WebCore::Node::showNode): Ditto.
              (WebCore::Node::formatForDebugger): Ditto.
      
              * loader/CachedImage.cpp: (WebCore::CachedImage::createImage): Cleaned up
              conditional compilation so adding more MIME types here doesn't make the
              function more and more difficult to read.
      
              * page/Frame.h: Removed unneeded includes and declarations.
              Tweaked formatting.
              * page/Page.h: Removed unneeded declarations.
              * platform/ScrollView.h: Removed unneeded includes.
      
              * rendering/RenderBlock.cpp: (WebCore::RenderBlock::renderName): Tweaked formatting.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18677 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0a85c2e8
    • weinig's avatar
      Reviewed by Darin. · f5d78838
      weinig authored
              - fix http://bugs.webkit.org/show_bug.cgi?id=12162
                The inheritableProperties array is duplicated
      
              No test possible (no change to functionality).
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::removeComputedInheritablePropertiesFrom): Added.
              Removes the inheritable properties that CSSComputedStyleDeclaration knows how to compute
              from the given mutable declaration.
              * css/CSSComputedStyleDeclaration.h:
              * css/CSSMutableStyleDeclaration.cpp: Removed one copy of the inheritableProperties array.
              * css/CSSMutableStyleDeclaration.h:
              * editing/ReplaceSelectionCommand.cpp:
              (WebCore::ReplaceSelectionCommand::removeRedundantStyles): Changed to call
              CSSComputedStyleDeclaration::removeComputedInheritablePropertiesFrom.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18676 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      f5d78838
    • ap's avatar
      Reviewed by Darin. · 8063b91b
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=12099
              XMLHttpRequest shouldn't honor a charset specified via setRequestHeader
      
              Test: http/tests/xmlhttprequest/request-encoding.html
      
              * xml/xmlhttprequest.cpp:
              (WebCore::XMLHttpRequest::send): Don't try to get the charset from Content-Type. Keep checking 
              for unknown charsets, because that will be needed again when we start using document.xmlEncoding.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18675 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      8063b91b
    • ap's avatar
      Reviewed by Darin. · 7c6963b7
      ap authored
              http://bugs.webkit.org/show_bug.cgi?id=7640
              Menu items are displayed as "undefined"
      
      WebCore:
              * bindings/js/kjs_dom.cpp:
              (KJS::DOMNodeProtoFunc::callAsFunction):
              * bindings/js/kjs_domnode.h:
              (KJS::DOMNode::):
              Removed Node::item. No idea why it was there in the first place.
      
              * bindings/js/kjs_html.cpp:
              (KJS::HTMLElementFunction::callAsFunction):
              * bindings/js/kjs_html.h:
              (KJS::JSHTMLElement::):
              Added HTMLSelectElement::item. It is not in DOM2 IDL, but the spec seems to mentions it anyway:
              "The contained options can be directly accessed through the select element as a collection."
      
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::namedItem):
              (WebCore::HTMLSelectElement::item):
              * html/HTMLSelectElement.h:
              * html/HTMLSelectElement.idl:
              Added this method to DOM and IDL, too. Made namedItem() non-virtual.
      
      LayoutTests:
              * fast/dom/Window/window-properties-expected.txt: Updated the results.
      
              * fast/dom/node-item-expected.txt: Added.
              * fast/dom/node-item.html: Added.
              Check that there is no Node:item or HTMLElement:item.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18674 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7c6963b7
    • bdakin's avatar
      Reviewed by Maciej. · 6003944f
      bdakin authored
              Fix for <rdar://problem/4912254> REGRESSION: After copying text to 
              the clipboard, the paste contextual remains dimmed when it should
              be active
      
              No layout test for context menu problems.
      
              * platform/ContextMenu.cpp:
              (WebCore::ContextMenu::checkOrEnableIfNeeded): Remove check to see 
              if the content is richly editable; it only has to be regular 
              editable and the call to canPaste() takes care of that.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18673 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6003944f
    • weinig's avatar
      Reviewed by Mitz. · 271eeeb6
      weinig authored
              Attempt to fix build for buildbots.
      
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::columnGap):
              (WebCore::RenderBlock::calcColumnWidth):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18672 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      271eeeb6
    • darin's avatar
      LayoutTests: · 63e829f2
      darin authored
              - added a W3C list style test that was cited in a bug
      
              * fast/lists/w3-list-styles-expected.checksum: Added.
              * fast/lists/w3-list-styles-expected.png: Added.
              * fast/lists/w3-list-styles-expected.txt: Added.
              * fast/lists/w3-list-styles.html: Added.
      
      WebCore:
      
              Reviewed by Maciej.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=3232
                CSS2: Web Kit does not support all list style types
      
              Test case showed problems in cjk-ideographic and hebrew
              Test: fast/lists/w3-list-styles.html
      
              * rendering/RenderListMarker.cpp:
              (WebCore::toCJKIdeographic): Fix the algorithm so it doesn't include leading zeroes.
              I had misread the part that says you start with the decimal form of the number.
              Fix an assertion that was too stringent. Fix the code to collapse consecutive zeroes
              so that it doesn't get confused by intervening "noChar" characters.
              (WebCore::RenderListMarker::paint): Reverse the text before painting if the first character's
              direction is right to left.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18671 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      63e829f2
    • darin's avatar
      LayoutTests: · 86430818
      darin authored
              Reviewed by Beth.
      
              - http://bugs.webkit.org/show_bug.cgi?id=12142
                render tree dump for test results should include the value of list markers
      
              * css1/basic/class_as_selector-expected.txt:
              * css1/basic/containment-expected.txt:
              * css1/basic/contextual_selectors-expected.txt:
              * css1/basic/id_as_selector-expected.txt:
              * css1/box_properties/border_bottom-expected.txt:
              * css1/box_properties/border_left-expected.txt:
              * css1/box_properties/border_right_inline-expected.txt:
              * css1/box_properties/border_top-expected.txt:
              * css1/box_properties/clear_float-expected.txt:
              * css1/box_properties/margin-expected.txt:
              * css1/box_properties/margin_bottom-expected.txt:
              * css1/box_properties/margin_left-expected.txt:
              * css1/box_properties/margin_right-expected.txt:
              * css1/box_properties/margin_top-expected.txt:
              * css1/box_properties/padding_left-expected.txt:
              * css1/box_properties/padding_right-expected.txt:
              * css1/cascade/cascade_order-expected.txt:
              * css1/classification/display-expected.txt:
              * css1/classification/list_style-expected.txt:
              * css1/classification/list_style_image-expected.txt:
              * css1/classification/list_style_position-expected.txt:
              * css1/classification/list_style_type-expected.txt:
              * css1/conformance/forward_compatible_parsing-expected.txt:
              * css1/pseudo/anchor-expected.txt:
              * css2.1/t0402-c71-fwd-parsing-02-f-expected.txt:
              * css2.1/t0505-c16-descendant-01-e-expected.txt:
              * css2.1/t050803-c14-classes-00-e-expected.txt:
              * css2.1/t0509-c15-ids-01-e-expected.txt:
              * css2.1/t0805-c5518-brdr-t-01-e-expected.txt:
              * css2.1/t0805-c5519-brdr-r-02-e-expected.txt:
              * css2.1/t0805-c5520-brdr-b-01-e-expected.txt:
              * css2.1/t0805-c5521-brdr-l-02-e-expected.txt:
              * css2.1/t1205-c561-list-displ-00-b-expected.txt:
              * css2.1/t1205-c563-list-type-00-b-expected.txt:
              * css2.1/t1205-c563-list-type-01-b-expected.txt:
              * css2.1/t1205-c564-list-img-00-b-g-expected.txt:
              * css2.1/t1205-c565-list-pos-00-b-expected.txt:
              * css2.1/t1205-c566-list-stl-00-e-ag-expected.txt:
              * editing/deleting/4866671-expected.txt:
              * editing/deleting/delete-first-list-item-expected.txt:
              * editing/deleting/delete-link-1-expected.txt:
              * editing/deleting/delete-listitem-002-expected.txt:
              * editing/deleting/list-item-1-expected.txt:
              * editing/deleting/merge-into-empty-block-2-expected.txt:
              * editing/execCommand/4641880-1-expected.txt:
              * editing/execCommand/create-list-from-range-selection-expected.txt:
              * editing/execCommand/create-list-with-hr-expected.txt:
              * editing/execCommand/indent-list-item-expected.txt:
              * editing/execCommand/indent-selection-expected.txt:
              * editing/execCommand/insert-list-and-stitch-expected.txt:
              * editing/execCommand/remove-list-from-range-selection-expected.txt:
              * editing/execCommand/remove-list-item-1-expected.txt:
              * editing/execCommand/remove-list-items-expected.txt:
              * editing/execCommand/switch-list-type-expected.txt:
              * editing/inserting/insert-div-022-expected.txt:
              * editing/inserting/insert-div-023-expected.txt:
              * editing/inserting/insert-div-024-expected.txt:
              * editing/pasteboard/4861080-expected.txt:
              * editing/pasteboard/drop-link-expected.txt:
              * editing/pasteboard/innerText-inline-table-expected.txt:
              * editing/pasteboard/input-field-1-expected.txt:
              * editing/pasteboard/merge-end-list-expected.txt:
              * editing/pasteboard/merge-start-list-expected.txt:
              * editing/pasteboard/paste-4039777-fix-expected.txt:
              * editing/pasteboard/paste-list-001-expected.txt:
              * editing/pasteboard/select-element-1-expected.txt:
              * editing/selection/drag-to-contenteditable-iframe-expected.txt:
              * editing/selection/extend-by-word-002-expected.txt:
              * editing/selection/move-by-line-002-expected.txt:
              * editing/selection/select-all-iframe-expected.txt:
              * editing/selection/selectNode-expected.txt:
              * editing/selection/selectNodeContents-expected.txt:
              * editing/unsupported-content/list-delete-001-expected.txt:
              * editing/unsupported-content/list-type-after-expected.txt:
              * editing/unsupported-content/list-type-before-expected.txt:
              * fast/backgrounds/repeat/noRepeatCorrectClip-expected.txt:
              * fast/block/float/014-expected.txt:
              * fast/css-generated-content/009-expected.txt:
              * fast/css/001-expected.txt:
              * fast/css/continuationCrash-expected.txt:
              * fast/css/css2-system-fonts-expected.txt:
              * fast/css/css3-modsel-22-expected.txt:
              * fast/css/list-outline-expected.txt:
              * fast/doctypes/001-expected.txt:
              * fast/doctypes/002-expected.txt:
              * fast/doctypes/003-expected.txt:
              * fast/doctypes/004-expected.txt:
              * fast/dom/Window/window-onFocus-expected.txt:
              * fast/forms/form-hides-table-expected.txt:
              * fast/forms/plaintext-mode-2-expected.txt:
              * fast/lists/001-expected.txt:
              * fast/lists/002-expected.txt:
              * fast/lists/003-expected.txt:
              * fast/lists/004-expected.txt:
              * fast/lists/005-expected.txt:
              * fast/lists/006-expected.txt:
              * fast/lists/007-expected.txt:
              * fast/lists/008-expected.txt:
              * fast/lists/alpha-list-wrap-expected.txt:
              * fast/lists/decimal-leading-zero-expected.txt:
              * fast/lists/drag-into-marker-expected.txt:
              * fast/lists/dynamic-marker-crash-expected.txt:
              * fast/lists/inlineBoxWrapperNullCheck-expected.txt:
              * fast/lists/li-br-expected.txt:
              * fast/lists/li-style-alpha-huge-value-crash-expected.txt:
              * fast/lists/li-values-expected.txt:
              * fast/lists/markers-in-selection-expected.txt:
              * fast/lists/numeric-markers-outside-list-expected.txt:
              * fast/lists/ol-display-types-expected.txt:
              * fast/lists/olstart-expected.txt:
              * fast/lists/ordered-list-with-no-ol-tag-expected.txt:
              * fast/lists/scrolled-marker-paint-expected.txt:
              * fast/overflow/overflow-rtl-expected.txt:
              * fast/selectors/001-expected.txt:
              * fast/selectors/013-expected.txt:
              * fast/selectors/015-expected.txt:
              * fast/selectors/166-expected.txt:
              * fast/table/018-expected.txt:
              * fast/table/form-with-table-style-expected.txt:
              * fast/text/whitespace/tab-character-basics-expected.txt:
              * fast/tokenizer/004-expected.txt:
              * tables/mozilla/bugs/bug23235-expected.txt:
              * tables/mozilla/bugs/bug30692-expected.txt:
              * tables/mozilla/bugs/bug3191-expected.txt:
              * tables/mozilla/bugs/bug32205-2-expected.txt:
              * tables/mozilla/marvin/backgr_index-expected.txt:
              * tables/mozilla/marvin/backgr_layers-opacity-expected.txt:
              * tables/mozilla/marvin/x_table-expected.txt:
              * tables/mozilla/other/wa_table_thtd_rowspan-expected.txt:
              * tables/mozilla/other/wa_table_tr_align-expected.txt:
              * tables/mozilla_expected_failures/bugs/bug1010-expected.txt:
              * tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
              * tables/mozilla_expected_failures/marvin/backgr_layers-show-expected.txt:
              * traversal/stay-within-root-expected.txt:
      
      WebCore:
      
              Reviewed by Beth.
      
              - http://bugs.webkit.org/show_bug.cgi?id=12142
                render tree dump for test results should include the value of list markers
      
              * rendering/RenderTreeAsText.cpp:
              (WebCore::getTagName): Changed to use String instead of DeprecatedString.
              (WebCore::quoteAndEscapeNonPrintables): Ditto. Also moved up so it can be used
              in the operator below.
              (WebCore::operator<<): Added clause for RenderListMarker that dumps the value
              of the list marker's text.
              (WebCore::nodePosition): Changed to use String instead of DeprecatedString.
              * rendering/SVGRenderTreeAsText.cpp:
              (WebCore::TextStreamSeparator::TextStreamSeparator): Changed to use String
              instead of DeprecatedString.
              (WebCore::getTagName): Ditto.
              (WebCore::write): Ditto.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18670 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      86430818
    • weinig's avatar
      Reviewed by ap and the rubber stamp of Maciej. · 0cd5f096
      weinig authored
              Patch for http://bugs.webkit.org/show_bug.cgi?id=12164
              Cleanup Tokenizers
      
              - Moves Tokenizer class into its own file.
              - Move XMLTokenizer declaration from XMLTokenizer.cpp to XMLTokenizer.h
              - Fixup #includes.
      
              * WebCore.xcodeproj/project.pbxproj:
              * dom/Document.cpp:
              (WebCore::Document::createTokenizer):
              * dom/Tokenizer.h: Added.
              (WebCore::Tokenizer::Tokenizer):
              (WebCore::Tokenizer::~Tokenizer):
              (WebCore::Tokenizer::stopParsing):
              (WebCore::Tokenizer::processingData):
              (WebCore::Tokenizer::executingScript):
              (WebCore::Tokenizer::wantsRawData):
              (WebCore::Tokenizer::writeRawData):
              (WebCore::Tokenizer::inViewSourceMode):
              (WebCore::Tokenizer::setInViewSourceMode):
              (WebCore::Tokenizer::wellFormed):
              (WebCore::Tokenizer::lineNumber):
              (WebCore::Tokenizer::columnNumber):
              * dom/XMLTokenizer.cpp:
              * dom/XMLTokenizer.h:
              (WebCore::XMLTokenizer::):
              (WebCore::XMLTokenizer::setIsXHTMLDocument):
              (WebCore::XMLTokenizer::isXHTMLDocument):
              (WebCore::XMLTokenizer::wellFormed):
              * html/HTMLElement.cpp:
              * html/HTMLTokenizer.h:
              (WebCore::Token::reset):
              (WebCore::HTMLTokenizer::checkBuffer):
              (WebCore::HTMLTokenizer::checkScriptBuffer):
              (WebCore::HTMLTokenizer::State::State):
              (WebCore::HTMLTokenizer::State::setBit):
              * xml/XSLTProcessor.cpp:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18669 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0cd5f096
    • weinig's avatar
      LayoutTests: · 72bceeeb
      weinig authored
              Reviewed by Tim H.
      
              Update results to include -webkit-box-shadow.
      
              * fast/css/computed-style-expected.txt:
      
      WebCore:
      
              Reviewed by Tim H.
      
              Adds -webkit-box-shadow to list of computable styles.
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::):
      
      WebKit:
      
              Reviewed by Tim H.
      
              Adds default value for -webkit-box-shadow and fixes default
              value of -webkit-column-count to be "auto".  Also sorts the
              list of defaults.
      
              * WebInspector/webInspector/inspector.js:
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18666 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      72bceeeb
    • rwlbuis's avatar
      Reviewed by bdash. · a3d154b9
      rwlbuis authored
              Initialize the member vars, fixes testcases
              pointer-events-path.svg and pointer-events-text.svg
              on the PPC build.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18665 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a3d154b9
    • bdash's avatar
      2007-01-08 Andrew Wellington <proton@wiretapped.net> · 819b0aa1
      bdash authored
              Reviewed by Mark.
      
              * WebInspector/webInspector/inspector.js: Hide default values of
              -webkit-column styles in WebInspector.
      2007-01-08  Andrew Wellington  <proton@wiretapped.net>
      
              Reviewed by Mark.
      
              * fast/css/computed-style-expected.txt: Update results to include
              -webkit-column styles.
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18664 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      819b0aa1
    • hyatt's avatar
      This patch computes the correct column width and column count. It... · 6ad575d2
      hyatt authored
              This patch computes the correct column width and column count.  It ensures that content lays out constrained
              to the column width in one long strip.  It does not yet balance the long strip into multiple columns.
      
              Reviewed by Mark
      
              * rendering/RenderBlock.cpp:
              (WebCore:::RenderFlow):
              (WebCore::RenderBlock::layoutBlock):
              (WebCore::RenderBlock::rightOffset):
              (WebCore::RenderBlock::availableWidth):
              (WebCore::RenderBlock::columnGap):
              (WebCore::RenderBlock::calcColumnWidth):
              * rendering/RenderBlock.h:
              * rendering/RenderStyle.h:
              (WebCore::RenderStyle::setColumnWidth):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18663 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      6ad575d2
    • hyatt's avatar
      Fix column-count so that it supports auto just like column-width does. · e6fa1307
      hyatt authored
              Add a new function, availableWidth(), that will be used to return the width available to content placed inside
              a block.  For now it still returns contentWidth(), so no behavioral change has occurred yet.
      
              Subclass calcWidth() in RenderBlock, but don't change anything yet.  This is where RenderBlock will calc the
              correct column width.
      
              Reviewed by mark
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * rendering/RenderBlock.cpp:
              (WebCore::RenderBlock::leftRelOffset):
              (WebCore::RenderBlock::rightRelOffset):
              (WebCore::RenderBlock::getClearDelta):
              (WebCore::RenderBlock::availableWidth):
              (WebCore::RenderBlock::calcWidth):
              * rendering/RenderBlock.h:
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::containingBlockWidth):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::containingBlockWidth):
              (WebCore::RenderObject::paddingTop):
              (WebCore::RenderObject::paddingBottom):
              (WebCore::RenderObject::paddingLeft):
              (WebCore::RenderObject::paddingRight):
              * rendering/RenderObject.h:
              (WebCore::RenderObject::availableWidth):
              * rendering/RenderStyle.cpp:
              (WebCore::StyleMultiColData::StyleMultiColData):
              (WebCore::StyleMultiColData::operator==):
              * rendering/RenderStyle.h:
              (WebCore::RenderStyle::hasAutoColumnCount):
              (WebCore::RenderStyle::setColumnCount):
              (WebCore::RenderStyle::setHasAutoColumnCount):
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::calcWidth):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18662 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      e6fa1307
    • hyatt's avatar
      LayoutTests: · 48a005cb
      hyatt authored
              Add layout test for inheritance of auto z-index.
      
              Reviewed by eric
      
              * fast/layers/zindex-inherit-expected.checksum: Added.
              * fast/layers/zindex-inherit-expected.png: Added.
              * fast/layers/zindex-inherit-expected.txt: Added.
              * fast/layers/zindex-inherit.html: Added.
      
      WebCore:
      
              Fix z-index:inherit so that it works properly when inheriting from z-index:auto.
      
              Reviewed by eric
      
              fast/layers/zindex-inherit.html
      
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18661 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      48a005cb
    • hyatt's avatar
      Add support for all of the CSS3 multi-column properties in preparation for implementing the · 7d3685d0
      hyatt authored
              feature.
      
              Reviewed by eric
      
              * css/CSSComputedStyleDeclaration.cpp:
              (WebCore::):
              (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
              * css/CSSMutableStyleDeclaration.cpp:
              (WebCore::):
              * css/CSSPropertyNames.in:
              * css/cssparser.cpp:
              (WebCore::CSSParser::parseValue):
              * css/cssstyleselector.cpp:
              (WebCore::CSSStyleSelector::applyProperty):
              * rendering/RenderStyle.cpp:
              (WebCore::StyleMultiColData::StyleMultiColData):
              (WebCore::StyleMultiColData::operator==):
              (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
              (WebCore::StyleRareNonInheritedData::operator==):
              (WebCore::RenderStyle::RenderStyle):
              (WebCore::RenderStyle::diff):
              * rendering/RenderStyle.h:
              (WebCore::StyleMultiColData::operator!=):
              (WebCore::StyleMultiColData::ruleWidth):
              (WebCore::RenderStyle::columnWidth):
              (WebCore::RenderStyle::hasAutoColumnWidth):
              (WebCore::RenderStyle::columnCount):
              (WebCore::RenderStyle::columnGap):
              (WebCore::RenderStyle::hasAutoColumnGap):
              (WebCore::RenderStyle::columnRuleColor):
              (WebCore::RenderStyle::columnRuleStyle):
              (WebCore::RenderStyle::columnRuleWidth):
              (WebCore::RenderStyle::columnBreakBefore):
              (WebCore::RenderStyle::columnBreakInside):
              (WebCore::RenderStyle::columnBreakAfter):
              (WebCore::RenderStyle::setColumnWidth):
              (WebCore::RenderStyle::setHasAutoColumnWidth):
              (WebCore::RenderStyle::setColumnCount):
              (WebCore::RenderStyle::setColumnGap):
              (WebCore::RenderStyle::setHasAutoColumnGap):
              (WebCore::RenderStyle::setColumnRuleColor):
              (WebCore::RenderStyle::setColumnRuleStyle):
              (WebCore::RenderStyle::setColumnRuleWidth):
              (WebCore::RenderStyle::resetColumnRule):
              (WebCore::RenderStyle::setColumnBreakBefore):
              (WebCore::RenderStyle::setColumnBreakInside):
              (WebCore::RenderStyle::setColumnBreakAfter):
              (WebCore::RenderStyle::initialColumnCount):
              (WebCore::RenderStyle::initialColumnWidth):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18660 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7d3685d0
    • rwlbuis's avatar
      Reviewed by Eric. · 67a02b83
      rwlbuis authored
              http://bugzilla.opendarwin.org/show_bug.cgi?id=10587
              pointer-events is not implemented for RenderSVGImage or RenderSVGText
              Implement pointer-events for raster images and svg text.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18659 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      67a02b83
    • ddkilzer's avatar
      JavaScriptCore: · 0e87cfc4
      ddkilzer authored
              Reviewed by Darin.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=11917
                setlocale() can return null
      
              * kjs/date_object.cpp:
              (KJS::DateProtoFunc::callAsFunction): Removed dead code.
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18658 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      0e87cfc4
    • ddkilzer's avatar
      JavaScriptCore: · 16ecd3de
      ddkilzer authored
              Reviewed by Darin.
      
              - fix http://bugs.webkit.org/show_bug.cgi?id=12100
                JNI bindings should be available to non-Mac platforms that have JNI
      
              Change JNI so that it is not wrapped in the PLATFORM(MAC) ifdef, enabling
              other platforms who have JNI to use it.
      
              * bindings/jni/jni_instance.h:  
                Removed unnecessary include of <CoreFoundation/CoreFoundation.h>
              * bindings/jni/jni_utility.cpp:
              (KJS::Bindings::setJavaVM):
              * bindings/jni/jni_utility.h:
                Added new method for clients to set the JavaVM
              * bindings/runtime.cpp:
              (KJS::Bindings::Instance::createBindingForLanguageInstance):
                Changed code to utilize new #if HAVE(JNI)
              * kjs/config.h:
                Added new #define for JNI, ie HAVE_JNI
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18657 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      16ecd3de
    • ddkilzer's avatar
      JavaScriptCore: · a7908324
      ddkilzer authored
              Reviewed by Darin.
      
              Fix http://bugs.webkit.org/show_bug.cgi?id=11431
              ARM platform has some byte alignment issues
      
              Fix for NaN being 4 bytes and it must start on a byte boundary
              for ARM architectures.
      
              * kjs/fpconst.cpp:
              (KJS::):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18656 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      a7908324
    • hyatt's avatar
      Fix a regression where border-radius was not clipping the background... · 7bdab2af
      hyatt authored
              Fix a regression where border-radius was not clipping the background when border was set to none.
              Fix multi-line inline flow painting to properly apply border-radius to the background only at the
              beginning of the first line and end of the last line.
      
              Reviewed by eric
      
              * rendering/InlineFlowBox.cpp:
              (WebCore::InlineFlowBox::paintBackground):
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::paintBackground):
              (WebCore::RenderBox::paintBackgroundExtended):
              * rendering/RenderBox.h:
              * rendering/RenderObject.h:
              (WebCore::RenderObject::paintBackgroundExtended):
      
      
      
      git-svn-id: svn://svn.chromium.org/blink/trunk@18655 bbb929c8-8fbe-4397-9dbb-9b2b20218538
      7bdab2af