WebKit.git
10 years ago2010-12-07 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Tue, 7 Dec 2010 11:11:37 +0000 (11:11 +0000)]
2010-12-07  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Remove WebKitGenerators
        https://bugs.webkit.org/show_bug.cgi?id=50445

        * CMakeLists.txt:
        * cmake/WebKitGenerators.cmake: Removed.
2010-12-07  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Remove WebKitGenerators
        https://bugs.webkit.org/show_bug.cgi?id=50445

        Move remaining logic into main CMakeLists.txt.

        * CMakeLists.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73434 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=50412
antti@apple.com [Tue, 7 Dec 2010 11:11:08 +0000 (11:11 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=50412
http://www.wunderground.com/US/CA/Hayward.html causes big memory spike during page loading

Reviewed by Gavin Barraclough.

Creating a substring caused the original string be flattened if it was in the rope form. This could use
significant amount of memory by reducing buffer sharing between strings.

Add a rope specific substring function that constructs the substring by reusing the rope fibers
instead of flattening the rope.

No change observed in SunSpider.

* runtime/JSString.cpp:
(JSC::JSString::substringFromRope):
* runtime/JSString.h:
(JSC::jsSubstring):
* runtime/StringPrototype.cpp:
(JSC::stringProtoFuncSubstr):
(JSC::stringProtoFuncSubstring):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73433 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-07 Justin Schuh <jschuh@chromium.org>
jschuh@chromium.org [Tue, 7 Dec 2010 10:44:05 +0000 (10:44 +0000)]
2010-12-07  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Nikolas Zimmermann.

        Clear old SVG cursor entry before adding a new one
        https://bugs.webkit.org/show_bug.cgi?id=50549

        Test: svg/css/cursor-replace.svg

        * css/CSSCursorImageValue.cpp:
        (WebCore::CSSCursorImageValue::~CSSCursorImageValue):
        * svg/SVGCursorElement.cpp:
        (WebCore::SVGCursorElement::~SVGCursorElement):
        (WebCore::SVGCursorElement::removeClient):
        (WebCore::SVGCursorElement::removeReferencedElement):
        * svg/SVGCursorElement.h:
        * svg/SVGElement.cpp:
        (WebCore::SVGElement::setCursorElement):
        (WebCore::SVGElement::cursorElementRemoved):
        (WebCore::SVGElement::setCursorImageValue):
        (WebCore::SVGElement::cursorImageElementRemoved):
        * svg/SVGElement.h:
2010-12-07  Justin Schuh  <jschuh@chromium.org>

        Reviewed by Nikolas Zimmermann.

        Clear old SVG cursor entry before adding a new one
        https://bugs.webkit.org/show_bug.cgi?id=50549

        * svg/css/cursor-replace-expected.txt: Added.
        * svg/css/cursor-replace.svg: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73432 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-07 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Tue, 7 Dec 2010 10:15:48 +0000 (10:15 +0000)]
2010-12-07  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Add Chromium-specific expected results for two tests.

        * platform/chromium-linux/css2.1/t040105-import-10-b-expected.checksum: Added.
        * platform/chromium-linux/css2.1/t040105-import-10-b-expected.png: Added.
        * platform/chromium-linux/media/controls-without-preload-expected.checksum: Added.
        * platform/chromium-linux/media/controls-without-preload-expected.png: Added.
        * platform/chromium-mac/media/controls-without-preload-expected.checksum: Added.
        * platform/chromium-mac/media/controls-without-preload-expected.png: Added.
        * platform/chromium-mac/media/controls-without-preload-expected.txt: Added.
        * platform/chromium-win/css2.1/t040105-import-10-b-expected.checksum: Added.
        * platform/chromium-win/css2.1/t040105-import-10-b-expected.png: Added.
        * platform/chromium-win/css2.1/t040105-import-10-b-expected.txt: Added.
        * platform/chromium-win/media/controls-without-preload-expected.checksum: Added.
        * platform/chromium-win/media/controls-without-preload-expected.png: Added.
        * platform/chromium-win/media/controls-without-preload-expected.txt: Added.
        * platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73431 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-07 Kenichi Ishibashi <bashi@google.com>
tkent@chromium.org [Tue, 7 Dec 2010 09:40:23 +0000 (09:40 +0000)]
2010-12-07  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Let HTMLObjectElement be a form associated element
        https://bugs.webkit.org/show_bug.cgi?id=48821

        Introduces FormAssociatedElement class which would be a super class
        of form assocated elements. Some of member functions and variables of
        HTMLFormControlElement are migrated into this class.
        Following the HTML5 spec, HTMLFormControlElement class and
        HTMLObjectElement class are subclasses of it for now.

        Test: fast/forms/form-collection-elements-order.html

        * Android.mk: Added FormAssociatedElement.cpp
        * CMakeLists.txt: Ditto.
        * GNUmakefile.am: Added FormAssociatedElement.{cpp,h}
        * WebCore.exp.in: Added the symbol for toHTMLElement(FormAssociatedElement*)
        * WebCore.gypi: Added FormAssociatedElement.{cpp,h}
        * WebCore.pro: Ditto.
        * WebCore.vcproj/WebCore.vcproj: Ditto.
        * WebCore.xcodeproj/project.pbxproj: Ditto.
        * dom/CheckedRadioButtons.h: Fixed class forward declaration order.
        * dom/Document.cpp:
        (WebCore::Document::registerFormElementWithFormAttribute): Modified to
        use FormAssociatedElement instead of HTMLFormControlElement
        (WebCore::Document::unregisterFormElementWithFormAttribute): Ditto.
        (WebCore::Document::resetFormElementsOwner):
        * dom/Document.h: Ditto.
        * html/DOMFormData.cpp: Ditto.
        (WebCore::DOMFormData::DOMFormData):
        * html/FormAssociatedElement.cpp: Copied and renamed from WebCore/html/HTMLFormControlElement.cpp.
        (WebCore::FormAssociatedElement::FormAssociatedElement):
        (WebCore::FormAssociatedElement::~FormAssociatedElement):
        (WebCore::FormAssociatedElement::validity):
        (WebCore::FormAssociatedElement::insertedIntoTree):
        (WebCore::FormAssociatedElement::removedFromTree):
        (WebCore::FormAssociatedElement::removeFromForm):
        (WebCore::FormAssociatedElement::resetFormOwner):
        (WebCore::FormAssociatedElement::formAttributeChanged):
        (WebCore::toHTMLElement):
        * html/FormAssociatedElement.h: Ditto.
        (WebCore::FormAssociatedElement::ref):
        (WebCore::FormAssociatedElement::deref):
        (WebCore::FormAssociatedElement::formDestroyed):
        (WebCore::FormAssociatedElement::setForm):
        * html/HTMLElement.h: Changed the access level of findFormAncestor().
        * html/HTMLFormCollection.cpp:
        (WebCore::HTMLFormCollection::item): Modified to use FormAssociatedElement
        instead of HTMLFormControlElement.
        (WebCore::HTMLFormCollection::getNamedFormItem): Ditto.
        (WebCore::HTMLFormCollection::updateNameCache): Ditto.
        * html/HTMLFormControlElement.cpp: Modified regarding with the change of class
        hierarchy.
        (WebCore::HTMLFormControlElement::HTMLFormControlElement):
        (WebCore::HTMLFormControlElement::~HTMLFormControlElement):
        (WebCore::HTMLFormControlElement::insertedIntoTree):
        (WebCore::HTMLFormControlElement::removedFromTree):
        (WebCore::HTMLFormControlElement::supportsFocus):
        (WebCore::HTMLFormControlElement::checkValidity):
        (WebCore::HTMLFormControlElement::virtualForm):
        (WebCore::HTMLFormControlElement::isDefaultButtonForForm):
        (WebCore::HTMLFormControlElement::attributeChanged):
        * html/HTMLFormControlElement.h: Ditto.
        (WebCore::HTMLFormControlElement::form):
        (WebCore::HTMLFormControlElement::disabled):
        (WebCore::HTMLFormControlElement::type):
        (WebCore::HTMLFormControlElement::refFormAssociatedElement):
        (WebCore::HTMLFormControlElement::derefFormAssociatedElement):
        * html/HTMLFormElement.cpp: Modified to use FormAssociatedElement
        instead of HTMLFormControlElement.
        (WebCore::HTMLFormElement::submitImplicitly):
        (WebCore::HTMLFormElement::validateInteractively):
        (WebCore::HTMLFormElement::submit):
        (WebCore::HTMLFormElement::reset):
        (WebCore::HTMLFormElement::formElementIndexWithFormAttribute):
        (WebCore::HTMLFormElement::formElementIndex):
        (WebCore::HTMLFormElement::registerFormElement):
        (WebCore::HTMLFormElement::removeFormElement):
        (WebCore::HTMLFormElement::defaultButton):
        (WebCore::HTMLFormElement::checkValidity):
        (WebCore::HTMLFormElement::collectUnhandledInvalidControls):
        (WebCore::HTMLFormElement::documentDidBecomeActive):
        * html/HTMLFormElement.h: Ditto.
        (WebCore::HTMLFormElement::associatedElements):
        * html/HTMLInputElement.cpp: Ditto.
        (WebCore::HTMLInputElement::updateCheckedRadioButtons):
        * html/HTMLObjectElement.cpp: Modified regarding with the change of class
        hierarchy.
        (WebCore::HTMLObjectElement::HTMLObjectElement):
        (WebCore::HTMLObjectElement::~HTMLObjectElement):
        (WebCore::HTMLObjectElement::create):
        (WebCore::HTMLObjectElement::attributeChanged):
        (WebCore::HTMLObjectElement::insertedIntoTree):
        (WebCore::HTMLObjectElement::removedFromTree):
        (WebCore::HTMLObjectElement::appendFormData):
        (WebCore::HTMLObjectElement::formControlName):
        * html/HTMLObjectElement.h: Ditto.
        (WebCore::HTMLObjectElement::form):
        (WebCore::HTMLObjectElement::isFormControlElement):
        (WebCore::HTMLObjectElement::isEnumeratable):
        (WebCore::HTMLObjectElement::refFormAssociatedElement):
        (WebCore::HTMLObjectElement::derefFormAssociatedElement):
        * html/HTMLTagNames.in: Added constructorNeedsFormElement to object tag.
        * html/ValidationMessage.cpp: Modified to use FormAssociatedElement
        instead of HTMLFormControlElement.
        (WebCore::ValidationMessage::ValidationMessage):
        (WebCore::ValidationMessage::create):
        * html/ValidationMessage.h: Ditto.
        * html/ValidityState.cpp: Ditto.
        (WebCore::ValidityState::validationMessage):
        (WebCore::ValidityState::setCustomErrorMessage):
        (WebCore::ValidityState::valueMissing):
        (WebCore::ValidityState::typeMismatch):
        (WebCore::ValidityState::patternMismatch):
        (WebCore::ValidityState::tooLong):
        (WebCore::ValidityState::rangeUnderflow):
        (WebCore::ValidityState::rangeOverflow):
        (WebCore::ValidityState::stepMismatch):
        * html/ValidityState.h: Ditto.
        (WebCore::ValidityState::create):
        (WebCore::ValidityState::ValidityState):
        * loader/FormSubmission.cpp: Ditto.
        (WebCore::FormSubmission::create):

2010-12-07  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Let HTMLObjectElement be a form associated element
        https://bugs.webkit.org/show_bug.cgi?id=48821

        Modified to use FormAssociatedElement instead of HTMLFormControlElement.

        * src/WebFormElement.cpp:
        (WebKit::WebFormElement::getFormControlElements): Modified to use
        FormAssociatedElement instead of HTMLFormControlElement.
        * src/WebPasswordFormUtils.cpp:
        (WebKit::findPasswordFormFields): Ditto.
        * src/WebSearchableFormData.cpp:
        (WebCore::GetButtonToActivate): Ditto.
        (WebCore::HasSuitableTextElement): Ditto.

2010-12-07  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Let HTMLObjectElement be a form associated element
        https://bugs.webkit.org/show_bug.cgi?id=48821

        Modified to use FormAssociatedElement instead of HTMLFormControlElement.

        * WebFrame.cpp:
        (WebFrame::elementWithName): Modified to use FormAssociatedElement
        instead of HTMLFormControlElement.
        (WebFrame::controlsInForm): Ditto.

2010-12-07  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Let HTMLObjectElement be a form associated element
        https://bugs.webkit.org/show_bug.cgi?id=48821

        Modified to use FormAssociatedElement instead of HTMLFormControlElement.

        * WebView/WebHTMLRepresentation.mm:
        (-[WebHTMLRepresentation elementWithName:inForm:]): Modified to use
        FormAssociatedElement instead of HTMLFormControlElement.
        (-[WebHTMLRepresentation controlsInForm:]): Ditto.

2010-12-07  Kenichi Ishibashi  <bashi@google.com>

        Reviewed by Kent Tamura.

        Let HTMLObjectElement be a form associated element
        https://bugs.webkit.org/show_bug.cgi?id=48821

        Adds a test to ensure the order of form.elements attribute.
        Updates two tests to check whether object elements are handled
        correctly in form.elements attribute.

        * fast/forms/form-attribute-expected.txt: Updated.
        * fast/forms/form-collection-elements-order-expected.txt: Added.
        * fast/forms/form-collection-elements-order.html: Added.
        * fast/forms/script-tests/form-attribute.js: Updated.
        * fast/forms/script-tests/form-collection-elements-order.js: Added.
        (checkOrder):
        * fast/forms/script-tests/form-collection-elements.js: Updated.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73430 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Tue, 7 Dec 2010 07:31:12 +0000 (07:31 +0000)]
2010-12-06  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations for svg/custom/text-linking.svg.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73429 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Pavel Feldman <pfeldman@chromium.org>
pfeldman@chromium.org [Tue, 7 Dec 2010 07:01:39 +0000 (07:01 +0000)]
2010-12-06  Pavel Feldman  <pfeldman@chromium.org>

        Not reviewed. Rolling out r72988 for breaking iframes.

        * css/CSSImportRule.cpp:
        (WebCore::CSSImportRule::insertedIntoParent):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73427 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Yuta Kitamura <yutak@chromium.org>
yutak@chromium.org [Tue, 7 Dec 2010 06:02:34 +0000 (06:02 +0000)]
2010-12-06  Yuta Kitamura  <yutak@chromium.org>

        Unreviewed.

        Update Chromium test expectations.

        * platform/chromium/test_expectations.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73426 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Hironori Bono <hbono@chromium.org>
commit-queue@webkit.org [Tue, 7 Dec 2010 05:05:12 +0000 (05:05 +0000)]
2010-12-06  Hironori Bono  <hbono@chromium.org>

        Reviewed by David Levin.

        [Chromium] Refactor FontCacheChromiumWin.cpp
        https://bugs.webkit.org/show_bug.cgi?id=50611

        This change just moved the helper functions for the WebCore::FontCache class to the beginning of ths file.

        No new tests are added since this is a refactoring.

        * platform/graphics/chromium/FontCacheChromiumWin.cpp:
        (WebCore::fontDataFromDescriptionAndLogFont): Moved to the beginning of the file.
        (WebCore::toGDIFontWeight): Moved to the beginning of the file.
        (WebCore::FillLogFont): Moved to the beginning of the file.
        (WebCore::TraitsInFamilyProcData::TraitsInFamilyProcData): Moved to the beginning of the file.
        (WebCore::traitsInFamilyEnumProc): Moved to the beginning of the file.
        (WebCore::FontCache::platformInit): Moved after the static functions.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73425 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Alexey Marinichev <amarinichev@chromium.org>
commit-queue@webkit.org [Tue, 7 Dec 2010 04:24:25 +0000 (04:24 +0000)]
2010-12-06  Alexey Marinichev  <amarinichev@chromium.org>

        Reviewed by Kenneth Russell.

        Throw webglcontextlost and webglcontextrestored events when a WebGL context is lost and restored.
        https://bugs.webkit.org/show_bug.cgi?id=50364

        No new tests since there is currently no way to force a context lost event.

        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::fired):
        (WebCore::WebGLRenderingContext::create):
        (WebCore::WebGLRenderingContext::WebGLRenderingContext):
        (WebCore::WebGLRenderingContext::isContextLost):
        (WebCore::WebGLRenderingContext::loseContext):
        (WebCore::WebGLRenderingContext::restoreContext):
        * html/canvas/WebGLRenderingContext.h:
        (WebCore::WebGLRenderingContext::WebGLRenderingContextRestoreTimer::WebGLRenderingContextRestoreTimer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73424 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=50593
hyatt@apple.com [Tue, 7 Dec 2010 03:42:36 +0000 (03:42 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=50593

Reviewed by Simon Fraser.

Fix background canvas painting for documents with left/top overflow.  The math from the original RTL patch was incorrect.

Just use the RenderView's document dimensions always.

WebCore:

* rendering/RenderBox.cpp:
(WebCore::RenderBox::paintRootBoxDecorations):

LayoutTests:

* fast/blockflow/Kusa-Makura-background-canvas.html: Added.
* platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.checksum: Added.
* platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.png: Added.
* platform/mac/fast/blockflow/Kusa-Makura-background-canvas-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73423 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 7 Dec 2010 02:01:21 +0000 (02:01 +0000)]
2010-12-06  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Sam Weinig.

        Fix two WebKit2 prefs issues.

        * Shared/WebPreferencesStore.h: Include font-family preferences
        in the FOR_EACH_WEBKIT_STRING_PREFERENCE macro, actually propagating
        font family prefs to WebCore settings.

        * UIProcess/WebPageGroup.cpp:
        (WebKit::WebPageGroup::WebPageGroup):
        (WebKit::WebPageGroup::~WebPageGroup): Add and remove the WebPageGroup
        from the preference object it creates. This allows preference changes
        to actually be propagated to the web process.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73422 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Tue, 7 Dec 2010 02:01:11 +0000 (02:01 +0000)]
2010-12-06  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Beth Dakin.

        CSS animation doesn't work for border-radius
        https://bugs.webkit.org/show_bug.cgi?id=48340

        Include CSSPropertyBorderRadius in the list of shorthand
        properties, so that the individual border-radius properties
        get animated.

        Test: transitions/border-radius-transition.html

        * page/animation/AnimationBase.cpp:
        (WebCore::addShorthandProperties):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73421 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Tue, 7 Dec 2010 01:24:05 +0000 (01:24 +0000)]
2010-12-06  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations.

        * platform/chromium-mac-leopard/fast/repaint/box-shadow-h-expected.checksum:
        * platform/chromium-mac-leopard/fast/repaint/box-shadow-h-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73420 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoThe plug-in process crashes if it can't load the plug-in module
andersca@apple.com [Tue, 7 Dec 2010 01:14:40 +0000 (01:14 +0000)]
The plug-in process crashes if it can't load the plug-in module
https://bugs.webkit.org/show_bug.cgi?id=50601
<rdar://problem/8692654>

Reviewed by Sam Weinig.

* PluginProcess/PluginControllerProxy.cpp:
(WebKit::PluginControllerProxy::initialize):
Handle m_plugin being 0.

* PluginProcess/PluginProcess.cpp:
(WebKit::PluginProcess::netscapePluginModule):
Create the plug-in module if it doesn't exist.

(WebKit::PluginProcess::initialize):
Store the plug-in path.

* PluginProcess/PluginProcess.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::create):
Return null if the plug-in module doesn't exist.

* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::createPlugin):
Simplify code.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73419 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Emil Eklund <eae@chromium.org>
commit-queue@webkit.org [Tue, 7 Dec 2010 01:12:43 +0000 (01:12 +0000)]
2010-12-06  Emil Eklund  <eae@chromium.org>

        Reviewed by Dimitri Glazkov.

        Fix for classList perf test, failing due to typo.
        https://bugs.webkit.org/show_bug.cgi?id=50578

        * perf/class-list-remove.html: Changed to use the right value.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73418 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Geoffrey Garen <ggaren@apple.com>
ggaren@apple.com [Tue, 7 Dec 2010 01:01:08 +0000 (01:01 +0000)]
2010-12-06  Geoffrey Garen  <ggaren@apple.com>

        Reviewed by Gavin Barraclough.

        Simplified some ASLR-related code in PageAllocation/Reservation
        https://bugs.webkit.org/show_bug.cgi?id=50599

        Removed reserveAt, allocateAt, and friends, since they all existed to
        serve one feature: ASLR for executable memory on x86_64 on Mac. Moved
        ASLR code down into systemAllocate -- now, any time you allocate
        executable memory on a supporting platform, the memory's location is
        randomized.

        * jit/ExecutableAllocatorFixedVMPool.cpp:
        (JSC::FixedVMPoolAllocator::FixedVMPoolAllocator): No need for the caller
        to randomize anything.

        * wtf/PageAllocation.h:
        (WTF::PageAllocation::systemAllocate): Removed some *At() functions, and
        beefed up executable allocation with randomization.

        * wtf/PageReservation.h:
        (WTF::PageReservation::systemReserve): Removed some *At() functions.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73417 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 7 Dec 2010 01:00:23 +0000 (01:00 +0000)]
