1. 17 Apr, 2012 24 commits
    • loislo@chromium.org's avatar
      Web Inspector: the fix for test after massive rename in r114271. · 57d7cab7
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84147
      
      Drive by fix. The test was renamed to heap-snapshot.html
      
      Reviewed by Yury Semikhatsky.
      
      * inspector/heap-snapshot.html: Renamed from PerformanceTests/inspector/detailed-heapshots-smoke-test.html.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114372 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57d7cab7
    • commit-queue@webkit.org's avatar
      [Qt] Fix builds with force_static_libs_as_shared for non-linux builds. · e61e3b5c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83035
      
      Patch by Michael Brüning <michael.bruning@nokia.com> on 2012-04-17
      Reviewed by Simon Hausmann.
      
      The force_static_libs_as_shared feature for the Qt port will remove
      hide_symbols from Qt's CONFIG in order to make them visible to other
      libraries again.
      
      Due to an evaluation order problem in qmake, the flags for the C++ compiler
      that are set by adding hide_symbols to the CONFIG variables get applied
      to qmake's C++ compiler flags directly and hence trying to remove these
      later will not work and cause build failures when using the force_static_libs_as_shared
      feature of the Qt port.
      
      This is fixed by removing the flags that hide the exports from the compiler flags directly.
      
      * qmake/mkspecs/features/force_static_libs_as_shared.prf:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114371 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e61e3b5c
    • commit-queue@webkit.org's avatar
      [Qt] Zoom out on second double-tap. · f2f064b1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84145
      
      Patch by Allan Sandfeld Jensen <allan.jensen@nokia.com> on 2012-04-17
      Reviewed by Simon Hausmann.
      
      * UIProcess/qt/QtViewportInteractionEngine.cpp:
      (WebKit::QtViewportInteractionEngine::QtViewportInteractionEngine):
      (WebKit::QtViewportInteractionEngine::zoomToAreaGestureEnded):
      (WebKit::QtViewportInteractionEngine::pinchGestureStarted):
      * UIProcess/qt/QtViewportInteractionEngine.h:
      (QtViewportInteractionEngine):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114370 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2f064b1
    • reed@google.com's avatar
      Need to rebaseline these images after skia 3695 lands · fa5d0b16
      reed@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=84144
      
      Unreviewed. Expectations change only
      
      
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114369 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa5d0b16
    • pfeldman@chromium.org's avatar
      Web Inspector: [regression r112413]content scripts tree outline is not added to the tab. · f62bee0f
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84146
      
      Reviewed by Vsevolod Vlasov.
      
      Adding the tree to the container.
      
      * inspector/front-end/ScriptsNavigator.js:
      (WebInspector.ScriptsNavigator):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114368 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f62bee0f
    • commit-queue@webkit.org's avatar
      [EFL][WK2] Fix build break when CONTEXT_MENUS is disabled. · ea3b59fc
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83285
      
      Patch by Mariusz Grzegorczyk <mariusz.g@samsung.com> on 2012-04-17
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      * platform/ContextMenuItem.h: Remove macro around enums - needed by InjectedBundle.
      (WebCore):
      * platform/Widget.h: Remove namespace WebCore for PlatformPageClient typedef.
      
      Source/WebKit/efl:
      
      Remove WebCore namespace from PageClientEfl.
      
      * WebCoreSupport/PageClientEfl.cpp:
      (WebCore):
      * WebCoreSupport/PageClientEfl.h:
      * ewk/ewk_private.h:
      (EWKPrivate):
      * ewk/ewk_view.cpp:
      (_Ewk_View_Private_Data):
      (_ewk_view_priv_new):
      (EWKPrivate::corePageClient):
      
      Source/WebKit2:
      
      Surround code related to context menu with ENABLE(CONTEXT_MENUS) macro.
      Add dummy functions for public API implementation related to context menu.
      
      * Shared/API/c/WKContextMenuItem.cpp:
      (WKContextMenuItemGetTypeID):
      (WKContextMenuItemCreateAsAction):
      (WKContextMenuItemCreateAsCheckableAction):
      (WKContextMenuItemCreateAsSubmenu):
      (WKContextMenuItemSeparatorItem):
      (WKContextMenuItemGetTag):
      (WKContextMenuItemGetType):
      (WKContextMenuItemCopyTitle):
      (WKContextMenuItemGetEnabled):
      (WKContextMenuItemGetChecked):
      (WKContextMenuCopySubmenuItems):
      (WKContextMenuItemGetUserData):
      (WKContextMenuItemSetUserData):
      * Shared/WebContextMenuItem.cpp:
      * Shared/WebContextMenuItem.h:
      * Shared/WebContextMenuItemData.cpp:
      * Shared/WebContextMenuItemData.h:
      * UIProcess/API/C/WKPage.cpp:
      (WKPageSetPageContextMenuClient):
      * UIProcess/WebPageContextMenuClient.cpp:
      * UIProcess/WebPageContextMenuClient.h:
      * UIProcess/WebPageProxy.cpp:
      (WebKit):
      * UIProcess/WebPageProxy.h:
      (WebPageProxy):
      * UIProcess/WebPageProxy.messages.in:
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      (WKBundlePageSetContextMenuClient):
      * WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.cpp:
      * WebProcess/InjectedBundle/InjectedBundlePageContextMenuClient.h:
      * WebProcess/WebCoreSupport/WebContextMenuClient.cpp:
      * WebProcess/WebCoreSupport/WebContextMenuClient.h:
      * WebProcess/WebCoreSupport/efl/WebContextMenuClientEfl.cpp:
      * WebProcess/WebPage/WebContextMenu.cpp:
      * WebProcess/WebPage/WebContextMenu.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage):
      (WebKit):
      (WebKit::handleMouseEvent):
      (WebKit::WebPage::mouseEvent):
      * WebProcess/WebPage/WebPage.h:
      (WebPage):
      * WebProcess/WebPage/WebPage.messages.in:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114367 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ea3b59fc
    • mario@webkit.org's avatar
      Unreviewed, fix wrong paths to JS resources in GTK tests. · a0e27965
      mario@webkit.org authored
      * platform/gtk/accessibility/aria-list-and-listitem.html:
      * platform/gtk/accessibility/aria-option-role.html:
      * platform/gtk/accessibility/aria-option-role-expected.txt: Fixed
      typo in the expected output.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114366 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0e27965
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening. Skipped this test because of missing test fonts. · 4204ab40
      ossy@webkit.org authored
      Patch by János Badics <jbadics@inf.u-szeged.hu> on 2012-04-17
      
      * platform/qt-5.0/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114365 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4204ab40
    • ossy@webkit.org's avatar
      [Qt] Rebaseline and add platform specific expectations, after r114283. · 077c41b9
      ossy@webkit.org authored
      Patch by Szilard Ledan <szledan@inf.u-szeged.hu> on 2012-04-17
      Reviewed by Csaba Osztrogonác.
      
      * platform/qt-5.0-wk2/compositing/backing/no-backing-for-clip-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/backing/no-backing-for-clip-overlap-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/backing/no-backing-for-perspective-expected.txt: Added.
      * platform/qt-5.0-wk2/compositing/geometry/preserve-3d-switching-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114364 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      077c41b9
    • toyoshim@chromium.org's avatar
      Unreviewed, update expectations for worker WebSocket tests · 6ea6c2c0
      toyoshim@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84125
      
      Add BUGWK84125 and mark as CRASH.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114363 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ea6c2c0
    • mario@webkit.org's avatar
      Unreviewed, GTK rebaseline after r113981. · 584a6abe
      mario@webkit.org authored
      * accessibility/aria-labelledby-on-input-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-labelledby-on-input-expected.txt.
      * accessibility/aria-labelledby-stay-within-expected.txt: Renamed from LayoutTests/platform/mac/accessibility/aria-labelledby-stay-within-expected.txt.
      * platform/gtk/accessibility/aria-list-and-listitem-expected.txt: Added.
      * platform/gtk/accessibility/aria-list-and-listitem.html: Added.
      * platform/gtk/accessibility/aria-option-role-expected.txt: Added.
      * platform/gtk/accessibility/aria-option-role.html: Added.
      * platform/gtk/accessibility/lists-expected.txt: Added.
      * platform/gtk/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114362 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      584a6abe
    • staikos@webkit.org's avatar
      Export the initialization function so it can be called earlier. · 89ffe0a3
      staikos@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84134
      
      Reviewed by Nikolas Zimmermann.
      
      * Api/BlackBerryGlobal.h: export globalInitialize()
      (WebKit):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89ffe0a3
    • tkent@chromium.org's avatar
      Introduce an internal feature for a fixed placeholder · 6f547be3
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84009
      
      Reviewed by Hajime Morita.
      
      This change adds a framework to support fixed placeholder string for
      textfield-like <input> without the palceholder attribute support. This
      doesn't change any behavior of input types which support the
      'placeholder' attribute.
      
      According to the standard, <input type=date> doesn't support the
      'placeholder' attribute. However it is a kind of text field in WebKit
      platforms with ENABLE_CALENDAR_PICKER, and we may show something useful
      information as the default placeholder.
      
      No new tests because of no behavior changes.
      
      * html/HTMLTextFormControlElement.h:
      (HTMLTextFormControlElement): Make isPlaceholderEmpty() virtual.
      * html/HTMLInputElement.h:
      (HTMLInputElement): Overrides isPlaceholderEmpty().
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::isPlaceholderEmpty):
      Check InputType::defaultPlaceholder() if InputType::usesFixedPlaceholder().
      * html/InputType.cpp:
      (WebCore::InputType::usesFixedPlaceholder): Added. Returns false.
      (WebCore::InputType::fixedPlaceholder): Added. Returns a null string.
      * html/InputType.h:
      (InputType): Add usesFixedPlaceholder() and fixedPlaceholder().
      * html/TextFieldInputType.cpp:
      (WebCore::TextFieldInputType::updatePlaceholderText):
      Uses fixedPlaceholder() instead of strippedPlaceholder() if usesFixedPlaceholder().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114360 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6f547be3
    • tkent@chromium.org's avatar
      Move some code of LocalizedNumberICU.cpp to ICULocale.cpp · 5284a78e
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84128
      
      Reviewed by Hajime Morita.
      
      No new tests. No behavior change.
      
      * WebCore.gypi: Add ICULocale.cpp
      * platform/text/ICULocale.cpp:
      Added. Move some code from LocalizedNumberICU.cpp
      * platform/text/ICULocale.h:
      (ICULocale): Add currentLocale().
      * platform/text/LocalizedNumberICU.cpp:
      (WebCore::convertToLocalizedNumber): Use ICULocale::currentLocale().
      (WebCore::convertFromLocalizedNumber): ditto.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114359 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5284a78e
    • hausmann@webkit.org's avatar
      [Plugins] delete ws_info regardless of window mode. · 125293f9
      hausmann@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83004
      
      Patch by Bang Kwang min <justine.bang@samsung.com> on 2012-04-17
      Reviewed by Simon Hausmann.
      
      m_npWindow.ws_info should be deleted even if plugin run as windowless mode to remove memory leak.
      Every plugin works well after this patch without any crash.
      Additionally, change casting syntax to C++ style.
      
      * plugins/PluginView.cpp:
      (WebCore::PluginView::stop):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114358 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      125293f9
    • tkent@chromium.org's avatar
      [Chromium] Calendar Picker: Popup position is wrong when there are · 143f93b8
      tkent@chromium.org authored
      no enough space below the target date field
      https://bugs.webkit.org/show_bug.cgi?id=84007
      
      Reviewed by Hajime Morita.
      
      The popup was detached from the origin element because
      calendarPicker.js resizes its window. To fix this bug, we move the
      window position vertically when it is resized.
      
      No new tests. This is not testable in WebKit.
      
      * src/WebPagePopupImpl.cpp:
      (WebKit::PagePopupChromeClient::setWindowRect):
      If this request is just a resize and m_isPutAboveOrigin is true,
      update the vertical position so that the popup attaches to the
      origin rectangle.
      (WebKit::WebPagePopupImpl::WebPagePopupImpl):
      Initialize m_isPutAboveOrigin with false.
      (WebKit::WebPagePopupImpl::init): Set m_isPutAboveOrigin true.
      * src/WebPagePopupImpl.h:
      (WebPagePopupImpl): Add m_isPutAboveOrigin.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114357 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      143f93b8
    • tkent@chromium.org's avatar
      Calendar Picker: Support RTL layout · 9e77b414
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83668
      
      Reviewed by Hajime Morita.
      
      .:
      
      * ManualTests/forms/calendar-picker.html:
      Add Arabic parameters.
      Add <select> to select a locale.
      
      Source/WebCore:
      
      Manual test: ManualTests/forms/calendar-picker.html
      
      * Resources/calendarPicker.js:
      (layout): If params.isRTL, add dir=rtl to the body.
      (DaysTable.prototype._handleKey): Reverse Left and Right cursor keys if RTL.
      * html/shadow/CalendarPickerElement.cpp:
      (WebCore::addProperty): Add addProperty() with a bool value.
      (WebCore::CalendarPickerElement::writeDocument):
      Check the direction of the first character of localized January label,
      and pass it as isRTL property.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114356 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9e77b414
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening, skip tests because ENABLE(SHADOW_DOM) is disabled. · 3f73b48a
      ossy@webkit.org authored
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3f73b48a
    • toyoshim@chromium.org's avatar
      Unreviewed, update chromium expectations. · 55722438
      toyoshim@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114354 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55722438
    • rniwa@webkit.org's avatar
      Remove CreateWebKitBuildDirectory step to fix Chromium Windows Perf bot · cb0ee099
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84068
      
      Reviewed by Eric Seidel.
      
      Remove CreateWebKitBuildDirectory from master.cfg since download-built-product
      automatically creates the build directory if needed.
      
      * BuildSlaveSupport/build.webkit.org-config/master.cfg:
      (DownloadAndPerfTestFactory.__init__):
      (DownloadAndPerfTestWebKit2Factory.__init__):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114353 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb0ee099
    • carlosgc@webkit.org's avatar
      Unreviewed. Fix make distcheck issues. · 602a45bb
      carlosgc@webkit.org authored
      Source/JavaScriptCore:
      
      * GNUmakefile.list.am: Add missing files.
      
      Source/WebCore:
      
      * GNUmakefile.list.am: Add missing files.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      602a45bb
    • commit-queue@webkit.org's avatar
      insertedIntoDocument and insertedIntoTree should be unitifed. · 9ea0080a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82701
      
      Patch by Hajime Morrita <morrita@chromium.org> on 2012-04-16
      Reviewed by Ryosuke Niwa.
      
      Both Node::insertedIntoTree() and Node::insertedIntoDocument() are
      served as lifecycle callbacks which are invoked when a node is
      inserted into its new parent. There are also removedFromTree()
      and removedFromDocument() respectively. Considering that this pair
      of virtual functions are laid onto the hot path, it's worth
      merging them into one, to gain some speedup. Such
      unification could clarify the semantics as well.
      
      This change makes following change to merge these functions.
      
      - pulling the tree traversal out from ContainerNode to ChildNodeInsertionNotifier.
      - letting new Node::insertInto() do the job for its own, but not
        for its children and
      - Pass the parent of each insertion root as a parameter of insertedInto().
        This root node can tell inserted node where it is inserted,
        specifically whetehr the insertion is to the document or not.
      
      Same pattern is also applied to Node::removedFromDocument() and
      Node::removedFromTree(), which are factored to Node::removedFrom()
      and ChildNodeRemovalNotifier respectively.
      
      Speed up on Dromaeo/dom-modify.html is about 2%.
      Further speed-up by de-virtulization would be possible.
      
      Caveat:
      
      There is possible situation where a node need to invoke
      insertedInto() after its children is nofitied, instead of before
      that.  It was represented naturally with previous
      traversal-by-ContainerNode pattern, but is no longer simple with
      this new external traversal. To support this scenario, we
      introduced the InsertionNotificationRequest as a return value of insertedInto()
      and a supplemental hook Node::didNotifyDescendantInseretions(). See for
      example HTMLFormElement.cpp to learn how it works.
      
      No new tests. Covered by existing tests.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::parserInsertBefore):
      (WebCore::ContainerNode::removeChild):
      (WebCore::ContainerNode::parserRemoveChild):
      (WebCore::ContainerNode::removeChildren):
      (WebCore::ContainerNode::parserAddChild):
      (WebCore::updateTreeAfterInsertion):
      * dom/ContainerNode.h:
      (ContainerNode):
      (WebCore::Node::highestAncestor):
      (WebCore):
      * dom/ContainerNodeAlgorithms.cpp: Added.
      (WebCore):
      (WebCore::ChildNodeInsertionNotifier::notifyDescendantInsertedIntoDocument):
      (WebCore::ChildNodeInsertionNotifier::notifyDescendantInsertedIntoTree):
      (WebCore::ChildNodeRemovalNotifier::notifyDescendantRemovedFromDocument):
      (WebCore::ChildNodeRemovalNotifier::notifyDescendantRemovedFromTree):
      * dom/ContainerNodeAlgorithms.h:
      (ChildNodeInsertionNotifier):
      (WebCore::ChildNodeInsertionNotifier::ChildNodeInsertionNotifier):
      (WebCore):
      (ChildNodeRemovalNotifier):
      (WebCore::ChildNodeRemovalNotifier::ChildNodeRemovalNotifier):
      (WebCore::removeAllChildrenInContainer):
      (WebCore::appendChildToContainer):
      (Private):
      (WebCore::ChildNodeInsertionNotifier::notifyNodeInsertedIntoDocument):
      (WebCore::ChildNodeInsertionNotifier::notifyNodeInsertedIntoTree):
      (WebCore::ChildNodeInsertionNotifier::notifyInsertedIntoDocument):
      (WebCore::ChildNodeInsertionNotifier::notify):
      (WebCore::ChildNodeRemovalNotifier::notifyNodeRemovedFromDocument):
      (WebCore::ChildNodeRemovalNotifier::notifyNodeRemovedFromTree):
      (WebCore::ChildNodeRemovalNotifier::notify):
      * dom/DOMAllInOne.cpp:
      * dom/DocumentType.cpp:
      (WebCore::DocumentType::insertedInto):
      (WebCore::DocumentType::removedFrom):
      * dom/DocumentType.h:
      (DocumentType):
      * dom/Element.cpp:
      (WebCore::Element::insertedInto):
      (WebCore::Element::removedFrom):
      * dom/Element.h:
      (Element):
      * dom/Node.cpp:
      (WebCore::Node::insertedInto):
      (WebCore::Node::removedFrom):
      * dom/Node.h:
      (Node):
      (WebCore::Node::didNotifyDescendantInseretions):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::insertedInto):
      (WebCore::ProcessingInstruction::removedFrom):
      * dom/ProcessingInstruction.h:
      (ProcessingInstruction):
      * dom/ScriptElement.cpp:
      (WebCore::ScriptElement::insertedInto):
      * dom/ScriptElement.h:
      (WebCore):
      (ScriptElement):
      * dom/ShadowTree.cpp:
      (WebCore::ShadowTree::addShadowRoot):
      (WebCore::ShadowTree::removeAllShadowRoots):
      * dom/ShadowTree.h:
      (ShadowTree):
      (ShadowRootVector):
      (WebCore::ShadowRootVector::ShadowRootVector):
      (WebCore):
      * html/FormAssociatedElement.cpp:
      (WebCore::FormAssociatedElement::insertedInto):
      (WebCore::FormAssociatedElement::removedFrom):
      (WebCore::FormAssociatedElement::formRemovedFromTree):
      * html/FormAssociatedElement.h:
      (FormAssociatedElement):
      * html/HTMLBaseElement.cpp:
      (WebCore::HTMLBaseElement::insertedInto):
      (WebCore::HTMLBaseElement::removedFrom):
      * html/HTMLBaseElement.h:
      (HTMLBaseElement):
      * html/HTMLBodyElement.cpp:
      (WebCore::HTMLBodyElement::insertedInto):
      (WebCore::HTMLBodyElement::didNotifyDescendantInseretions):
      * html/HTMLBodyElement.h:
      (HTMLBodyElement):
      * html/HTMLFormControlElement.cpp:
      (WebCore::HTMLFormControlElement::insertedInto):
      (WebCore::HTMLFormControlElement::removedFrom):
      * html/HTMLFormControlElement.h:
      (HTMLFormControlElement):
      * html/HTMLFormElement.cpp:
      (WebCore::HTMLFormElement::insertedInto):
      (WebCore::HTMLFormElement::didNotifyDescendantInseretions):
      (WebCore::HTMLFormElement::removedFrom):
      * html/HTMLFormElement.h:
      (HTMLFormElement):
      * html/HTMLFrameElementBase.cpp:
      (WebCore::HTMLFrameElementBase::insertedInto):
      (WebCore):
      (WebCore::HTMLFrameElementBase::didNotifyDescendantInseretions):
      * html/HTMLFrameElementBase.h:
      (HTMLFrameElementBase):
      * html/HTMLFrameSetElement.cpp:
      (WebCore::HTMLFrameSetElement::insertedInto):
      (WebCore::HTMLFrameSetElement::removedFrom):
      * html/HTMLFrameSetElement.h:
      (HTMLFrameSetElement):
      * html/HTMLIFrameElement.cpp:
      (WebCore::HTMLIFrameElement::insertedInto):
      (WebCore::HTMLIFrameElement::removedFrom):
      * html/HTMLIFrameElement.h:
      (HTMLIFrameElement):
      * html/HTMLImageElement.cpp:
      (WebCore::HTMLImageElement::insertedInto):
      (WebCore::HTMLImageElement::removedFrom):
      * html/HTMLImageElement.h:
      (HTMLImageElement):
      * html/HTMLInputElement.cpp:
      (WebCore::HTMLInputElement::insertedInto):
      (WebCore::HTMLInputElement::removedFrom):
      * html/HTMLInputElement.h:
      * html/HTMLLinkElement.cpp:
      (WebCore::HTMLLinkElement::insertedInto):
      (WebCore::HTMLLinkElement::removedFrom):
      * html/HTMLLinkElement.h:
      (HTMLLinkElement):
      * html/HTMLMapElement.cpp:
      (WebCore::HTMLMapElement::insertedInto):
      (WebCore::HTMLMapElement::removedFrom):
      * html/HTMLMapElement.h:
      (HTMLMapElement):
      * html/HTMLMediaElement.cpp:
      (WebCore::HTMLMediaElement::insertedInto):
      (WebCore::HTMLMediaElement::removedFrom):
      * html/HTMLMediaElement.h:
      (HTMLMediaElement):
      * html/HTMLMetaElement.cpp:
      (WebCore::HTMLMetaElement::insertedInto):
      * html/HTMLMetaElement.h:
      (HTMLMetaElement):
      * html/HTMLObjectElement.cpp:
      (WebCore::HTMLObjectElement::insertedInto):
      (WebCore::HTMLObjectElement::removedFrom):
      * html/HTMLObjectElement.h:
      (HTMLObjectElement):
      * html/HTMLOptionElement.cpp:
      (WebCore::HTMLOptionElement::insertedInto):
      * html/HTMLOptionElement.h:
      (HTMLOptionElement):
      * html/HTMLQuoteElement.cpp:
      (WebCore::HTMLQuoteElement::insertedInto):
      * html/HTMLQuoteElement.h:
      (HTMLQuoteElement):
      * html/HTMLScriptElement.cpp:
      (WebCore::HTMLScriptElement::insertedInto):
      * html/HTMLScriptElement.h:
      (HTMLScriptElement):
      * html/HTMLSelectElement.cpp:
      (WebCore::HTMLSelectElement::insertedInto):
      * html/HTMLSelectElement.h:
      * html/HTMLSourceElement.cpp:
      (WebCore::HTMLSourceElement::insertedInto):
      * html/HTMLSourceElement.h:
      (HTMLSourceElement):
      * html/HTMLStyleElement.cpp:
      (WebCore::HTMLStyleElement::insertedInto):
      (WebCore::HTMLStyleElement::removedFrom):
      * html/HTMLStyleElement.h:
      (HTMLStyleElement):
      * html/HTMLTextFormControlElement.cpp:
      (WebCore::HTMLTextFormControlElement::insertedInto):
      * html/HTMLTextFormControlElement.h:
      * html/HTMLTitleElement.cpp:
      (WebCore::HTMLTitleElement::insertedInto):
      (WebCore::HTMLTitleElement::removedFrom):
      * html/HTMLTitleElement.h:
      (HTMLTitleElement):
      * html/HTMLTrackElement.cpp:
      (WebCore::HTMLTrackElement::insertedInto):
      * html/HTMLTrackElement.h:
      (HTMLTrackElement):
      * mathml/MathMLMathElement.cpp:
      (WebCore::MathMLMathElement::insertedInto):
      * mathml/MathMLMathElement.h:
      (MathMLMathElement):
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::removedFrom):
      * svg/SVGElement.h:
      (SVGElement):
      * svg/SVGFEImageElement.cpp:
      (WebCore::SVGFEImageElement::insertedInto):
      (WebCore::SVGFEImageElement::removedFrom):
      * svg/SVGFEImageElement.h:
      (SVGFEImageElement):
      * svg/SVGFontFaceElement.cpp:
      (WebCore::SVGFontFaceElement::insertedInto):
      (WebCore::SVGFontFaceElement::removedFrom):
      * svg/SVGFontFaceElement.h:
      (SVGFontFaceElement):
      * svg/SVGFontFaceUriElement.cpp:
      (WebCore::SVGFontFaceUriElement::insertedInto):
      * svg/SVGFontFaceUriElement.h:
      (SVGFontFaceUriElement):
      * svg/SVGGlyphElement.cpp:
      (WebCore::SVGGlyphElement::insertedInto):
      (WebCore::SVGGlyphElement::removedFrom):
      * svg/SVGGlyphElement.h:
      (SVGGlyphElement):
      * svg/SVGHKernElement.cpp:
      (WebCore::SVGHKernElement::insertedInto):
      (WebCore::SVGHKernElement::removedFrom):
      * svg/SVGHKernElement.h:
      (SVGHKernElement):
      * svg/SVGImageElement.cpp:
      (WebCore::SVGImageElement::insertedInto):
      * svg/SVGImageElement.h:
      (SVGImageElement):
      * svg/SVGSVGElement.cpp:
      (WebCore::SVGSVGElement::insertedInto):
      (WebCore::SVGSVGElement::removedFrom):
      * svg/SVGSVGElement.h:
      (SVGSVGElement):
      * svg/SVGScriptElement.cpp:
      (WebCore::SVGScriptElement::insertedInto):
      * svg/SVGScriptElement.h:
      (SVGScriptElement):
      * svg/SVGStyleElement.cpp:
      (WebCore::SVGStyleElement::insertedInto):
      (WebCore::SVGStyleElement::removedFrom):
      * svg/SVGStyleElement.h:
      (SVGStyleElement):
      * svg/SVGStyledElement.cpp:
      (WebCore::SVGStyledElement::insertedInto):
      (WebCore::SVGStyledElement::removedFrom):
      (WebCore::SVGStyledElement::updateRelativeLengthsInformation):
      * svg/SVGStyledElement.h:
      (SVGStyledElement):
      * svg/SVGTRefElement.cpp:
      (WebCore::SVGTRefElement::buildPendingResource):
      (WebCore::SVGTRefElement::insertedInto):
      (WebCore::SVGTRefElement::removedFrom):
      * svg/SVGTRefElement.h:
      (SVGTRefElement):
      * svg/SVGTextPathElement.cpp:
      (WebCore::SVGTextPathElement::insertedInto):
      * svg/SVGTextPathElement.h:
      * svg/SVGTitleElement.cpp:
      (WebCore::SVGTitleElement::insertedInto):
      (WebCore::SVGTitleElement::removedFrom):
      * svg/SVGTitleElement.h:
      (SVGTitleElement):
      * svg/SVGUseElement.cpp:
      (WebCore::SVGUseElement::insertedInto):
      (WebCore::SVGUseElement::removedFrom):
      * svg/SVGUseElement.h:
      (SVGUseElement):
      * svg/SVGVKernElement.cpp:
      (WebCore::SVGVKernElement::insertedInto):
      (WebCore::SVGVKernElement::removedFrom):
      * svg/SVGVKernElement.h:
      (SVGVKernElement):
      * svg/animation/SVGSMILElement.cpp:
      (WebCore::SVGSMILElement::insertedInto):
      (WebCore::SVGSMILElement::removedFrom):
      * svg/animation/SVGSMILElement.h:
      (SVGSMILElement):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114351 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ea0080a
    • commit-queue@webkit.org's avatar
      Stack overflow in CSS parser caused by recursive stylesheet import · 3b5b6ced
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=83545
      
      Patch by David Barr <davidbarr@chromium.org> on 2012-04-16
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      Test: http/tests/css/css-imports-redirect-cycle.html
      
      * css/CSSImportRule.cpp:
      (WebCore::StyleRuleImport::requestStyleSheet):
      
      LayoutTests:
      
      * http/tests/css/css-imports-redirect-cycle-expected.txt: Added.
      * http/tests/css/css-imports-redirect-cycle.css: Added.
      * http/tests/css/css-imports-redirect-cycle.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114350 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3b5b6ced
    • tkent@chromium.org's avatar
      [Chromium] Fix Chromium-Mac build · 57ea3f3b
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80054
      
      * chromium/public/WebFilterOperations.h:
      (WebKit): WebFilterOperation is a struct, not a class.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114348 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      57ea3f3b
  2. 16 Apr, 2012 16 commits
    • tkent@chromium.org's avatar
      Rename LocalizedNumberICU.h to ICULocale.h · aeec677f
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84119
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      LocalizedNumberICU.h contains only ICULocale class. It should be
      named as ICULocale.h. We're going to move some functions in
      LocalizedDateICU.cpp and LocalizedCalendarICU.cpp to ICULocale,
      and add unit tests for them.
      
      * WebCore.gypi: Rename LocalizedNumberICU.h to ICULocale.h
      * platform/text/ICULocale.h:
      Renamed from Source/WebCore/platform/text/LocalizedNumberICU.h.
      * platform/text/LocalizedNumberICU.cpp:
      Rename LocalizedNumberICU.h to ICULocale.h
      
      Source/WebKit/chromium:
      
      * tests/LocalizedNumberICUTest.cpp: Rename LocalizedNumberICU.h to ICULocale.h
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114347 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      aeec677f
    • toyoshim@chromium.org's avatar
      Unreviewed, skip one more worker WebSocket test. · 86689553
      toyoshim@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84125
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114346 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86689553
    • ryuan.choi@samsung.com's avatar
      [EFL][WK2] Add missing files to build webkit2/Efl. · 3798bafe
      ryuan.choi@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=76139
      
      Reviewed by Ryosuke Niwa.
      
      Add missing files needed to build webkit2/Efl.
      
      * Shared/efl/PlatformCertificateInfo.h: Added.
      (WebKit):
      (PlatformCertificateInfo):
      (WebKit::PlatformCertificateInfo::PlatformCertificateInfo):
      (WebKit::PlatformCertificateInfo::encode):
      (WebKit::PlatformCertificateInfo::decode):
      * UIProcess/Launcher/efl/ThreadLauncherEfl.cpp: Added.
      (WebKit):
      (WebKit::ThreadLauncher::createWebThread):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114345 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3798bafe
    • commit-queue@webkit.org's avatar
      [chromium] Move paintRenderedResultsToCanvas code into DrawingBuffer · b2888299
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84066
      
      Patch by James Robinson <jamesr@chromium.org> on 2012-04-16
      Reviewed by Adrienne Walker.
      
      WebGLLayerChromium used to be responsible for the readback path for software painting WebGL canvases (for
      printing, etc), but this path no longer has any compositor interaction. This moves the code into
      DrawingBufferChromium which is responsible for managing the front / back buffers for WebGL.
      
      * platform/graphics/chromium/DrawingBufferChromium.cpp:
      (WebCore::DrawingBuffer::paintCompositedResultsToCanvas):
      * platform/graphics/chromium/WebGLLayerChromium.cpp:
      * platform/graphics/chromium/WebGLLayerChromium.h:
      (WebGLLayerChromium):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114344 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b2888299
    • danakj@chromium.org's avatar
      [chromium] Expose compositor filters to Aura through WebLayer · 45f671e9
      danakj@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=80054
      
      Reviewed by James Robinson.
      
      Source/Platform:
      
      * chromium/public/WebFilterOperation.h: Added.
      (WebKit):
      (WebFilterOperation):
      (WebKit::WebFilterOperation::WebFilterOperation):
      (WebBasicColorMatrixFilterOperation):
      (WebKit::WebBasicColorMatrixFilterOperation::WebBasicColorMatrixFilterOperation):
      (WebBasicComponentTransferFilterOperation):
      (WebKit::WebBasicComponentTransferFilterOperation::WebBasicComponentTransferFilterOperation):
      (WebBlurFilterOperation):
      (WebKit::WebBlurFilterOperation::WebBlurFilterOperation):
      (WebDropShadowFilterOperation):
      (WebKit::WebDropShadowFilterOperation::WebDropShadowFilterOperation):
      * chromium/public/WebFilterOperations.h: Added.
      (WebKit):
      (WebFilterOperations):
      * chromium/public/WebLayer.h:
      (WebKit):
      (WebLayer):
      
      Source/WebCore:
      
      Adds WebFilterOperation that wraps WebCore::FilterOperation and
      WebFilterOperations that wraps WebCore::FilterOperations.
      
      We add support for most of the FilterOperation subclasses, and
      allow the user to set the WebFilterOperations for both layer
      content filters and background filters.
      
      * WebCore.gypi:
      * platform/chromium/support/WebFilterOperation.cpp: Added.
      (WebKit):
      (WebKit::WebBasicColorMatrixFilterOperation::toFilterOperation):
      (WebKit::WebBasicComponentTransferFilterOperation::toFilterOperation):
      (WebKit::WebBlurFilterOperation::toFilterOperation):
      (WebKit::WebDropShadowFilterOperation::toFilterOperation):
      * platform/chromium/support/WebFilterOperations.cpp: Added.
      (WebKit):
      (WebKit::WebFilterOperations::WebFilterOperations):
      (WebKit::WebFilterOperations::append):
      (WebKit::WebFilterOperations::clear):
      (WebKit::WebFilterOperations::toFilterOperations):
      
      Source/WebKit/chromium:
      
      * WebKit.gyp:
      * src/WebLayer.cpp:
      (WebKit::WebLayer::setFilters):
      (WebKit):
      (WebKit::WebLayer::setBackgroundFilters):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114343 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45f671e9
    • commit-queue@webkit.org's avatar
      Auto-sized frames may be taller than expected · 02d0f4f5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84106
      
      Patch by Andrei Burago <aburago@chromium.org> on 2012-04-16
      Reviewed by David Levin.
      
      No new tests. The repro steps require using Chrome notifications on Win.
      
      * page/FrameView.cpp:
      (WebCore::FrameView::autoSizeIfEnabled):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114342 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02d0f4f5
    • toyoshim@chromium.org's avatar
      Unreviewed, remove invalid text expectation for Snow Leopard. · 9a657153
      toyoshim@chromium.org authored
      * platform/chromium-mac-snowleopard/compositing/reflections/animation-inside-reflection-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114341 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a657153
    • toyoshim@chromium.org's avatar
      Unreviewed, remove useless text expectation for WinXP · 4c298ae7
      toyoshim@chromium.org authored
      * platform/chromium-win-xp/compositing/reflections/nested-reflection-animated-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114339 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c298ae7
    • toyoshim@chromium.org's avatar
      Unreviewed, skip a worker WebSocket test. · f2b32c21
      toyoshim@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84125
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114338 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f2b32c21
    • commit-queue@webkit.org's avatar
      Unreviewed. Rolled DEPS. · 00c7ef11
      commit-queue@webkit.org authored
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-16
      
      * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114337 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      00c7ef11
    • tkent@chromium.org's avatar
      [Chromium] Move popup location detection code from WebViewImpl to WebPagePopupImpl · 65f5cfc7
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84116
      
      Reviewed by Kentaro Hara.
      
      This makes no behavior change. Just move some code.
      To fix Bug 84007, WebPagePopupImpl needs to know if the popup is
      above the target element or below the target element.
      
      * src/WebPagePopupImpl.cpp:
      (WebKit::WebPagePopupImpl::init): Move some code from WebViewImpl::openPagePopup().
      * src/WebPagePopupImpl.h:
      (WebPagePopupImpl): Rename an argument name.
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::openPagePopup): Move some code to WebPagePopupImpl::init().
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114336 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      65f5cfc7
    • jamesr@google.com's avatar
      [chromium] Expose WebVideoLayer to Platform API and port WebMediaPlayerClientImpl to using it · d3282f02
      jamesr@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=83963
      
      Reviewed by Adrienne Walker.
      
      Source/Platform:
      
      Adds a compositor layer type for video, WebVideoLayer, and a WebVideoProvider interface.
      
      * Platform.gypi:
      * chromium/public/WebContentLayer.h:
      (WebContentLayer):
      * chromium/public/WebLayer.h:
      (WebLayer):
      (WebKit::WebLayer::unwrap):
      * chromium/public/WebVideoFrameProvider.h: Renamed from Source/WebCore/platform/graphics/chromium/VideoFrameProvider.h.
      (WebKit):
      (WebVideoFrameProvider):
      (WebKit::WebVideoFrameProvider::~WebVideoFrameProvider):
      (Client):
      * chromium/public/WebVideoLayer.h: Copied from Source/WebKit/chromium/src/WebContentLayer.cpp.
      (WebCore):
      (WebKit):
      (WebVideoLayer):
      (WebKit::WebVideoLayer::WebVideoLayer):
      (WebKit::WebVideoLayer::~WebVideoLayer):
      
      Source/WebCore:
      
      Converts VideoLayerChromium / CCVideoLayerImpl to use a Platform WebVideoFrameProvider interface instead of a
      WebCore VideoFrameProvider.
      
      * WebCore.gypi:
      * platform/graphics/chromium/VideoLayerChromium.cpp:
      (WebCore::VideoLayerChromium::create):
      (WebCore::VideoLayerChromium::VideoLayerChromium):
      * platform/graphics/chromium/VideoLayerChromium.h:
      (WebKit):
      (WebCore):
      (VideoLayerChromium):
      * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
      (WebCore::CCVideoLayerImpl::CCVideoLayerImpl):
      * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
      (WebCore::CCVideoLayerImpl::create):
      (CCVideoLayerImpl):
      
      Source/WebKit/chromium:
      
      Adds implementation of WebVideoLayer and ports WebMediaPlayerClientImpl over to using it.
      WebMediaPlayerClientImpl still exposes a WebCore::VideoLayerChromium* to the compositor via the platformLayer()
      interface, but this is temporary until we can change the PlatformLayer typedef over to WebLayer.
      
      * WebKit.gyp:
      * src/WebContentLayer.cpp:
      * src/WebLayer.cpp:
      (WebKit::WebLayer::invalidate):
      (WebKit):
      * src/WebMediaPlayerClientImpl.cpp:
      (WebKit::WebMediaPlayerClientImpl::readyStateChanged):
      (WebKit::WebMediaPlayerClientImpl::repaint):
      (WebKit::WebMediaPlayerClientImpl::setOpaque):
      (WebKit::WebMediaPlayerClientImpl::platformLayer):
      (WebKit::WebMediaPlayerClientImpl::acceleratedRenderingInUse):
      (WebKit::WebMediaPlayerClientImpl::setVideoFrameProviderClient):
      (WebKit::WebMediaPlayerClientImpl::supportsType):
      * src/WebMediaPlayerClientImpl.h:
      (WebMediaPlayerClientImpl):
      * src/WebVideoLayer.cpp: Copied from Source/WebKit/chromium/src/WebContentLayer.cpp.
      (WebKit):
      (WebKit::WebVideoLayer::create):
      (WebKit::WebVideoLayer::WebVideoLayer):
      (WebKit::WebVideoLayer::active):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114335 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d3282f02
    • commit-queue@webkit.org's avatar
      [Shadow DOM] InsertionPoint should have isActive() member function. · 6733a9c1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82010
      
      Patch by Takashi Sakamoto <tasak@google.com> on 2012-04-16
      Reviewed by Hajime Morita.
      
      This patch adds isActive public member function to InsertionPoint and
      makes InsertionPoint elements consider whether active or not.
      If an InsertionPoint is inactive, the element is not shadow boundary
      and is needed to be rendered.
      c.f. https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/shadow/index.html#dfn-active-insertion-point
      
      Test: update existing tests, i.e.
      LayoutTests/fast/dom/shadow/shadow-contents-fallback-dynamic.html and
      LayoutTests/fast/dom/shadow/shadow-contents-fallback.html
      
      * html/shadow/InsertionPoint.cpp:
      (WebCore::InsertionPoint::isActive):
      A new public method for checking whether an insertion point is active or inactive.
      If active, returns true. Otherwise, false.
      (WebCore::InsertionPoint::isShadowBoundary):
      Make the method consider whether an insertin point is active or inactive.
      (WebCore::InsertionPoint::rendererIsNeeded):
      Changed to return true If an insertion point is inactive.
      (WebCore::InsertionPoint::attach):
      Changed to call only HTMLElement::attach If an insertion point is inactive.
      (WebCore::InsertionPoint::detach):
      Changed to call only HTMLElement::detach If an insertion point is inactive.
      * html/shadow/InsertionPoint.h:
      (InsertionPoint):
      Added isActive public method.
      * dom/NodeRenderingContext.cpp:
      (WebCore::NodeRenderingContext::NodeRenderingContext):
      Changed to take into account an insertion point's activeness when parent is an insertion point.
      (WebCore::NodeRenderingContext::firstRendererOf):
      (WebCore::NodeRenderingContext::lastRendererOf):
      Changed to take into account an insertion point's activeness.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114334 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6733a9c1
    • morrita@google.com's avatar
      Type tags in NodeFlags could be compressed · fa86f9f8
      morrita@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=79299
      
      Because existing node flags which indicate the class of each node
      are mutually exclusive, these flags can be represented as a enum.
      This patch introduces Node::NodeTypeTag to turn these flags into a
      enum, and embeds it into Node::m_nodeFlags.
      
      Reviewed by Antti Koivisto.
      
      No new tests. No bahavior change.
      
      * dom/Node.cpp:
      (WebCore):
      * dom/Node.h:
      (WebCore):
      (Node):
      (WebCore::Node::typeTag):
      (WebCore::Node::parentNode):
      (WebCore::Node::parentNodeGuaranteedHostFree):
      (WebCore::Node::isContainerNode):
      (WebCore::Node::isElementNode):
      (WebCore::Node::isStyledElement):
      (WebCore::Node::isTextNode):
      (WebCore::Node::isHTMLElement):
      (WebCore::Node::isSVGElement):
      (WebCore::Node::isShadowRoot):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114333 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa86f9f8
    • kov@webkit.org's avatar
      [GTK] Use configure instead of autogen.sh for gtk+ · bdd1b611
      kov@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=84112
      
      Rubber-stamped by Martin Robinson.
      
      * gtk/jhbuild.modules: GTK+'s autogen requires gobject-introspection;
      we don't want to depend on that for now, so run configure instead - we
      can, since we are using a tarball
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114332 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bdd1b611
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r114285. · 18b4fe40
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/114285
      https://bugs.webkit.org/show_bug.cgi?id=84107
      
      broke fast/media/media-query-list-08.html in Mac (Requested by
      andersca on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-04-16
      
      Source/WebCore:
      
      * dom/Document.cpp:
      (WebCore::Document::styleSelectorChanged):
      * dom/Document.h:
      (Document):
      * page/FrameView.cpp:
      (WebCore::FrameView::layout):
      
      LayoutTests:
      
      * fast/media/media-query-list-08-expected.txt: Removed.
      * fast/media/media-query-list-08.html: Removed.
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114330 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      18b4fe40