1. 03 Feb, 2012 15 commits
    • alexis.menard@openbossa.org's avatar
      REGRESSION (r105401-105403): Blue flash on css border transition · 4c76b635
      alexis.menard@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77491
      
      Reviewed by Simon Fraser.
      
      Source/WebCore:
      
      The new blend function added with r105403 takes unsigned as parameters therefore
      we have to be careful to not overflow in case the to is less than from (animating
      from 400 to 0 for example).
      
      Test: animations/animation-border-overflow.html
      
      * platform/animation/AnimationUtilities.h:
      (WebCore::blend):
      
      LayoutTests:
      
      * animations/animation-border-overflow-expected.txt: Added.
      * animations/animation-border-overflow.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106672 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c76b635
    • jesus@webkit.org's avatar
      [Qt][WK2] Incorrect line number dumping · aa9600c6
      jesus@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=60074
      
      Reviewed by Csaba Osztrogonác.
      
      Test http/tests/security/contentSecurityPolicy/eval-blocked.html
      is now passing, unskipping it.
      
      * platform/qt-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106671 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aa9600c6
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r106654. · 5928282e
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/106654
      https://bugs.webkit.org/show_bug.cgi?id=77742
      
      triggers asserts on mac, win, gtk, qt debug bots (Requested by
      philn-tp on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-02-03
      
      Source/WebCore:
      
      * Modules/intents/IntentRequest.cpp:
      (WebCore::IntentRequest::create):
      * bindings/generic/ActiveDOMCallback.cpp:
      (WebCore::ActiveDOMCallback::ActiveDOMCallback):
      * dom/ActiveDOMObject.cpp:
      (WebCore::ActiveDOMObject::ActiveDOMObject):
      (WebCore::ActiveDOMObject::~ActiveDOMObject):
      * dom/ActiveDOMObject.h:
      (ActiveDOMObject):
      * dom/DocumentEventQueue.cpp:
      (WebCore::DocumentEventQueue::DocumentEventQueue):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::ScriptExecutionContext):
      (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      * dom/ScriptExecutionContext.h:
      (ScriptExecutionContext):
      * fileapi/DOMFileSystem.cpp:
      (WebCore::DOMFileSystem::create):
      * fileapi/FileReader.cpp:
      (WebCore):
      * fileapi/FileReader.h:
      (WebCore::FileReader::create):
      * fileapi/FileWriter.cpp:
      (WebCore):
      * fileapi/FileWriter.h:
      (WebCore::FileWriter::create):
      * history/CachedFrame.cpp:
      (WebCore::CachedFrame::CachedFrame):
      * html/HTMLAudioElement.cpp:
      (WebCore::HTMLAudioElement::create):
      * html/HTMLMarqueeElement.cpp:
      (WebCore::HTMLMarqueeElement::create):
      * html/HTMLVideoElement.cpp:
      (WebCore::HTMLVideoElement::create):
      * mediastream/PeerConnection.cpp:
      (WebCore::PeerConnection::create):
      * notifications/Notification.cpp:
      (WebCore::Notification::create):
      * notifications/NotificationCenter.cpp:
      * notifications/NotificationCenter.h:
      (WebCore::NotificationCenter::create):
      * page/DOMTimer.cpp:
      (WebCore::DOMTimer::install):
      (WebCore::DOMTimer::fired):
      * page/EventSource.cpp:
      (WebCore::EventSource::create):
      * page/SuspendableTimer.cpp:
      (WebCore::SuspendableTimer::SuspendableTimer):
      * storage/IDBDatabase.cpp:
      (WebCore::IDBDatabase::create):
      * storage/IDBRequest.cpp:
      (WebCore::IDBRequest::create):
      * storage/IDBTransaction.cpp:
      (WebCore::IDBTransaction::create):
      * webaudio/AudioContext.cpp:
      (WebCore::AudioContext::create):
      * websockets/WebSocket.cpp:
      * websockets/WebSocket.h:
      (WebCore::WebSocket::create):
      * workers/SharedWorker.cpp:
      (WebCore::SharedWorker::create):
      * workers/Worker.cpp:
      (WebCore::Worker::create):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::create):
      
      LayoutTests:
      
      * fast/events/resources/suspend-subframe-1.html: Removed.
      * fast/events/resources/suspend-subframe-2.html: Removed.
      * fast/events/suspend-timers-expected.txt: Removed.
      * fast/events/suspend-timers.html: Removed.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106667 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5928282e
    • apavlov@chromium.org's avatar
      Web Inspector: Introduce "Copy XPath" popup menu item for DOM elements · cd99b22b
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77619
      
      Reviewed by Vsevolod Vlasov.
      
      Source/WebCore:
      
      XPath is optimized whenever an element has the "id" attribute.
      
      Test: inspector/elements/node-xpath.xhtml
      
      * English.lproj/localizedStrings.js:
      * inspector/front-end/DOMAgent.js:
      (WebInspector.DOMNode.XPathStep):
      (WebInspector.DOMNode.XPathStep.prototype.toString):
      (WebInspector.DOMNode.prototype.copyXPath):
      (WebInspector.DOMNode.prototype.isXMLNode):
      (WebInspector.DOMNode.prototype.xPath):
      (WebInspector.DOMNode.prototype._xPathValue):
      (WebInspector.DOMNode.prototype._xPathIndex):
      * inspector/front-end/ElementsTreeOutline.js:
      (WebInspector.ElementsTreeElement.prototype._populateNodeContextMenu):
      
      LayoutTests:
      
      * inspector/elements/node-xpath-expected.txt: Added.
      * inspector/elements/node-xpath.xhtml: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106664 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cd99b22b
    • yurys@chromium.org's avatar
      inspector/debugger/pause-in-inline-script.html asserts in chromium debug · 0a0e576d
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77663
      
      Source/WebCore:
      
      Make ASSERT in MainResourceLoader not fail if debugger hits breakpoint
      in the main resource inline script.
      
      Reviewed by Pavel Feldman.
      
      Test: inspector/debugger/pause-in-inline-script.html
      
      * bindings/js/ScriptDebugServer.h:
      (WebCore::ScriptDebugServer::isPaused):
      (ScriptDebugServer):
      * bindings/v8/ScriptDebugServer.h:
      (ScriptDebugServer):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::didClearMainFrameWindowObject):
      (WebCore):
      (WebCore::InspectorDebuggerAgent::isPaused):
      * inspector/InspectorDebuggerAgent.h:
      (InspectorDebuggerAgent):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore::InspectorInstrumentation::isDebuggerPausedImpl):
      (WebCore):
      * inspector/InspectorInstrumentation.h:
      (InspectorInstrumentation):
      (WebCore::InspectorInstrumentation::isDebuggerPaused):
      (WebCore):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didFinishLoading):
      
      LayoutTests:
      
      Reviewed by Pavel Feldman.
      
      * platform/chromium/test_expectations.txt: assert was fixed, remove
        custom expectation for inspector/debugger/pause-in-inline-script.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106662 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a0e576d
    • yurys@chromium.org's avatar
      Web Inspector: console evaluation doesn't work on breakpoint in pages with CSP · b286773f
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77203
      
      Inspector console evaluation now works when debugger is paused in a page with
      content-security-policy prohibiting evals.
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Test: inspector/debugger/eval-on-pause-blocked.html
      
      * bindings/js/JSInjectedScriptHostCustom.cpp:
      * bindings/js/ScriptState.cpp:
      (WebCore::evalEnabled):
      (WebCore):
      (WebCore::setEvalEnabled):
      * bindings/js/ScriptState.h:
      (WebCore):
      * bindings/v8/ScriptObject.h:
      (WebCore::ScriptObject::ScriptObject):
      * bindings/v8/ScriptState.cpp:
      (WebCore::evalEnabled):
      (WebCore):
      (WebCore::setEvalEnabled):
      * bindings/v8/ScriptState.h:
      (WebCore):
      * bindings/v8/custom/V8InjectedScriptHostCustom.cpp:
      * inspector/InjectedScript.cpp:
      (WebCore::InjectedScript::makeCall):
      * inspector/InjectedScriptHost.idl:
      * inspector/InjectedScriptSource.js:
      (.):
      
      LayoutTests:
      
      * inspector/debugger/eval-on-pause-blocked-expected.txt: Added.
      * inspector/debugger/eval-on-pause-blocked.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b286773f
    • commit-queue@webkit.org's avatar
      Source/WebCore: Ensure timers and other active DOM objects do not fire in suspended documents. · a8ca33b3
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=53733
      
      ScriptExecutionContext now remembers it has suspended active DOM objects
      and suspends all newly installed active DOM objects as well.
      
      All create-calls active DOM objects now calls the post constructor method
      suspendIfNeeded that updates the suspend state. It is post constructor
      because the suspend/resume functions are virtual and thus can not be called
      from constructors.
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-02-03
      Reviewed by Mihai Parparita.
      
      Test: fast/events/suspend-timers.html
      
      * Modules/intents/IntentRequest.cpp:
      (WebCore::IntentRequest::create):
      * bindings/generic/ActiveDOMCallback.cpp:
      (WebCore::ActiveDOMCallback::ActiveDOMCallback):
      * dom/ActiveDOMObject.cpp:
      (WebCore::ActiveDOMObject::ActiveDOMObject):
      (WebCore::ActiveDOMObject::~ActiveDOMObject):
      (WebCore::ActiveDOMObject::suspendIfNeeded):
      * dom/ActiveDOMObject.h:
      (WebCore::ActiveDOMObject::suspendIfNeededCalled):
      * dom/DocumentEventQueue.cpp:
      (WebCore::DocumentEventQueue::DocumentEventQueue):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::ScriptExecutionContext):
      (WebCore::ScriptExecutionContext::~ScriptExecutionContext):
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjectIfNeeded):
      * dom/ScriptExecutionContext.h:
      (WebCore::ScriptExecutionContext::activeDOMObjectsAreSuspended):
      * fileapi/DOMFileSystem.cpp:
      (WebCore::DOMFileSystem::create):
      * fileapi/FileReader.cpp:
      (WebCore::FileReader::create):
      * fileapi/FileReader.h:
      * fileapi/FileWriter.cpp:
      (WebCore::FileWriter::create):
      * fileapi/FileWriter.h:
      * history/CachedFrame.cpp:
      (WebCore::CachedFrame::CachedFrame):
      * html/HTMLAudioElement.cpp:
      (WebCore::HTMLAudioElement::create):
      * html/HTMLMarqueeElement.cpp:
      (WebCore::HTMLMarqueeElement::create):
      * html/HTMLVideoElement.cpp:
      (WebCore::HTMLVideoElement::create):
      * mediastream/PeerConnection.cpp:
      (WebCore::PeerConnection::create):
      * notifications/Notification.cpp:
      (WebCore::Notification::create):
      * notifications/NotificationCenter.cpp:
      (WebCore::NotificationCenter::create):
      * notifications/NotificationCenter.h:
      * page/DOMTimer.cpp:
      (WebCore::DOMTimer::install):
      (WebCore::DOMTimer::fired):
      * page/EventSource.cpp:
      (WebCore::EventSource::create):
      * page/SuspendableTimer.cpp:
      (WebCore::SuspendableTimer::SuspendableTimer):
      * storage/IDBDatabase.cpp:
      (WebCore::IDBDatabase::create):
      * storage/IDBRequest.cpp:
      (WebCore::IDBRequest::create):
      * storage/IDBTransaction.cpp:
      (WebCore::IDBTransaction::create):
      * webaudio/AudioContext.cpp:
      (WebCore::AudioContext::create):
      * websockets/WebSocket.cpp:
      (WebCore::WebSocket::create):
      * websockets/WebSocket.h:
      * workers/SharedWorker.cpp:
      (WebCore::SharedWorker::create):
      * workers/Worker.cpp:
      (WebCore::Worker::create):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::create):
      
      LayoutTests: Test that timers do not fire from subframes of suspended documents.
      https://bugs.webkit.org/show_bug.cgi?id=53733
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-02-03
      Reviewed by Mihai Parparita.
      
      * fast/events/resources/suspend-subframe-1.html: Added.
      * fast/events/resources/suspend-subframe-2.html: Added.
      * fast/events/suspend-timers-expected.txt: Added.
      * fast/events/suspend-timers.html: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a8ca33b3
    • ossy@webkit.org's avatar
      New test introduced in r106642 failes on Qt Linux Release · 5b4ac2b9
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77729
      
      Patch by Zoltan Arvai <zarvai@inf.u-szeged.hu> on 2012-02-03
      Reviewed by Csaba Osztrogonác.
      
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b4ac2b9
    • apavlov@chromium.org's avatar
      Implement touch event emulation in the WebCore layer · 4362021b
      apavlov@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77105
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      This change essentially maps mouse events into single-touch events in the following way:
      - mousedown -> touchstart
      - mouseup -> touchend
      - mousemove -> touchmove (between mousedown and mouseup).
      
      Test: fast/events/touch/emulate-touch-events.html
      
      * page/EventHandler.cpp:
      (SyntheticTouchPoint): A synthetic touch point built from PlatformMouseEvent.
      (WebCore::SyntheticTouchPoint::SyntheticTouchPoint):
      (SyntheticSingleTouchEvent): A synthetic touch point event built from PlatformMouseEvent.
      (WebCore::SyntheticSingleTouchEvent::SyntheticSingleTouchEvent):
      (WebCore::EventHandler::handleMouseReleaseEvent): Invoke maybeDispatchSyntheticTouchEvent() and bail out if necessary.
      (WebCore::EventHandler::handleMousePressEvent): Invoke maybeDispatchSyntheticTouchEvent() and bail out if necessary.
      (WebCore::EventHandler::mouseMoved): Invoke maybeDispatchSyntheticTouchEvent() and bail out if necessary.
      (WebCore::EventHandler::dispatchSyntheticTouchEventIfEnabled): Dispatch a synthetic touch event if necessary.
      * page/EventHandler.h: Added new method.
      * page/Settings.cpp:
      (WebCore::Settings::Settings): Added m_touchEventEmulationEnabled initializer.
      * page/Settings.h: Added m_touchEventEmulationEnabled, getter, and setter.
      (WebCore::Settings::setTouchEventEmulationEnabled): Added.
      (WebCore::Settings::isTouchEventEmulationEnabled): Added.
      * platform/PlatformTouchPoint.h:
      (WebCore::PlatformTouchPoint::PlatformTouchPoint): Unconditionally compile the parameterless ctor.
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::setTouchEventEmulationEnabled): Added for testing.
      * testing/InternalSettings.h: Added setTouchEventEmulationEnabled() for testing.
      * testing/InternalSettings.idl: Added setTouchEventEmulationEnabled() for testing.
      
      LayoutTests:
      
      * fast/events/touch/emulate-touch-events-expected.txt: Added.
      * fast/events/touch/emulate-touch-events.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4362021b
    • abarth@webkit.org's avatar
      Group all the security failures together. · 51f54b6b
      abarth@webkit.org authored
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      51f54b6b
    • pfeldman@chromium.org's avatar
      Web Inspector: preserve elements panel selection upon node drag'n'drop · f985d588
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77722
      
      Reviewed by Vsevolod Vlasov.
      
      Source/WebCore:
      
      Test: inspector/elements/move-node.html
      
      * inspector/front-end/DOMAgent.js:
      (WebInspector.DOMAgent.prototype._markRevision):
      * inspector/front-end/ElementsTreeOutline.js:
      (WebInspector.ElementsTreeOutline.prototype._ondrop):
      (WebInspector.ElementsTreeOutline.prototype._doMove.callback):
      (WebInspector.ElementsTreeOutline.prototype._doMove):
      
      LayoutTests:
      
      * inspector/elements/move-node-expected.txt: Added.
      * inspector/elements/move-node.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f985d588
    • commit-queue@webkit.org's avatar
      Source/WebCore: Reimplement DETAILS and SUMMARY using selector query. · 4a5af418
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75930
      
      Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-03
      Reviewed by Hajime Morita.
      
      DETAILS is reimplemented using content element and its fallback feature.
      We don't need to recreate DOM even if SUMMARY is removed from or added into DETAILS.
      
      No new tests, should be covered by existing tests.
      
      * html/HTMLDetailsElement.cpp:
      (WebCore::DetailsSummaryElement::fallbackSummary):
        Takes fallback element of content summary.
      (DetailsSummaryElement):
      (WebCore::DetailsSummaryElement::create):
        Creates a fallback element also.
      (WebCore):
      (WebCore::HTMLDetailsElement::create):
      (WebCore::HTMLDetailsElement::HTMLDetailsElement):
      (WebCore::HTMLDetailsElement::createShadowSubtree):
      (WebCore::HTMLDetailsElement::findMainSummary):
      (WebCore::HTMLDetailsElement::parseMappedAttribute):
      (WebCore::HTMLDetailsElement::childShouldCreateRenderer):
      (WebCore::HTMLDetailsElement::toggleOpen):
      * html/HTMLDetailsElement.h:
      (HTMLDetailsElement):
      * html/HTMLSummaryElement.cpp:
      (WebCore::HTMLSummaryElement::isMainSummary):
      
      LayoutTests: Reimplement DETAILS and SUMMARY using selector query.
      https://bugs.webkit.org/show_bug.cgi?id=75930
      
      Since the implementation of DETAILS shadow tree, the path of caret position is also changed.
      
      Patch by Shinya Kawanaka <shinyak@google.com> on 2012-02-03
      Reviewed by Hajime Morita.
      
      * platform/chromium-win/fast/html/details-remove-summary-1-and-click-expected.txt:
      * platform/chromium-win/fast/html/details-remove-summary-4-and-click-expected.txt:
      * platform/gtk/fast/html/details-remove-summary-1-and-click-expected.txt:
      * platform/gtk/fast/html/details-remove-summary-4-and-click-expected.txt:
      * platform/mac/fast/html/details-remove-summary-1-and-click-expected.txt:
      * platform/mac/fast/html/details-remove-summary-4-and-click-expected.txt:
      * platform/qt/fast/html/details-remove-summary-1-and-click-expected.txt:
      * platform/qt/fast/html/details-remove-summary-4-and-click-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4a5af418
    • commit-queue@webkit.org's avatar
      Web Inspector: Always show percents together with counters in heap inspector. · 3398423f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=77434
      
      Source/WebCore:
      
      Patch by Alexei Filippov <alexeif@chromium.org> on 2012-02-02
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/DetailedHeapshotGridNodes.js:
      (WebInspector.HeapSnapshotGridNode.prototype._toPercentString):
      (WebInspector.HeapSnapshotGridNode.prototype._createValueCell):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.createCell):
      (WebInspector.HeapSnapshotGenericObjectNode.prototype.get data):
      (WebInspector.HeapSnapshotConstructorNode.prototype.createCell):
      (WebInspector.HeapSnapshotConstructorNode.prototype.get data):
      (WebInspector.HeapSnapshotDiffNode.prototype.get data):
      * inspector/front-end/DetailedHeapshotView.js:
      (WebInspector.HeapSnapshotContainmentDataGrid):
      (WebInspector.HeapSnapshotConstructorsDataGrid):
      (WebInspector.HeapSnapshotDiffDataGrid):
      (WebInspector.HeapSnapshotDominatorsDataGrid):
      (WebInspector.DetailedHeapshotView.prototype._mouseDownInContentsGrid):
      (WebInspector.DetailedHeapshotView.prototype.get _isShowingAsPercent):
      (WebInspector.DetailedHeapshotView.prototype._percentClicked):
      * inspector/front-end/heapProfiler.css:
      (.detailed-heapshot-view .data-grid span.percent-column):
      
      LayoutTests:
      
      Added parseInt conversion as counters are now strings not ints.
      
      Patch by Alexei Filippov <alexeif@chromium.org> on 2012-02-02
      Reviewed by Pavel Feldman.
      
      * inspector/profiler/detailed-heapshots-comparison-show-all.html:
      * inspector/profiler/detailed-heapshots-comparison-show-next.html:
      * inspector/profiler/detailed-heapshots-summary-show-all.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3398423f
    • commit-queue@webkit.org's avatar
      Use content-language from http-equiv to set document locale and font · 335d75e4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76701
      
      Patch by Matt Falkenhagen <falken@chromium.org> on 2012-02-02
      Reviewed by Darin Adler.
      
      Source/WebCore:
      
      So far, only content-language set through http-equiv is used; the HTTP Content-Language
      header is not yet supported.
      
      Tests: fast/text/content-language-case-insensitivity.html
             fast/text/content-language-mapped-to-webkit-locale.html
             fast/text/international/content-language-font-selection-expected.html
             fast/text/international/content-language-font-selection.html
             fast/text/international/content-language-with-subtags-expected.html
             fast/text/international/content-language-with-subtags.html
      
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::styleForDocument): Use content language when selecting initial font.
      * dom/Document.cpp:
      (WebCore::Document::setContentLanguage): Recalculate style so language is taken into account.
      (WebCore):
      * dom/Document.h:
      (Document):
      
      LayoutTests:
      
      Add tests that content-language from http-equiv sets document locale and is used in font selection.
      
      * fast/text/content-language-case-insensitivity-expected.txt: Added.
      * fast/text/content-language-case-insensitivity.html: Added.
      * fast/text/content-language-mapped-to-webkit-locale-expected.txt: Added.
      * fast/text/content-language-mapped-to-webkit-locale.html: Added.
      * fast/text/international/content-language-font-selection-expected.html: Added.
      * fast/text/international/content-language-font-selection.html: Added.
      * fast/text/international/content-language-with-subtags-expected.html: Added.
      * fast/text/international/content-language-with-subtags.html: Added.
      * fast/text/lang-mapped-to-webkit-locale-expected.txt:
      * fast/text/lang-mapped-to-webkit-locale.xhtml: Fix some style issues.
      * fast/text/xml-lang-ignored-in-html-expected.txt:
      * fast/text/xml-lang-ignored-in-html.html: Fix some style issues.
      * platform/efl/Skipped: Skip tests using overridePreference("WebKit*FontMap"...) on non-Chromium ports.
      * platform/gtk-wk2/Skipped: Ditto.
      * platform/gtk/Skipped: Ditto.
      * platform/mac/Skipped: Ditto.
      * platform/qt/Skipped: Ditto.
      * platform/win/Skipped: Ditto.
      * platform/wincairo/Skipped: Ditto.
      * platform/wk2/Skipped: Ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      335d75e4
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening after r106554. · 1dfe7331
      ossy@webkit.org authored
      * platform/qt/Skipped: Skip one more failing test.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1dfe7331
  2. 02 Feb, 2012 25 commits