2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        ApplyStyleCommand should take EditingStyle instead of CSSStyleDeclaration
        https://bugs.webkit.org/show_bug.cgi?id=49938

        Modified ApplyStyleCommand::ApplyStyleCommand and ApplyStyleCommand::create to take EditingStyle*
        instead of CSSStyleDeclaration*. Also replaced much of code in Editor::computeAndSetTypingStyle
        by calls to EditingStyle's member functions and extracted EditingStyle::overrideWith and
        EditingStyle::extractAndRemoveBlockProperties.

        No new tests are added since this is a refactoring.

        * WebCore.exp.in: Added SelectionController::copyTypingStyle and EditingStyle::~EditingStyle.
        * css/CSSMutableStyleDeclaration.cpp: Made CSSMutableStyleDeclaration* in the argument list const.
        (WebCore::CSSMutableStyleDeclaration::merge):
        * css/CSSMutableStyleDeclaration.h:
        * editing/ApplyStyleCommand.cpp:
        (WebCore::ApplyStyleCommand::ApplyStyleCommand): Takes EditingStyle* instead of CSSStyleDeclaration*.
        (WebCore::ApplyStyleCommand::doApply): Uses EditingStyle.
        * editing/ApplyStyleCommand.h: m_style is now a ref-pointer to EditingStyle instead of CSSMutableStyleDeclaration.
        (WebCore::ApplyStyleCommand::create): Takes EditingStyle* instead of CSSStyleDeclaration*.
        * editing/CompositeEditCommand.cpp:
        (WebCore::CompositeEditCommand::applyStyle): Ditto.
        (WebCore::CompositeEditCommand::moveParagraphs): Calls applyStyle.
        (WebCore::CompositeEditCommand::breakOutOfEmptyListItem): Ditto.
        * editing/CompositeEditCommand.h:
        * editing/DeleteSelectionCommand.cpp:
        (WebCore::DeleteSelectionCommand::calculateTypingStyleAfterDelete): Ditto.
        * editing/EditCommand.cpp:
        * editing/EditCommand.h:
        * editing/EditingStyle.cpp:
        (WebCore::EditingStyle::~EditingStyle): Added.
        (WebCore::EditingStyle::overrideWithStyle): Extracted from Editor::calculateTypingStyleAfterDelete.
        (WebCore::EditingStyle::copy): Added.
        (WebCore::EditingStyle::extractAndRemoveBlockProperties): Extracted from Editor::calculateTypingStyleAfterDelete.
        * editing/EditingStyle.h:
        * editing/Editor.cpp:
        (WebCore::Editor::applyStyle): Calls ApplyStyleCommand::create.
        (WebCore::Editor::applyParagraphStyle): Ditto.
        (WebCore::Editor::computeAndSetTypingStyle): Ditto.
        * editing/InsertLineBreakCommand.cpp:
        (WebCore::InsertLineBreakCommand::doApply): Calls applyStyle.
        * editing/InsertParagraphSeparatorCommand.cpp:
        (WebCore::InsertParagraphSeparatorCommand::applyStyleAfterInsertion): Ditto.
        * editing/InsertTextCommand.cpp:
        (WebCore::InsertTextCommand::input): Ditto.
        * editing/RemoveFormatCommand.cpp:
        (WebCore::RemoveFormatCommand::doApply): Calls ApplyStyleCommand::create.
        * editing/ReplaceSelectionCommand.cpp:
        (WebCore::ReplaceSelectionCommand::completeHTMLReplacement): Calls applyStyle.
        * editing/SelectionController.cpp:
        (WebCore::SelectionController::copyTypingStyle): Moved from SelectionController.h
        * editing/SelectionController.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73416 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Cosmin Truta <ctruta@chromium.org>
commit-queue@webkit.org [Tue, 7 Dec 2010 00:58:15 +0000 (00:58 +0000)]
2010-12-06  Cosmin Truta  <ctruta@chromium.org>

        Reviewed by Eric Seidel.

        Fix testcase: textPath cannot be inside another textPath
        https://bugs.webkit.org/show_bug.cgi?id=50211

        * platform/mac/svg/custom/text-linking-expected.checksum: Updated.
        * platform/mac/svg/custom/text-linking-expected.png: Updated.
        * platform/mac/svg/custom/text-linking-expected.txt: Updated.
        * platform/chromium-linux/svg/custom/text-linking-expected.checksum: Updated.
        * platform/chromium-linux/svg/custom/text-linking-expected.png: Updated.
        * platform/chromium-linux/svg/custom/text-linking-expected.txt: Updated.
        * platform/chromium-win-vista/svg/custom/text-linking-expected.checksum: Deleted.
        * platform/chromium-win-vista/svg/custom/text-linking-expected.png: Deleted.
        * platform/chromium-win-vista/svg/custom/text-linking-expected.txt: Deleted.
        * platform/chromium-win-xp/svg/custom/text-linking-expected.checksum: Deleted.
        * platform/chromium-win-xp/svg/custom/text-linking-expected.png: Deleted.
        * platform/chromium-win-xp/svg/custom/text-linking-expected.txt: Deleted.
        * svg/custom/text-linking.svg: Removed test for <textPath> inside <textPath>.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73415 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebProcess crash in NPRemoteObjectMap::invalidate when closing tab
andersca@apple.com [Tue, 7 Dec 2010 00:57:32 +0000 (00:57 +0000)]
WebProcess crash in NPRemoteObjectMap::invalidate when closing tab
https://bugs.webkit.org/show_bug.cgi?id=50597
<rdar://problem/8655584>

Reviewed by Sam Weinig.

When invalidating the NPRemoteObjectMap, we don't want NPObjectMessageReceiver to
release all objects NPObjects blindly because NPJSObjects have already been deallocated by the plug-in view.

This is not an ideal solution; an ideal solution would involve NPJSObjects notifying any NPObjectMessageReceiver objects
that the NPJSObject is being destroyed. The NPObjectMessageReceiver could then simply null out the NPObject pointer.

* Shared/Plugins/NPObjectMessageReceiver.cpp:
(WebKit::NPObjectMessageReceiver::NPObjectMessageReceiver):
(WebKit::NPObjectMessageReceiver::~NPObjectMessageReceiver):
* Shared/Plugins/NPObjectMessageReceiver.h:
* Shared/Plugins/NPRemoteObjectMap.cpp:
(WebKit::NPRemoteObjectMap::NPRemoteObjectMap):
(WebKit::NPRemoteObjectMap::invalidate):
* Shared/Plugins/NPRemoteObjectMap.h:
(WebKit::NPRemoteObjectMap::isInvalidating):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73414 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUpdate Windows results after r73385.
jhoneycutt@apple.com [Tue, 7 Dec 2010 00:49:45 +0000 (00:49 +0000)]
Update Windows results after r73385.

Unreviewed.

* platform/win/fast/forms/basic-textareas-quirks-expected.txt:
* platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
* platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
* platform/win/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73413 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoGeneralize didChangeLocationWithinPageForFrame for all same document navigations
weinig@apple.com [Tue, 7 Dec 2010 00:33:18 +0000 (00:33 +0000)]
Generalize didChangeLocationWithinPageForFrame for all same document navigations
https://bugs.webkit.org/show_bug.cgi?id=50584

Reviewed by Anders Carlsson.

WebKit2:

  - Rename didChangeLocationWithinPageForFrame callbacks to didSameDocumentNavigationForFrame
  - Add WKSameDocumentNavigationType to didChangeLocationWithinPageForFrame.
  - Call didSameDocumentNavigationForFrame for HTML session state changes.

* Shared/API/c/WKPageLoadTypes.h: Added.
* Shared/API/c/WKSharedAPICast.h:
(WebKit::toAPI):
Moved WKFrameNavigationType here from WKPage.h and add WKSameDocumentNavigationType.

* Shared/SameDocumentNavigationType.h: Added.
* UIProcess/API/C/WKAPICast.h:
Moved WKFrameNavigationType conversion from here.

* UIProcess/API/C/WKPage.h:
* UIProcess/API/qt/qwkpage.cpp:
(QWKPage::QWKPage):
Update comment.

* UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::didSameDocumentNavigation):
* UIProcess/WebFrameProxy.h:
* UIProcess/WebLoaderClient.cpp:
(WebKit::WebLoaderClient::didSameDocumentNavigationForFrame):
* UIProcess/WebLoaderClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didSameDocumentNavigationForFrame):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
(WebKit::InjectedBundlePageLoaderClient::didSameDocumentNavigationForFrame):
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
Pipe new name through.

* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):
(WebKit::WebFrameLoaderClient::dispatchDidPushStateWithinPage):
(WebKit::WebFrameLoaderClient::dispatchDidReplaceStateWithinPage):
(WebKit::WebFrameLoaderClient::dispatchDidPopStateWithinPage):
Call didChangeLocationWithinPageForFrame for session state changes.

* WebKit2.pro:
* WebKit2.xcodeproj/project.pbxproj:
* win/WebKit2.vcproj:
* win/WebKit2Generated.make:
Add new files.

WebKitTools:

* MiniBrowser/mac/BrowserWindowController.m:
(didSameDocumentNavigationForFrame):
(-[BrowserWindowController awakeFromNib]):
(-[BrowserWindowController didSameDocumentNavigationForFrame:]):
* TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
(TestWebKitAPI::didSameDocumentNavigationForFrame):
(TestWebKitAPI::TEST):
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):
(WTR::InjectedBundlePage::didSameDocumentNavigationForFrame):
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73412 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-05 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Tue, 7 Dec 2010 00:31:34 +0000 (00:31 +0000)]
2010-12-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        Executing FormatBlock on multiple paragraphs inside pre does not remove the outer pre
        https://bugs.webkit.org/show_bug.cgi?id=47300

        The bug was caused by FormatBlockCommand::formatRange's not removing refNode when the refNode
        contains more than one paragraphs even when the refNode is fully selected.

        Fixed the bug by modifying FormatBlockCommand::formatRange to correctly remove the node in
        such a situation.

        Also fixed a bug in ApplyBlockElementCommand::formatSelection that the end of selection
        is not properly updated when the end of selection resides in the node split by
        rangeForParagraphSplittingTextNodesIfNeeded or endOfNextParagrahSplittingTextNodesIfNeeded.

        Test: editing/execCommand/format-block-multiple-paragraphs-in-pre.html

        * editing/ApplyBlockElementCommand.cpp:
        (WebCore::ApplyBlockElementCommand::formatSelection): Calls formatRange with m_endOfLastParagraph.
        (WebCore::ApplyBlockElementCommand::rangeForParagraphSplittingTextNodesIfNeeded): Updates
        m_endOfLastParagraph when the position points to the node split by this function.
        (WebCore::ApplyBlockElementCommand::endOfNextParagrahSplittingTextNodesIfNeeded): Ditto.
        * editing/ApplyBlockElementCommand.h: Added m_endOfLastParagraph as a member variable.
        * editing/FormatBlockCommand.cpp:
        (WebCore::FormatBlockCommand::formatRange): See above.
        * editing/FormatBlockCommand.h:
        * editing/IndentOutdentCommand.cpp:
        (WebCore::IndentOutdentCommand::formatRange): Ignores the end of selection.
        * editing/IndentOutdentCommand.h:
2010-12-05  Ryosuke Niwa  <rniwa@webkit.org>

        Reviewed by Tony Chang.

        Executing FormatBlock on multiple paragraphs inside pre does not remove the outer pre
        https://bugs.webkit.org/show_bug.cgi?id=47300

        Added a test to ensure execCommand('FormatBlock') correctly removes pre when formatting paragraphs within.
        Also rebaselined several tests because WebKit no longer erroneously format the paragraphs immediately
        after the selection.

        * editing/execCommand/format-block-multiple-paragraphs-in-pre-expected.txt: Added.
        * editing/execCommand/format-block-multiple-paragraphs-in-pre.html: Added.
        * editing/execCommand/format-block-multiple-paragraphs-expected.txt: No longer erroneously format
        the last paragraph in a pre by a blockquote when formatting all but the last paragraph in the pre.
        * editing/execCommand/indent-pre-expected.txt: No longer erroneously format the last paragraph in
        the pre-list by a blockquote.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73411 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebKit2: Expose the preference to enable or disable HTML5 Databases.
jberlin@webkit.org [Tue, 7 Dec 2010 00:18:44 +0000 (00:18 +0000)]
WebKit2: Expose the preference to enable or disable HTML5 Databases.
https://bugs.webkit.org/show_bug.cgi?id=50411

Reviewed by Dan Bernstein.

* Shared/WebPreferencesStore.h:
Make the preference to enable HTML5 Databases default ot true.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetDatabasesEnabled):
(WKPreferencesGetDatabasesEnabled):
* UIProcess/API/C/WKPreferences.h:

* WebProcess/WebPage/WebPage.cpp:
(WebKit::WebPage::updatePreferences):
Set AbstractDatabase::isAvailable (mimicking how the preference is set in WebKit1).

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73410 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Kinuko Yasuda <kinuko@chromium.org>
kinuko@chromium.org [Tue, 7 Dec 2010 00:07:01 +0000 (00:07 +0000)]
2010-12-06  Kinuko Yasuda  <kinuko@chromium.org>

        Reviewed by Ojan Vafai.

        Make TestResultsServer return 404 for non-existing results files.
        https://bugs.webkit.org/show_bug.cgi?id=50581

        * TestResultServer/handlers/testfilehandler.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73409 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Mon, 6 Dec 2010 23:52:46 +0000 (23:52 +0000)]
2010-12-06  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations for fast/html/marquee-scrollamount.html

        * platform/chromium-linux/fast/html/marquee-scrollamount-expected.checksum: Added.
        * platform/chromium-linux/fast/html/marquee-scrollamount-expected.png: Added.
        * platform/chromium-mac/fast/html: Added.
        * platform/chromium-mac/fast/html/marquee-scrollamount-expected.checksum: Added.
        * platform/chromium-mac/fast/html/marquee-scrollamount-expected.png: Added.
        * platform/chromium-win/fast/html/marquee-scrollamount-expected.checksum: Added.
        * platform/chromium-win/fast/html/marquee-scrollamount-expected.png: Added.
        * platform/chromium-win/fast/html/marquee-scrollamount-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73408 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed.
ossy@webkit.org [Mon, 6 Dec 2010 23:24:58 +0000 (23:24 +0000)]
Unreviewed.

Update Qt specific expected results after r73385.

