1. 09 Dec, 2010 9 commits
    • commit-queue@webkit.org's avatar
      2010-12-09 Joone Hur <joone@kldp.org> · 7a9a1855
      commit-queue@webkit.org authored
              Reviewed by Martin Robinson.
      
              [GTK] Support for viewport meta tag
              https://bugs.webkit.org/show_bug.cgi?id=45443
      
              Included viewport test cases for WebKitGtk
      
              * platform/gtk/Skipped: Unskip fast/viewport except viewport-45.html.
      2010-12-09  Joone Hur  <joone@kldp.org>
      
              Reviewed by Martin Robinson.
      
              [GTK] Support for viewport meta tag
              https://bugs.webkit.org/show_bug.cgi?id=45443
      
              This patch adds a new gobject to offer the viewport properties to user agents.
              It is WebKitViewportAttributes that contains the viewport size, initial scale with limits,
              and information about whether a user is able to scale the contents in the viewport.
      
              This feature was introduced by Safari on the iPhone. For more information on
              the viewport properties, refer to the Safari reference library at
              http://developer.apple.com/safari/library/documentation/appleapplications/reference/safarihtmlref/articles/metatags.html
      
              * GNUmakefile.am: Added webkitviewportattributes.h webkitviewportattributes.cpp.
              * WebCoreSupport/ChromeClientGtk.cpp:
              (WebKit::ChromeClient::dispatchViewportDataDidChange): Added this callback to know whether the viewport arguments is available.
              * WebCoreSupport/ChromeClientGtk.h:
              * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
              (DumpRenderTreeSupportGtk::dumpConfigurationForViewport): Added this function to compute the viewport attributes with the given availableWidth and availableHeight.
              * WebCoreSupport/DumpRenderTreeSupportGtk.h:
              * WebCoreSupport/FrameLoaderClientGtk.cpp:
              (WebKit::postCommitFrameViewSetup): Invalidate the viewport attributes.
              * webkit/webkit.h:
              * webkit/webkitdefines.h:
              * webkit/webkitprivate.h: Added webkitViewportAttributesRecompute as a private function.
              * webkit/webkitviewportattributes.cpp: Added.
              (webkit_viewport_attributes_class_init):
              (webkit_viewport_attributes_init):
              (webkit_viewport_attributes_get_property):
              (webkit_viewport_attributes_set_property):
              (webkitViewportAttributesRecompute): Recompute the optimal viewport attributes and emit the viewport-attributes-changed signal.
              (webkit_viewport_attributes_recompute): a public API for calling webkitViewportAttributesRecompute.
              * webkit/webkitviewportattributes.h: Added.
              * webkit/webkitwebview.cpp:
              (webkit_web_view_get_property): Added PROP_VIEWPORT_ATTRIBUTES.
              (webkit_web_view_dispose): Deallocate the WebKitViewportAttributes instance.
              (webkit_web_view_class_init): Added the viewport-attributes-recompute-requested and viewport-attributes-changed signals.
              (webkit_web_view_init): Set the WebKitViewportAttributes instance.
              (webkit_web_view_get_viewport_attributes): Added a getter to obtain the WebKitViewportAttributes instance held by the given WebKitWebView.
              * webkit/webkitwebview.h:
              * webkit/webkitwebviewprivate.h: Added WebKitViewportAttributes as a private variable.
      2010-12-09  Joone Hur  <joone@kldp.org>
      
               Reviewed by Martin Robinson.
      
               [GTK] Support for viewport meta tag
               https://bugs.webkit.org/show_bug.cgi?id=45443
      
               Add support for testing the viewport properties for WebKitGtk.
      
               * DumpRenderTree/LayoutTestController.cpp:
               (dumpConfigurationForViewportCallback): Added this JS callback to set the size of the visible viewport.
               (LayoutTestController::staticFunctions):
               * DumpRenderTree/LayoutTestController.h:
               * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
               (LayoutTestController::dumpConfigurationForViewport): Added this function to test the viewport properties.
               * DumpRenderTree/mac/LayoutTestControllerMac.mm:
               (LayoutTestController::dumpConfigurationForViewport): Ditto.
               * DumpRenderTree/qt/LayoutTestControllerQt.cpp:
               (LayoutTestController::dumpConfigurationForViewport): Ditto.
               * DumpRenderTree/win/LayoutTestControllerWin.cpp:
               (LayoutTestController::dumpConfigurationForViewport): Ditto.
               * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
               (LayoutTestController::dumpConfigurationForViewport): Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73608 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a9a1855
    • yurys@chromium.org's avatar
      2010-12-09 Yury Semikhatsky <yurys@chromium.org> · bb594650
      yurys@chromium.org authored
              Reviewed by Pavel Feldman.
      
              Web Inspector: Console records for failed XHRs should contain call stack and request method
              https://bugs.webkit.org/show_bug.cgi?id=50390
      
              The expectations needed update ue to log format changes.
      
              * http/tests/inspector-enabled/console-log-before-frame-navigation-expected.txt:
              * http/tests/inspector/console-resource-errors-expected.txt:
              * http/tests/inspector/console-xhr-logging-expected.txt:
              * platform/chromium/http/tests/inspector/console-resource-errors-expected.txt: Added.
              * platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt: Copied from LayoutTests/http/tests/inspector/console-xhr-logging-expected.txt.
      2010-12-09  Yury Semikhatsky  <yurys@chromium.org>
      
              Reviewed by Pavel Feldman.
      
              Web Inspector: Console records for failed XHRs should contain call stack and request method
              https://bugs.webkit.org/show_bug.cgi?id=50390
      
              When inspector front-end is open we capture call stack at the place where request is sent and
              pass the stack along with other request data. There is a new type of console messages which
              is NetworkErrorMessageType, all messages of that type will have requestId field initialized
              with the corresponding network request identifier so that later on when we need to display
              that message in the front-end we could pull request data from the Network panel using
              this identifier. If there are no data for given requestId message formatting falls back to
              the old implementation which lacks such things as call stack, request method and exact
              source location.
      
              * inspector/ConsoleMessage.cpp:
              (WebCore::ConsoleMessage::ConsoleMessage):
              (WebCore::ConsoleMessage::addToFrontend):
              (WebCore::ConsoleMessage::isEqual):
              * inspector/ConsoleMessage.h:
              * inspector/Inspector.idl:
              * inspector/InspectorController.cpp:
              (WebCore::InspectorController::didReceiveResponse):
              (WebCore::InspectorController::didFailLoading):
              * inspector/InspectorResourceAgent.cpp:
              (WebCore::InspectorResourceAgent::identifierForInitialRequest):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleView.prototype.updateMessageRepeatCount):
              (WebInspector.ConsoleMessage):
              (WebInspector.ConsoleMessage.prototype._formatMessage):
              (WebInspector.ConsoleMessage.prototype.toMessageElement):
              (WebInspector.ConsoleMessage.prototype.toString):
              (WebInspector.ConsoleMessage.prototype.isEqual):
              * inspector/front-end/ResourceManager.js:
              (WebInspector.ResourceManager.prototype.identifierForInitialRequest):
              * inspector/front-end/inspector.js:
              (WebInspector.addConsoleMessage):
              * page/Console.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73607 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bb594650
    • commit-queue@webkit.org's avatar
      2010-12-09 Dai Mikurube <dmikurube@google.com> · a259a13f
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              Implement "required" attribute for select tags
              https://bugs.webkit.org/show_bug.cgi?id=50380
      
              Added tests for require attributes, valueMissing and vadility check for select elements.
      
              * fast/forms/ValidityState-valueMissing-001-expected.txt:
              * fast/forms/ValidityState-valueMissing-001.html:
              * fast/forms/ValidityState-valueMissing-002-expected.txt:
              * fast/forms/ValidityState-valueMissing-002.html:
              * fast/forms/ValidityState-valueMissing-003-expected.txt:
              * fast/forms/ValidityState-valueMissing-003.html:
              * fast/forms/checkValidity-002-expected.txt:
              * fast/forms/checkValidity-002.html:
              * fast/forms/required-attribute-001-expected.txt:
              * fast/forms/required-attribute-001.html:
              * fast/forms/required-attribute-002-expected.txt:
              * fast/forms/required-attribute-002.html:
              * fast/forms/resources/select-live-pseudo-selectors.js: Added.
              (makeInvalid):
              (appendOption):
              (backgroundOf):
              * fast/forms/script-tests/validationMessage.js:
              * fast/forms/select-live-pseudo-selectors-expected.txt: Added.
              * fast/forms/select-live-pseudo-selectors.html: Added.
              * fast/forms/validationMessage-expected.txt:
              * platform/mac/fast/objc/dom-html-select-live-pseudo-selectors.html: Added.
              * platform/mac/fast/objc/dom-html-select-live-pseudo-selectors-expected.txt: Added.
      2010-12-09  Dai Mikurube  <dmikurube@google.com>
      
              Reviewed by Kent Tamura.
      
              Implement "required" attribute for select tags
              https://bugs.webkit.org/show_bug.cgi?id=50380
      
              Test: fast/forms/select-live-pseudo-selectors.html
                    platform/mac/fast/objc/dom-html-select-live-pseudo-selectors.html
      
              * dom/SelectElement.cpp:
              (WebCore::SelectElement::updateValidity): Added. It's a pure virtual function which is prepared so that HTMLSelectElement::updateValidity() calls HTMLSelectElement::setNeedsValidityCheck().
              (WebCore::SelectElement::parseMultipleAttribute): Added calling updateValidity().
              * html/HTMLSelectElement.cpp:
              (WebCore::HTMLSelectElement::deselectItems): Added calling setNeedsValidityCheck() to enable validity check after changing. No tests for this change since this function is not exposed to JavaScript or any web interface.
              (WebCore::HTMLSelectElement::setSelectedIndex): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::setSelectedIndexByUser): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::valueMissing): Added valueMissing() to check if selecting an invalid or placeholder label option when a valid required attribute is specified.
              (WebCore::HTMLSelectElement::listBoxSelectItem): Added calling setNeedsValidityCheck(). No tests for this change since it is not called yet. Look at the bug 36177 and the changeset 56180.
              (WebCore::HTMLSelectElement::add): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::remove): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::restoreFormControlState): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::parseMappedAttribute): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::selectAll): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::reset): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::updateListBoxSelection): Added calling setNeedsValidityCheck(). Skipped adding tests for this change as too complicated..
              (WebCore::HTMLSelectElement::setLength): Added calling setNeedsValidityCheck().
              (WebCore::HTMLSelectElement::isRequiredFormControl): Check if required or not.
              (WebCore::HTMLSelectElement::hasPlaceholderLabelOption): Added.
              (WebCore::HTMLSelectElement::updateValidity): Added. It calls setNeedsValidityCheck().
              * html/HTMLSelectElement.h:
              (WebCore::HTMLSelectElement::isOptionalFormControl): Check if not required.
              * html/HTMLSelectElement.idl: Added a required attribute to select elements..
              * html/ValidityState.cpp:
              (WebCore::ValidityState::valueMissing): Added valueMissing check for select elements into the global checker, ValidityState::valueMissing().
              * wml/WMLSelectElement.h:
              (WebCore::WMLSelectElement::updateValidity): Added. It does nothing.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73606 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a259a13f
    • jorlow@chromium.org's avatar
      2010-12-07 Jeremy Orlow <jorlow@chromium.org> · bc913b3c
      jorlow@chromium.org authored
              Reviewed by Steve Block.
      
              IndexedDB returns the wrong exceptions
              https://bugs.webkit.org/show_bug.cgi?id=50632
      
              * storage/indexeddb/constants-expected.txt:
              * storage/indexeddb/constants.html:
              * storage/indexeddb/objectstore-removeobjectstore-expected.txt:
              * storage/indexeddb/objectstore-removeobjectstore.html:
      2010-12-07  Jeremy Orlow  <jorlow@chromium.org>
      
              Reviewed by Steve Block.
      
              IndexedDB returns the wrong exceptions
              https://bugs.webkit.org/show_bug.cgi?id=50632
      
              IndexedDB exceptions need to have an offset so they can
              be distinguished from DOM exceptions.  We also need to
              add strings for the various exceptions.  Lastly, make
              IDBDatabaseException use the common exception base class.
      
              * bindings/js/JSDOMBinding.cpp:
              (WebCore::setDOMException):
              * bindings/v8/V8Proxy.cpp:
              (WebCore::V8Proxy::setDOMException):
              * dom/ExceptionCode.cpp:
              (WebCore::getExceptionCodeDescription):
              * dom/ExceptionCode.h:
              * storage/IDBDatabaseError.h:
              (WebCore::IDBDatabaseError::code):
              * storage/IDBDatabaseException.h:
              (WebCore::IDBDatabaseException::create):
              (WebCore::IDBDatabaseException::ErrorCodeToExceptionCode):
              (WebCore::IDBDatabaseException::IDBDatabaseException):
              * storage/IDBDatabaseException.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73605 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc913b3c
    • pfeldman@chromium.org's avatar
      2010-12-09 Pavel Feldman <pfeldman@chromium.org> · c1f6b443
      pfeldman@chromium.org authored
              Not reviewed. Rebaselined Chromium expectations.
              Reverts r73518 and r73522.
      
              * platform/chromium-linux/fast/forms/placeholder-position-expected.checksum: Added.
              * platform/chromium-linux/fast/forms/placeholder-position-expected.png: Added.
              * platform/chromium-mac/fast/forms/placeholder-position-expected.checksum: Added.
              * platform/chromium-mac/fast/forms/placeholder-position-expected.png: Added.
              * platform/chromium-win/fast/forms/placeholder-position-expected.checksum: Added.
              * platform/chromium-win/fast/forms/placeholder-position-expected.png: Added.
              * platform/chromium-win/fast/forms/placeholder-position-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c1f6b443
    • ossy@webkit.org's avatar
      Unreviewed. Add Qt specific expected results for tests introduced in r73529. · e86855e0
      ossy@webkit.org authored
      * platform/qt/fast/events/wheelevent-in-horizontal-scrollbar-in-rtl-expected.txt: Added.
      * platform/qt/fast/events/wheelevent-in-vertical-scrollbar-in-rtl-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e86855e0
    • mrobinson@webkit.org's avatar
      2010-12-09 Martin Robinson <mrobinson@igalia.com> · 7489e34d
      mrobinson@webkit.org authored
              Update GTK+ baselines after r73561.
      
              * platform/gtk/fast/css/input-search-padding-expected.txt:
              * platform/gtk/fast/css/text-input-with-webkit-border-radius-expected.txt:
              * platform/gtk/fast/forms/box-shadow-override-expected.txt:
              * platform/gtk/fast/forms/control-restrict-line-height-expected.txt:
              * platform/gtk/fast/forms/input-appearance-height-expected.txt:
              * platform/gtk/fast/forms/placeholder-pseudo-style-expected.txt:
              * platform/gtk/fast/forms/placeholder-set-value-expected.txt:
              * platform/gtk/fast/forms/search-cancel-button-style-sharing-expected.txt:
              * platform/gtk/fast/forms/search-placeholder-value-changed-expected.txt:
              * platform/gtk/fast/forms/search-rtl-expected.txt:
              * platform/gtk/fast/forms/search-styled-expected.txt:
              * platform/gtk/fast/forms/search-transformed-expected.txt:
              * platform/gtk/fast/forms/search-vertical-alignment-expected.txt:
              * platform/gtk/fast/forms/search-zoomed-expected.txt:
              * platform/gtk/fast/forms/searchfield-heights-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7489e34d
    • philn@webkit.org's avatar
      2010-12-09 Philippe Normand <pnormand@igalia.com> · bc083c76
      philn@webkit.org authored
              Unreviewed, update test baselines as asked by MORITA Hajime.
      
              [GTK] r73488 broke fast/dom/HTMLProgressElement/progress-element.html
              https://bugs.webkit.org/show_bug.cgi?id=50687
      
              * platform/gtk/fast/dom/HTMLProgressElement/progress-element-expected.txt:
              * platform/gtk/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc083c76
    • yutak@chromium.org's avatar
      2010-12-09 Yuta Kitamura <yutak@chromium.org> · 336bbe7c
      yutak@chromium.org authored
              Unreviewed.
      
              Chromium rebaselines for r73488.
      
              * platform/chromium-mac/fast/dom/HTMLProgressElement/progress-element-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-capacity-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-appearances-rating-relevancy-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-boundary-values-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-optimums-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-changing-pseudo-expected.txt:
              * platform/chromium-win/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
              * platform/chromium-win/fast/dom/HTMLProgressElement/progress-element-expected.txt:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      336bbe7c
  2. 08 Dec, 2010 31 commits
    • pfeldman@chromium.org's avatar
      2010-12-08 Pavel Feldman <pfeldman@chromium.org> · 4f77e10b
      pfeldman@chromium.org authored
              Not reviewed. Updated Chromium expectations.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f77e10b
    • barraclough@apple.com's avatar
      Permit Character Class Escape in CharacterRange in Character Class. · 210f453b
      barraclough@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50483
      https://bugs.webkit.org/show_bug.cgi?id=50538
      https://bugs.webkit.org/show_bug.cgi?id=50654
      https://bugs.webkit.org/show_bug.cgi?id=50646
      
      Reviewed by Sam Weinig.
      
      We recently tightened up our spec conformance in generating syntax
      error in these cases, however testing in the wild has shown this
      to be problematic. This reverts the previous change in allowing
      class escapes (e.g. \d) in ranges in character classes ([]), but
      does retain some closer conformance to the spec in only allowing
      ranges that would be permitted per the grammar rules in the spec
      (e.g. in /[\d-a-z]/ "a-z" cannot be considered as a range).
      
      JavaScriptCore: 
      
      * yarr/RegexParser.h:
      (JSC::Yarr::Parser::CharacterClassParserDelegate::atomPatternCharacter):
      (JSC::Yarr::Parser::CharacterClassParserDelegate::atomBuiltInCharacterClass):
      (JSC::Yarr::Parser::parse):
      
      LayoutTests: 
      
      * fast/js/regexp-ranges-and-escaped-hyphens-expected.txt:
      * fast/js/script-tests/regexp-ranges-and-escaped-hyphens.js:
      * fast/regex/invalid-range-in-class-expected.txt:
      * fast/regex/pcre-test-1-expected.txt:
      * fast/regex/script-tests/invalid-range-in-class.js:
      * fast/regex/script-tests/pcre-test-1.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      210f453b
    • yutak@chromium.org's avatar
      2010-12-08 Yuta Kitamura <yutak@chromium.org> · f36ab288
      yutak@chromium.org authored
              Unreviewed.
      
              Update Chromium test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f36ab288
    • rniwa@webkit.org's avatar
      2010-12-08 Ryosuke Niwa <rniwa@webkit.org> · 0e991f12
      rniwa@webkit.org authored
              Unreviewed; Yet another Chromium rebaselines for r73548.
      
              * platform/chromium-mac-leopard/editing/selection/caret-rtl-2-expected.checksum: Removed.
              * platform/chromium-mac-leopard/editing/selection/caret-rtl-2-expected.png: Removed.
              * platform/chromium-mac/fast/text/international/khmer-selection-expected.checksum: Added.
              * platform/chromium-mac/fast/text/international/khmer-selection-expected.png: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e991f12
    • tkent@chromium.org's avatar
      2010-12-08 Kent Tamura <tkent@chromium.org> · 71949aa2
      tkent@chromium.org authored
              Unreviewed, test expectation update.
      
              Update expectations for r73566.
      
              * platform/gtk/editing/selection/find-yensign-and-backslash-expected.txt:
              * platform/qt/editing/selection/find-yensign-and-backslash-expected.txt: Removed.
              * platform/win/editing/selection/find-yensign-and-backslash-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71949aa2
    • zmo@google.com's avatar
      2010-12-07 Zhenyao Mo <zmo@google.com> · 32c2739e
      zmo@google.com authored
              Reviewed by Kenneth Russell.
      
              WebGLUniformLocation objects must be invalidated during linkProgram
              https://bugs.webkit.org/show_bug.cgi?id=37118
      
              * html/canvas/WebGLProgram.cpp:
              (WebCore::WebGLProgram::WebGLProgram): Initialize link count to 0.
              (WebCore::WebGLProgram::cacheActiveAttribLocations): Don't check link status through gl call; use the cached status instead.
              * html/canvas/WebGLProgram.h:
              (WebCore::WebGLProgram::getLinkCount): Get link count.
              (WebCore::WebGLProgram::increaseLinkCount): Increase link count by 1.
              * html/canvas/WebGLRenderingContext.cpp:
              (WebCore::WebGLRenderingContext::getUniform): Fix a bug where wrong error is generated.
              (WebCore::WebGLRenderingContext::linkProgram): call increaseLinkCount after linkProgram.
              * html/canvas/WebGLUniformLocation.cpp:
              (WebCore::WebGLUniformLocation::WebGLUniformLocation): Set program's link count upon creation.
              (WebCore::WebGLUniformLocation::program): Return null if count doesn't match the program's.
              (WebCore::WebGLUniformLocation::location): Return -1 if count doesn't match the program's.
              * html/canvas/WebGLUniformLocation.h:
      2010-12-07  Zhenyao Mo  <zmo@google.com>
      
              Reviewed by Kenneth Russell.
      
              WebGLUniformLocation objects must be invalidated during linkProgram
              https://bugs.webkit.org/show_bug.cgi?id=37118
      
              * fast/canvas/webgl/uniform-location-expected.txt:
              * fast/canvas/webgl/uniform-location.html: Check that after linkProgram, all previous uniform locations become invalid.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      32c2739e
    • adele@apple.com's avatar
      WebCore: Fix for https://bugs.webkit.org/show_bug.cgi?id=50725 · 39f77bae
      adele@apple.com authored
      <rdar://problem/8694972> REGRESSION (r72052): "Search" placeholder in MobileMe mail is positioned too high
      
      Reviewed by Darin Adler.
      
      Test: fast/forms/placeholder-position.html
      
      Since we center the inner text element for single line text controls, 
      we should ask the subclass to give us the y offset instead of trying to calculate it in the RenderTextControl class.
      
      * rendering/RenderTextControl.cpp: (WebCore::RenderTextControl::paintPlaceholder):
      * rendering/RenderTextControl.h:
      * rendering/RenderTextControlMultiLine.cpp: (WebCore::RenderTextControlMultiLine::textBlockInsetTop):
      * rendering/RenderTextControlMultiLine.h:
      * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::textBlockInsetTop):
      * rendering/RenderTextControlSingleLine.h:
      
      LayoutTests: Test for https://bugs.webkit.org/show_bug.cgi?id=50725
      <rdar://problem/8694972> REGRESSION (r72052): "Search" placeholder in MobileMe mail is positioned too high
      
      Reviewed by Darin Adler.
      
      * fast/forms/placeholder-position.html: Added.
      * platform/mac/fast/forms/placeholder-position-expected.checksum: Added.
      * platform/mac/fast/forms/placeholder-position-expected.png: Added.
      * platform/mac/fast/forms/placeholder-position-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      39f77bae
    • tkent@chromium.org's avatar
      Yensign hack should work with Shift_JIS and ISO-2022-JP encodings. · 68ad9ecb
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=49714
      
      Reviewed by Alexey Proskuryakov.
      
      WebCore:
      
      IE chooses a font which shows a yensign for 0x5c code point for a page
      encoded in x-mac-japanese, ISO-2022-JP, EUC-JP, Shift_JIS, Shift_JIS_X0213-2000,
      x-sjis, and Windows-31J.
      We have emulated this behavior by replacing 0x5c with 0xa5 for EUC-JP and
      Shift_JIS_X0213-2000. This change adds other encodings above.
      
      Also, we move the HashSet initialization for isJapanese() and
      backslashAsCurrencySymbol() to TextEncodingRegistry.cpp because of
      ease of making them multi-thread safe.
      
      * platform/text/TextEncoding.cpp:
      (WebCore::TextEncoding::isJapanese): Just calls isJapaneseEncoding().
      (WebCore::TextEncoding::backslashAsCurrencySymbol): Uses shouldShowBackslashAsCurrencySymbolIn().
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::addEncodingName): Moved from TextEncoding.cpp, and stop using atomicCanonicalTextEncodingName().
      (WebCore::buildQuirksSets): Added. Initializes HashSets for isJapaneseEncoding() and shouldShowBackslashAsCurrencySymbolIn().
      (WebCore::isJapaneseEncoding):
      (WebCore::shouldShowBackslashAsCurrencySymbolIn):
      (WebCore::extendTextCodecMaps): Add a call to buildQuirksSets().
      * platform/text/TextEncodingRegistry.h:
      
      LayoutTests:
      
      Use Shift_JIS instead of Shift_JIS_X0213-2000 because Shift_JIS_X0213-2000
      encoding is available only on Mac.
      Add a test for ISO-2022-JP.
      
      * editing/selection/find-yensign-and-backslash-expected.txt:
      * editing/selection/find-yensign-and-backslash.html:
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68ad9ecb
    • aestes@apple.com's avatar
      2010-12-08 Andy Estes <aestes@apple.com> · f5af0ce9
      aestes@apple.com authored
              Reviewed by Darin Adler.
      
              Reflected unsigned attributes should be in the range [0, 2^31).
              https://bugs.webkit.org/show_bug.cgi?id=50472
      
              HTML5 says that unsigned reflected attributes should be in the range
              [0, 2^31). When a value isn't in this range, a default value (or 0)
              should be returned instead. Update the JS bindings code generator to
              ensure 0 is returned when a content attribute value falls outside of
              this range.
      
              Tests: bindings/scripts/test/TestObj.idl
                     fast/html/marquee-element.html
      
              * bindings/scripts/CodeGeneratorJS.pm: Return the maximum of 0 and the
              content attribute as a 32-bit signed int when converting a native value
              to an unsigned JS value.
              * bindings/scripts/test/TestObj.idl: Add a reflected unsigned attribute
              to test code generation.
              * bindings/scripts/test/CPP/WebDOMTestObj.cpp: Update test results.
              * bindings/scripts/test/CPP/WebDOMTestObj.h: Ditto.
              * bindings/scripts/test/GObject/WebKitDOMTestObj.cpp: Ditto.
              * bindings/scripts/test/GObject/WebKitDOMTestObj.h: Ditto.
              * bindings/scripts/test/JS/JSTestObj.cpp: Ditto.
              * bindings/scripts/test/JS/JSTestObj.h: Ditto.
              * bindings/scripts/test/ObjC/DOMTestObj.h: Ditto.
              * bindings/scripts/test/ObjC/DOMTestObj.mm: Ditto.
              * bindings/scripts/test/V8/V8TestObj.cpp: Ditto.
      2010-12-08  Andy Estes  <aestes@apple.com>
      
              Reviewed by Darin Adler.
      
              Reflected unsigned attributes should be in the range [0, 2^31).
              https://bugs.webkit.org/show_bug.cgi?id=50472
      
              * fast/html/marquee-element.html: Give hspace and vspace negative values
              and test what their corresponding IDL attributes reflect.
              * fast/html/marquee-element-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f5af0ce9
    • rniwa@webkit.org's avatar
      2010-12-08 Ryosuke Niwa <rniwa@webkit.org> · ec87a918
      rniwa@webkit.org authored
              Unreviewed Chromium rebaseline for r73548.
      
              * platform/chromium-linux/fast/text/international/khmer-selection-expected.checksum:
              * platform/chromium-linux/fast/text/international/khmer-selection-expected.png:
              * platform/chromium-linux/fast/text/international/khmer-selection-expected.txt:
              * platform/chromium-win-xp/fast/text/international/khmer-selection-expected.checksum: Removed.
              * platform/chromium-win-xp/fast/text/international/khmer-selection-expected.png: Removed.
              * platform/chromium-win-xp/fast/text/international/khmer-selection-expected.txt: Removed.
              * platform/chromium-win/fast/text/international/khmer-selection-expected.checksum:
              * platform/chromium-win/fast/text/international/khmer-selection-expected.png:
              * platform/chromium-win/fast/text/international/khmer-selection-expected.txt:
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ec87a918
    • inferno@chromium.org's avatar
      2010-12-08 Abhishek Arya <inferno@chromium.org> · b0f943fd
      inferno@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Detach node iterator and move to new document when node gets moved.
              https://bugs.webkit.org/show_bug.cgi?id=50697
      
              Test: fast/dom/node-iterator-document-moved-crash.html
      
              * dom/Document.cpp: Method that takes a node and new document as argument.
              It detaches the node iterators belonging to the current document and attaches
              them to the new document.
              (WebCore::Document::moveNodeIteratorsToNewDocument):
              * dom/Document.h: Function definition.
              * dom/Node.cpp: When node is moved to another document, call the function to move
              the iterators appropriately.
              (WebCore::Node::setDocument):
      2010-12-08  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              Tests that we do not crash when node iterator gets moved across documents.
              https://bugs.webkit.org/show_bug.cgi?id=50697
      
              * fast/dom/node-iterator-document-moved-crash-expected.txt: Added.
              * fast/dom/node-iterator-document-moved-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0f943fd
    • rniwa@webkit.org's avatar
      2010-12-08 Ryosuke Niwa <rniwa@webkit.org> · 4f152427
      rniwa@webkit.org authored
              Unreviewed Chromium rebaseline for r73548.
      
              * platform/chromium-linux/editing/selection/caret-ltr-2-expected.checksum: Added.
              * platform/chromium-linux/editing/selection/caret-ltr-2-expected.png: Added.
              * platform/chromium-linux/editing/selection/caret-ltr-2-left-expected.checksum: Added.
              * platform/chromium-linux/editing/selection/caret-ltr-2-left-expected.png: Added.
              * platform/chromium-linux/editing/selection/caret-ltr-expected.checksum: Added.
              * platform/chromium-linux/editing/selection/caret-ltr-expected.png: Added.
              * platform/chromium-linux/editing/selection/caret-ltr-right-expected.checksum: Added.
              * platform/chromium-linux/editing/selection/caret-ltr-right-expected.png: Added.
              * platform/chromium-linux/editing/selection/caret-rtl-2-expected.checksum: Added.
              * platform/chromium-linux/editing/selection/caret-rtl-2-expected.png: Added.
              * platform/chromium-linux/editing/selection/caret-rtl-2-left-expected.checksum: Added.
              * platform/chromium-linux/editing/selection/caret-rtl-2-left-expected.png: Added.
              * platform/chromium-linux/editing/selection/caret-rtl-expected.checksum:
              * platform/chromium-linux/editing/selection/caret-rtl-expected.png:
              * platform/chromium-linux/editing/selection/caret-rtl-right-expected.checksum: Added.
              * platform/chromium-linux/editing/selection/caret-rtl-right-expected.png: Added.
              * platform/chromium-mac/editing/selection/caret-ltr-2-expected.checksum: Added.
              * platform/chromium-mac/editing/selection/caret-ltr-2-expected.png: Added.
              * platform/chromium-mac/editing/selection/caret-ltr-2-left-expected.checksum: Added.
              * platform/chromium-mac/editing/selection/caret-ltr-2-left-expected.png: Added.
              * platform/chromium-mac/editing/selection/caret-ltr-expected.checksum: Added.
              * platform/chromium-mac/editing/selection/caret-ltr-expected.png: Added.
              * platform/chromium-mac/editing/selection/caret-ltr-right-expected.checksum: Added.
              * platform/chromium-mac/editing/selection/caret-ltr-right-expected.png: Added.
              * platform/chromium-mac/editing/selection/caret-rtl-2-expected.checksum: Added.
              * platform/chromium-mac/editing/selection/caret-rtl-2-expected.png: Added.
              * platform/chromium-mac/editing/selection/caret-rtl-2-left-expected.checksum: Added.
              * platform/chromium-mac/editing/selection/caret-rtl-2-left-expected.png: Added.
              * platform/chromium-mac/editing/selection/caret-rtl-expected.checksum:
              * platform/chromium-mac/editing/selection/caret-rtl-expected.png:
              * platform/chromium-mac/editing/selection/caret-rtl-right-expected.checksum: Added.
              * platform/chromium-mac/editing/selection/caret-rtl-right-expected.png: Added.
              * platform/chromium-win/editing/selection/caret-ltr-2-expected.checksum: Added.
              * platform/chromium-win/editing/selection/caret-ltr-2-expected.png: Added.
              * platform/chromium-win/editing/selection/caret-ltr-2-expected.txt: Added.
              * platform/chromium-win/editing/selection/caret-ltr-2-left-expected.checksum: Added.
              * platform/chromium-win/editing/selection/caret-ltr-2-left-expected.png: Added.
              * platform/chromium-win/editing/selection/caret-ltr-2-left-expected.txt: Added.
              * platform/chromium-win/editing/selection/caret-ltr-expected.checksum: Added.
              * platform/chromium-win/editing/selection/caret-ltr-expected.png: Added.
              * platform/chromium-win/editing/selection/caret-ltr-expected.txt: Added.
              * platform/chromium-win/editing/selection/caret-ltr-right-expected.checksum: Added.
              * platform/chromium-win/editing/selection/caret-ltr-right-expected.png: Added.
              * platform/chromium-win/editing/selection/caret-ltr-right-expected.txt: Added.
              * platform/chromium-win/editing/selection/caret-rtl-2-expected.checksum:
              * platform/chromium-win/editing/selection/caret-rtl-2-expected.png:
              * platform/chromium-win/editing/selection/caret-rtl-2-expected.txt:
              * platform/chromium-win/editing/selection/caret-rtl-2-left-expected.checksum: Added.
              * platform/chromium-win/editing/selection/caret-rtl-2-left-expected.png: Added.
              * platform/chromium-win/editing/selection/caret-rtl-2-left-expected.txt: Added.
              * platform/chromium-win/editing/selection/caret-rtl-expected.checksum:
              * platform/chromium-win/editing/selection/caret-rtl-expected.png:
              * platform/chromium-win/editing/selection/caret-rtl-expected.txt:
              * platform/chromium-win/editing/selection/caret-rtl-right-expected.checksum: Added.
              * platform/chromium-win/editing/selection/caret-rtl-right-expected.png: Added.
              * platform/chromium-win/editing/selection/caret-rtl-right-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4f152427
    • mrobinson@webkit.org's avatar
      2010-12-08 Martin Robinson <mrobinson@igalia.com> · d29c1fb7
      mrobinson@webkit.org authored
              Replace some GTK+ test results after r73548.
      
              * platform/gtk/fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * platform/gtk/fast/dom/vertical-scrollbar-in-rtl-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d29c1fb7
    • rniwa@webkit.org's avatar
      2010-12-08 Ryosuke Niwa <rniwa@webkit.org> · 083475d0
      rniwa@webkit.org authored
              Unreviewed; Removed old expected results for caret-rtl.html and caret-rtl-2.html on Mac Leopard.
      
              * platform/mac-leopard/editing/selection/caret-rtl-2-expected.checksum: Removed.
              * platform/mac-leopard/editing/selection/caret-rtl-2-expected.png: Removed.
              * platform/mac-leopard/editing/selection/caret-rtl-expected.checksum: Removed.
              * platform/mac-leopard/editing/selection/caret-rtl-expected.png: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      083475d0
    • pkasting@chromium.org's avatar
      Unreviewed Chromium test expectations update. · dbeba7f1
      pkasting@chromium.org authored
      Mark some Mac tests as timing out after r73518 and r73522.
      
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dbeba7f1
    • aroben@apple.com's avatar
      Update Windows test results after r73538 · 44c98196
      aroben@apple.com authored
      We don't need Windows-specific results for this test anymore.
      
      * platform/win-xp/svg/custom/clip-path-referencing-use-expected.checksum: Removed.
      * platform/win-xp/svg/custom/clip-path-referencing-use-expected.png: Removed.
      * platform/win-xp/svg/custom/clip-path-referencing-use-expected.txt: Removed.
      * platform/win/svg/custom/clip-path-referencing-use-expected.checksum: Removed.
      * platform/win/svg/custom/clip-path-referencing-use-expected.png: Removed.
      * platform/win/svg/custom/clip-path-referencing-use-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44c98196
    • jamesr@google.com's avatar
      2010-12-08 James Robinson <jamesr@chromium.org> · 2564ac00
      jamesr@google.com authored
              Reviewed by Kenneth Russell.
      
              [chromium] Text is blurry on a large composited layer with an odd center x/y coordinate
              https://bugs.webkit.org/show_bug.cgi?id=50702
      
              Tests that text rendered on a large layer is crisp even when the layer's center point
              has an odd x and/or y coordinate.
      
              * compositing/text-on-large-layer.html: Added.
              * platform/chromium-gpu-linux/compositing/text-on-large-layer-expected.checksum: Added.
              * platform/chromium-gpu-linux/compositing/text-on-large-layer-expected.png: Added.
              * platform/chromium-gpu-linux/compositing/text-on-large-layer-expected.txt: Added.
              * platform/chromium-gpu/test_expectations.txt:
              * platform/mac/compositing/text-on-large-layer-expected.checksum: Added.
              * platform/mac/compositing/text-on-large-layer-expected.png: Added.
              * platform/mac/compositing/text-on-large-layer-expected.txt: Added.
      2010-12-08  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Kenneth Russell.
      
              [chromium] Text is blurry on a large composited layer with an odd center x/y coordinate
              https://bugs.webkit.org/show_bug.cgi?id=50702
      
              Compute the center of a large layer using floats instead of ints to avoid roundoff errors.
      
              Test: compositing/text-on-large-layer.html
      
              * platform/graphics/chromium/ContentLayerChromium.cpp:
              (WebCore::ContentLayerChromium::draw):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2564ac00
    • rniwa@webkit.org's avatar
      2010-12-08 Ryosuke Niwa <rniwa@webkit.org> · 2798e026
      rniwa@webkit.org authored
              Reviewed by Dan Bernstein.
      
              REGRESSION: LayoutTests/editing/selection/caret-rtl-2.html fails
              https://bugs.webkit.org/show_bug.cgi?id=33503
      
              The bug was caused by Font::offsetForPosition's not taking into account the containing block's text direction.
              When RTL text appears in a LTR block, the offset at the beginning of RTL text is on the left of RTL text,
              adn the offset at the end of RTL text is on the right of RTL text. For example, if we had RTL text CBA,
              then the correspondance between letters and offsets in logical order are: A -> 0, B -> 1, and C -> 2.
      
              Case 1. CBA appears in a RTL block:
                In this case, clicking on the visual left of CBA puts the caret naturally at Position("CBA", 2).
                Clicking on the visual right of CBA puts the caret at Position("CBA", 0) as expected.
              Case 2. CBA appears in a LTR block:
                Because the containing block flows from left to right, by covention, Position("CBA", 2") coresponds
                to the visual right of CBA, and Position("CBA", 0) corresponds to the visual left of CBA.
                Therefore, clicking on the visual left of CBA should put the caret at Positoin("CBA", 0),
                and clicking on the visual right should put it at Position("CBA", 2).
      
              The bug was caused by WebKit's not considering case 2. The same bug also existe for LTR text in a RTL block.
              Fixed the bug by taking care of the case 2 in InlineTextBox::offsetForPosition.
      
              Tests: editing/selection/caret-ltr-2-left.html
                     editing/selection/caret-ltr-2.html
                     editing/selection/caret-ltr-right.html
                     editing/selection/caret-ltr.html
                     editing/selection/caret-rtl-2-left.html
                     editing/selection/caret-rtl-right.html
      
              * rendering/InlineTextBox.cpp:
              (WebCore::InlineTextBox::offsetForPosition):
      2010-12-08  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Dan Bernstein.
      
              REGRESSION: LayoutTests/editing/selection/caret-rtl-2.html fails
              https://bugs.webkit.org/show_bug.cgi?id=33503
      
              Added tests to ensure WebKit places the caret at a right place for LTR text in a LTR block,
              LTR text in a RTL block, RTL text in a RTL block, and RTL text in a LTR block.
      
              Because we need to verify both rendering of the caret and (node, offset) pair of the caret,
              these tests cannot be combined or done without pixel results.
      
              * editing/selection/caret-ltr-2-left.html: Added.
              * editing/selection/caret-ltr-2.html: Added.
              * editing/selection/caret-ltr-right.html: Added.
              * editing/selection/caret-ltr.html: Added.
              * editing/selection/caret-rtl-2-left.html: Added.
              * editing/selection/caret-rtl-2.html:
              * editing/selection/caret-rtl-right.html: Added.
              * editing/selection/caret-rtl.html:
              * editing/selection/resources/caret-edge-shared.js: Added.
              (runTest):
              (verify):
              (log):
              * platform/mac/editing/selection/caret-ltr-2-expected.checksum: Added.
              * platform/mac/editing/selection/caret-ltr-2-expected.png: Added.
              * platform/mac/editing/selection/caret-ltr-2-expected.txt: Added.
              * platform/mac/editing/selection/caret-ltr-2-left-expected.checksum: Added.
              * platform/mac/editing/selection/caret-ltr-2-left-expected.png: Added.
              * platform/mac/editing/selection/caret-ltr-2-left-expected.txt: Added.
              * platform/mac/editing/selection/caret-ltr-expected.checksum: Added.
              * platform/mac/editing/selection/caret-ltr-expected.png: Added.
              * platform/mac/editing/selection/caret-ltr-expected.txt: Added.
              * platform/mac/editing/selection/caret-ltr-right-expected.checksum: Added.
              * platform/mac/editing/selection/caret-ltr-right-expected.png: Added.
              * platform/mac/editing/selection/caret-ltr-right-expected.txt: Added.
              * platform/mac/editing/selection/caret-rtl-2-expected.checksum:
              * platform/mac/editing/selection/caret-rtl-2-expected.png:
              * platform/mac/editing/selection/caret-rtl-2-expected.txt:
              * platform/mac/editing/selection/caret-rtl-2-left-expected.checksum: Added.
              * platform/mac/editing/selection/caret-rtl-2-left-expected.png: Added.
              * platform/mac/editing/selection/caret-rtl-2-left-expected.txt: Added.
              * platform/mac/editing/selection/caret-rtl-expected.checksum:
              * platform/mac/editing/selection/caret-rtl-expected.png:
              * platform/mac/editing/selection/caret-rtl-expected.txt:
              * platform/mac/editing/selection/caret-rtl-right-expected.checksum: Added.
              * platform/mac/editing/selection/caret-rtl-right-expected.png: Added.
              * platform/mac/editing/selection/caret-rtl-right-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2798e026
    • ap@apple.com's avatar
      Touch a file that's sporadically giving 207 Multi-Status error on svn update, hoping that · 9318dd05
      ap@apple.com authored
              it will magically fix it.
      
              * fast/xpath/4XPath/Core/test.js: Removed properties svn:mime-type and svn:eol-style, added
              a newline.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9318dd05
    • pkasting@chromium.org's avatar
      Unreviewed Chromium test expectations update. · b81bb7e5
      pkasting@chromium.org authored
      Mark some tests as passing or slow, and update the comment on the
      compositing tests to indicate more accurately why we skip them in the
      main test run.
      
      * platform/chromium-gpu/test_expectations.txt:
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b81bb7e5
    • rniwa@webkit.org's avatar
      2010-12-08 Ryosuke Niwa <rniwa@webkit.org> · ae427f27
      rniwa@webkit.org authored
              Unreviewed Chromium test expectations update.
              fast/dom/HTMLMeterElement/meter-element.html has been rebaselined for Windows.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae427f27
    • aroben@apple.com's avatar
      Skip svg/custom/clip-path-referencing-use2.svg, not svg/custom/clip-path-referencing-use.svg · 1a6b9f52
      aroben@apple.com authored
      The former is the real problem. The latter was just the victim!
      
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a6b9f52
    • rniwa@webkit.org's avatar
      2010-12-08 Ryosuke Niwa <rniwa@webkit.org> · 6926e689
      rniwa@webkit.org authored
              Unreviewed Chromium test expectations update.
              fast/text/decomposed-after-stacked-diacritics.html crashes on Chromium Linux.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6926e689
    • rniwa@webkit.org's avatar
      2010-12-08 Ryosuke Niwa <rniwa@webkit.org> · 3c3ca52b
      rniwa@webkit.org authored
              Unreviewed Chromium rebaseline for r73531.
      
              * platform/chromium-linux/fast/block/positioning/rtl-static-positioning-expected.checksum: Added.
              * platform/chromium-linux/fast/block/positioning/rtl-static-positioning-expected.png: Added.
              * platform/chromium-linux/fast/block/positioning/rtl-static-positioning-inline-block-expected.checksum: Added.
              * platform/chromium-linux/fast/block/positioning/rtl-static-positioning-inline-block-expected.png: Added.
              * platform/chromium-linux/fast/block/positioning/table-cell-static-position-expected.checksum: Added.
              * platform/chromium-linux/fast/block/positioning/table-cell-static-position-expected.png: Added.
              * platform/chromium-mac/fast/block/positioning/rtl-static-positioning-expected.checksum: Added.
              * platform/chromium-mac/fast/block/positioning/rtl-static-positioning-expected.png: Added.
              * platform/chromium-mac/fast/block/positioning/rtl-static-positioning-inline-block-expected.checksum: Added.
              * platform/chromium-mac/fast/block/positioning/rtl-static-positioning-inline-block-expected.png: Added.
              * platform/chromium-mac/fast/block/positioning/table-cell-static-position-expected.checksum: Added.
              * platform/chromium-mac/fast/block/positioning/table-cell-static-position-expected.png: Added.
              * platform/chromium-win/fast/block/positioning/rtl-static-positioning-expected.checksum: Added.
              * platform/chromium-win/fast/block/positioning/rtl-static-positioning-expected.png: Added.
              * platform/chromium-win/fast/block/positioning/rtl-static-positioning-expected.txt: Added.
              * platform/chromium-win/fast/block/positioning/rtl-static-positioning-inline-block-expected.checksum: Added.
              * platform/chromium-win/fast/block/positioning/rtl-static-positioning-inline-block-expected.png: Added.
              * platform/chromium-win/fast/block/positioning/rtl-static-positioning-inline-block-expected.txt: Added.
              * platform/chromium-win/fast/block/positioning/table-cell-static-position-expected.checksum: Added.
              * platform/chromium-win/fast/block/positioning/table-cell-static-position-expected.png: Added.
              * platform/chromium-win/fast/block/positioning/table-cell-static-position-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c3ca52b
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=50576 · 945782ff
      hyatt@apple.com authored
      Reviewed by Anders Carlsson.
      
      REGRESSION in position of autocomplete popup on RTL page.
      
      RTL static position computation did not subtract out the width of the enclosing box if the
      immediate parent was a RenderInline.  This bug was exposed by properly changing the RenderView
      to be RTL when the document was RTL.
      
      Added three new tests in fast/block/positioning.
      
      WebCore: 
      
      * rendering/RenderBox.cpp:
      (WebCore::RenderBox::computePositionedLogicalWidth):
      
      LayoutTests: 
      
      * fast/block/positioning/rtl-static-positioning-inline-block.html: Added.
      * fast/block/positioning/rtl-static-positioning.html: Added.
      * fast/block/positioning/table-cell-static-position.html: Added.
      * platform/mac/fast/block/positioning/rtl-static-positioning-expected.checksum: Added.
      * platform/mac/fast/block/positioning/rtl-static-positioning-expected.png: Added.
      * platform/mac/fast/block/positioning/rtl-static-positioning-expected.txt: Added.
      * platform/mac/fast/block/positioning/rtl-static-positioning-inline-block-expected.checksum: Added.
      * platform/mac/fast/block/positioning/rtl-static-positioning-inline-block-expected.png: Added.
      * platform/mac/fast/block/positioning/rtl-static-positioning-inline-block-expected.txt: Added.
      * platform/mac/fast/block/positioning/table-cell-static-position-expected.checksum: Added.
      * platform/mac/fast/block/positioning/table-cell-static-position-expected.png: Added.
      * platform/mac/fast/block/positioning/table-cell-static-position-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      945782ff
    • xji@chromium.org's avatar
      2010-12-08 Xiaomei Ji <xji@chromium.org> · bebfbc9b
      xji@chromium.org authored
              Reviewed by David Hyatt.
      
              Fix backward mouse wheeling not working when scroll position is below 0.
              https://bugs.webkit.org/show_bug.cgi?id=50370
      
              Tests: fast/events/wheelevent-in-horizontal-scrollbar-in-rtl.html
                     fast/events/wheelevent-in-vertical-scrollbar-in-rtl.html
      
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::wheelEvent):
      2010-12-08  Xiaomei Ji  <xji@chromium.org>
      
              Reviewed by David Hyatt.
      
              Fix backward mouse wheeling not working when scroll position is below 0.
              https://bugs.webkit.org/show_bug.cgi?id=50370
      
              * fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * fast/dom/horizontal-scrollbar-in-rtl.html:
              * fast/dom/vertical-scrollbar-in-rtl-expected.txt:
              * fast/dom/vertical-scrollbar-in-rtl.html:
              * fast/events/wheelevent-in-horizontal-scrollbar-in-rtl-expected.txt: Added.
              * fast/events/wheelevent-in-horizontal-scrollbar-in-rtl.html: Added.
              * fast/events/wheelevent-in-vertical-scrollbar-in-rtl-expected.txt: Added.
              * fast/events/wheelevent-in-vertical-scrollbar-in-rtl.html: Added.
              * platform/chromium/fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * platform/chromium/fast/dom/vertical-scrollbar-in-rtl-expected.txt:
              * platform/chromium/fast/events/wheelevent-in-horizontal-scrollbar-in-rtl-expected.txt: Added.
              * platform/chromium/fast/events/wheelevent-in-vertical-scrollbar-in-rtl-expected.txt: Added.
              * platform/gtk/Skipped:
              * platform/mac-tiger/Skipped:
              * platform/mac-wk2/Skipped:
              * platform/qt-wk2/Skipped:
              * platform/qt/fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * platform/qt/fast/dom/vertical-scrollbar-in-rtl-expected.txt:
              * platform/win/Skipped:
              * platform/win/fast/dom/horizontal-scrollbar-in-rtl-expected.txt:
              * platform/win/fast/dom/vertical-scrollbar-in-rtl-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bebfbc9b
    • antonm@chromium.org's avatar
      Unreviewed, cleaning up test expectations after r7349. · 8188da9f
      antonm@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8188da9f
    • simon.fraser@apple.com's avatar
      2010-12-08 Simon Fraser <simon.fraser@apple.com> · cc078e89
      simon.fraser@apple.com authored
              Reviewed by Dan Bernstein.
      
              Fix pauseAnimation API to work with shorthand properties
              https://bugs.webkit.org/show_bug.cgi?id=50639
      
              The pause API is always called with a long-hand property, but that
              property may be animating via a shorthand. Detect this, and pause
              such shorthand animations.
      
              * page/animation/AnimationBase.cpp:
              (WebCore::ShorthandPropertyWrapper::propertyWrappers): Expose the vector
              of wrappers used by a shorthand wrapper.
      
              (WebCore::gatherEnclosingShorthandProperties): Utility function that walks
              through the shorthand wrappers, keeping track of which can affect the given
              property.
              (WebCore::AnimationBase::animatableShorthandsAffectingProperty): Return a set
              of shorthand properties that can affect the given property.
      
              * page/animation/AnimationBase.h: New method.
              * page/animation/CompositeAnimation.cpp:
              (WebCore::CompositeAnimation::pauseTransitionAtTime): If we don't find the
              property itself, check whether it's being animated via shorthands.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc078e89
    • philn@webkit.org's avatar
      2010-12-08 Philippe Normand <pnormand@igalia.com> · 5ad13296
      philn@webkit.org authored
              Reviewed by Gustavo Noronha Silva.
      
              [GTK] media/fullscreen* failing on 64-bits Debug
              https://bugs.webkit.org/show_bug.cgi?id=50394
      
              Avoid emiting durationchanged in the case where the previous
              duration was 0 because that case is already handled by the
              HTMLMediaElement.
      
              Test: media/media-fullscreen*.html
      
              * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
              (WebCore::MediaPlayerPrivateGStreamer::durationChanged):
      
      LayoutTests:
      
              Reviewed by Gustavo Noronha Silva.
      
              [GTK] media/fullscreen* failing on 64-bits Debug
              https://bugs.webkit.org/show_bug.cgi?id=50394
      
              * platform/gtk/Skipped: Unskip now passing tests.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5ad13296
    • loislo@chromium.org's avatar
      2010-12-08 Ilya Tikhonovsky <loislo@chromium.org> · e5324133
      loislo@chromium.org authored
              Unreviewed. Remove WIN prefix for inspector's tests expectations.
              DumpRenderTree related patch.
      
              * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e5324133
    • aroben@apple.com's avatar
      Skip svg/custom/clip-path-referencing-use.svg on Windows · efb323d2
      aroben@apple.com authored
      The test fails when run under Aero. It seems that one of our Windows 7
      bots has this turned on while the other doesn't.
      
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      efb323d2