* platform/qt/css1/box_properties/margin-expected.checksum: Added.
* platform/qt/css1/box_properties/margin-expected.png: Added.
* platform/qt/css1/box_properties/margin-expected.txt:
* platform/qt/css1/box_properties/margin_right-expected.checksum: Added.
* platform/qt/css1/box_properties/margin_right-expected.png: Added.
* platform/qt/css1/box_properties/margin_right-expected.txt:
* platform/qt/css1/formatting_model/inline_elements-expected.checksum: Added.
* platform/qt/css1/formatting_model/inline_elements-expected.png: Added.
* platform/qt/css1/formatting_model/inline_elements-expected.txt:
* platform/qt/css2.1/t1202-counter-08-b-expected.checksum: Added.
* platform/qt/css2.1/t1202-counter-08-b-expected.png: Added.
* platform/qt/css2.1/t1202-counter-08-b-expected.txt:
* platform/qt/css2.1/t1202-counters-08-b-expected.checksum: Added.
* platform/qt/css2.1/t1202-counters-08-b-expected.png: Added.
* platform/qt/css2.1/t1202-counters-08-b-expected.txt:
* platform/qt/editing/deleting/delete-after-span-ws-001-expected.checksum:
* platform/qt/editing/deleting/delete-after-span-ws-001-expected.png:
* platform/qt/editing/deleting/delete-after-span-ws-001-expected.txt:
* platform/qt/editing/deleting/delete-after-span-ws-002-expected.checksum:
* platform/qt/editing/deleting/delete-after-span-ws-002-expected.png:
* platform/qt/editing/deleting/delete-after-span-ws-002-expected.txt:
* platform/qt/editing/deleting/delete-after-span-ws-003-expected.checksum:
* platform/qt/editing/deleting/delete-after-span-ws-003-expected.png:
* platform/qt/editing/deleting/delete-after-span-ws-003-expected.txt:
* platform/qt/editing/deleting/delete-line-end-ws-001-expected.checksum:
* platform/qt/editing/deleting/delete-line-end-ws-001-expected.png:
* platform/qt/editing/deleting/delete-line-end-ws-001-expected.txt:
* platform/qt/fast/backgrounds/repeat/negative-offset-repeat-expected.checksum: Added.
* platform/qt/fast/backgrounds/repeat/negative-offset-repeat-expected.png: Added.
* platform/qt/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
* platform/qt/fast/backgrounds/size/backgroundSize15-expected.checksum: Added.
* platform/qt/fast/backgrounds/size/backgroundSize15-expected.png: Added.
* platform/qt/fast/backgrounds/size/backgroundSize15-expected.txt:
* platform/qt/fast/block/float/008-expected.checksum: Added.
* platform/qt/fast/block/float/008-expected.png: Copied from LayoutTests/platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png.
* platform/qt/fast/block/float/008-expected.txt:
* platform/qt/fast/block/float/019-expected.checksum: Added.
* platform/qt/fast/block/float/019-expected.png: Copied from LayoutTests/platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png.
* platform/qt/fast/block/float/019-expected.txt:
* platform/qt/fast/block/float/033-expected.checksum: Added.
* platform/qt/fast/block/float/033-expected.png: Added.
* platform/qt/fast/block/float/033-expected.txt:
* platform/qt/fast/block/float/035-expected.checksum:
* platform/qt/fast/block/float/035-expected.png:
* platform/qt/fast/block/float/035-expected.txt:
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.checksum: Added.
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.png: Added.
* platform/qt/fast/block/float/avoidance-percent-width-strict-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.checksum: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/004-expected.txt:
* platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.checksum: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.png: Added.
* platform/qt/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
* platform/qt/fast/block/positioning/049-expected.checksum: Added.
* platform/qt/fast/block/positioning/049-expected.png: Copied from LayoutTests/platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png.
* platform/qt/fast/block/positioning/049-expected.txt:
* platform/qt/fast/blockflow/block-level-images-expected.checksum:
* platform/qt/fast/blockflow/block-level-images-expected.png:
* platform/qt/fast/blockflow/block-level-images-expected.txt:
* platform/qt/fast/blockflow/border-radius-clipping-vertical-lr-expected.checksum:
* platform/qt/fast/blockflow/border-radius-clipping-vertical-lr-expected.png:
* platform/qt/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
* platform/qt/fast/blockflow/box-shadow-vertical-lr-expected.checksum:
* platform/qt/fast/blockflow/box-shadow-vertical-lr-expected.png:
* platform/qt/fast/blockflow/box-shadow-vertical-lr-expected.txt:
* platform/qt/fast/blockflow/box-shadow-vertical-rl-expected.checksum:
* platform/qt/fast/blockflow/box-shadow-vertical-rl-expected.png:
* platform/qt/fast/blockflow/box-shadow-vertical-rl-expected.txt:
* platform/qt/fast/blockflow/floats-in-block-layout-expected.checksum:
* platform/qt/fast/blockflow/floats-in-block-layout-expected.png:
* platform/qt/fast/blockflow/floats-in-block-layout-expected.txt:
* platform/qt/fast/box-shadow/basic-shadows-expected.checksum:
* platform/qt/fast/box-shadow/basic-shadows-expected.png:
* platform/qt/fast/box-shadow/basic-shadows-expected.txt:
* platform/qt/fast/css/negative-leading-expected.png:
* platform/qt/fast/css/negative-leading-expected.txt:
* platform/qt/fast/dynamic/window-resize-scrollbars-test-expected.checksum: Added.
* platform/qt/fast/dynamic/window-resize-scrollbars-test-expected.png: Added.
* platform/qt/fast/dynamic/window-resize-scrollbars-test-expected.txt:
* platform/qt/fast/flexbox/flex-hang-expected.checksum: Added.
* platform/qt/fast/flexbox/flex-hang-expected.png: Copied from LayoutTests/platform/qt/fast/table/height-percent-test-vertical-expected.png.
* platform/qt/fast/flexbox/flex-hang-expected.txt:
* platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.checksum: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.png: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.txt:
* platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.checksum: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.png: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.txt:
* platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.checksum: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.png: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.txt:
* platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.checksum: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.png: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt:
* platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.checksum: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.png: Added.
* platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.txt:
* platform/qt/fast/frames/frame-scrolling-attribute-expected.checksum: Added.
* platform/qt/fast/frames/frame-scrolling-attribute-expected.png: Added.
* platform/qt/fast/frames/frame-scrolling-attribute-expected.txt:
* platform/qt/fast/frames/iframe-scrolling-attribute-expected.checksum: Added.
* platform/qt/fast/frames/iframe-scrolling-attribute-expected.png: Added.
* platform/qt/fast/frames/iframe-scrolling-attribute-expected.txt:
* platform/qt/fast/images/gif-large-checkerboard-expected.checksum:
* platform/qt/fast/images/gif-large-checkerboard-expected.png:
* platform/qt/fast/images/gif-large-checkerboard-expected.txt:
* platform/qt/fast/lists/001-vertical-expected.checksum:
* platform/qt/fast/lists/001-vertical-expected.png:
* platform/qt/fast/lists/001-vertical-expected.txt:
* platform/qt/fast/lists/003-vertical-expected.checksum:
* platform/qt/fast/lists/003-vertical-expected.png:
* platform/qt/fast/lists/003-vertical-expected.txt:
* platform/qt/fast/multicol/column-count-with-rules-expected.checksum:
* platform/qt/fast/multicol/column-count-with-rules-expected.png:
* platform/qt/fast/multicol/column-count-with-rules-expected.txt:
* platform/qt/fast/multicol/float-paginate-complex-expected.checksum:
* platform/qt/fast/multicol/float-paginate-complex-expected.png:
* platform/qt/fast/multicol/float-paginate-complex-expected.txt:
* platform/qt/fast/multicol/float-paginate-expected.checksum:
* platform/qt/fast/multicol/float-paginate-expected.png:
* platform/qt/fast/multicol/float-paginate-expected.txt:
* platform/qt/fast/multicol/layers-in-multicol-expected.checksum:
* platform/qt/fast/multicol/layers-in-multicol-expected.png:
* platform/qt/fast/multicol/layers-in-multicol-expected.txt:
* platform/qt/fast/multicol/nested-columns-expected.checksum:
* platform/qt/fast/multicol/nested-columns-expected.png:
* platform/qt/fast/multicol/nested-columns-expected.txt:
* platform/qt/fast/multicol/paginate-block-replaced-expected.checksum:
* platform/qt/fast/multicol/paginate-block-replaced-expected.png:
* platform/qt/fast/multicol/paginate-block-replaced-expected.txt:
* platform/qt/fast/multicol/positioned-with-constrained-height-expected.checksum: Added.
* platform/qt/fast/multicol/positioned-with-constrained-height-expected.png: Added.
* platform/qt/fast/multicol/positioned-with-constrained-height-expected.txt:
* platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.checksum:
* platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.png:
* platform/qt/fast/multicol/span/anonymous-style-inheritance-expected.txt:
* platform/qt/fast/multicol/span/span-margin-collapsing-expected.checksum:
* platform/qt/fast/multicol/span/span-margin-collapsing-expected.png:
* platform/qt/fast/multicol/span/span-margin-collapsing-expected.txt:
* platform/qt/fast/multicol/table-vertical-align-expected.checksum:
* platform/qt/fast/multicol/table-vertical-align-expected.png:
* platform/qt/fast/multicol/table-vertical-align-expected.txt:
* platform/qt/fast/repaint/content-into-overflow-expected.checksum: Added.
* platform/qt/fast/repaint/content-into-overflow-expected.png: Copied from LayoutTests/platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png.
* platform/qt/fast/repaint/content-into-overflow-expected.txt:
* platform/qt/fast/repaint/overflow-into-content-expected.checksum: Added.
* platform/qt/fast/repaint/overflow-into-content-expected.png: Copied from LayoutTests/platform/qt/fast/block/float/035-expected.png.
* platform/qt/fast/repaint/overflow-into-content-expected.txt:
* platform/qt/fast/table/border-collapsing/004-vertical-expected.checksum:
* platform/qt/fast/table/border-collapsing/004-vertical-expected.png:
* platform/qt/fast/table/border-collapsing/004-vertical-expected.txt:
* platform/qt/fast/table/fixed-with-auto-with-colspan-vertical-expected.checksum:
* platform/qt/fast/table/fixed-with-auto-with-colspan-vertical-expected.png:
* platform/qt/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt:
* platform/qt/fast/table/height-percent-test-vertical-expected.checksum:
* platform/qt/fast/table/height-percent-test-vertical-expected.png:
* platform/qt/fast/table/height-percent-test-vertical-expected.txt:
* platform/qt/fast/table/wide-colspan-expected.checksum: Added.
* platform/qt/fast/table/wide-colspan-expected.png: Added.
* platform/qt/fast/table/wide-colspan-expected.txt:
* platform/qt/fast/table/wide-column-expected.checksum: Added.
* platform/qt/fast/table/wide-column-expected.png: Copied from LayoutTests/platform/qt/fast/table/height-percent-test-vertical-expected.png.
* platform/qt/fast/table/wide-column-expected.txt:
* platform/qt/fast/text/text-letter-spacing-expected.checksum: Added.
* platform/qt/fast/text/text-letter-spacing-expected.png: Added.
* platform/qt/fast/text/text-letter-spacing-expected.txt:
* platform/qt/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
* platform/qt/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
* platform/qt/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:
* platform/qt/svg/custom/text-xy-updates-SVGList-expected.checksum: Added.
* platform/qt/svg/custom/text-xy-updates-SVGList-expected.png: Added.
* platform/qt/svg/custom/text-xy-updates-SVGList-expected.txt:
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.checksum:
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.png:
* platform/qt/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.txt:
* platform/qt/svg/text/foreignObject-text-clipping-bug-expected.checksum:
* platform/qt/svg/text/foreignObject-text-clipping-bug-expected.png:
* platform/qt/svg/text/foreignObject-text-clipping-bug-expected.txt:
* platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.checksum: Added.
* platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.png: Added.
* platform/qt/svg/zoom/page/zoom-hixie-mixed-009-expected.txt:
* platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.checksum:
* platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.png:
* platform/qt/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
* platform/qt/tables/mozilla/bugs/bug29314-expected.checksum: Added.
* platform/qt/tables/mozilla/bugs/bug29314-expected.png: Added.
* platform/qt/tables/mozilla/bugs/bug29314-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73407 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-03 Zhenyao Mo <zmo@google.com>
zmo@google.com [Mon, 6 Dec 2010 23:16:58 +0000 (23:16 +0000)]
2010-12-03  Zhenyao Mo  <zmo@google.com>

        Reviewed by Kenneth Russell.

        Postpone gl delete* calls until shaders/programs are no longer attached
        https://bugs.webkit.org/show_bug.cgi?id=50501

        * html/canvas/WebGLBuffer.cpp:
        (WebCore::WebGLBuffer::deleteObjectImpl): Simply delete GL resource.
        * html/canvas/WebGLFramebuffer.cpp:
        (WebCore::WebGLFramebuffer::deleteObjectImpl): Ditto.
        * html/canvas/WebGLObject.cpp:
        (WebCore::WebGLObject::deleteObject): Tracking whether deleteObjectImpl should be called or not.
        * html/canvas/WebGLObject.h:
        (WebCore::WebGLObject::detachContext): Set attachmentCount to 0 to ensure OpenGL resource deletion.
        (WebCore::WebGLObject::onDetached): No need to track attachmentCount here as we track it in deleteObject.
        (WebCore::WebGLObject::isDeleted): Make this public.
        * html/canvas/WebGLProgram.cpp:
        (WebCore::WebGLProgram::deleteObjectImpl): Simply delete GL resource.
        * html/canvas/WebGLRenderbuffer.cpp:
        (WebCore::WebGLRenderbuffer::deleteObjectImpl): Ditto.
        * html/canvas/WebGLRenderingContext.cpp:
        (WebCore::WebGLRenderingContext::getProgramParameter): intercept DELETE_STATUS.
        (WebCore::WebGLRenderingContext::getShaderParameter): Ditto.
        * html/canvas/WebGLShader.cpp:
        (WebCore::WebGLShader::deleteObjectImpl): Simply delete GL resource.
        * html/canvas/WebGLTexture.cpp:
        (WebCore::WebGLTexture::deleteObjectImpl): Simply delete GL resource.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73406 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoreserveAndCommit doesn't commit on MADVISE_FREE_REUSE systems
ggaren@apple.com [Mon, 6 Dec 2010 23:14:10 +0000 (23:14 +0000)]
reserveAndCommit doesn't commit on MADVISE_FREE_REUSE systems
https://bugs.webkit.org/show_bug.cgi?id=50588

Reviewed by Maciej Stachowiak.

* wtf/OSAllocatorPosix.cpp:
(WTF::OSAllocator::reserve):
(WTF::OSAllocator::reserveAndCommit):
(WTF::OSAllocator::commit): Tightened up some comments. Changed
reserveAndCommit to actually commit on MADVISE_FREE_REUSE systems.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73405 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 6 Dec 2010 23:12:35 +0000 (23:12 +0000)]
2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Leopard rebaseline for r73385.  The actual results now match that of Snow Leopard.

        * platform/chromium-mac/fast/multicol/span/anonymous-style-inheritance-expected.txt Removed.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.checksum: Removed.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.png: Removed.
        * platform/mac-leopard/fast/multicol/span/anonymous-style-inheritance-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73404 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Mon, 6 Dec 2010 23:08:18 +0000 (23:08 +0000)]
2010-12-06  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium mac test baselines affected by http://trac.webkit.org/changeset/73385

        * platform/chromium-mac/fast/forms/file-input-direction-expected.txt:
        * platform/chromium-mac/fast/images/gif-large-checkerboard-expected.txt: Added.
        * platform/chromium-mac/fast/layers/video-layer-expected.txt:
        * platform/chromium-mac/fast/multicol/span/anonymous-style-inheritance-expected.txt: Added.
        * platform/chromium-mac/fast/repaint/box-shadow-h-expected.checksum: Added.
        * platform/chromium-mac/fast/repaint/box-shadow-h-expected.png: Added.
        * platform/chromium-mac/media/audio-controls-rendering-expected.txt:
        * platform/chromium-mac/media/controls-after-reload-expected.txt:
        * platform/chromium-mac/media/controls-strict-expected.txt:
        * platform/chromium-mac/media/video-display-toggle-expected.txt:
        * platform/chromium-mac/media/video-empty-source-expected.txt:
        * platform/chromium-mac/media/video-no-audio-expected.txt:
        * platform/chromium-mac/media/video-volume-slider-expected.txt:
        * platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
        * platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
        * platform/chromium-mac/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73403 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoLand updated results for acid3.
hyatt@apple.com [Mon, 6 Dec 2010 22:54:55 +0000 (22:54 +0000)]
Land updated results for acid3.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73402 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Mon, 6 Dec 2010 22:32:54 +0000 (22:32 +0000)]
2010-12-06  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium layout test baselines affected by http://trac.webkit.org/changeset/73385

        * platform/chromium-linux/css2.1/t0905-c414-flt-02-c-expected.txt:
        * platform/chromium-linux/css2.1/t0905-c414-flt-03-c-expected.txt:
        * platform/chromium-linux/css2.1/t0905-c414-flt-04-c-expected.txt:
        * platform/chromium-linux/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
        * platform/chromium-linux/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
        * platform/chromium-linux/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
        * platform/chromium-linux/css2.1/t090501-c414-flt-03-b-g-expected.txt:
        * platform/chromium-linux/css2.1/t1202-counters-09-b-expected.txt:
        * platform/chromium-linux/fast/block/positioning/047-expected.txt:
        * platform/chromium-linux/fast/forms/file-input-direction-expected.txt:
        * platform/chromium-linux/fast/lists/001-expected.checksum: Added.
        * platform/chromium-linux/fast/lists/001-expected.png: Added.
        * platform/chromium-linux/fast/lists/001-vertical-expected.txt: Removed.
        * platform/chromium-linux/fast/lists/003-vertical-expected.txt: Removed.
        * platform/chromium-linux/fast/multicol/float-multicol-expected.txt: Removed.
        * platform/chromium-linux/fast/multicol/float-paginate-complex-expected.txt: Removed.
        * platform/chromium-linux/fast/multicol/float-paginate-expected.txt: Removed.
        * platform/chromium-linux/fast/multicol/layers-in-multicol-expected.txt: Removed.
        * platform/chromium-linux/fast/multicol/paginate-block-replaced-expected.txt: Removed.
        * platform/chromium-linux/fast/multicol/table-vertical-align-expected.txt: Removed.
        * platform/chromium-linux/fast/overflow/image-selection-highlight-expected.checksum:
        * platform/chromium-linux/fast/overflow/image-selection-highlight-expected.png:
        * platform/chromium-linux/fast/overflow/infiniteRecursionGuard-expected.checksum:
        * platform/chromium-linux/fast/overflow/infiniteRecursionGuard-expected.png:
        * platform/chromium-linux/fast/overflow/overflow-float-stacking-expected.txt: Added.
        * platform/chromium-linux/fast/overflow/overflow-rtl-vertical-expected.checksum: Added.
        * platform/chromium-linux/fast/overflow/overflow-rtl-vertical-expected.png: Added.
        * platform/chromium-linux/fast/overflow/overflow-with-local-background-attachment-expected.checksum:
        * platform/chromium-linux/fast/overflow/overflow-with-local-background-attachment-expected.png:
        * platform/chromium-linux/fast/repaint/box-shadow-h-expected.checksum:
        * platform/chromium-linux/fast/repaint/box-shadow-h-expected.png:
        * platform/chromium-linux/fast/repaint/box-shadow-v-expected.checksum:
        * platform/chromium-linux/fast/repaint/box-shadow-v-expected.png:
        * platform/chromium-linux/fast/repaint/text-selection-rect-in-overflow-2-expected.checksum:
        * platform/chromium-linux/fast/repaint/text-selection-rect-in-overflow-2-expected.png:
        * platform/chromium-linux/fast/repaint/text-selection-rect-in-overflow-expected.checksum:
        * platform/chromium-linux/fast/repaint/text-selection-rect-in-overflow-expected.png:
        * platform/chromium-linux/fast/replaced/border-radius-clip-expected.checksum:
        * platform/chromium-linux/fast/replaced/border-radius-clip-expected.png:
        * platform/chromium-linux/fast/text/international/thai-line-breaks-expected.checksum:
        * platform/chromium-linux/fast/text/international/thai-line-breaks-expected.png:
        * platform/chromium-linux/fast/text/international/thai-line-breaks-expected.txt:
        * platform/chromium-linux/fast/text/letter-spacing-negative-opacity-expected.txt:
        * platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
        * platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
        * platform/chromium-linux/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt: Removed.
        * platform/chromium-linux/tables/mozilla/bugs/bug96334-expected.txt:
        * platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.checksum:
        * platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
        * platform/chromium-linux/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
        * platform/chromium-win/css1/box_properties/margin-expected.txt:
        * platform/chromium-win/css1/box_properties/margin_right-expected.txt:
        * platform/chromium-win/css1/classification/white_space-expected.txt:
        * platform/chromium-win/css1/color_and_background/background_attachment-expected.txt:
        * platform/chromium-win/css1/color_and_background/background_repeat-expected.txt:
        * platform/chromium-win/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt:
        * platform/chromium-win/css2.1/t0803-c5505-mrgn-02-c-expected.txt:
        * platform/chromium-win/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.txt:
        * platform/chromium-win/css2.1/t0905-c414-flt-00-d-expected.txt:
        * platform/chromium-win/css2.1/t0905-c414-flt-01-d-g-expected.txt:
        * platform/chromium-win/css2.1/t0905-c414-flt-02-c-expected.txt:
        * platform/chromium-win/css2.1/t0905-c414-flt-03-c-expected.txt:
        * platform/chromium-win/css2.1/t0905-c414-flt-04-c-expected.txt:
        * platform/chromium-win/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt:
        * platform/chromium-win/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
        * platform/chromium-win/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
        * platform/chromium-win/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
        * platform/chromium-win/css2.1/t090501-c414-flt-02-d-g-expected.txt:
        * platform/chromium-win/css2.1/t090501-c414-flt-03-b-g-expected.txt:
        * platform/chromium-win/css2.1/t1202-counters-08-b-expected.txt:
        * platform/chromium-win/css2.1/t1202-counters-09-b-expected.txt:
        * platform/chromium-win/editing/deleting/delete-after-span-ws-001-expected.txt:
        * platform/chromium-win/editing/deleting/delete-after-span-ws-002-expected.txt:
        * platform/chromium-win/editing/deleting/delete-after-span-ws-003-expected.txt:
        * platform/chromium-win/editing/deleting/delete-line-end-ws-001-expected.txt:
        * platform/chromium-win/editing/deleting/delete-line-end-ws-002-expected.txt:
        * platform/chromium-win/editing/selection/focus_editable_html-expected.txt:
        * platform/chromium-win/editing/selection/select-all-001-expected.txt:
        * platform/chromium-win/editing/selection/select-all-002-expected.txt:
        * platform/chromium-win/editing/selection/select-all-003-expected.txt:
        * platform/chromium-win/editing/selection/select-all-004-expected.txt:
        * platform/chromium-win/editing/selection/unrendered-001-expected.txt:
        * platform/chromium-win/editing/selection/unrendered-002-expected.txt:
        * platform/chromium-win/editing/selection/unrendered-003-expected.txt:
        * platform/chromium-win/editing/selection/unrendered-004-expected.txt:
        * platform/chromium-win/editing/selection/unrendered-005-expected.txt:
        * platform/chromium-win/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
        * platform/chromium-win/fast/backgrounds/size/backgroundSize15-expected.txt:
        * platform/chromium-win/fast/block/basic/010-expected.txt:
        * platform/chromium-win/fast/block/float/013-expected.txt:
        * platform/chromium-win/fast/block/float/021-expected.txt:
        * platform/chromium-win/fast/block/float/029-expected.txt:
        * platform/chromium-win/fast/block/float/031-expected.txt:
        * platform/chromium-win/fast/block/float/avoidance-percent-width-strict-expected.txt:
        * platform/chromium-win/fast/block/float/clamped-right-float-expected.txt:
        * platform/chromium-win/fast/block/float/float-in-float-painting-expected.txt:
        * platform/chromium-win/fast/block/float/nested-clearance-expected.txt:
        * platform/chromium-win/fast/block/margin-collapse/004-expected.txt:
        * platform/chromium-win/fast/block/margin-collapse/062-expected.txt:
        * platform/chromium-win/fast/block/margin-collapse/063-expected.txt:
        * platform/chromium-win/fast/block/margin-collapse/104-expected.txt:
        * platform/chromium-win/fast/block/margin-collapse/block-inside-inline/004-expected.txt:
        * platform/chromium-win/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
        * platform/chromium-win/fast/block/positioning/002-expected.txt:
        * platform/chromium-win/fast/block/positioning/047-expected.txt:
        * platform/chromium-win/fast/block/positioning/051-expected.txt:
        * platform/chromium-win/fast/block/positioning/061-expected.txt:
        * platform/chromium-win/fast/block/positioning/auto-height-with-top-and-bottom-expected.txt:
        * platform/chromium-win/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
        * platform/chromium-win/fast/blockflow/box-shadow-vertical-lr-expected.txt:
        * platform/chromium-win/fast/blockflow/box-shadow-vertical-rl-expected.txt:
        * platform/chromium-win/fast/body-propagation/background-color/002-expected.txt:
        * platform/chromium-win/fast/body-propagation/background-color/002-xhtml-expected.txt:
        * platform/chromium-win/fast/body-propagation/background-image/002-expected.txt:
        * platform/chromium-win/fast/body-propagation/background-image/002-xhtml-expected.txt:
        * platform/chromium-win/fast/body-propagation/overflow/001-expected.txt:
        * platform/chromium-win/fast/body-propagation/overflow/001-xhtml-expected.txt:
        * platform/chromium-win/fast/body-propagation/overflow/005-declarative-expected.txt:
        * platform/chromium-win/fast/body-propagation/overflow/005-expected.txt:
        * platform/chromium-win/fast/body-propagation/overflow/005-xhtml-expected.txt:
        * platform/chromium-win/fast/box-shadow/basic-shadows-expected.txt:
        * platform/chromium-win/fast/box-sizing/box-sizing-expected.txt:
        * platform/chromium-win/fast/clip/008-expected.txt:
        * platform/chromium-win/fast/clip/009-expected.txt:
        * platform/chromium-win/fast/clip/010-expected.txt:
        * platform/chromium-win/fast/clip/011-expected.txt:
        * platform/chromium-win/fast/clip/012-expected.txt:
        * platform/chromium-win/fast/compact/001-expected.txt:
        * platform/chromium-win/fast/css/MarqueeLayoutTest-expected.txt:
        * platform/chromium-win/fast/css/negative-leading-expected.txt:
        * platform/chromium-win/fast/css/percentage-non-integer-expected.txt:
        * platform/chromium-win/fast/css/word-space-extra-expected.txt:
        * platform/chromium-win/fast/dom/clone-node-dynamic-style-expected.txt:
        * platform/chromium-win/fast/dynamic/window-resize-scrollbars-test-expected.txt:
        * platform/chromium-win/fast/events/focusingUnloadedFrame-expected.txt:
        * platform/chromium-win/fast/flexbox/009-expected.txt:
        * platform/chromium-win/fast/flexbox/016-expected.txt:
        * platform/chromium-win/fast/forms/basic-textareas-quirks-expected.txt:
        * platform/chromium-win/fast/forms/file-input-direction-expected.txt:
        * platform/chromium-win/fast/forms/floating-textfield-relayout-expected.txt:
        * platform/chromium-win/fast/forms/textfield-overflow-expected.txt:
        * platform/chromium-win/fast/frames/frame-scrolling-attribute-expected.txt:
        * platform/chromium-win/fast/frames/iframe-scrolling-attribute-expected.txt:
        * platform/chromium-win/fast/frames/inline-object-inside-frameset-expected.txt:
        * platform/chromium-win/fast/images/gif-large-checkerboard-expected.txt: Added.
        * platform/chromium-win/fast/inline-block/inline-block-vertical-align-expected.txt:
        * platform/chromium-win/fast/inline-block/tricky-baseline-expected.txt:
        * platform/chromium-win/fast/inline/long-wrapped-line-expected.txt:
        * platform/chromium-win/fast/layers/layer-visibility-expected.txt:
        * platform/chromium-win/fast/layers/layer-visibility-sublayer-expected.txt:
        * platform/chromium-win/fast/layers/overflow-scroll-auto-switch-expected.txt:
        * platform/chromium-win/fast/layers/video-layer-expected.txt:
        * platform/chromium-win/fast/lists/001-expected.txt:
        * platform/chromium-win/fast/lists/001-vertical-expected.txt:
        * platform/chromium-win/fast/lists/003-expected.txt:
        * platform/chromium-win/fast/lists/003-vertical-expected.txt:
        * platform/chromium-win/fast/lists/li-br-expected.txt:
        * platform/chromium-win/fast/media/mq-relative-constraints-02-expected.txt:
        * platform/chromium-win/fast/media/mq-relative-constraints-03-expected.txt:
        * platform/chromium-win/fast/media/mq-relative-constraints-04-expected.txt:
        * platform/chromium-win/fast/media/mq-relative-constraints-05-expected.txt:
        * platform/chromium-win/fast/media/mq-relative-constraints-06-expected.txt:
        * platform/chromium-win/fast/media/mq-relative-constraints-07-expected.txt:
        * platform/chromium-win/fast/media/mq-relative-constraints-08-expected.txt:
        * platform/chromium-win/fast/media/mq-relative-constraints-09-expected.txt:
        * platform/chromium-win/fast/media/mq-width-absolute-01-expected.txt:
        * platform/chromium-win/fast/media/mq-width-absolute-02-expected.txt:
        * platform/chromium-win/fast/media/mq-width-absolute-03-expected.txt:
        * platform/chromium-win/fast/media/mq-width-absolute-04-expected.txt:
        * platform/chromium-win/fast/multicol/float-multicol-expected.txt:
        * platform/chromium-win/fast/multicol/float-paginate-complex-expected.txt:
        * platform/chromium-win/fast/multicol/float-paginate-expected.txt:
        * platform/chromium-win/fast/multicol/layers-in-multicol-expected.txt:
        * platform/chromium-win/fast/multicol/nested-columns-expected.txt:
        * platform/chromium-win/fast/multicol/paginate-block-replaced-expected.txt:
        * platform/chromium-win/fast/multicol/positioned-with-constrained-height-expected.txt:
        * platform/chromium-win/fast/multicol/span/anonymous-style-inheritance-expected.txt:
        * platform/chromium-win/fast/multicol/table-vertical-align-expected.txt:
        * platform/chromium-win/fast/overflow/002-expected.txt:
        * platform/chromium-win/fast/overflow/006-expected.txt:
        * platform/chromium-win/fast/overflow/dynamic-hidden-expected.txt:
        * platform/chromium-win/fast/overflow/float-in-relpositioned-expected.txt:
        * platform/chromium-win/fast/overflow/image-selection-highlight-expected.checksum:
        * platform/chromium-win/fast/overflow/image-selection-highlight-expected.png:
        * platform/chromium-win/fast/overflow/image-selection-highlight-expected.txt:
        * platform/chromium-win/fast/overflow/infiniteRecursionGuard-expected.checksum:
        * platform/chromium-win/fast/overflow/infiniteRecursionGuard-expected.png:
        * platform/chromium-win/fast/overflow/infiniteRecursionGuard-expected.txt:
        * platform/chromium-win/fast/overflow/overflow-auto-table-expected.txt:
        * platform/chromium-win/fast/overflow/overflow-focus-ring-expected.txt:
        * platform/chromium-win/fast/overflow/overflow-rtl-vertical-expected.checksum: Added.
        * platform/chromium-win/fast/overflow/overflow-rtl-vertical-expected.png: Added.
        * platform/chromium-win/fast/overflow/overflow-rtl-vertical-expected.txt: Added.
        * platform/chromium-win/fast/overflow/overflow-stacking-expected.txt:
        * platform/chromium-win/fast/overflow/overflow-with-local-background-attachment-expected.txt:
        * platform/chromium-win/fast/overflow/overflow-x-y-expected.txt:
        * platform/chromium-win/fast/overflow/scrollRevealButton-expected.txt:
        * platform/chromium-win/fast/reflections/reflection-direction-expected.txt:
        * platform/chromium-win/fast/repaint/box-shadow-h-expected.checksum:
        * platform/chromium-win/fast/repaint/box-shadow-h-expected.png:
        * platform/chromium-win/fast/repaint/box-shadow-h-expected.txt:
        * platform/chromium-win/fast/repaint/box-shadow-v-expected.checksum:
        * platform/chromium-win/fast/repaint/box-shadow-v-expected.png:
        * platform/chromium-win/fast/repaint/box-shadow-v-expected.txt:
        * platform/chromium-win/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt:
        * platform/chromium-win/fast/repaint/float-overflow-expected.txt:
        * platform/chromium-win/fast/repaint/float-overflow-right-expected.txt:
        * platform/chromium-win/fast/repaint/overflow-scroll-body-appear-expected.txt:
        * platform/chromium-win/fast/repaint/overflow-scroll-delete-expected.checksum:
        * platform/chromium-win/fast/repaint/overflow-scroll-delete-expected.png:
        * platform/chromium-win/fast/repaint/overflow-scroll-delete-expected.txt:
        * platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-2-expected.checksum:
        * platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-2-expected.png:
        * platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-2-expected.txt:
        * platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-expected.checksum:
        * platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-expected.png:
        * platform/chromium-win/fast/repaint/text-selection-rect-in-overflow-expected.txt:
        * platform/chromium-win/fast/repaint/transform-absolute-in-positioned-container-expected.txt:
        * platform/chromium-win/fast/replaced/004-expected.txt:
        * platform/chromium-win/fast/replaced/border-radius-clip-expected.checksum:
        * platform/chromium-win/fast/replaced/border-radius-clip-expected.png:
        * platform/chromium-win/fast/replaced/border-radius-clip-expected.txt:
        * platform/chromium-win/fast/table/034-expected.txt:
        * platform/chromium-win/fast/table/border-collapsing/004-vertical-expected.txt:
        * platform/chromium-win/fast/table/colspanMinWidth-vertical-expected.txt:
        * platform/chromium-win/fast/table/frame-and-rules-expected.txt:
        * platform/chromium-win/fast/table/overflowHidden-expected.txt:
        * platform/chromium-win/fast/text/international/thai-line-breaks-expected.txt:
        * platform/chromium-win/fast/text/large-text-composed-char-expected.txt:
        * platform/chromium-win/fast/text/letter-spacing-negative-opacity-expected.txt:
        * platform/chromium-win/fast/text/text-letter-spacing-expected.txt:
        * platform/chromium-win/fast/text/whitespace/012-expected.txt:
        * platform/chromium-win/media/audio-controls-rendering-expected.txt:
        * platform/chromium-win/media/controls-after-reload-expected.txt:
        * platform/chromium-win/media/controls-strict-expected.txt:
        * platform/chromium-win/media/video-controls-rendering-expected.txt:
        * platform/chromium-win/media/video-display-toggle-expected.txt:
        * platform/chromium-win/media/video-empty-source-expected.txt:
        * platform/chromium-win/media/video-no-audio-expected.txt:
        * platform/chromium-win/media/video-volume-slider-expected.txt:
        * platform/chromium-win/scrollbars/basic-scrollbar-expected.txt:
        * platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.checksum:
        * platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.png:
        * platform/chromium-win/scrollbars/custom-scrollbar-with-incomplete-style-expected.txt:
        * platform/chromium-win/scrollbars/disabled-scrollbar-expected.txt:
        * platform/chromium-win/scrollbars/scrollbar-buttons-expected.txt:
        * platform/chromium-win/scrollbars/scrollbar-orientation-expected.txt:
        * platform/chromium-win/svg/custom/altglyph-expected.txt:
        * platform/chromium-win/svg/custom/getscreenctm-in-mixed-content-expected.txt:
        * platform/chromium-win/svg/custom/getscreenctm-in-scrollable-div-area-expected.txt:
        * platform/chromium-win/svg/custom/getscreenctm-in-scrollable-div-area-nested-expected.txt:
        * platform/chromium-win/svg/custom/invisible-text-after-scrolling-expected.txt:
        * platform/chromium-win/svg/custom/path-bad-data-expected.txt:
        * platform/chromium-win/svg/custom/scroll-hit-test-expected.txt: Added.
        * platform/chromium-win/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
        * platform/chromium-win/svg/custom/svg-fonts-in-html-expected.txt:
        * platform/chromium-win/svg/custom/text-xy-updates-SVGList-expected.txt:
        * platform/chromium-win/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.txt:
        * platform/chromium-win/svg/text/foreignObject-text-clipping-bug-expected.txt:
        * platform/chromium-win/svg/text/kerning-expected.txt:
        * platform/chromium-win/svg/text/multichar-glyph-expected.txt:
        * platform/chromium-win/svg/transforms/animated-path-inside-transformed-html-expected.txt:
        * platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
        * platform/chromium-win/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug120364-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug131020-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug23151-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug43039-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug43854-1-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug45055-2-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug5797-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug625-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug72359-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug83786-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug92143-expected.txt:
        * platform/chromium-win/tables/mozilla/bugs/bug96334-expected.txt:
        * platform/chromium-win/tables/mozilla/core/nested1-expected.txt:
        * platform/chromium-win/tables/mozilla/marvin/backgr_index-expected.txt:
        * platform/chromium-win/tables/mozilla/marvin/x_table_align_left-expected.txt:
        * platform/chromium-win/tables/mozilla/marvin/x_table_align_right-expected.txt:
        * platform/chromium-win/tables/mozilla/marvin/x_td_nowrap-expected.txt:
        * platform/chromium-win/tables/mozilla/marvin/x_th_nowrap-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug220653-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug2479-5-expected.checksum:
        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug2479-5-expected.png:
        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug67915-2-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption_bottom-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption_left-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption_right-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_caption_top-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_table-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table_caption-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody_sibling-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_td_align_right-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_bottom-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_middle-expected.txt:
        * platform/chromium-win/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_top-expected.txt:
        * platform/chromium-win/transforms/svg-vs-css-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73401 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 6 Dec 2010 22:01:14 +0000 (22:01 +0000)]
2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>

        Yet unreviewed another Leopard build fix for r73380.

        * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
        (PlatformCAAnimation::setKeyTimes):
        * platform/graphics/ca/mac/PlatformCALayerMac.mm:
        (PlatformCALayer::platformCALayer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73399 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Andy Estes <aestes@apple.com>
aestes@apple.com [Mon, 6 Dec 2010 21:57:35 +0000 (21:57 +0000)]
2010-12-06  Andy Estes  <aestes@apple.com>

        Reviewed by Darin Adler.

        Marquee elements do not stop animating when scrollAmount is set to 0.
        https://bugs.webkit.org/show_bug.cgi?id=50434

        Test: fast/html/marquee-scrollamount.html

        * rendering/RenderMarquee.cpp:
        (WebCore::RenderMarquee::timerFired): Allow increment to be 0.
2010-12-06  Andy Estes  <aestes@apple.com>

        Reviewed by Darin Adler.

        Marquee elements do not stop animating when scrollAmount is set to 0.
        https://bugs.webkit.org/show_bug.cgi?id=50434

        * fast/html/marquee-scrollamount.html: Added.
        * platform/mac/fast/html/marquee-scrollamount-expected.checksum: Added.
        * platform/mac/fast/html/marquee-scrollamount-expected.png: Added.
        * platform/mac/fast/html/marquee-scrollamount-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73398 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 6 Dec 2010 21:52:03 +0000 (21:52 +0000)]
2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Leopard buildfix for r73380.

        * platform/graphics/ca/mac/PlatformCAAnimationMac.mm:
        (PlatformCAAnimation::setTimingFunctions):
        * platform/graphics/ca/mac/PlatformCALayerMac.mm:
        (PlatformCALayer::PlatformCALayer):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73397 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Mon, 6 Dec 2010 21:37:40 +0000 (21:37 +0000)]
2010-12-06  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Martin Robinson.

        [GStreamer] use ResourceHandle::setDefersLoading in WebKitWebSourceGStreamer
        https://bugs.webkit.org/show_bug.cgi?id=44157

        * platform/graphics/gstreamer/WebKitWebSourceGStreamer.cpp:
        (webKitWebSrcNeedDataMainCb):
        (webKitWebSrcEnoughDataMainCb): Replaced platform-specific code
        with cross-platform ResourceHandle::setDefersLoading calls.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73396 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 6 Dec 2010 21:27:04 +0000 (21:27 +0000)]
2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed Leopard build fix for r73388.

        * accessibility/AccessibilitySlider.cpp:
        (WebCore::AccessibilitySlider::maxValueForRange):
        (WebCore::AccessibilitySlider::minValueForRange):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73395 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Ryosuke Niwa <rniwa@webkit.org>
rniwa@webkit.org [Mon, 6 Dec 2010 21:19:20 +0000 (21:19 +0000)]
2010-12-06  Ryosuke Niwa  <rniwa@webkit.org>

        Unreviewed build fix for Leopard after r73379.

        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::setAllowsFontSmoothing):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73394 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix.
mrowe@apple.com [Mon, 6 Dec 2010 21:15:48 +0000 (21:15 +0000)]
Build fix.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformHandleKeyboardEvent): Wrap Carbon-specific code in #ifndef NP_NO_CARBON.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73393 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Nate Chapin <japhet@chromium.org>
japhet@chromium.org [Mon, 6 Dec 2010 21:11:20 +0000 (21:11 +0000)]
2010-12-06  Nate Chapin  <japhet@chromium.org>

        Reviewed by Adam Barth.

        Make DocumentWriter a member of DocumentLoader
        instead of FrameLoader.
        https://bugs.webkit.org/show_bug.cgi?id=50489

        Refactor, no new tests.

        * bindings/ScriptControllerBase.cpp:
        (WebCore::ScriptController::executeIfJavaScriptURL):
        * dom/Document.cpp:
        (WebCore::Document::Document):
        (WebCore::Document::close):
        (WebCore::Document::lastModified):
        (WebCore::Document::finishedParsing):
        (WebCore::Document::initSecurityContext):
        (WebCore::Document::updateURLForPushOrReplaceState):
        * dom/Document.h:
        (WebCore::Document::setDocumentLoader):
        (WebCore::Document::loader):
        * dom/ProcessingInstruction.cpp:
        (WebCore::ProcessingInstruction::checkStyleSheet):
        * dom/ScriptElement.cpp:
        (WebCore::ScriptElement::scriptCharset):
        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::process):
        * html/MediaDocument.cpp:
        (WebCore::MediaDocument::replaceMediaElementTimerFired):
        * html/PluginDocument.cpp:
        (WebCore::PluginDocumentParser::createDocumentStructure):
        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::DocumentLoader):
        (WebCore::DocumentLoader::finishedLoading):
        (WebCore::DocumentLoader::commitData):
        (WebCore::DocumentLoader::setupForReplaceByMIMEType):
        (WebCore::DocumentLoader::setFrame):
        * loader/DocumentLoader.h:
        (WebCore::DocumentLoader::writer):
        * loader/DocumentWriter.h:
        (WebCore::DocumentWriter::setFrame):
        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::FrameLoader):
        (WebCore::FrameLoader::init):
        (WebCore::FrameLoader::clear):
        (WebCore::FrameLoader::receivedFirstData):
        (WebCore::FrameLoader::transitionToCommitted):
        (WebCore::FrameLoader::open):
        (WebCore::FrameLoader::finishedLoadingDocument):
        (WebCore::FrameLoader::addExtraFieldsToRequest):
        * loader/FrameLoader.h:
        (WebCore::FrameLoader::notifier):
        * loader/cache/CachedResourceLoader.cpp:
        (WebCore::CachedResourceLoader::requestPreload):
        * platform/network/FormDataBuilder.cpp:
        (WebCore::FormDataBuilder::encodingFromAcceptCharset):
        * svg/graphics/SVGImage.cpp:
        (WebCore::SVGImage::dataChanged):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73392 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd a shim for GetCurrentEventButtonState
andersca@apple.com [Mon, 6 Dec 2010 20:58:19 +0000 (20:58 +0000)]
Add a shim for GetCurrentEventButtonState
https://bugs.webkit.org/show_bug.cgi?id=50583

Reviewed by Adam Roben.

* PluginProcess/mac/PluginProcessMac.mm:
(WebKit::getCurrentEventButtonState):
Get the event button state from the plug-in.

(WebKit::PluginProcess::initializeShim):
Add new shim callback.

* PluginProcess/mac/PluginProcessShim.cpp:
(WebKit::shimGetCurrentEventButtonState):
Add shim.

* PluginProcess/mac/PluginProcessShim.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.h:
* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::buttonState):
Return the button state.

(WebKit::NetscapePlugin::platformHandleMouseEvent):
Update the button state. Also, make sure to actually pass the modifiers to NPP_HandleEvent.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73391 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoBuild fix.
mrowe@apple.com [Mon, 6 Dec 2010 20:58:02 +0000 (20:58 +0000)]
Build fix.

* WebCore.xcodeproj/project.pbxproj: Don't force WebCore to build against the 10.5 SDK.
That's just plain wrong.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73390 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 6 Dec 2010 20:39:50 +0000 (20:39 +0000)]
2010-12-06  Tony Chang  <tony@chromium.org>

        Reviewed by Ojan Vafai.

        [chromium] fix an assert hit in DRT
        https://bugs.webkit.org/show_bug.cgi?id=50575

        This class uses WTF's RefPtr, but expects chrome's base::RefPtr
        semantics.

        Otherwise, we hit ASSERTION FAILED: !m_adoptionIsRequired
        (third_party/WebKit/JavaScriptCore/wtf/RefCounted.h:37 void
        WTF::RefCountedBase::ref()).

        * DumpRenderTree/chromium/TestWebWorker.h:
        (TestWebWorker::TestWebWorker):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73389 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoHTML5 Slider does not work correctly with VoiceOver
cfleizach@apple.com [Mon, 6 Dec 2010 20:37:19 +0000 (20:37 +0000)]
HTML5 Slider does not work correctly with VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=50505

Reviewed by Darin Adler.

Address a few problems with the Mac implementation for the accessibility slider.
    1) The value indicator is not hit testable.
    2) The value indicator does not return an AXValue.
    3) In the slider, the min/max values are not correct when min/max attributes are not present.
    4) When you change the value with the keyboard, it doesn't send out the right notification.
    5) Sliders were returning AXValue and AXTopLevelUIElement attributes twice in their list of attributes.

Test: platform/mac/accessibility/html-slider-indicator.html

WebCore:

* accessibility/AccessibilityObject.cpp:
(WebCore::AccessibilityObject::getAttribute):
    Use fastGetAttribute on Element, instead of getAttribute.
* accessibility/AccessibilityObject.h:
(WebCore::AccessibilityObject::isInputSlider):
* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::doAccessibilityHitTest):
* accessibility/AccessibilitySlider.cpp:
(WebCore::AccessibilitySlider::doAccessibilityHitTest):
(WebCore::AccessibilitySlider::maxValueForRange):
(WebCore::AccessibilitySlider::minValueForRange):
* accessibility/AccessibilitySlider.h:
(WebCore::AccessibilitySlider::isInputSlider):
* accessibility/mac/AccessibilityObjectWrapper.mm:
(-[AccessibilityObjectWrapper accessibilityAttributeNames]):
(-[AccessibilityObjectWrapper accessibilityAttributeValue:]):
* html/HTMLInputElement.cpp:
(WebCore::HTMLInputElement::applyStep):

LayoutTests:

* platform/mac/accessibility/html-slider-indicator-expected.txt: Added.
* platform/mac/accessibility/html-slider-indicator.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73388 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAdd a shim for IsWindowActive
andersca@apple.com [Mon, 6 Dec 2010 20:34:47 +0000 (20:34 +0000)]
Add a shim for IsWindowActive
https://bugs.webkit.org/show_bug.cgi?id=50582

Reviewed by Adam Roben.

* PluginProcess/mac/PluginProcessMac.mm:
(WebKit::isWindowActive):
Get the NetscapePlugin from the WindowRef and check if the plug-in's window is active.

(WebKit::PluginProcess::initializeShim):
* PluginProcess/mac/PluginProcessShim.cpp
(WebKit::shimIsWindowActive):
Call isWindowActive. If it returns true, return the result value. Otherwise, call the real
IsWindowActive function.

* PluginProcess/mac/PluginProcessShim.h:
* WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
(WebKit::NetscapePlugin::NetscapePlugin):
Initialize m_isWindowactive.

* WebProcess/Plugins/Netscape/NetscapePlugin.h:
(WebKit::NetscapePlugin::isWindowActive):
Return whether the window is active.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::windowMap):
(WebKit::NetscapePlugin::platformPostInitialize):
(WebKit::NetscapePlugin::platformDestroy):
(WebKit::NetscapePlugin::netscapePluginFromWindow):
Add a mapping between windows and the corresponding NetscapePlugin objects.

(WebKit::NetscapePlugin::windowFocusChanged):
Update the window focus member variable.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73387 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoFix for https://bugs.webkit.org/show_bug.cgi?id=49220 <<rdar://problem/8644849>,...
hyatt@apple.com [Mon, 6 Dec 2010 20:03:43 +0000 (20:03 +0000)]
Fix for https://bugs.webkit.org/show_bug.cgi?id=49220 <<rdar://problem/8644849>, REGRESSION: transforms now
O(n^3) from pathological behavior in lowestPosition, rightmostPosition, leftmostPosition and topmostPosition.

Reviewed by Simon Fraser.

This patch throws out the lowest/rightmost/leftmost/topmostPosition functions and re-architects layout overflow
in the engine to cache all the information required to properly handle scrolling.

In the old code, there were two types of overflow: layout overflow and visual overflow.  The former could
affect scrolling and the latter could not.  The distinction was largely meaningless, since layout overflow
wasn't actually used to determine scroll width or scroll height.  It didn't propagate across self-painting layer
boundaries either.  In the old code, the term visible overflow meant the union of the layout overflow and
visual overflow rects.

In the new code, the two types of overflow remain, but the distinction between the two is now clear.  Visual overflow
is used purely for painting and hit testing checks and layout overflow is used specifically for scrolling.  It has
been expanded to propagate across self-painting layers, to factor in relative positioning and transforms, and to
work with writing modes.

In order to minimize layout test changes, layers no longer incorporate right/bottom overflow into their width/height members.
Doing so uncovered two bugs where left/top overflow was ignored (proof that even having layer dimensions is harmful).
A render tree dump hack has been put into the code to keep this overflow dumping for the RenderView's layer, since otherwise
a huge number of tests would change.

Added fast/overflow/overflow-rtl-vertical.html to test vertical writing-mode overflow.  Existing tests cover the rest.

WebCore:

* page/FrameView.cpp:
(WebCore::FrameView::adjustViewSize):
(WebCore::FrameView::forceLayoutForPagination):
Changed to use RenderView's docTop/Left/Width/Height accessors, which simply grab the overflow and properly flip it
to account for writing modes.

* platform/graphics/IntRect.h:
(WebCore::IntRect::shiftLeftEdgeTo):
(WebCore::IntRect::shiftRightEdgeTo):
(WebCore::IntRect::shiftTopEdgeTo):
(WebCore::IntRect::shiftBottomEdgeTo):
New helper functions for sliding the edge of a rectangle without moving any of the other three edges.

* rendering/InlineBox.h:
(WebCore::InlineBox::frameRect):
frameRect is a helper for obtaining the x, y, width, height of an InlineBox as an IntRect.

* rendering/InlineFlowBox.cpp:
(WebCore::InlineFlowBox::placeBoxesInInlineDirection):
All of the overflow setting in the inline direction has been removed from this function.  All line overflow is computed
at once now in a single function: computeOverflow.

(WebCore::InlineFlowBox::addBoxShadowVisualOverflow):
(WebCore::InlineFlowBox::addTextBoxVisualOverflow):
(WebCore::InlineFlowBox::addReplacedChildOverflow):
Helper for propagating overflow from specific types of children that occur on a line into the InlineFlowBox's overflow.

(WebCore::InlineFlowBox::computeOverflow):
The new function that computes both horizontal and vertical overflow for a line box.

(WebCore::InlineFlowBox::setLayoutOverflow):
(WebCore::InlineFlowBox::setVisualOverflow):
(WebCore::InlineFlowBox::setOverflowFromLogicalRects):
New functions that set the overflow computed by computeOverflow.  These replace setBlockDirectionOverflowPositions
and setInlineDirectionOverflowPositions.  They essentially do the same thing, but they operate on rectangles.

(WebCore::InlineFlowBox::nodeAtPoint):
(WebCore::InlineFlowBox::paint):
Changed to use visual overflow instead of visible overflow.  (Visible overflow as a union of layout and visual
overflow is no longer necessary, since visual overflow is now equivalent to the old visible overflow concept.)

* rendering/InlineFlowBox.h:
(WebCore::InlineFlowBox::logicalLayoutOverflowRect):
(WebCore::InlineFlowBox::logicalVisualOverflowRect):
Helpers for obtaining logical overflow rectangles, since lines compute their overflow in logical terms before
converting to block coordinates at the end.

* rendering/RenderBlock.cpp:
(WebCore::RenderBlock::layoutBlock):
(WebCore::RenderBlock::addOverflowFromChildren):
(WebCore::RenderBlock::computeOverflow):
(WebCore::RenderBlock::addOverflowFromFloats):
(WebCore::RenderBlock::addOverflowFromPositionedObjects):
Blocks now have a computeOverflow function called at the end of layout that adds in all the types of overflow.  The addOverflowFromChildren
method is virtual so that RenderListItem and RenderTable can subclass it.  RenderListItem has to position its list marker and
propagate marker overflow up, and RenderTable adds in overflow from its sections.

(WebCore::RenderBlock::layoutOnlyPositionedObjects):
(WebCore::RenderBlock::layoutPositionedObjects):
When only positioned objects lay out, overflow must still be recomputed.  The refactoring of overflow computation into a single
callable method: computeOverflow, makes it possible for this to be done easily.

(WebCore::RenderBlock::paint):
visible -> visual.

(WebCore::RenderBlock::addOverhangingFloats):
The propagation of float overflow has changed substantially.  The basic rules are:
    (1) The float must be in our floating objects list to contribute to overflow.
    (2) The float must be a descendant to contribute to overflow.
    (3) The block must have the outermost list that contains the float, or it has a self-painting layer and
        so the float needs to be included in its overflow.

(WebCore::RenderBlock::nodeAtPoint):
visible -> visual.

(WebCore::RenderBlock::layoutColumns):
Remove column overflow computation from layoutColumns and move it to computeOverflow.

(WebCore::RenderBlock::adjustLinePositionForPagination):
visible -> visual.

* rendering/RenderBlock.h:
(WebCore::RenderBlock::scrollbarsChanged):
Added a new virtual method used by table cells when scrollbars in an overflow:auto/scroll table cell come and go.

* rendering/RenderBlockLineLayout.cpp:
(WebCore::RenderBlock::layoutInlineChildren):
(WebCore::RenderBlock::determineStartPosition):
(WebCore::RenderBlock::matchedEndLine):
(WebCore::RenderBlock::addOverflowFromInlineChildren):
(WebCore::RenderBlock::beforeSideVisualOverflowForLine):
(WebCore::RenderBlock::afterSideVisualOverflowForLine):
visible -> visual.

* rendering/RenderBox.cpp:
(WebCore::RenderBox::scrollWidth):
(WebCore::RenderBox::scrollHeight):
Patched to use layoutOverflow functions instead of the old rightmost/leftmostPosition functions.

(WebCore::RenderBox::paintRootBoxDecorations):
Use docLeft and docTop here, so that writing modes are handled.

(WebCore::RenderBox::clippedOverflowRectForRepaint):
visible -> visual.

(WebCore::RenderBox::addOverflowFromChild):
(WebCore::RenderBox::addLayoutOverflow):
(WebCore::RenderBox::addVisualOverflow):
(WebCore::RenderBox::logicalVisualOverflowRectForPropagation):
(WebCore::RenderBox::visualOverflowRectForPropagation):
(WebCore::RenderBox::logicalLayoutOverflowRectForPropagation):
(WebCore::RenderBox::layoutOverflowRectForPropagation):
* rendering/RenderBox.h:
The new overflow system for boxes.  Layout overflow now crosses self-painting layer boundaries and adjusts child boxes
for transforms, relative positioning and writing mode differences.

(WebCore::RenderBox::layoutOverflowRect):
(WebCore::RenderBox::topLayoutOverflow):
(WebCore::RenderBox::bottomLayoutOverflow):
(WebCore::RenderBox::leftLayoutOverflow):
(WebCore::RenderBox::rightLayoutOverflow):
Changed the default rectangle for layout overflow to be the client box to match the scrollable areas of overflow regions.

(WebCore::RenderBox::clientLogicalBottom):
New helper for obtaining the logical bottom of the client box.

(WebCore::RenderBox::clientBoxRect):
New helper for obtaining the clientLeft/Top/Width/Height box.

* rendering/RenderBoxModelObject.h:
(WebCore::RenderBoxModelObject::relativePositionLogicalOffset):
Helper for obtaining the relative position offset transposed for vertical writing modes.  Used by line overflow.

* rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::layoutBlock):
Changed flexible boxes to just call the base class computeOverflow method.

* rendering/RenderInline.cpp:
(WebCore::RenderInline::linesVisualOverflowBoundingBox):
(WebCore::RenderInline::clippedOverflowRectForRepaint):
visible -> visual.

* rendering/RenderInline.h:
* rendering/RenderLayer.cpp:
(WebCore::RenderLayer::updateLayerPosition):
Changed layers to no longer incorporate right/bottom overflow into width/height.  This is the reason many layout
tests change.  (Not doing this makes the layout test changes far worse, since overflow propagates across self-painting
layers now.)

(WebCore::RenderLayer::overflowTop):
(WebCore::RenderLayer::overflowBottom):
(WebCore::RenderLayer::overflowLeft):
(WebCore::RenderLayer::overflowRight):
overflowTop/Bottom/Left/Right return overflow that accounts for writing modes, i.e., purely physical overflow that can be used
to set up the scroll area.

(WebCore::RenderLayer::computeScrollDimensions):
Drastically simplified this method now that overflowTop/Bottom/Left/Right just do the right thing regarding unreachable overflow.

(WebCore::RenderLayer::updateScrollInfoAfterLayout):
Make sure to explicitly set the vertical scrollbar's position just as we did with horizontal scrollbars, so that clamping to the
bottom works.

(WebCore::performOverlapTests):
(WebCore::RenderLayer::paintLayer):
Fix a bug in performOverlapTests.  It incorrectly used the layer's bounds, and so it didn't account for left/top overflow out
of the layer (see why I hate layers even having dimensions?).  Changed it to use the bounding box of the layer instead.

(WebCore::RenderLayer::hitTest):
Fix a bug in hit testing.  It incorrectly used the root layer's bounds as the limit of the hit test, and so it didn't account
for left/top overflow in a ScrollView (hate hate hate layers having dimensions).  I changed it to use the hit test rect instead,
so that the damage rect never stops the point from being tested (unless the hit test request says not to ignore clipping).

(WebCore::RenderLayer::localBoundingBox):
visible -> visual.

* rendering/RenderLayer.h:
Added the new overflowTop/Left/Right/Bottom accessors.

* rendering/RenderLineBoxList.cpp:
(WebCore::RenderLineBoxList::anyLineIntersectsRect):
(WebCore::RenderLineBoxList::lineIntersectsDirtyRect):
(WebCore::RenderLineBoxList::paint):
(WebCore::RenderLineBoxList::hitTest):
visible -> visual.

* rendering/RenderListItem.cpp:
(WebCore::RenderListItem::addOverflowFromChildren):
(WebCore::RenderListItem::positionListMarker):
* rendering/RenderListItem.h:
RenderListItem now positions the list marker when computing its overflow, since the marker propagates overflow back up to the list item.

* rendering/RenderListMarker.cpp:
(WebCore::RenderListMarker::paint):
visible -> visual.

* rendering/RenderMarquee.cpp:
(WebCore::RenderMarquee::computePosition):
Changed to use overflow functions instead of rightmost/lowestPosition.

* rendering/RenderMedia.cpp:
* rendering/RenderMedia.h:
Removed the lowest/topmost/rightmost/leftmostPosition functions, since control overflow is handled properly already.

* rendering/RenderOverflow.h:
(WebCore::RenderOverflow::RenderOverflow):
(WebCore::RenderOverflow::setLayoutOverflow):
(WebCore::RenderOverflow::setVisualOverflow):
Add new setters for layout and visual overflow as rects.

* rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::shouldPaint):
(WebCore::RenderReplaced::clippedOverflowRectForRepaint):
visible -> visual.

* rendering/RenderRubyRun.cpp:
(WebCore::RenderRubyRun::layout):
Call computeOverflow to recompute our overflow information after we adjust the ruby.

* rendering/RenderTable.cpp:
(WebCore::RenderTable::layout):
(WebCore::RenderTable::addOverflowFromChildren):
(WebCore::RenderTable::paint):
* rendering/RenderTable.h:
Move section overflow propagation into addOverflowFromChildren, and change RenderTable to just call computeOverflow.

* rendering/RenderTableCell.cpp:
(WebCore::RenderTableCell::clippedOverflowRectForRepaint):
visible -> visual.

(WebCore::RenderTableCell::scrollbarsChanged):
Adding unreachable overflow support (something that in the old code only existed for positioned objects in the root view) exposed
a bug in table layout.  If scrollbars are added during the layout that occurs after intrinsic padding was incorporated into the
cell, then the cell won't lay out properly the second time (after the scrollbars have been added).  We have to adjust the intrinsic
padding accounting for the presence of the new scrollbar so the second layout will get the right dimensions.

* rendering/RenderTableCell.h:
(WebCore::RenderTableCell::hasVisualOverflow):
visible -> visual.

* rendering/RenderTableSection.cpp:
(WebCore::RenderTableSection::layoutRows):
* rendering/RenderTableSection.h:
visible -> visual.  Removed the leftmost/rightmost/topmost/bottommostPosition functions.

* rendering/RenderTreeAsText.cpp:
(WebCore::writeLayers):
Added a hack to render tree dumping to include right/bottom overflow for the root layer only.  This keeps a zillion layout tests
from failing.

* rendering/RenderView.cpp:
(WebCore::RenderView::layout):
(WebCore::RenderView::docTop):
(WebCore::RenderView::docBottom):
(WebCore::RenderView::docLeft):
(WebCore::RenderView::docRight):
* rendering/RenderView.h:
(WebCore::RenderView::docHeight):
(WebCore::RenderView::docWidth):
RenderView now uses docLeft/Top/Height/Width functions, which are just overflow queries that account for writing modes.  These methods
are now the preferred way to query for the physical dimensions of a document.

* rendering/RootInlineBox.cpp:
(WebCore::RootInlineBox::addHighlightOverflow):
Changed to call setOverflowFromLogicalRects instead of the block/inline position functions.

(WebCore::RootInlineBox::alignBoxesInBlockDirection):
Remove the computation of block direction overflow, since it now all happens at once after the line is built.

(WebCore::RootInlineBox::paddedLayoutOverflowRect):
* rendering/RootInlineBox.h:
Added a new helper function for incorporating the end padding into a line.  This end padding also includes the single pixel for a caret
in LTR if needed.

LayoutTests:

* compositing/checkerboard-expected.txt:
* compositing/geometry/limit-layer-bounds-transformed-expected.txt:
* compositing/iframes/composited-parent-iframe-expected.txt:
* fast/backgrounds/size/contain-and-cover-expected.txt:
* fast/flexbox/009.html:
* fast/overflow/overflow-rtl-vertical.html: Added.
* fast/spatial-navigation/snav-clipped-overflowed-content-expected.txt:
* fast/spatial-navigation/snav-clipped-overflowed-content.html:
* platform/mac/compositing/direct-image-compositing-expected.txt:
* platform/mac/compositing/geometry/fixed-position-expected.txt:
* platform/mac/compositing/geometry/video-opacity-overlay-expected.txt:
* platform/mac/compositing/overflow/fixed-position-ancestor-clip-expected.txt:
* platform/mac/compositing/overflow/scroll-ancestor-update-expected.txt:
* platform/mac/compositing/reflections/load-video-in-reflection-expected.txt:
* platform/mac/compositing/repaint/content-into-overflow-expected.txt:
* platform/mac/compositing/repaint/overflow-into-content-expected.txt:
* platform/mac/css1/box_properties/margin-expected.txt:
* platform/mac/css1/box_properties/margin_right-expected.txt:
* platform/mac/css1/classification/white_space-expected.txt:
* platform/mac/css1/color_and_background/background_attachment-expected.txt:
* platform/mac/css1/color_and_background/background_repeat-expected.txt:
* platform/mac/css2.1/t0803-c5502-mrgn-r-02-c-expected.txt:
* platform/mac/css2.1/t0803-c5505-mrgn-02-c-expected.txt:
* platform/mac/css2.1/t0804-c5508-ipadn-b-02-b-a-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-00-d-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-01-d-g-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-02-c-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-03-c-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-04-c-expected.txt:
* platform/mac/css2.1/t0905-c414-flt-wrap-01-d-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltwidth-02-c-g-expected.txt:
* platform/mac/css2.1/t0905-c5525-fltwidth-03-c-g-expected.txt:
* platform/mac/css2.1/t090501-c414-flt-02-d-g-expected.txt:
* platform/mac/css2.1/t090501-c414-flt-03-b-g-expected.txt:
* platform/mac/css2.1/t1202-counters-08-b-expected.txt:
* platform/mac/css2.1/t1202-counters-09-b-expected.txt:
* platform/mac/editing/deleting/delete-after-span-ws-001-expected.txt:
* platform/mac/editing/deleting/delete-after-span-ws-002-expected.txt:
* platform/mac/editing/deleting/delete-after-span-ws-003-expected.txt:
* platform/mac/editing/deleting/delete-line-end-ws-001-expected.txt:
* platform/mac/editing/deleting/delete-line-end-ws-002-expected.txt:
* platform/mac/editing/selection/25228-expected.txt:
* platform/mac/editing/selection/focus_editable_html-expected.txt:
* platform/mac/editing/selection/select-all-001-expected.txt:
* platform/mac/editing/selection/select-all-002-expected.txt:
* platform/mac/editing/selection/select-all-003-expected.txt:
* platform/mac/editing/selection/select-all-004-expected.txt:
* platform/mac/editing/selection/unrendered-001-expected.txt:
* platform/mac/editing/selection/unrendered-002-expected.txt:
* platform/mac/editing/selection/unrendered-003-expected.txt:
* platform/mac/editing/selection/unrendered-004-expected.txt:
* platform/mac/editing/selection/unrendered-005-expected.txt:
* platform/mac/fast/backgrounds/repeat/negative-offset-repeat-expected.txt:
* platform/mac/fast/backgrounds/size/backgroundSize15-expected.txt:
* platform/mac/fast/block/basic/010-expected.txt:
* platform/mac/fast/block/basic/fieldset-stretch-to-legend-expected.txt:
* platform/mac/fast/block/float/008-expected.txt:
* platform/mac/fast/block/float/013-expected.txt:
* platform/mac/fast/block/float/019-expected.txt:
* platform/mac/fast/block/float/021-expected.txt:
* platform/mac/fast/block/float/029-expected.txt:
* platform/mac/fast/block/float/031-expected.txt:
* platform/mac/fast/block/float/033-expected.txt:
* platform/mac/fast/block/float/035-expected.txt:
* platform/mac/fast/block/float/avoidance-percent-width-strict-expected.txt:
* platform/mac/fast/block/float/clamped-right-float-expected.txt:
* platform/mac/fast/block/float/float-in-float-painting-expected.txt:
* platform/mac/fast/block/float/nested-clearance-expected.txt:
* platform/mac/fast/block/float/relative-painted-twice-expected.txt:
* platform/mac/fast/block/margin-collapse/004-expected.txt:
* platform/mac/fast/block/margin-collapse/062-expected.txt:
* platform/mac/fast/block/margin-collapse/063-expected.txt:
* platform/mac/fast/block/margin-collapse/104-expected.txt:
* platform/mac/fast/block/margin-collapse/block-inside-inline/004-expected.txt:
* platform/mac/fast/block/margin-collapse/block-inside-inline/005-expected.txt:
* platform/mac/fast/block/positioning/002-expected.txt:
* platform/mac/fast/block/positioning/047-expected.txt:
* platform/mac/fast/block/positioning/049-expected.txt:
* platform/mac/fast/block/positioning/051-expected.txt:
* platform/mac/fast/block/positioning/auto-height-with-top-and-bottom-expected.txt:
* platform/mac/fast/block/positioning/replaced-inside-fixed-top-bottom-expected.txt:
* platform/mac/fast/blockflow/block-level-images-expected.txt:
* platform/mac/fast/blockflow/border-radius-clipping-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/box-shadow-vertical-lr-expected.txt:
* platform/mac/fast/blockflow/box-shadow-vertical-rl-expected.txt:
* platform/mac/fast/blockflow/floats-in-block-layout-expected.txt:
* platform/mac/fast/body-propagation/background-color/002-expected.txt:
* platform/mac/fast/body-propagation/background-color/002-xhtml-expected.txt:
* platform/mac/fast/body-propagation/background-image/002-expected.txt:
* platform/mac/fast/body-propagation/background-image/002-xhtml-expected.txt:
* platform/mac/fast/body-propagation/overflow/001-expected.txt:
* platform/mac/fast/body-propagation/overflow/001-xhtml-expected.txt:
* platform/mac/fast/body-propagation/overflow/005-declarative-expected.txt:
* platform/mac/fast/body-propagation/overflow/005-expected.txt:
* platform/mac/fast/body-propagation/overflow/005-xhtml-expected.txt:
* platform/mac/fast/borders/fieldsetBorderRadius-expected.txt:
* platform/mac/fast/box-shadow/basic-shadows-expected.txt:
* platform/mac/fast/box-sizing/box-sizing-expected.txt:
* platform/mac/fast/clip/008-expected.txt:
* platform/mac/fast/clip/009-expected.txt:
* platform/mac/fast/clip/010-expected.txt:
* platform/mac/fast/clip/011-expected.txt:
* platform/mac/fast/clip/012-expected.txt:
* platform/mac/fast/compact/001-expected.txt:
* platform/mac/fast/css/color-correction-on-background-image-expected.txt:
* platform/mac/fast/css/negative-leading-expected.txt:
* platform/mac/fast/css/percentage-non-integer-expected.txt:
* platform/mac/fast/css/word-space-extra-expected.txt:
* platform/mac/fast/dom/clone-node-dynamic-style-expected.txt:
* platform/mac/fast/dynamic/window-resize-scrollbars-test-expected.txt:
* platform/mac/fast/events/focusingUnloadedFrame-expected.txt:
* platform/mac/fast/flexbox/009-expected.txt:
* platform/mac/fast/flexbox/016-expected.txt:
* platform/mac/fast/flexbox/flex-hang-expected.txt:
* platform/mac/fast/forms/basic-textareas-quirks-expected.txt:
* platform/mac/fast/forms/file-input-direction-expected.txt:
* platform/mac/fast/forms/floating-textfield-relayout-expected.txt:
* platform/mac/fast/forms/textfield-overflow-expected.txt:
* platform/mac/fast/frames/flattening/frameset-flattening-advanced-expected.txt:
* platform/mac/fast/frames/flattening/frameset-flattening-grid-expected.txt:
* platform/mac/fast/frames/flattening/frameset-flattening-simple-expected.txt:
* platform/mac/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt:
* platform/mac/fast/frames/flattening/frameset-flattening-subframesets-expected.txt:
* platform/mac/fast/frames/frame-scrolling-attribute-expected.txt:
* platform/mac/fast/frames/iframe-scrolling-attribute-expected.txt:
* platform/mac/fast/frames/inline-object-inside-frameset-expected.txt:
* platform/mac/fast/gradients/background-clipped-expected.txt:
* platform/mac/fast/images/gif-large-checkerboard-expected.txt:
* platform/mac/fast/images/pdf-as-image-landscape-expected.txt:
* platform/mac/fast/inline-block/inline-block-vertical-align-expected.txt:
* platform/mac/fast/inline/long-wrapped-line-expected.txt:
* platform/mac/fast/layers/layer-visibility-expected.txt:
* platform/mac/fast/layers/layer-visibility-sublayer-expected.txt:
* platform/mac/fast/lists/001-expected.txt:
* platform/mac/fast/lists/001-vertical-expected.txt:
* platform/mac/fast/lists/003-expected.txt:
* platform/mac/fast/lists/003-vertical-expected.txt:
* platform/mac/fast/lists/li-br-expected.txt:
* platform/mac/fast/media/mq-relative-constraints-02-expected.txt:
* platform/mac/fast/media/mq-relative-constraints-03-expected.txt:
* platform/mac/fast/media/mq-relative-constraints-04-expected.txt:
* platform/mac/fast/media/mq-relative-constraints-05-expected.txt:
* platform/mac/fast/media/mq-relative-constraints-06-expected.txt:
* platform/mac/fast/media/mq-relative-constraints-07-expected.txt:
* platform/mac/fast/media/mq-relative-constraints-08-expected.txt:
* platform/mac/fast/media/mq-relative-constraints-09-expected.txt:
* platform/mac/fast/media/mq-width-absolute-01-expected.txt:
* platform/mac/fast/media/mq-width-absolute-02-expected.txt:
* platform/mac/fast/media/mq-width-absolute-03-expected.txt:
* platform/mac/fast/media/mq-width-absolute-04-expected.txt:
* platform/mac/fast/multicol/float-multicol-expected.txt:
* platform/mac/fast/multicol/float-paginate-complex-expected.txt:
* platform/mac/fast/multicol/float-paginate-expected.txt:
* platform/mac/fast/multicol/layers-in-multicol-expected.txt:
* platform/mac/fast/multicol/paginate-block-replaced-expected.txt:
* platform/mac/fast/multicol/positioned-with-constrained-height-expected.txt:
* platform/mac/fast/multicol/span/anonymous-style-inheritance-expected.txt:
* platform/mac/fast/multicol/table-vertical-align-expected.txt:
* platform/mac/fast/overflow/006-expected.txt:
* platform/mac/fast/overflow/float-in-relpositioned-expected.txt:
* platform/mac/fast/overflow/overflow-auto-table-expected.txt:
* platform/mac/fast/overflow/overflow-rtl-vertical-expected.checksum: Added.
* platform/mac/fast/overflow/overflow-rtl-vertical-expected.png: Added.
* platform/mac/fast/overflow/overflow-rtl-vertical-expected.txt: Added.
* platform/mac/fast/overflow/scrollRevealButton-expected.txt:
* platform/mac/fast/reflections/reflection-direction-expected.txt:
* platform/mac/fast/repaint/box-shadow-h-expected.checksum:
* platform/mac/fast/repaint/box-shadow-h-expected.png:
* platform/mac/fast/repaint/box-shadow-h-expected.txt:
* platform/mac/fast/repaint/box-shadow-v-expected.txt:
* platform/mac/fast/repaint/content-into-overflow-expected.txt:
* platform/mac/fast/repaint/dynamic-table-vertical-alignment-change-expected.txt:
* platform/mac/fast/repaint/float-overflow-expected.txt:
* platform/mac/fast/repaint/float-overflow-right-expected.txt:
* platform/mac/fast/repaint/overflow-into-content-expected.txt:
* platform/mac/fast/repaint/overflow-scroll-body-appear-expected.txt:
* platform/mac/fast/repaint/subtree-root-clip-expected.txt:
* platform/mac/fast/repaint/transform-absolute-in-positioned-container-expected.txt:
* platform/mac/fast/repaint/transform-replaced-shadows-expected.checksum:
* platform/mac/fast/repaint/transform-replaced-shadows-expected.png:
* platform/mac/fast/replaced/004-expected.txt:
* platform/mac/fast/table/034-expected.txt:
* platform/mac/fast/table/border-collapsing/004-vertical-expected.txt:
* platform/mac/fast/table/colspanMinWidth-vertical-expected.txt:
* platform/mac/fast/table/fixed-with-auto-with-colspan-expected.txt:
* platform/mac/fast/table/fixed-with-auto-with-colspan-vertical-expected.txt:
* platform/mac/fast/table/frame-and-rules-expected.txt:
* platform/mac/fast/table/height-percent-test-vertical-expected.txt:
* platform/mac/fast/table/wide-colspan-expected.txt:
* platform/mac/fast/table/wide-column-expected.txt:
* platform/mac/fast/text/international/thai-line-breaks-expected.txt:
* platform/mac/fast/text/large-text-composed-char-expected.txt:
* platform/mac/fast/text/letter-spacing-negative-opacity-expected.txt:
* platform/mac/fast/text/text-letter-spacing-expected.txt:
* platform/mac/fast/text/whitespace/012-expected.txt:
* platform/mac/mathml/presentation/fenced-expected.txt:
* platform/mac/mathml/presentation/mo-expected.txt:
* platform/mac/mathml/presentation/over-expected.txt:
* platform/mac/mathml/presentation/row-alignment-expected.txt:
* platform/mac/mathml/presentation/row-expected.txt:
* platform/mac/printing/return-from-printing-mode-expected.txt:
* platform/mac/svg/custom/altglyph-expected.txt:
* platform/mac/svg/custom/getscreenctm-in-mixed-content-expected.txt:
* platform/mac/svg/custom/path-bad-data-expected.txt:
* platform/mac/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
* platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
* platform/mac/svg/custom/text-xy-updates-SVGList-expected.txt:
* platform/mac/svg/overflow/overflow-on-outermost-svg-element-in-xhtml-defaults-expected.txt:
* platform/mac/svg/text/foreignObject-text-clipping-bug-expected.txt:
* platform/mac/svg/text/kerning-expected.txt:
* platform/mac/svg/text/multichar-glyph-expected.txt:
* platform/mac/svg/transforms/animated-path-inside-transformed-html-expected.txt:
* platform/mac/svg/transforms/text-with-pattern-inside-transformed-html-expected.txt:
* platform/mac/svg/zoom/text/zoom-hixie-mixed-009-expected.txt:
* platform/mac/tables/mozilla/bugs/bug120364-expected.txt:
* platform/mac/tables/mozilla/bugs/bug131020-expected.txt:
* platform/mac/tables/mozilla/bugs/bug196870-expected.txt:
* platform/mac/tables/mozilla/bugs/bug23151-expected.txt:
* platform/mac/tables/mozilla/bugs/bug29314-expected.txt:
* platform/mac/tables/mozilla/bugs/bug43039-expected.txt:
* platform/mac/tables/mozilla/bugs/bug43854-1-expected.txt:
* platform/mac/tables/mozilla/bugs/bug45055-2-expected.txt:
* platform/mac/tables/mozilla/bugs/bug5797-expected.txt:
* platform/mac/tables/mozilla/bugs/bug625-expected.txt:
* platform/mac/tables/mozilla/bugs/bug72359-expected.txt:
* platform/mac/tables/mozilla/bugs/bug83786-expected.txt:
* platform/mac/tables/mozilla/bugs/bug92143-expected.txt:
* platform/mac/tables/mozilla/bugs/bug96334-expected.txt:
* platform/mac/tables/mozilla/core/nested1-expected.txt:
* platform/mac/tables/mozilla/marvin/backgr_index-expected.txt:
* platform/mac/tables/mozilla/marvin/x_table_align_left-expected.txt:
* platform/mac/tables/mozilla/marvin/x_table_align_right-expected.txt:
* platform/mac/tables/mozilla/marvin/x_td_nowrap-expected.txt:
* platform/mac/tables/mozilla/marvin/x_th_nowrap-expected.txt:
* platform/mac/tables/mozilla_expected_failures/bugs/bug220653-expected.txt:
* platform/mac/tables/mozilla_expected_failures/bugs/bug2479-5-expected.txt:
* platform/mac/tables/mozilla_expected_failures/bugs/bug67915-2-expected.txt:
* platform/mac/tables/mozilla_expected_failures/bugs/bug85016-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/backgr_fixed-bg-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption_bottom-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption_left-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption_right-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_caption_top-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_row-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_table-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_dirty_reflow_tbody-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_hidden_tr-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_cell_sibling-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_row_sibling-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_table_caption-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_style_reflow_tbody_sibling-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_td_align_right-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_bottom-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_middle-expected.txt:
* platform/mac/tables/mozilla_expected_failures/marvin/table_overflow_td_valign_top-expected.txt:
* platform/mac/transforms/3d/point-mapping/3d-point-mapping-2-expected.txt:
* platform/mac/transforms/3d/point-mapping/3d-point-mapping-expected.txt:
* platform/mac/transforms/3d/point-mapping/3d-point-mapping-origins-expected.txt:
* platform/mac/transforms/3d/point-mapping/3d-point-mapping-preserve-3d-expected.txt:
* platform/mac/transforms/svg-vs-css-expected.txt:
* svg/custom/text-zoom-expected.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73385 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-02 Ojan Vafai <ojan@chromium.org>
ojan@chromium.org [Mon, 6 Dec 2010 20:00:21 +0000 (20:00 +0000)]
2010-12-02  Ojan Vafai  <ojan@chromium.org>

        Reviewed by Eric Seidel.

        make webkit-patch command work when the git branch is not synced to the remote svn branch
        https://bugs.webkit.org/show_bug.cgi?id=50424

        * Scripts/webkitpy/common/checkout/scm.py:
        * Scripts/webkitpy/common/checkout/scm_unittest.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73384 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoREGERSSION (r73310?): Contents of <select> popup menus are upside-down on Windows
andersca@apple.com [Mon, 6 Dec 2010 19:59:40 +0000 (19:59 +0000)]
REGERSSION (r73310?): Contents of <select> popup menus are upside-down on Windows
https://bugs.webkit.org/show_bug.cgi?id=50544
<rdar://problem/8732336>

Reviewed by Dan Bernstein.

* Shared/BackingStore.cpp:
* Shared/BackingStore.h:
* Shared/cairo/BackingStoreCairo.cpp:
Remove BackingStore::createFlippedGraphicsContext.

* WebProcess/WebCoreSupport/win/WebPopupMenuWin.cpp:
(WebKit::WebPopupMenu::setUpPlatformData):
Don't create a flipped graphics context.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73383 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoREGRESSION: Text in Find indicator is vertically flipped
andersca@apple.com [Mon, 6 Dec 2010 19:52:52 +0000 (19:52 +0000)]
REGRESSION: Text in Find indicator is vertically flipped
https://bugs.webkit.org/show_bug.cgi?id=50524
<rdar://problem/8732978>

Reviewed by Dan Bernstein.

Don't flip the graphics context.

* UIProcess/FindIndicator.cpp:
(WebKit::FindIndicator::draw):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73382 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoDispatch keyboard events in the Carbon event model
andersca@apple.com [Mon, 6 Dec 2010 19:48:33 +0000 (19:48 +0000)]
Dispatch keyboard events in the Carbon event model
https://bugs.webkit.org/show_bug.cgi?id=50503

Reviewed by Sam Weinig.

WebKit2:

* Shared/WebEvent.h:
(WebKit::WebKeyboardEvent::macCharCode):
* Shared/WebKeyboardEvent.cpp:
(WebKit::WebKeyboardEvent::WebKeyboardEvent):
(WebKit::WebKeyboardEvent::encode):
(WebKit::WebKeyboardEvent::decode):
Add macCharCode field.

* Shared/mac/WebEventFactory.mm:
(WebKit::WebEventFactory::createWebKeyboardEvent):
* Shared/qt/WebEventFactoryQt.cpp:
(WebKit::WebEventFactory::createWebKeyboardEvent):
* Shared/win/WebEventFactory.cpp:
(WebKit::WebEventFactory::createWebKeyboardEvent):
Pass along the Mac char code.

* WebProcess/Plugins/Netscape/mac/NetscapePluginMac.mm:
(WebKit::NetscapePlugin::platformHandleKeyboardEvent):
Convert the event to a Carobn event.

WebKitLibraries:

Make WKGetNSEventKeyChar available in 32-bit.

* WebKitSystemInterface.h:
* libWebKitSystemInterfaceLeopard.a:
* libWebKitSystemInterfaceSnowLeopard.a:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73381 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Chris Marrin <cmarrin@apple.com>
cmarrin@apple.com [Mon, 6 Dec 2010 19:35:13 +0000 (19:35 +0000)]
2010-12-06  Chris Marrin  <cmarrin@apple.com>

        Reviewed by Simon Fraser.

        Share code between Mac (CA) and Windows (CACF) GraphicsLayer implementations
        https://bugs.webkit.org/show_bug.cgi?id=49388

        Replaced GraphicsLayerMac with GraphicsLayerCA. GraphicsLayerCA is essentially
        identical to GraphicsLayerMac, but replaces all the CoreAnimation specific calls
        with calls to PlatformCALayer and PlatformCAAnimation. This makes GraphicsLayerCA
        platform neutral as long as implementations of those two classes are available.
        Added implementations in PlatformCALayerMac and PlatformCAAnimationMac. Also got
        rid of GraphicsLayer::nativeLayer() and replaced it with GraphicsLayer::platformLayer()
        to avoid confusion since both names were used to refer to the same thing.

        This patch is only for Mac. Windows implementation has not changed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73380 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Simon Fraser <simon.fraser@apple.com>
simon.fraser@apple.com [Mon, 6 Dec 2010 19:31:12 +0000 (19:31 +0000)]
2010-12-06  Simon Fraser  <simon.fraser@apple.com>

        Reviewed by Dan Bernstein.

        Font antialiasing (smoothing) changes when elements are rendered into compositing layers
        https://bugs.webkit.org/show_bug.cgi?id=23364

        Text rendered by Core Graphics over a transparent background looks bad because of
        font smoothing, so turn off smoothing when rendering text into compositing layers.

        * platform/graphics/GraphicsContext.h:
        * platform/graphics/cg/GraphicsContextCG.cpp:
        (WebCore::GraphicsContext::setAllowsFontSmoothing):
        * platform/graphics/mac/WebLayer.mm:
        (drawLayerContents):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73379 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Mon, 6 Dec 2010 19:08:18 +0000 (19:08 +0000)]
2010-12-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Add build system
        https://bugs.webkit.org/show_bug.cgi?id=50522

        * cmake/OptionsWinCE.cmake: Added.
        * cmake/OptionsWindows.cmake: Added.
2010-12-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Add build system
        https://bugs.webkit.org/show_bug.cgi?id=50522

        * CMakeListsWinCE.txt: Added.
        * shell/CMakeListsWinCE.txt: Added.
        * wtf/CMakeListsWinCE.txt: Added.
2010-12-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Add build system
        https://bugs.webkit.org/show_bug.cgi?id=50522

        * CMakeListsWinCE.txt: Added.
2010-12-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Add build system
        https://bugs.webkit.org/show_bug.cgi?id=50522

        * CMakeListsWinCE.txt: Added.
2010-12-06  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [WINCE] Add build system
        https://bugs.webkit.org/show_bug.cgi?id=50522

        * CMakeListsWinCE.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73378 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 John Tantalo <john.tantalo@gmail.com>
commit-queue@webkit.org [Mon, 6 Dec 2010 18:46:33 +0000 (18:46 +0000)]
2010-12-06  John Tantalo  <john.tantalo@gmail.com>

        Reviewed by Geoffrey Garen.

        jsc does not ignore shebang
        https://bugs.webkit.org/show_bug.cgi?id=49576

        * jsc.cpp:
        (fillBufferWithContentsOfFile):
          - translate shebang into a valid JavaScript comment so the lexer ignores it

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73377 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 6 Dec 2010 18:20:12 +0000 (18:20 +0000)]
2010-12-06  Mihai Parparita  <mihaip@chromium.org>

        Unreviewed move of Chromium baselines.

        In preparation for making pixel tests pass for Chromium on Snow Leopard,
        move baselines for 273 tests from chromium-mac to chromium-mac-leopard.
        These tests will then use the mac baselines, which will enable them
        to pass on Snow Leopard, but keep passing for Leopard too.

        List of files omitted due to length but composed entirely of moves from
        platform/chromium-mac to platform/chromium-mac-leopard.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73376 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-03 Mihai Parparita <mihaip@chromium.org>
mihaip@chromium.org [Mon, 6 Dec 2010 18:06:40 +0000 (18:06 +0000)]
2010-12-03  Mihai Parparita  <mihaip@chromium.org>

        Reviewed by Tony Chang.

        Allow the Chromium port to have Leopard-specific baselines
        https://bugs.webkit.org/show_bug.cgi?id=50506

        * Scripts/webkitpy/layout_tests/port/chromium_mac.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73375 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoAX does not support HTML5 "required"
cfleizach@apple.com [Mon, 6 Dec 2010 17:36:01 +0000 (17:36 +0000)]
AX does not support HTML5 "required"
https://bugs.webkit.org/show_bug.cgi?id=50507

Reviewed by Oliver Hunt.

WebCore:

Test: platform/mac/accessibility/html5-required-attribute.html

* accessibility/AccessibilityRenderObject.cpp:
(WebCore::AccessibilityRenderObject::isRequired):

LayoutTests:

* platform/mac/accessibility/html5-required-attribute-expected.txt: Added.
* platform/mac/accessibility/html5-required-attribute.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73374 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-03 Tony Chang <tony@chromium.org>
tony@chromium.org [Mon, 6 Dec 2010 17:35:05 +0000 (17:35 +0000)]
2010-12-03  Tony Chang  <tony@chromium.org>

        Reviewed by Kent Tamura.

        [chromium] fix 2 bugs with inspector tests in DRT
        https://bugs.webkit.org/show_bug.cgi?id=50492

        Tasks can outlive the tasklist (even when canceled) so this was
        causing a crash when ~WebTask() ran.  Avoid this by unregistering
        when a task is canceled.

        Also fix an assert when closing devtool windows by copying some
        logic from test_shell.

        * DumpRenderTree/chromium/Task.cpp:
        (WebTask::~WebTask):
        (TaskList::revokeAll):
        * DumpRenderTree/chromium/Task.h: Canceling a task now removes it from
            the tasklist (since the task can outlive the tasklist).
        * DumpRenderTree/chromium/TestShell.h:
        (TestShell::devToolsWebView):
        * DumpRenderTree/chromium/WebViewHost.cpp:
        (WebViewHost::~WebViewHost): Don't load about:blank when closing
            a window if the window has devtools loaded.  This avoids an
            ASSERT and matches test_shell.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73373 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Victor Wang <victorw@chromium.org>
victorw@chromium.org [Mon, 6 Dec 2010 17:13:04 +0000 (17:13 +0000)]
2010-12-06  Victor Wang  <victorw@chromium.org>

        Unreviewed.

        [Chromium] update chromium test expectations.

        * platform/chromium-linux/fast/css/focus-ring-outline-color-expected.checksum: Added.
        * platform/chromium-linux/fast/css/focus-ring-outline-color-expected.png: Added.
        * platform/chromium-linux/fast/css/focus-ring-outline-offset-expected.checksum: Added.
        * platform/chromium-linux/fast/css/focus-ring-outline-offset-expected.png: Added.
        * platform/chromium-linux/fast/css/focus-ring-outline-width-expected.checksum: Added.
        * platform/chromium-linux/fast/css/focus-ring-outline-width-expected.png: Added.
        * platform/chromium-mac/fast/css/focus-ring-outline-color-expected.checksum: Added.
        * platform/chromium-mac/fast/css/focus-ring-outline-color-expected.png: Added.
        * platform/chromium-mac/fast/css/focus-ring-outline-offset-expected.checksum: Added.
        * platform/chromium-mac/fast/css/focus-ring-outline-offset-expected.png: Added.
        * platform/chromium-mac/fast/css/focus-ring-outline-width-expected.checksum: Added.
        * platform/chromium-mac/fast/css/focus-ring-outline-width-expected.png: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-color-expected.checksum: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-color-expected.png: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-color-expected.txt: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-offset-expected.checksum: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-offset-expected.png: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-offset-expected.txt: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-width-expected.checksum: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-width-expected.png: Added.
        * platform/chromium-win/fast/css/focus-ring-outline-width-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73372 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agohttps://bugs.webkit.org/show_bug.cgi?id=50504
sullivan@apple.com [Mon, 6 Dec 2010 16:45:46 +0000 (16:45 +0000)]
https://bugs.webkit.org/show_bug.cgi?id=50504
Expose some more WebCore settings in WebKit2 preferences

Reviewed by Adam Roben.

* Shared/WebPreferencesStore.h:
Changed name of existing FOR_EACH_WEBKIT_STRING_PREFERENCE macro to
FOR_EACH_WEBKIT_FONT_FAMILY_PREFERENCE since it was all about platform-specific
font families, and I'm now introducing a non-platform-spacific string, and
I didn't want to put the new preference in two platform-specific lists. Then
added a new FOR_EACH_WEBKIT_STRING_PREFERENCE to hold the new preference. Note
that the other preferences exposed in this patch were already declared here.

* UIProcess/API/C/WKPreferences.cpp:
(WKPreferencesSetDefaultFontSize):
New wrapper.
(WKPreferencesGetDefaultFontSize):
Ditto.
(WKPreferencesSetDefaultFixedFontSize):
Ditto.
(WKPreferencesGetDefaultFixedFontSize):
Ditto.
(WKPreferencesSetDefaultTextEncodingName):
Ditto.
(WKPreferencesCopyDefaultTextEncodingName):
Ditto.

* UIProcess/API/C/WKPreferences.h:
Declare new wrappers.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73370 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 6 Dec 2010 16:00:32 +0000 (16:00 +0000)]
2010-12-06  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] using shadows leaks memory
        https://bugs.webkit.org/show_bug.cgi?id=50541

        Fixed leaks in the shadow code.
        * platform/graphics/cairo/CairoUtilities.cpp:
        (WebCore::drawPatternToCairoContext): adoptRef instead of just
        getting a new reference.
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::drawPathShadow): handle cairo_path_t with smart
        pointers.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73369 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Mon, 6 Dec 2010 15:59:30 +0000 (15:59 +0000)]
2010-12-06  Martin Robinson  <mrobinson@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Build is broken after r73353
        https://bugs.webkit.org/show_bug.cgi?id=50568

        Fix the gtk-doc build by making all members of the cache model
        enum public. gtk-doc does not support making only some enum
        members private. We should also expose it so that users querying
        the cache model do not get mysterious, undocumented results.

        * webkit/webkitwebview.h: Fix gtk-doc for the cache model enum.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73368 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Mon, 6 Dec 2010 15:41:08 +0000 (15:41 +0000)]
2010-12-06  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Fix GtkLauncher.c style, use webkit style
        https://bugs.webkit.org/show_bug.cgi?id=50542

        * GtkLauncher/main.c:
        (activateUriEntryCb):
        (updateTitle):
        (linkHoverCb):
        (notifyTitleCb):
        (notifyLoadStatusCb):
        (notifyProgressCb):
        (destroyCb):
        (goBackCb):
        (goForwardCb):
        (create_webViewCb):
        (webViewReadyCb):
        (closeWebViewCb):
        (createBrowser):
        (createStatusbar):
        (createToolbar):
        (createWindow):
        (main):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73367 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Mon, 6 Dec 2010 15:40:17 +0000 (15:40 +0000)]
2010-12-06  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [v8] Web Inspector: remove duplicate code for capturing stack trace
        https://bugs.webkit.org/show_bug.cgi?id=50461

        No new tests. Covered with existing inspector tests.

        * bindings/js/ScriptCallStackFactory.cpp:
        (WebCore::createScriptCallStack):
        * bindings/js/ScriptCallStackFactory.h:
        * bindings/v8/ScriptCallStackFactory.cpp:
        (WebCore::toScriptCallFrame):
        (WebCore::toScriptCallFramesVector):
        (WebCore::createScriptCallStack):
        * bindings/v8/ScriptCallStackFactory.h:
        * bindings/v8/V8ConsoleMessage.cpp:
        (WebCore::V8ConsoleMessage::handler):
        * inspector/ScriptCallFrame.cpp:
        (WebCore::ScriptCallFrame::ScriptCallFrame):
        (WebCore::ScriptCallFrame::isEqual):
        (WebCore::ScriptCallFrame::buildInspectorObject):
        * inspector/ScriptCallFrame.h:
        (WebCore::ScriptCallFrame::sourceURL):
        * inspector/ScriptCallStack.h:
        * inspector/TimelineRecordFactory.cpp:
        (WebCore::TimelineRecordFactory::createGenericRecord):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73366 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed.
ossy@webkit.org [Mon, 6 Dec 2010 15:06:22 +0000 (15:06 +0000)]
Unreviewed.

Add Qt specific expected result for test introduced in r73257.

* platform/qt/media/controls-without-preload-expected.checksum: Added.
* platform/qt/media/controls-without-preload-expected.png: Added.
* platform/qt/media/controls-without-preload-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73365 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed.
ossy@webkit.org [Mon, 6 Dec 2010 14:52:55 +0000 (14:52 +0000)]
Unreviewed.

WebCore: == Rolled over to ChangeLog-2010-12-06 ==
LayoutTests: == Rolled over to ChangeLog-2010-12-06 ==

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73363 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Support focus ring outline color for links.
yael.aharon@nokia.com [Mon, 6 Dec 2010 14:47:41 +0000 (14:47 +0000)]
[Qt] Support focus ring outline color for links.
https://bugs.webkit.org/show_bug.cgi?id=50428

Reviewed by Andreas Kling.

WebCore:

Take width and offset into account when drawing focus ring.

Tests: fast/css/focus-ring-outline-color.html
       fast/css/focus-ring-outline-offset.html
       fast/css/focus-ring-outline-width.html

* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::drawFocusRing):

LayoutTests:

* fast/css/focus-ring-outline-color.html: Added.
* fast/css/focus-ring-outline-offset.html: Added.
* fast/css/focus-ring-outline-width.html: Added.
* platform/mac/fast/css/focus-ring-outline-color-expected.checksum: Added.
* platform/mac/fast/css/focus-ring-outline-color-expected.png: Added.
* platform/mac/fast/css/focus-ring-outline-color-expected.txt: Added.
* platform/mac/fast/css/focus-ring-outline-offset-expected.checksum: Added.
* platform/mac/fast/css/focus-ring-outline-offset-expected.png: Added.
* platform/mac/fast/css/focus-ring-outline-offset-expected.txt: Added.
* platform/mac/fast/css/focus-ring-outline-width-expected.checksum: Added.
* platform/mac/fast/css/focus-ring-outline-width-expected.png: Added.
* platform/mac/fast/css/focus-ring-outline-width-expected.txt: Added.
* platform/qt/fast/css/focus-ring-outline-color-expected.checksum: Added.
* platform/qt/fast/css/focus-ring-outline-color-expected.png: Added.
* platform/qt/fast/css/focus-ring-outline-color-expected.txt: Added.
* platform/qt/fast/css/focus-ring-outline-offset-expected.checksum: Added.
* platform/qt/fast/css/focus-ring-outline-offset-expected.png: Added.
* platform/qt/fast/css/focus-ring-outline-offset-expected.txt: Added.
* platform/qt/fast/css/focus-ring-outline-width-expected.checksum: Added.
* platform/qt/fast/css/focus-ring-outline-width-expected.png: Added.
* platform/qt/fast/css/focus-ring-outline-width-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73362 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Fix focus ring outline color support
yael.aharon@nokia.com [Mon, 6 Dec 2010 14:33:39 +0000 (14:33 +0000)]
[Qt] Fix focus ring outline color support
https://bugs.webkit.org/show_bug.cgi?id=50325

Reviewed by Andreas Kling.

WebCore:

* platform/graphics/qt/GraphicsContextQt.cpp:
(WebCore::GraphicsContext::drawFocusRing):

Take the outline width into account when drawing the focus ring of image map.
Change the outline-style from dotted to solid. The default outline-width is
5 pixels, and dotted lines just don't make sense anymore.
Give the focus ring alpha of 50%, following what other ports do.
Save and restore the pen when drawing a focus ring.

LayoutTests:

* platform/qt/Skipped:
* platform/qt/fast/images/imagemap-focus-ring-expected.checksum:
* platform/qt/fast/images/imagemap-focus-ring-expected.png:
* platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.checksum: Added.
* platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.png: Added.
* platform/qt/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
* platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.checksum: Added.
* platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
* platform/qt/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
* platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.checksum: Added.
* platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Added.
* platform/qt/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
* platform/qt/fast/images/imagemap-focus-ring-zoom-expected.checksum:
* platform/qt/fast/images/imagemap-focus-ring-zoom-expected.png:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73361 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed.
yael.aharon@nokia.com [Mon, 6 Dec 2010 13:45:15 +0000 (13:45 +0000)]
Unreviewed.

Added a proper mime-type to images.

* platform/qt/fast/images/imagemap-focus-ring-expected.png: Added property svn:mime-type.
* platform/qt/fast/images/imagemap-focus-ring-zoom-expected.png: Added property svn:mime-type.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73360 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoUnreviewed.
ossy@webkit.org [Mon, 6 Dec 2010 13:21:47 +0000 (13:21 +0000)]
Unreviewed.

Add Qt specific expected results for tests introduced in r73296.
Compared to Mac png files and Mac expected files.

* platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.checksum: Added.
* platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.png: Added.
* platform/qt/fast/multicol/span/anonymous-before-child-parent-crash-expected.txt: Added.
* platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.checksum: Added.
* platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.png: Added.
* platform/qt/fast/multicol/span/anonymous-split-block-crash-expected.txt: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73359 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Andras Becsi <abecsi@webkit.org>
abecsi@webkit.org [Mon, 6 Dec 2010 13:19:19 +0000 (13:19 +0000)]
2010-12-06  Andras Becsi  <abecsi@webkit.org>

        Reviewed by Csaba Osztrogon√°c.

        [Qt][V8] Build fix after r73283.

        No new tests needed.

        * WebCore.pri: Add missing webaudio directory
        to IDL generator includes.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73358 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Philippe Normand <pnormand@igalia.com>
philn@webkit.org [Mon, 6 Dec 2010 12:31:00 +0000 (12:31 +0000)]
2010-12-06  Philippe Normand  <pnormand@igalia.com>

        Reviewed by Martin Robinson.

        [soup] implement ResourceHandle::platformSetDefersLoading
        https://bugs.webkit.org/show_bug.cgi?id=44158

        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::ResourceHandle::platformSetDefersLoading): Implemented
        using the soup_session_{,un}pause_message APIs.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73357 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Mon, 6 Dec 2010 12:24:32 +0000 (12:24 +0000)]
2010-12-06  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Leak in webkit_soup_cache_load if file contents load fails
        https://bugs.webkit.org/show_bug.cgi?id=50558

        g_file_get_contents() could return an error after allocating a
        buffer for file contents. We must free that memory before
        returning.

        * platform/network/soup/cache/webkit/soup-cache.c:
        (webkit_soup_cache_load): Added a missing g_free().

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73356 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Sheriff Bot <webkit.review.bot@gmail.com>
yurys@chromium.org [Mon, 6 Dec 2010 11:59:32 +0000 (11:59 +0000)]
2010-12-06  Sheriff Bot  <webkit.review.bot@gmail.com>

        Unreviewed, rolling out r73351.
        http://trac.webkit.org/changeset/73351
        https://bugs.webkit.org/show_bug.cgi?id=50560

        "The change broke plugin tests in Chromium" (Requested by
        yurys on #webkit).

        * bindings/js/ScriptCallStackFactory.cpp:
        (WebCore::ScriptCallStack::stackTrace):
        * bindings/js/ScriptCallStackFactory.h:
        * bindings/v8/ScriptCallStackFactory.cpp:
        (WebCore::toScriptCallFrame):
        (WebCore::toScriptCallFramesVector):
        (WebCore::createScriptCallStack):
        (WebCore::ScriptCallStack::stackTrace):
        * bindings/v8/ScriptCallStackFactory.h:
        * bindings/v8/V8ConsoleMessage.cpp:
        (WebCore::V8ConsoleMessage::handler):
        * inspector/ScriptCallFrame.cpp:
        (WebCore::ScriptCallFrame::ScriptCallFrame):
        (WebCore::ScriptCallFrame::isEqual):
        (WebCore::ScriptCallFrame::buildInspectorObject):
        * inspector/ScriptCallFrame.h:
        (WebCore::ScriptCallFrame::sourceURL):
        * inspector/ScriptCallStack.h:
        * inspector/TimelineRecordFactory.cpp:
        (WebCore::TimelineRecordFactory::createGenericRecord):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73355 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Derek Weitzel <djw8605@gmail.com>
mrobinson@webkit.org [Mon, 6 Dec 2010 11:23:02 +0000 (11:23 +0000)]
2010-12-06  Derek Weitzel  <djw8605@gmail.com>

        Reviewed by Martin Robinson.

        [GTK] API Documentation referencing depreciated GTK_WIDGET_TOPLEVEL
        https://bugs.webkit.org/show_bug.cgi?id=50512

        Fixed reference to depreciated GTK_WIDGET_TOPLEVEL.

        * webkit/webkitwebview.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73354 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Joone Hur <joone@kldp.org>
mrobinson@webkit.org [Mon, 6 Dec 2010 11:18:20 +0000 (11:18 +0000)]
2010-12-06  Joone Hur  <joone@kldp.org>

        Reviewed by Xan Lopez.

        [GTK] The webkit cache model needs to be set when WebFrameLoaderClient::didPerformFirstNavigation() is called
        https://bugs.webkit.org/show_bug.cgi?id=50430

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::didPerformFirstNavigation): Set the webview cache model.
        * webkit/webkitprivate.cpp:
        (webkit_init): Removed the code of setting the webview cache model.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73353 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago[Qt] Report zero width for zero size fonts
ossy@webkit.org [Mon, 6 Dec 2010 10:24:08 +0000 (10:24 +0000)]
[Qt] Report zero width for zero size fonts

Patch by Robert Hogan <robert@webkit.org> on 2010-12-06
Reviewed by Kenneth Rohde Christiansen.

Report zero width when font size is zero.

Fixes fast/text/font-size-zero.html

https://bugs.webkit.org/show_bug.cgi?id=50539

* platform/graphics/qt/FontQt.cpp:
(WebCore::Font::floatWidthForSimpleText):
(WebCore::Font::floatWidthForComplexText):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73352 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-03 Yury Semikhatsky <yurys@chromium.org>
yurys@chromium.org [Mon, 6 Dec 2010 10:13:38 +0000 (10:13 +0000)]
2010-12-03  Yury Semikhatsky  <yurys@chromium.org>

        Reviewed by Pavel Feldman.

        [v8] Web Inspector: remove duplicate code for capturing stack trace
        https://bugs.webkit.org/show_bug.cgi?id=50461

        No new tests. Covered with existing inspector tests.

        * bindings/js/ScriptCallStackFactory.cpp:
        (WebCore::createScriptCallStack):
        * bindings/js/ScriptCallStackFactory.h:
        * bindings/v8/ScriptCallStackFactory.cpp:
        (WebCore::toScriptCallFrame):
        (WebCore::toScriptCallFramesVector):
        (WebCore::createScriptCallStack):
        * bindings/v8/ScriptCallStackFactory.h:
        * bindings/v8/V8ConsoleMessage.cpp:
        (WebCore::V8ConsoleMessage::handler):
        * inspector/ScriptCallFrame.cpp:
        (WebCore::ScriptCallFrame::ScriptCallFrame):
        (WebCore::ScriptCallFrame::isEqual):
        (WebCore::ScriptCallFrame::buildInspectorObject):
        * inspector/ScriptCallFrame.h:
        (WebCore::ScriptCallFrame::sourceURL):
        * inspector/ScriptCallStack.h:
        * inspector/TimelineRecordFactory.cpp:
        (WebCore::TimelineRecordFactory::createGenericRecord):
        * inspector/front-end/ConsoleView.js:
        (WebInspector.ConsoleMessage.prototype._populateStackTraceTreeElement):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73351 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-06 Sergio Villar Senin <svillar@igalia.com>
sergio@webkit.org [Mon, 6 Dec 2010 09:42:37 +0000 (09:42 +0000)]
2010-12-06  Sergio Villar Senin  <svillar@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] webkit_soup_cache_clear() does not delete all entries in the cache
        https://bugs.webkit.org/show_bug.cgi?id=50462

        Do not use g_hash_table_foreach to remove entries from the cache
        entries hashtable. Iterate over a list of entries to remove them
        from the hash table.

        * platform/network/soup/ResourceHandleSoup.cpp:
        * platform/network/soup/cache/webkit/soup-cache.c:
        (remove_cache_item):
        (webkit_soup_cache_finalize):
        (clear_cache_item):
        (webkit_soup_cache_clear):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73350 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-05 Kent Tamura <tkent@chromium.org>
tkent@chromium.org [Mon, 6 Dec 2010 05:15:22 +0000 (05:15 +0000)]
2010-12-05  Kent Tamura  <tkent@chromium.org>

        Unreviewed. Run sort-Xcode-project-file.

        * WebCore.xcodeproj/project.pbxproj:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73349 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Mon, 6 Dec 2010 01:21:40 +0000 (01:21 +0000)]
2010-12-04  Antonio Gomes  <agomes@rim.com>

        Reviewed by Martin Robinson.

        [Gtk] Populate DumpRenderTreeSupportGtk (Part II)
        https://bugs.webkit.org/show_bug.cgi?id=48429

        Moved more private method declared with WEBKIT_API to
        DumpRenderTreeSupportGtk, since they were only being used by DRT.

        WebKit:

        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
        (DumpRenderTreeSupportGtk::executeCoreCommandByName):
        (DumpRenderTreeSupportGtk::isCommandEnabled):
        (DumpRenderTreeSupportGtk::whiteListAccessFromOrigin):
        (DumpRenderTreeSupportGtk::resetOriginAccessWhiteLists):
        * WebCoreSupport/DumpRenderTreeSupportGtk.h:
        * webkit/webkitprivate.cpp:
        * webkit/webkitprivate.h:
        * webkit/webkitwebview.cpp:

        WebKitTools:

        * DumpRenderTree/gtk/DumpRenderTree.cpp:
        (resetDefaultsToConsistentValues):
        * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
        (LayoutTestController::addOriginAccessWhitelistEntry):
        (LayoutTestController::execCommand):
        (LayoutTestController::isCommandEnabled):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73348 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Antonio Gomes <agomes@rim.com>
tonikitoo@webkit.org [Mon, 6 Dec 2010 01:21:22 +0000 (01:21 +0000)]
2010-12-04  Antonio Gomes  <agomes@rim.com>

        Reviewed by Andreas Kling.

        Removed extern webkit_web_view_set_group_name from gtk/DumpRenderTree.cpp

        Method was removed by http://trac.webkit.org/changeset/71604

        * DumpRenderTree/gtk/DumpRenderTree.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73347 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-11-30 Luiz Agostini <luiz.agostini@openbossa.org>
luiz@webkit.org [Mon, 6 Dec 2010 01:14:39 +0000 (01:14 +0000)]
2010-11-30  Luiz Agostini  <luiz.agostini@openbossa.org>

        Reviewed by Darin Adler.

        HTML5 <details> and <summary> initial implementation
        https://bugs.webkit.org/show_bug.cgi?id=50309

        HTML5 <details> and <summary> elements initial implementation. The main objective is
        to add the files for html element and renderers, and to get rid of build system issues
        in future patches.

        See: http://www.w3.org/TR/html5/interactive-elements.html#the-details-element
             http://www.w3.org/TR/html5/interactive-elements.html#the-summary-element

        build systems

        * CMakeLists.txt:
        * DerivedSources.cpp:
        * DerivedSources.make:
        * GNUmakefile.am:
        * WebCore.gypi:
        * WebCore.pri:
        * WebCore.pro:
        * WebCore.vcproj/WebCore.vcproj:
        * WebCore.xcodeproj/project.pbxproj:
        * bindings/gobject/GNUmakefile.am:

        Some css properties to the new html elements.

        * css/html.css:
        (details):
        (summary):

        New html element associated with the corresponding tag.

        * html/HTMLAttributeNames.in:
        * html/HTMLTagNames.in:

        1 html element and 3 renderers were added.

        * html/HTMLDetailsElement.cpp: Added.
        * html/HTMLDetailsElement.h: Added.
        * html/HTMLDetailsElement.idl: Added.
        * html/HTMLElementsAllInOne.cpp:
        * rendering/RenderDetails.cpp: Added.
        * rendering/RenderDetails.h: Added.
        * rendering/RenderDetailsMarker.cpp: Added.
        * rendering/RenderDetailsMarker.h: Added.
        * rendering/RenderSummary.cpp: Added.
        * rendering/RenderSummary.h: Added.
        * rendering/RenderingAllInOne.cpp:

        New renderer type checkers.

        * rendering/RenderObject.h:
        (WebCore::RenderObject::isDetails):
        (WebCore::RenderObject::isDetailsMarker):
        (WebCore::RenderObject::isSummary):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73346 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-05 Rob Buis <rwlbuis@gmail.com>
rwlbuis@webkit.org [Sun, 5 Dec 2010 20:13:17 +0000 (20:13 +0000)]
2010-12-05  Rob Buis  <rwlbuis@gmail.com>

        Reviewed by Nikolas Zimmermann.

        createSVGTransformFromMatrix(undefined) => NULL ptr
        https://bugs.webkit.org/show_bug.cgi?id=49564

        Throw TYPE_MISMATCH_ERR when using undefined or null as value for matrix parameter.

        * svg/SVGTransformList.idl:
        * svg/properties/SVGTransformListPropertyTearOff.h:
        (WebCore::SVGTransformListPropertyTearOff::createSVGTransformFromMatrix):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73345 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-05 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Sun, 5 Dec 2010 19:21:56 +0000 (19:21 +0000)]
2010-12-05  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix compilation warnings reported by clang
        https://bugs.webkit.org/show_bug.cgi?id=50252

        * platform/graphics/Path.h: CairoPath is now a class, not a
        struct.
        * platform/network/soup/ResourceHandleSoup.cpp:
        (WebCore::sendRequestCallback): Cast the status_code to int.

2010-12-05  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Xan Lopez.

        [GTK] Fix compilation warnings reported by clang
        https://bugs.webkit.org/show_bug.cgi?id=50252

        * GtkLauncher/main.c:
        (create_window): The create_statusbar function does not have
        parameters.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73344 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-05 Alejandro G. Castro <alex@igalia.com>
alex@webkit.org [Sun, 5 Dec 2010 18:43:49 +0000 (18:43 +0000)]
2010-12-05  Alejandro G. Castro  <alex@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Remove setColor functions it was replicated in
        CairoUtilities: setSourceRGBAFromColor.

        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::setPlatformFill):
        (WebCore::setPlatformStroke):
        (WebCore::fillRectSourceOver):
        (WebCore::GraphicsContext::drawRect):
        (WebCore::GraphicsContext::drawLine):
        (WebCore::GraphicsContext::drawEllipse):
        (WebCore::GraphicsContext::strokeArc):
        (WebCore::GraphicsContext::drawConvexPolygon):
        (WebCore::GraphicsContext::drawFocusRing):
        (WebCore::GraphicsContext::fillRoundedRect):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73343 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWindows production build fix
aroben@apple.com [Sun, 5 Dec 2010 18:28:58 +0000 (18:28 +0000)]
Windows production build fix

Put spaces after trailing backslashes when setting
%WebKitVSPropsRedirectionDir%. According to MSDN
<http://msdn.microsoft.com/en-us/library/2kzfk8c7(v=VS.80).aspx>:

   A backslash ( \ ) followed by a newline character is interpreted as
   a space in the command; use a backslash at the end of a line to
   continue a command onto the next line. NMAKE interprets the
   backslash literally if any other character, including a space or
   tab, follows the backslash.

JavaScriptCore:

* JavaScriptCore.vcproj/JavaScriptCore.make:

WebCore:

* WebCore.vcproj/WebCore.make:

WebKit/win:

* WebKit.vcproj/WebKit.make:

WebKit2:

* win/WebKit2.make:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73342 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-05 Robert Hogan <robert@webkit.org>
robert@webkit.org [Sun, 5 Dec 2010 15:10:18 +0000 (15:10 +0000)]
2010-12-05  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Zero-sized font does not yet work

        Fix fast/text/font-size-zero.html

        https://bugs.webkit.org/show_bug.cgi?id=49759

        * platform/qt/Skipped:
2010-12-05  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Zero-sized font does not yet work

        Fix fast/text/font-size-zero.html

        Copy other ports by setting minimumFontSize to 0 for DRT runs,
        copy a fix to SimpleFontData from chromium/safari, and set font
        size in FontPlatformData to zero if size zero is requested
        and QFont::pixelSize otherwise. (Note that QFont doesn't accept
        a pixel size of zero).

        Also fix QFont::setPixelSize in FontPlatformData to use
        description.computedPixelSize rather than computedSize and
        pixelSize() rather than pointSizeF - since the latter gets
        set to -1 if pixelSize is set at all.

        https://bugs.webkit.org/show_bug.cgi?id=49759

        * platform/graphics/qt/FontPlatformData.h:
        (WebCore::FontPlatformDataPrivate::FontPlatformDataPrivate):
        (WebCore::FontPlatformData::pixelSize):
        * platform/graphics/qt/FontPlatformDataQt.cpp:
        (WebCore::FontPlatformData::FontPlatformData):
        * platform/graphics/qt/FontQt.cpp:
        (WebCore::drawTextCommon):
        * platform/graphics/qt/SimpleFontDataQt.cpp:
        (WebCore::SimpleFontData::platformInit):
        (WebCore::SimpleFontData::platformGlyphInit):
        (WebCore::SimpleFontData::platformCharWidthInit):
2010-12-05  Robert Hogan  <robert@webkit.org>

        Reviewed by Andreas Kling.

        [Qt] Zero-sized font does not yet work

        Fix fast/text/font-size-zero.html

        Copy other ports by setting minimumFontSize to 0 for DRT runs.

        https://bugs.webkit.org/show_bug.cgi?id=49759

        * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
        (WebCore::WebPage::WebPage):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73341 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Sun, 5 Dec 2010 06:22:08 +0000 (06:22 +0000)]
2010-12-04  Daniel Bates  <dbates@rim.com>

        https://bugs.webkit.org/show_bug.cgi?id=49641

        Inadvertently committed the wrong results for test case fast/lists/w3-css3-list-styles-fallback-style.html
        in <http://trac.webkit.org/changeset/73339>.

        * fast/lists/w3-css3-list-styles-fallback-style-expected.txt: Rebased results.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73340 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Sun, 5 Dec 2010 05:57:31 +0000 (05:57 +0000)]
2010-12-04  Daniel Bates  <dbates@rim.com>

        https://bugs.webkit.org/show_bug.cgi?id=49641

        Update test case and result for fast/lists/w3-css3-list-styles-fallback-style.html
        since we now support list style types lower-armenian and upper-armenian.

        * fast/lists/w3-css3-list-styles-fallback-style-expected.txt:
        * fast/lists/w3-css3-list-styles-fallback-style.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73339 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Daniel Bates <dbates@rim.com>
dbates@webkit.org [Sun, 5 Dec 2010 05:12:21 +0000 (05:12 +0000)]
2010-12-04  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Add support for lower-armenian and upper-armenian
        https://bugs.webkit.org/show_bug.cgi?id=49641

        Implement support for list-style-types lower-armenian and upper-armenian
        for lowercase Armenian and uppercase Armenian numerals, respectively.

        Tests: fast/lists/w3-css3-lower-armenian.html
               fast/lists/w3-css3-upper-armenian.html

        * css/CSSPrimitiveValueMappings.h:
        (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): Added enum values LowerArmenian
        and UpperArmenian.
        * css/CSSValueKeywords.in: Added "upper-armenian" and "lower-armenian".
        * inspector/front-end/SourceCSSTokenizer.re2js: Ditto.
        * rendering/RenderListMarker.cpp:
        (WebCore::effectiveListMarkerType): Added enum values LowerArmenian
        and UpperArmenian.
        (WebCore::listMarkerSuffix): Ditto.
        (WebCore::listMarkerText): Ditto.
        (WebCore::RenderListMarker::paint): Ditto.
        (WebCore::RenderListMarker::computePreferredLogicalWidths): Ditto.
        (WebCore::RenderListMarker::getRelativeMarkerRect): Ditto.
        * rendering/style/RenderStyleConstants.h: Ditto.
2010-12-04  Daniel Bates  <dbates@rim.com>

        Reviewed by Darin Adler.

        Add support for lower-armenian and upper-armenian
        https://bugs.webkit.org/show_bug.cgi?id=49641

        Tests cases for lower-armenian and upper-armenian list-style-types
        derived from the HTML+CSS Internationalization Tests "lower-armenian, up to 9,999",
        and "armenian, up to 9,999", respectively.

        See <http://www.w3.org/International/tests/tests-html-css/list-lists>.

        * fast/lists/w3-css3-lower-armenian-expected.txt: Added.
        * fast/lists/w3-css3-lower-armenian.html: Added.
        * fast/lists/w3-css3-upper-armenian-expected.txt: Added.
        * fast/lists/w3-css3-upper-armenian.html: Added.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73338 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Dan Bernstein <mitz@apple.com>
mitz@apple.com [Sun, 5 Dec 2010 03:21:16 +0000 (03:21 +0000)]
2010-12-04  Dan Bernstein  <mitz@apple.com>

        Reviewed by Sam Weinig.

        WebKit part of <rdar://problem/8145955> Add text search API for counting/marking/highlighting matches in a range
        https://bugs.webkit.org/show_bug.cgi?id=50530

        * WebView/WebDocumentInternal.h: Added a DOMRange parameter to -countMatchesForText:options:limit:markMatches:
        * WebView/WebHTMLView.mm:
        (-[WebHTMLView countMatchesForText:inDOMRange:options:limit:markMatches:]): Added DOMRange parameter,
        which is passed through to WebCore.
        * WebView/WebPDFView.mm:
        (isFrameInRange): Added this helper function.
        (-[WebPDFView countMatchesForText:inDOMRange:options:limit:markMatches:]): Added DOMRange parameter and
        a check if the frame is in the range.
        * WebView/WebView.mm:
        (-[WebView countMatchesForText:options:highlight:limit:markMatches:]): Now calls the inDOMRange: version.
        (-[WebView countMatchesForText:inDOMRange:options:highlight:limit:markMatches:]): Added DOMRange
        parameter, which is passed to document views' -countMatchesForText:inDOMRange:options:limit:markMatches:.
        * WebView/WebViewPrivate.h:
2010-12-04  Dan Bernstein  <mitz@apple.com>

        Reviewed by Sam Weinig.

        WebCore part of <rdar://problem/8145955> Add text search API for counting/marking/highlighting matches in a range
        https://bugs.webkit.org/show_bug.cgi?id=50530

        * WebCore.exp.in: Export Range version of countMatchesForText().
        * editing/Editor.cpp:
        (WebCore::isFrameInRange): Added this helper method.
        (WebCore::Editor::countMatchesForText): Added a Range parameter and restricted the result to
        matches that occur in the range.
        * editing/Editor.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73337 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebKit2: Need client functions to notify app when the url changes due to a fragment...
weinig@apple.com [Sat, 4 Dec 2010 21:51:57 +0000 (21:51 +0000)]
WebKit2: Need client functions to notify app when the url changes due to a fragment navigation
https://bugs.webkit.org/show_bug.cgi?id=50511

Reviewed by Jon Honeycutt.

WebKit2:

Pipe didChangeLocationWithinPageForFrame up through the UIProcess to the WKPageLoadClient,
updating the WebFrameProxy's URL on the way.

Test: PageLoadDidChangeLocationWithinPageForFrame

* UIProcess/API/C/WKPage.h:
* UIProcess/API/qt/qwkpage.cpp:
(QWKPage::QWKPage):
* UIProcess/WebFrameProxy.cpp:
(WebKit::WebFrameProxy::didChangeURLWithoutNavigation):
* UIProcess/WebFrameProxy.h:
* UIProcess/WebLoaderClient.cpp:
(WebKit::WebLoaderClient::didChangeLocationWithinPageForFrame):
* UIProcess/WebLoaderClient.h:
* UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::didChangeLocationWithinPageForFrame):
* UIProcess/WebPageProxy.h:
* UIProcess/WebPageProxy.messages.in:
* WebProcess/InjectedBundle/API/c/WKBundlePage.h:
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.cpp:
(WebKit::InjectedBundlePageLoaderClient::didChangeLocationWithinPageForFrame):
(WebKit::InjectedBundlePageLoaderClient::didDisplayInsecureContentForFrame):
(WebKit::InjectedBundlePageLoaderClient::didRunInsecureContentForFrame):
* WebProcess/InjectedBundle/InjectedBundlePageLoaderClient.h:
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp:
(WebKit::WebFrameLoaderClient::dispatchDidCancelClientRedirect): Fix typo.
(WebKit::WebFrameLoaderClient::dispatchDidChangeLocationWithinPage):

WebKitTools:

Update tools for new didChangeLocationWithinPageForFrame client function (and changed bundle
signature) and added a test for the functionality (PageLoadDidChangeLocationWithinPageForFrame.cpp)

* MiniBrowser/mac/BrowserWindowController.m:
(didChangeLocationWithinPageForFrame):
(-[BrowserWindowController awakeFromNib]):
(-[BrowserWindowController didChangeLocationWithinPageForFrame:]):
* TestWebKitAPI/PlatformUtilities.cpp:
(TestWebKitAPI::Util::toWK):
* TestWebKitAPI/PlatformUtilities.h:
(TestWebKitAPI::Util::adoptWK):
* TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
* TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp: Added.
(TestWebKitAPI::nullJavaScriptCallback):
(TestWebKitAPI::didFinishLoadForFrame):
(TestWebKitAPI::didChangeLocationWithinPageForFrame):
(TestWebKitAPI::TEST):
* TestWebKitAPI/Tests/WebKit2/file-with-anchor.html: Added.
* TestWebKitAPI/win/TestWebKitAPI.vcproj:
* TestWebKitAPI/win/copy-resources.cmd:
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.cpp:
(WTR::InjectedBundlePage::InjectedBundlePage):
(WTR::InjectedBundlePage::didChangeLocationWithinPageForFrame):
* WebKitTestRunner/InjectedBundle/InjectedBundlePage.h:
* WebKitTestRunner/TestController.cpp:
(WTR::TestController::initialize):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73336 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Gavin Peters <gavinp@chromium.org>
commit-queue@webkit.org [Sat, 4 Dec 2010 20:40:10 +0000 (20:40 +0000)]
2010-12-04  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Implement onload events for <link rel=prefetch>
        https://bugs.webkit.org/show_bug.cgi?id=50187

        * fast/dom/HTMLLinkElement/link-and-subresource-test-expected.txt: Added.
        * fast/dom/HTMLLinkElement/link-and-subresource-test.html: Added.
        * fast/dom/HTMLLinkElement/prefetch-expected.txt:
        * fast/dom/HTMLLinkElement/prefetch-onload-expected.txt: Added.
        * fast/dom/HTMLLinkElement/prefetch-onload.html: Added.
        * fast/dom/HTMLLinkElement/prefetch.html:
        * http/tests/misc/prefetch-purpose.html:
        * platform/gtk/Skipped:
        * platform/mac/Skipped:
        * platform/qt/Skipped:
        * platform/win/Skipped:
2010-12-04  Gavin Peters  <gavinp@chromium.org>

        Reviewed by Adam Barth.

        Implement onload events for <link rel=prefetch>
        https://bugs.webkit.org/show_bug.cgi?id=50187

        Tests: fast/dom/HTMLLinkElement/link-and-subresource-test.html
               fast/dom/HTMLLinkElement/prefetch-onload.html

        * html/HTMLLinkElement.cpp:
        (WebCore::HTMLLinkElement::HTMLLinkElement):
        (WebCore::HTMLLinkElement::~HTMLLinkElement):
        (WebCore::HTMLLinkElement::parseMappedAttribute):
        (WebCore::HTMLLinkElement::process):
        (WebCore::HTMLLinkElement::onloadTimerFired):
        (WebCore::HTMLLinkElement::notifyFinished):
        * html/HTMLLinkElement.h:
        * loader/cache/CachedResource.cpp:
        (WebCore::CachedResource::data):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73335 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 4 Dec 2010 19:53:46 +0000 (19:53 +0000)]
2010-12-04  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Adam Barth.

        Increase size of status bubbles
        https://bugs.webkit.org/show_bug.cgi?id=50496

        The current available space isn't enough to display all
        pending results including position in the queue.

        * PrettyPatch/PrettyPatch.rb:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73334 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 4 Dec 2010 18:57:12 +0000 (18:57 +0000)]
2010-12-04  Patrick Gansterer  <paroga@webkit.org>

        Unreviewed, build fix after r69132.

        * shell/CMakeLists.txt: Fix directory name (jsc -> shell).

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73333 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Patrick Gansterer <paroga@webkit.org>
paroga@webkit.org [Sat, 4 Dec 2010 15:19:54 +0000 (15:19 +0000)]
2010-12-04  Patrick Gansterer  <paroga@webkit.org>

        Reviewed by Andreas Kling.

        [CMake] Better detection of ARM platform
        https://bugs.webkit.org/show_bug.cgi?id=50452

        * CMakeLists.txt:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73332 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years ago2010-12-04 Martin Robinson <mrobinson@igalia.com>
mrobinson@webkit.org [Sat, 4 Dec 2010 15:19:07 +0000 (15:19 +0000)]
2010-12-04  Martin Robinson  <mrobinson@igalia.com>

        Fix a baseline which differs between my machine and the bots.

        * platform/gtk/fast/dom/vertical-scrollbar-in-rtl-expected.txt: Fix differing baseline.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73331 268f45cc-cd09-0410-ab3c-d52691b4dbfc

10 years agoWebCore:
xan@webkit.org [Sat, 4 Dec 2010 14:37:45 +0000 (14:37 +0000)]
WebCore:

2010-12-04  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Drop GdkDrawable usage, it's deprecated in GTK+3.x and we can use GdkWindow
        https://bugs.webkit.org/show_bug.cgi?id=50451

        GdkDrawable has been removed in GTK+3.x. To cope with this we can
        actually stop using it altogether, since GdkWindow is just a
        typedef for it and that seems to be good enough for us.

        * platform/graphics/GraphicsContext.h: s/GdkDrawable/GdkWindow/.
        * platform/graphics/cairo/GraphicsContextCairo.cpp:
        (WebCore::GraphicsContext::gdkWindow): ditto.
        * platform/gtk/GtkVersioning.h: declare GDK_WINDOW_XWINDOW for GTK 3.x builds.
        * platform/gtk/PlatformScreenGtk.cpp:
        (WebCore::screenAvailableRect): s/GdkDrawable/GdkWindow/.
        * platform/gtk/WidgetGtk.cpp:
        (WebCore::gdkWindow): ditto.
        (WebCore::Widget::setCursor): ditto.
        * platform/gtk/WidgetRenderingContextGtk2.cpp: ditto.

JavaScriptCore:

2010-12-04  Xan Lopez  <xlopez@igalia.com>

        Reviewed by Martin Robinson.

        [GTK] Drop GdkDrawable usage, it's deprecated in GTK+3.x and we can use GdkWindow
        https://bugs.webkit.org/show_bug.cgi?id=50451

        * wtf/gobject/GTypedefs.h: add GdkWindow defines.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73330 268f45cc-cd09-0410-ab3c-d52691b4dbfc