Changeset 163427 in webkit


Ignore:
Timestamp:
Feb 4, 2014 8:59:20 PM (10 years ago)
Author:
akling@apple.com
Message:

Remove <iframe seamless> support.
<https://webkit.org/b/128213>

.:

Rubber-stamped by Antti Koivisto.

  • Source/autotools/SetupWebKitFeatures.m4:
  • Source/cmake/WebKitFeatures.cmake:
  • Source/cmakeconfig.h.cmake:

Source/JavaScriptCore:

Rubber-stamped by Antti Koivisto.

  • Configurations/FeatureDefines.xcconfig:

Source/WebCore:

Seamless iframes were behind a runtime flag that we never enabled,
and the only other engine that implemented them (Blink) recently
removed them. Since the feature is very invasive, let's take it
out for now.

Rubber-stamped by Antti Koivisto.

  • Configurations/FeatureDefines.xcconfig:
  • accessibility/AccessibilityObject.h:
  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::parentObjectIfExists):
(WebCore::AccessibilityRenderObject::parentObject):
(WebCore::AccessibilityRenderObject::boundingBoxRect):
(WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
(WebCore::AccessibilityRenderObject::determineAccessibilityRole):

  • accessibility/mac/WebAccessibilityObjectWrapperMac.mm:

(createAccessibilityRoleMap):

  • bindings/generic/RuntimeEnabledFeatures.cpp:

(WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):

  • bindings/generic/RuntimeEnabledFeatures.h:
  • css/CSSComputedStyleDeclaration.cpp:

(WebCore::ComputedStyleExtractor::propertyValue):

  • css/CSSSelector.cpp:

(WebCore::CSSSelector::pseudoId):
(WebCore::populatePseudoTypeByNameMap):
(WebCore::CSSSelector::extractPseudoType):

  • css/CSSSelector.h:
  • css/SelectorChecker.cpp:

(WebCore::SelectorChecker::checkOne):

  • css/StyleResolver.cpp:

(WebCore::StyleResolver::adjustRenderStyle):

  • css/html.css:

(iframe):

  • dom/Document.cpp:

(WebCore::Document::scheduleStyleRecalc):
(WebCore::Document::implicitOpen):
(WebCore::Document::initSecurityContext):

  • dom/Document.h:
  • dom/DocumentStyleSheetCollection.cpp:

(WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):

  • dom/SecurityContext.cpp:

(WebCore::SecurityContext::SecurityContext):

  • dom/SecurityContext.h:
  • html/HTMLAttributeNames.in:
  • html/HTMLIFrameElement.cpp:

(WebCore::HTMLIFrameElement::HTMLIFrameElement):
(WebCore::HTMLIFrameElement::isPresentationAttribute):
(WebCore::HTMLIFrameElement::parseAttribute):

  • html/HTMLIFrameElement.h:
  • html/HTMLIFrameElement.idl:
  • loader/FrameLoader.cpp:

(WebCore::FrameLoader::findFrameForNavigation):

  • page/FrameView.cpp:

(WebCore::FrameView::calculateScrollbarModesForLayout):
(WebCore::FrameView::isInChildFrameWithFrameFlattening):

  • page/Location.cpp:

(WebCore::Location::setLocation):

  • rendering/RenderBox.h:

(WebCore::RenderBox::stretchesToViewport):

  • rendering/RenderIFrame.cpp:

(WebCore::RenderIFrame::shouldComputeSizeAsReplaced):
(WebCore::RenderIFrame::isInlineBlockOrInlineTable):
(WebCore::RenderIFrame::flattenFrame):
(WebCore::RenderIFrame::layout):

  • rendering/RenderIFrame.h:
  • rendering/RenderView.cpp:

(WebCore::RenderView::initializeLayoutState):
(WebCore::RenderView::layout):

  • rendering/RenderView.h:
  • style/StyleResolveForDocument.cpp:

(WebCore::Style::resolveForDocument):

  • style/StyleResolveTree.cpp:

(WebCore::Style::resolveTree):

Source/WebKit/efl:

Rubber-stamped by Antti Koivisto.

  • WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
  • WebCoreSupport/DumpRenderTreeSupportEfl.h:
  • ewk/ewk_view.cpp:

(_ewk_view_priv_new):

Source/WebKit/gtk:

Rubber-stamped by Antti Koivisto.

  • WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
  • WebCoreSupport/DumpRenderTreeSupportGtk.h:

Source/WebKit/mac:

Rubber-stamped by Antti Koivisto.

  • Configurations/FeatureDefines.xcconfig:
  • WebView/WebPreferenceKeysPrivate.h:
  • WebView/WebPreferences.mm:
  • WebView/WebPreferencesPrivate.h:
  • WebView/WebView.mm:

(-[WebView _preferencesChanged:]):

Source/WebKit/win:

Rubber-stamped by Antti Koivisto.

  • WebPreferences.h:
  • WebView.cpp:

(WebView::notifyPreferencesChanged):

Source/WebKit2:

Rubber-stamped by Antti Koivisto.

  • Configurations/FeatureDefines.xcconfig:
  • WebProcess/InjectedBundle/API/c/WKBundle.cpp:
  • WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
  • WebProcess/InjectedBundle/InjectedBundle.cpp:
  • WebProcess/InjectedBundle/InjectedBundle.h:

Source/WTF:

Rubber-stamped by Antti Koivisto.

  • wtf/FeatureDefines.h:

Tools:

Rubber-stamped by Antti Koivisto.

  • DumpRenderTree/efl/DumpRenderTreeChrome.cpp:

(DumpRenderTreeChrome::resetDefaultsToConsistentValues):

  • DumpRenderTree/gtk/DumpRenderTree.cpp:

(resetDefaultsToConsistentValues):

  • DumpRenderTree/mac/DumpRenderTree.mm:

(resetWebPreferencesToConsistentValues):

  • DumpRenderTree/win/DumpRenderTree.cpp:

(resetDefaultsToConsistentValues):

  • Scripts/webkitperl/FeatureList.pm:
  • WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:

(WTR::InjectedBundle::beginTesting):

WebKitLibraries:

Rubber-stamped by Antti Koivisto.

  • win/tools/vsprops/FeatureDefines.props:

LayoutTests:

Rubber-stamped by Antti Koivisto.

  • fast/frames/seamless/resources/css-cascade-child.html: Removed.
  • fast/frames/seamless/resources/done.html: Removed.
  • fast/frames/seamless/resources/nested-seamless.html: Removed.
  • fast/frames/seamless/resources/percent-square.html: Removed.
  • fast/frames/seamless/resources/quirks-square.html: Removed.
  • fast/frames/seamless/resources/span.html: Removed.
  • fast/frames/seamless/resources/square.html: Removed.
  • fast/frames/seamless/resources/two-inline-blocks.html: Removed.
  • fast/frames/seamless/seamless-basic-expected.txt: Removed.
  • fast/frames/seamless/seamless-basic.html: Removed.
  • fast/frames/seamless/seamless-body-margin-expected.txt: Removed.
  • fast/frames/seamless/seamless-body-margin.html: Removed.
  • fast/frames/seamless/seamless-border-padding-expected.txt: Removed.
  • fast/frames/seamless/seamless-border-padding.html: Removed.
  • fast/frames/seamless/seamless-contenteditable-not-inherited-expected.txt: Removed.
  • fast/frames/seamless/seamless-contenteditable-not-inherited.html: Removed.
  • fast/frames/seamless/seamless-css-cascade-expected.txt: Removed.
  • fast/frames/seamless/seamless-css-cascade.html: Removed.
  • fast/frames/seamless/seamless-custom-font-pruning-crash-expected.txt: Removed.
  • fast/frames/seamless/seamless-custom-font-pruning-crash.html: Removed.
  • fast/frames/seamless/seamless-designMode-expected.txt: Removed.
  • fast/frames/seamless/seamless-designMode.html: Removed.
  • fast/frames/seamless/seamless-document-write-expected.txt: Removed.
  • fast/frames/seamless/seamless-document-write.html: Removed.
  • fast/frames/seamless/seamless-float-expected.txt: Removed.
  • fast/frames/seamless/seamless-float.html: Removed.
  • fast/frames/seamless/seamless-form-get-expected.txt: Removed.
  • fast/frames/seamless/seamless-form-get-named-expected.txt: Removed.
  • fast/frames/seamless/seamless-form-get-named.html: Removed.
  • fast/frames/seamless/seamless-form-get-override-expected.txt: Removed.
  • fast/frames/seamless/seamless-form-get-override.html: Removed.
  • fast/frames/seamless/seamless-form-get.html: Removed.
  • fast/frames/seamless/seamless-form-post-expected.txt: Removed.
  • fast/frames/seamless/seamless-form-post-named-expected.txt: Removed.
  • fast/frames/seamless/seamless-form-post-named.html: Removed.
  • fast/frames/seamless/seamless-form-post-override-expected.txt: Removed.
  • fast/frames/seamless/seamless-form-post-override.html: Removed.
  • fast/frames/seamless/seamless-form-post.html: Removed.
  • fast/frames/seamless/seamless-hyperlink-expected.txt: Removed.
  • fast/frames/seamless/seamless-hyperlink-named-expected.txt: Removed.
  • fast/frames/seamless/seamless-hyperlink-named.html: Removed.
  • fast/frames/seamless/seamless-hyperlink-override-expected.txt: Removed.
  • fast/frames/seamless/seamless-hyperlink-override.html: Removed.
  • fast/frames/seamless/seamless-hyperlink.html: Removed.
  • fast/frames/seamless/seamless-inherited-document-style-expected.txt: Removed.
  • fast/frames/seamless/seamless-inherited-document-style.html: Removed.
  • fast/frames/seamless/seamless-inherited-origin-expected.txt: Removed.
  • fast/frames/seamless/seamless-inherited-origin.html: Removed.
  • fast/frames/seamless/seamless-inline-expected.txt: Removed.
  • fast/frames/seamless/seamless-inline.html: Removed.
  • fast/frames/seamless/seamless-min-max-expected.txt: Removed.
  • fast/frames/seamless/seamless-min-max.html: Removed.
  • fast/frames/seamless/seamless-nested-crash-expected.txt: Removed.
  • fast/frames/seamless/seamless-nested-crash.html: Removed.
  • fast/frames/seamless/seamless-nested-expected.txt: Removed.
  • fast/frames/seamless/seamless-nested.html: Removed.
  • fast/frames/seamless/seamless-percent-height-expected.txt: Removed.
  • fast/frames/seamless/seamless-percent-height.html: Removed.
  • fast/frames/seamless/seamless-quirks-expected.txt: Removed.
  • fast/frames/seamless/seamless-quirks.html: Removed.
  • fast/frames/seamless/seamless-sandbox-flag-expected.txt: Removed.
  • fast/frames/seamless/seamless-sandbox-flag.html: Removed.
  • fast/frames/seamless/seamless-sandbox-srcdoc-expected.txt: Removed.
  • fast/frames/seamless/seamless-sandbox-srcdoc.html: Removed.
  • fast/frames/seamless/seamless-srcdoc-expected.txt: Removed.
  • fast/frames/seamless/seamless-srcdoc.html: Removed.
  • fast/frames/seamless/seamless-window-location-expected.txt: Removed.
  • fast/frames/seamless/seamless-window-location-href-expected.txt: Removed.
  • fast/frames/seamless/seamless-window-location-href.html: Removed.
  • fast/frames/seamless/seamless-window-location-replace-expected.txt: Removed.
  • fast/frames/seamless/seamless-window-location-replace.html: Removed.
  • fast/frames/seamless/seamless-window-location-sandbox-expected.txt: Removed.
  • fast/frames/seamless/seamless-window-location-sandbox.html: Removed.
  • fast/frames/seamless/seamless-window-location.html: Removed.
  • fast/frames/seamless/seamless-window-open-expected.txt: Removed.
  • fast/frames/seamless/seamless-window-open-override-expected.txt: Removed.
  • fast/frames/seamless/seamless-window-open-override.html: Removed.
  • fast/frames/seamless/seamless-window-open.html: Removed.
  • fast/multicol/resources/seamless.html: Removed.
  • fast/multicol/seamless-flowed-through-columns-expected.html: Removed.
  • fast/multicol/seamless-flowed-through-columns.html: Removed.
  • fast/regions/resources/seamless.html: Removed.
  • fast/regions/seamless-iframe-flowed-into-regions-expected.html: Removed.
  • fast/regions/seamless-iframe-flowed-into-regions.html: Removed.
  • http/tests/security/seamless/resources/square.html: Removed.
  • http/tests/security/seamless/seamless-cross-origin-expected.txt: Removed.
  • http/tests/security/seamless/seamless-cross-origin.html: Removed.
  • http/tests/security/seamless/seamless-sandbox-srcdoc-expected.txt: Removed.
  • http/tests/security/seamless/seamless-sandbox-srcdoc.html: Removed.
  • platform/efl/TestExpectations:
  • platform/gtk/TestExpectations:
  • platform/mac/TestExpectations:
Location:
trunk
Files:
14 deleted
79 edited

Legend:

Unmodified
Added
Removed
  • trunk/ChangeLog

    r163238 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * Source/autotools/SetupWebKitFeatures.m4:
     9        * Source/cmake/WebKitFeatures.cmake:
     10        * Source/cmakeconfig.h.cmake:
     11
    1122014-01-31  Benjamin Poulain  <bpoulain@apple.com>
    213
  • trunk/LayoutTests/ChangeLog

    r163422 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * fast/frames/seamless/resources/css-cascade-child.html: Removed.
     9        * fast/frames/seamless/resources/done.html: Removed.
     10        * fast/frames/seamless/resources/nested-seamless.html: Removed.
     11        * fast/frames/seamless/resources/percent-square.html: Removed.
     12        * fast/frames/seamless/resources/quirks-square.html: Removed.
     13        * fast/frames/seamless/resources/span.html: Removed.
     14        * fast/frames/seamless/resources/square.html: Removed.
     15        * fast/frames/seamless/resources/two-inline-blocks.html: Removed.
     16        * fast/frames/seamless/seamless-basic-expected.txt: Removed.
     17        * fast/frames/seamless/seamless-basic.html: Removed.
     18        * fast/frames/seamless/seamless-body-margin-expected.txt: Removed.
     19        * fast/frames/seamless/seamless-body-margin.html: Removed.
     20        * fast/frames/seamless/seamless-border-padding-expected.txt: Removed.
     21        * fast/frames/seamless/seamless-border-padding.html: Removed.
     22        * fast/frames/seamless/seamless-contenteditable-not-inherited-expected.txt: Removed.
     23        * fast/frames/seamless/seamless-contenteditable-not-inherited.html: Removed.
     24        * fast/frames/seamless/seamless-css-cascade-expected.txt: Removed.
     25        * fast/frames/seamless/seamless-css-cascade.html: Removed.
     26        * fast/frames/seamless/seamless-custom-font-pruning-crash-expected.txt: Removed.
     27        * fast/frames/seamless/seamless-custom-font-pruning-crash.html: Removed.
     28        * fast/frames/seamless/seamless-designMode-expected.txt: Removed.
     29        * fast/frames/seamless/seamless-designMode.html: Removed.
     30        * fast/frames/seamless/seamless-document-write-expected.txt: Removed.
     31        * fast/frames/seamless/seamless-document-write.html: Removed.
     32        * fast/frames/seamless/seamless-float-expected.txt: Removed.
     33        * fast/frames/seamless/seamless-float.html: Removed.
     34        * fast/frames/seamless/seamless-form-get-expected.txt: Removed.
     35        * fast/frames/seamless/seamless-form-get-named-expected.txt: Removed.
     36        * fast/frames/seamless/seamless-form-get-named.html: Removed.
     37        * fast/frames/seamless/seamless-form-get-override-expected.txt: Removed.
     38        * fast/frames/seamless/seamless-form-get-override.html: Removed.
     39        * fast/frames/seamless/seamless-form-get.html: Removed.
     40        * fast/frames/seamless/seamless-form-post-expected.txt: Removed.
     41        * fast/frames/seamless/seamless-form-post-named-expected.txt: Removed.
     42        * fast/frames/seamless/seamless-form-post-named.html: Removed.
     43        * fast/frames/seamless/seamless-form-post-override-expected.txt: Removed.
     44        * fast/frames/seamless/seamless-form-post-override.html: Removed.
     45        * fast/frames/seamless/seamless-form-post.html: Removed.
     46        * fast/frames/seamless/seamless-hyperlink-expected.txt: Removed.
     47        * fast/frames/seamless/seamless-hyperlink-named-expected.txt: Removed.
     48        * fast/frames/seamless/seamless-hyperlink-named.html: Removed.
     49        * fast/frames/seamless/seamless-hyperlink-override-expected.txt: Removed.
     50        * fast/frames/seamless/seamless-hyperlink-override.html: Removed.
     51        * fast/frames/seamless/seamless-hyperlink.html: Removed.
     52        * fast/frames/seamless/seamless-inherited-document-style-expected.txt: Removed.
     53        * fast/frames/seamless/seamless-inherited-document-style.html: Removed.
     54        * fast/frames/seamless/seamless-inherited-origin-expected.txt: Removed.
     55        * fast/frames/seamless/seamless-inherited-origin.html: Removed.
     56        * fast/frames/seamless/seamless-inline-expected.txt: Removed.
     57        * fast/frames/seamless/seamless-inline.html: Removed.
     58        * fast/frames/seamless/seamless-min-max-expected.txt: Removed.
     59        * fast/frames/seamless/seamless-min-max.html: Removed.
     60        * fast/frames/seamless/seamless-nested-crash-expected.txt: Removed.
     61        * fast/frames/seamless/seamless-nested-crash.html: Removed.
     62        * fast/frames/seamless/seamless-nested-expected.txt: Removed.
     63        * fast/frames/seamless/seamless-nested.html: Removed.
     64        * fast/frames/seamless/seamless-percent-height-expected.txt: Removed.
     65        * fast/frames/seamless/seamless-percent-height.html: Removed.
     66        * fast/frames/seamless/seamless-quirks-expected.txt: Removed.
     67        * fast/frames/seamless/seamless-quirks.html: Removed.
     68        * fast/frames/seamless/seamless-sandbox-flag-expected.txt: Removed.
     69        * fast/frames/seamless/seamless-sandbox-flag.html: Removed.
     70        * fast/frames/seamless/seamless-sandbox-srcdoc-expected.txt: Removed.
     71        * fast/frames/seamless/seamless-sandbox-srcdoc.html: Removed.
     72        * fast/frames/seamless/seamless-srcdoc-expected.txt: Removed.
     73        * fast/frames/seamless/seamless-srcdoc.html: Removed.
     74        * fast/frames/seamless/seamless-window-location-expected.txt: Removed.
     75        * fast/frames/seamless/seamless-window-location-href-expected.txt: Removed.
     76        * fast/frames/seamless/seamless-window-location-href.html: Removed.
     77        * fast/frames/seamless/seamless-window-location-replace-expected.txt: Removed.
     78        * fast/frames/seamless/seamless-window-location-replace.html: Removed.
     79        * fast/frames/seamless/seamless-window-location-sandbox-expected.txt: Removed.
     80        * fast/frames/seamless/seamless-window-location-sandbox.html: Removed.
     81        * fast/frames/seamless/seamless-window-location.html: Removed.
     82        * fast/frames/seamless/seamless-window-open-expected.txt: Removed.
     83        * fast/frames/seamless/seamless-window-open-override-expected.txt: Removed.
     84        * fast/frames/seamless/seamless-window-open-override.html: Removed.
     85        * fast/frames/seamless/seamless-window-open.html: Removed.
     86        * fast/multicol/resources/seamless.html: Removed.
     87        * fast/multicol/seamless-flowed-through-columns-expected.html: Removed.
     88        * fast/multicol/seamless-flowed-through-columns.html: Removed.
     89        * fast/regions/resources/seamless.html: Removed.
     90        * fast/regions/seamless-iframe-flowed-into-regions-expected.html: Removed.
     91        * fast/regions/seamless-iframe-flowed-into-regions.html: Removed.
     92        * http/tests/security/seamless/resources/square.html: Removed.
     93        * http/tests/security/seamless/seamless-cross-origin-expected.txt: Removed.
     94        * http/tests/security/seamless/seamless-cross-origin.html: Removed.
     95        * http/tests/security/seamless/seamless-sandbox-srcdoc-expected.txt: Removed.
     96        * http/tests/security/seamless/seamless-sandbox-srcdoc.html: Removed.
     97        * platform/efl/TestExpectations:
     98        * platform/gtk/TestExpectations:
     99        * platform/mac/TestExpectations:
     100
    11012014-02-04  Zalan Bujtas  <zalan@apple.com>
    2102
  • trunk/LayoutTests/platform/efl/TestExpectations

    r163381 r163427  
    14841484webkit.org/b/110958 fast/dom/custom [ Skip ]
    14851485
    1486 # Failing after r143256.
    1487 webkit.org/b/110282 fast/regions/seamless-iframe-flowed-into-regions.html [ ImageOnlyFailure ]
    1488 
    14891486webkit.org/b/110316 svg/as-background-image/tiled-background-image.html [ ImageOnlyFailure ]
    14901487
     
    17181715webkit.org/b/124657 fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml [ Failure ]
    17191716
    1720 webkit.org/b/124565 fast/multicol/seamless-flowed-through-columns.html [ ImageOnlyFailure ]
    1721 
    17221717webkit.org/b/124658 fast/text/break-word-pre-wrap.html [ ImageOnlyFailure ]
    17231718
  • trunk/LayoutTests/platform/gtk/TestExpectations

    r163262 r163427  
    13591359webkit.org/b/110090 fast/events/clientXY-in-zoom-and-scroll.html [ Failure ]
    13601360
    1361 webkit.org/b/106125 fast/regions/seamless-iframe-flowed-into-regions.html [ ImageOnlyFailure ]
    1362 
    13631361webkit.org/b/110320 fast/dom/shadow/shadow-dom-event-dispatching-distributed-text-node.html [ Failure ]
    13641362webkit.org/b/110320 fast/dom/shadow/shadow-dom-event-dispatching-text-node-in-shadow-root.html [ Failure ]
     
    14941492webkit.org/b/124509 media/video-controls-captions-trackmenu-hide-on-click-outside.html [ Failure ]
    14951493webkit.org/b/124509 media/video-controls-captions-trackmenu-hide-on-click.html [ Failure ]
    1496 
    1497 webkit.org/b/124565 fast/multicol/seamless-flowed-through-columns.html [ ImageOnlyFailure ]
    14981494
    14991495webkit.org/b/124566 fast/dom/SelectorAPI/resig-SelectorsAPI-test.xhtml [ Failure ]
  • trunk/LayoutTests/platform/mac/TestExpectations

    r163296 r163427  
    340340# CSS Regions tests for region styling and scoped styles
    341341fast/regions/style-scoped
    342 
    343 # seamless iframes exhibit odd repaint issues in regions and columns, but only in DumpRenderTree
    344 fast/regions/seamless-iframe-flowed-into-regions.html
    345 fast/multicol/seamless-flowed-through-columns.html
    346342
    347343# ENABLE(SHADOW_DOM) is disabled.
  • trunk/Source/JavaScriptCore/ChangeLog

    r163426 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * Configurations/FeatureDefines.xcconfig:
     9
    1102014-02-04  Mark Lam  <mark.lam@apple.com>
    211
  • trunk/Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig

    r163333 r163427  
    9191ENABLE_ICONDATABASE = $(ENABLE_ICONDATABASE_$(PLATFORM_NAME));
    9292ENABLE_ICONDATABASE_macosx = ENABLE_ICONDATABASE;
    93 ENABLE_IFRAME_SEAMLESS = ENABLE_IFRAME_SEAMLESS;
    9493ENABLE_INDEXED_DATABASE = ENABLE_INDEXED_DATABASE;
    9594ENABLE_INDIE_UI = ENABLE_INDIE_UI;
     
    197196ENABLE_LLINT_C_LOOP = ;
    198197
    199 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_IFRAME_SEAMLESS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHADOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));
     198FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHADOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));
  • trunk/Source/WTF/ChangeLog

    r163416 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * wtf/FeatureDefines.h:
     9
    1102014-02-04  Anders Carlsson  <andersca@apple.com>
    211
  • trunk/Source/WTF/wtf/FeatureDefines.h

    r163339 r163427  
    521521#endif
    522522
    523 #if !defined(ENABLE_IFRAME_SEAMLESS)
    524 #define ENABLE_IFRAME_SEAMLESS 1
    525 #endif
    526 
    527523#if !defined(ENABLE_IMAGE_DECODER_DOWN_SAMPLING)
    528524#define ENABLE_IMAGE_DECODER_DOWN_SAMPLING 0
  • trunk/Source/WebCore/ChangeLog

    r163425 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Seamless iframes were behind a runtime flag that we never enabled,
     7        and the only other engine that implemented them (Blink) recently
     8        removed them. Since the feature is very invasive, let's take it
     9        out for now.
     10
     11        Rubber-stamped by Antti Koivisto.
     12
     13        * Configurations/FeatureDefines.xcconfig:
     14        * accessibility/AccessibilityObject.h:
     15        * accessibility/AccessibilityRenderObject.cpp:
     16        (WebCore::AccessibilityRenderObject::parentObjectIfExists):
     17        (WebCore::AccessibilityRenderObject::parentObject):
     18        (WebCore::AccessibilityRenderObject::boundingBoxRect):
     19        (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored):
     20        (WebCore::AccessibilityRenderObject::determineAccessibilityRole):
     21        * accessibility/mac/WebAccessibilityObjectWrapperMac.mm:
     22        (createAccessibilityRoleMap):
     23        * bindings/generic/RuntimeEnabledFeatures.cpp:
     24        (WebCore::RuntimeEnabledFeatures::RuntimeEnabledFeatures):
     25        * bindings/generic/RuntimeEnabledFeatures.h:
     26        * css/CSSComputedStyleDeclaration.cpp:
     27        (WebCore::ComputedStyleExtractor::propertyValue):
     28        * css/CSSSelector.cpp:
     29        (WebCore::CSSSelector::pseudoId):
     30        (WebCore::populatePseudoTypeByNameMap):
     31        (WebCore::CSSSelector::extractPseudoType):
     32        * css/CSSSelector.h:
     33        * css/SelectorChecker.cpp:
     34        (WebCore::SelectorChecker::checkOne):
     35        * css/StyleResolver.cpp:
     36        (WebCore::StyleResolver::adjustRenderStyle):
     37        * css/html.css:
     38        (iframe):
     39        * dom/Document.cpp:
     40        (WebCore::Document::scheduleStyleRecalc):
     41        (WebCore::Document::implicitOpen):
     42        (WebCore::Document::initSecurityContext):
     43        * dom/Document.h:
     44        * dom/DocumentStyleSheetCollection.cpp:
     45        (WebCore::DocumentStyleSheetCollection::updateActiveStyleSheets):
     46        * dom/SecurityContext.cpp:
     47        (WebCore::SecurityContext::SecurityContext):
     48        * dom/SecurityContext.h:
     49        * html/HTMLAttributeNames.in:
     50        * html/HTMLIFrameElement.cpp:
     51        (WebCore::HTMLIFrameElement::HTMLIFrameElement):
     52        (WebCore::HTMLIFrameElement::isPresentationAttribute):
     53        (WebCore::HTMLIFrameElement::parseAttribute):
     54        * html/HTMLIFrameElement.h:
     55        * html/HTMLIFrameElement.idl:
     56        * loader/FrameLoader.cpp:
     57        (WebCore::FrameLoader::findFrameForNavigation):
     58        * page/FrameView.cpp:
     59        (WebCore::FrameView::calculateScrollbarModesForLayout):
     60        (WebCore::FrameView::isInChildFrameWithFrameFlattening):
     61        * page/Location.cpp:
     62        (WebCore::Location::setLocation):
     63        * rendering/RenderBox.h:
     64        (WebCore::RenderBox::stretchesToViewport):
     65        * rendering/RenderIFrame.cpp:
     66        (WebCore::RenderIFrame::shouldComputeSizeAsReplaced):
     67        (WebCore::RenderIFrame::isInlineBlockOrInlineTable):
     68        (WebCore::RenderIFrame::flattenFrame):
     69        (WebCore::RenderIFrame::layout):
     70        * rendering/RenderIFrame.h:
     71        * rendering/RenderView.cpp:
     72        (WebCore::RenderView::initializeLayoutState):
     73        (WebCore::RenderView::layout):
     74        * rendering/RenderView.h:
     75        * style/StyleResolveForDocument.cpp:
     76        (WebCore::Style::resolveForDocument):
     77        * style/StyleResolveTree.cpp:
     78        (WebCore::Style::resolveTree):
     79
    1802014-02-04  Tim Horton  <timothy_horton@apple.com>
    281
  • trunk/Source/WebCore/Configurations/FeatureDefines.xcconfig

    r163333 r163427  
    9191ENABLE_ICONDATABASE = $(ENABLE_ICONDATABASE_$(PLATFORM_NAME));
    9292ENABLE_ICONDATABASE_macosx = ENABLE_ICONDATABASE;
    93 ENABLE_IFRAME_SEAMLESS = ENABLE_IFRAME_SEAMLESS;
    9493ENABLE_INDEXED_DATABASE = ENABLE_INDEXED_DATABASE;
    9594ENABLE_INDIE_UI = ENABLE_INDIE_UI;
     
    197196ENABLE_LLINT_C_LOOP = ;
    198197
    199 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_IFRAME_SEAMLESS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHADOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));
     198FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHADOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));
  • trunk/Source/WebCore/accessibility/AccessibilityObject.h

    r163296 r163427  
    178178    ScrollAreaRole,
    179179    ScrollBarRole,
    180     SeamlessWebAreaRole,
    181180    SheetRole,
    182181    SliderRole,
     
    427426    virtual bool isSearchField() const { return false; }
    428427    bool isWebArea() const { return roleValue() == WebAreaRole; }
    429     bool isSeamlessWebArea() const { return roleValue() == SeamlessWebAreaRole; }
    430428    virtual bool isCheckbox() const { return roleValue() == CheckBoxRole; }
    431429    virtual bool isRadioButton() const { return roleValue() == RadioButtonRole; }
  • trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp

    r163296 r163427  
    478478{
    479479    // WebArea's parent should be the scroll view containing it.
    480     if (isWebArea() || isSeamlessWebArea())
     480    if (isWebArea())
    481481        return axObjectCache()->get(&m_renderer->view().frameView());
    482482
     
    504504   
    505505    // WebArea's parent should be the scroll view containing it.
    506     if (isWebArea() || isSeamlessWebArea())
     506    if (isWebArea())
    507507        return axObjectCache()->getOrCreate(&m_renderer->view().frameView());
    508508   
     
    821821    if (obj->isText())
    822822        quads = toRenderText(obj)->absoluteQuadsClippedToEllipsis();
    823     else if (isWebArea() || isSeamlessWebArea() || isSVGRoot)
     823    else if (isWebArea() || isSVGRoot)
    824824        obj->absoluteQuads(quads);
    825825    else
     
    835835   
    836836    // The size of the web area should be the content size, not the clipped size.
    837     if (isWebArea() || isSeamlessWebArea())
     837    if (isWebArea())
    838838        result.setSize(obj->view().frameView().contentsSize());
    839839   
     
    13461346    }
    13471347
    1348     if (isWebArea() || isSeamlessWebArea() || m_renderer->isListMarker())
     1348    if (isWebArea() || m_renderer->isListMarker())
    13491349        return false;
    13501350   
     
    24512451        return CanvasRole;
    24522452
    2453     if (cssBox && cssBox->isRenderView()) {
    2454         // If the iframe is seamless, it should not be announced as a web area to AT clients.
    2455         if (document() && document()->shouldDisplaySeamlesslyWithParent())
    2456             return SeamlessWebAreaRole;
     2453    if (cssBox && cssBox->isRenderView())
    24572454        return WebAreaRole;
    2458     }
    24592455   
    24602456    if (cssBox && cssBox->isTextField())
  • trunk/Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm

    r162986 r163427  
    17571757        { ListMarkerRole, @"AXListMarker" },
    17581758        { WebAreaRole, @"AXWebArea" },
    1759         { SeamlessWebAreaRole, NSAccessibilityGroupRole },
    17601759        { HeadingRole, @"AXHeading" },
    17611760        { ListBoxRole, NSAccessibilityListRole },
  • trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.cpp

    r161661 r163427  
    9999    , m_areExperimentalContentSecurityPolicyFeaturesEnabled(false)
    100100#endif
    101 #if ENABLE(IFRAME_SEAMLESS)
    102     , m_areSeamlessIFramesEnabled(false)
    103 #endif
    104101#if ENABLE(FONT_LOAD_EVENTS)
    105102    , m_isFontLoadEventsEnabled(false)
  • trunk/Source/WebCore/bindings/generic/RuntimeEnabledFeatures.h

    r159827 r163427  
    220220#endif
    221221
    222 #if ENABLE(IFRAME_SEAMLESS)
    223     bool seamlessIFramesEnabled() const { return m_areSeamlessIFramesEnabled; }
    224     void setSeamlessIFramesEnabled(bool isEnabled) { m_areSeamlessIFramesEnabled = isEnabled; }
    225 #endif
    226 
    227222    bool langAttributeAwareFormControlUIEnabled() const { return m_isLangAttributeAwareFormControlUIEnabled; }
    228223    // The lang attribute support is incomplete and should only be turned on for tests.
     
    310305#endif
    311306
    312 #if ENABLE(IFRAME_SEAMLESS)
    313     bool m_areSeamlessIFramesEnabled;
    314 #endif
    315 
    316307#if ENABLE(FONT_LOAD_EVENTS)
    317308    bool m_isFontLoadEventsEnabled;
  • trunk/Source/WebCore/css/CSSComputedStyleDeclaration.cpp

    r163333 r163427  
    16701670        forceFullLayout = isLayoutDependent(propertyID, style.get(), renderer)
    16711671            || styledNode->isInShadowTree()
    1672             || (document.styleResolverIfExists() && document.styleResolverIfExists()->hasViewportDependentMediaQueries() && document.ownerElement())
    1673             || document.seamlessParentIFrame();
     1672            || (document.styleResolverIfExists() && document.styleResolverIfExists()->hasViewportDependentMediaQueries() && document.ownerElement());
    16741673
    16751674        if (forceFullLayout) {
  • trunk/Source/WebCore/css/CSSSelector.cpp

    r163360 r163427  
    244244    case PseudoPastCue:
    245245#endif
    246 #if ENABLE(IFRAME_SEAMLESS)
    247     case PseudoSeamlessDocument:
    248 #endif
    249246        return NOPSEUDO;
    250247    case PseudoNotParsed:
     
    341338        TABLE_ENTRY("-webkit-full-screen-ancestor", PseudoFullScreenAncestor)
    342339        TABLE_ENTRY("-webkit-full-screen-document", PseudoFullScreenDocument)
    343 #endif
    344 
    345 #if ENABLE(IFRAME_SEAMLESS)
    346         TABLE_ENTRY("-webkit-seamless-document", PseudoSeamlessDocument)
    347340#endif
    348341
     
    472465    case PseudoAnimatingFullScreenTransition:
    473466#endif
    474 #if ENABLE(IFRAME_SEAMLESS)
    475     case PseudoSeamlessDocument:
    476 #endif
    477467    case PseudoInRange:
    478468    case PseudoOutOfRange:
  • trunk/Source/WebCore/css/CSSSelector.h

    r153631 r163427  
    164164            PseudoPastCue,
    165165#endif
    166 #if ENABLE(IFRAME_SEAMLESS)
    167             PseudoSeamlessDocument,
    168 #endif
    169166        };
    170167
  • trunk/Source/WebCore/css/SelectorChecker.cpp

    r162394 r163427  
    724724            return true;
    725725#endif
    726 #if ENABLE(IFRAME_SEAMLESS)
    727         case CSSSelector::PseudoSeamlessDocument:
    728             // While a document is rendered in a seamless iframe, the 'seamless-document' pseudoclass applies
    729             // to all elements of that Document.
    730             return element->document().shouldDisplaySeamlesslyWithParent();
    731 #endif
    732726        case CSSSelector::PseudoInRange:
    733727            element->document().setContainsValidityStyleRules();
  • trunk/Source/WebCore/css/StyleResolver.cpp

    r163333 r163427  
    13451345        style.setTransformStyle3D(TransformStyle3DFlat);
    13461346
    1347     // Seamless iframes behave like blocks. Map their display to inline-block when marked inline.
    1348     if (e && e->hasTagName(iframeTag) && style.display() == INLINE && toHTMLIFrameElement(e)->shouldDisplaySeamlessly())
    1349         style.setDisplay(INLINE_BLOCK);
    1350 
    13511347    adjustGridItemPosition(style, parentStyle);
    13521348
  • trunk/Source/WebCore/css/html.css

    r162742 r163427  
    6060}
    6161
    62 #if defined(ENABLE_IFRAME_SEAMLESS) && ENABLE_IFRAME_SEAMLESS
    63 body:-webkit-seamless-document {
    64     margin: 0px;
    65 }
    66 #endif
    67 
    6862p {
    6963    display: block;
     
    12391233}
    12401234
    1241 iframe:not([seamless]) {
     1235iframe {
    12421236    border: 2px inset
    1243 }
    1244 
    1245 iframe[seamless] {
    1246     display: block
    12471237}
    12481238
  • trunk/Source/WebCore/dom/Document.cpp

    r163394 r163427  
    16511651void Document::scheduleStyleRecalc()
    16521652{
    1653     if (shouldDisplaySeamlesslyWithParent()) {
    1654         // When we're seamless, our parent document manages our style recalcs.
    1655         ownerElement()->setNeedsStyleRecalc();
    1656         ownerElement()->document().scheduleStyleRecalc();
    1657         return;
    1658     }
    1659 
    16601653    if (m_styleRecalcTimer.isActive() || inPageCache())
    16611654        return;
     
    22672260    setCompatibilityMode(NoQuirksMode);
    22682261
    2269     // Documents rendered seamlessly should start out requiring a stylesheet
    2270     // collection update in order to ensure they inherit all the relevant data
    2271     // from their parent.
    2272     if (shouldDisplaySeamlesslyWithParent())
    2273         styleResolverChanged(DeferRecalcStyle);
    2274 
    22752262    m_parser = createParser();
    22762263    setParsing(true);
     
    27682755    }
    27692756    return nullptr;
    2770 }
    2771 
    2772 
    2773 void Document::seamlessParentUpdatedStylesheets()
    2774 {
    2775     styleResolverChanged(RecalcStyleImmediately);
    27762757}
    27772758
     
    32443225}
    32453226
    3246 void Document::notifySeamlessChildDocumentsOfStylesheetUpdate() const
    3247 {
    3248     // If we're not in a frame yet any potential child documents won't have a StyleResolver to update.
    3249     if (!frame())
    3250         return;
    3251 
    3252     // Seamless child frames are expected to notify their seamless children recursively, so we only do direct children.
    3253     for (Frame* child = frame()->tree().firstChild(); child; child = child->tree().nextSibling()) {
    3254         Document* childDocument = child->document();
    3255         if (childDocument->shouldDisplaySeamlesslyWithParent()) {
    3256             ASSERT(&childDocument->seamlessParentIFrame()->document() == this);
    3257             childDocument->seamlessParentUpdatedStylesheets();
    3258         }
    3259     }
    3260 }
    3261 
    32623227void Document::removeFocusedNodeOfSubtree(Node* node, bool amongChildrenOnly)
    32633228{
     
    45554520}
    45564521
    4557 static bool isEligibleForSeamless(Document* parent, Document* child)
    4558 {
    4559     // It should not matter what we return for the top-most document.
    4560     if (!parent)
    4561         return false;
    4562     if (parent->isSandboxed(SandboxSeamlessIframes))
    4563         return false;
    4564     if (child->isSrcdocDocument())
    4565         return true;
    4566     if (parent->securityOrigin()->canAccess(child->securityOrigin()))
    4567         return true;
    4568     return parent->securityOrigin()->canRequest(child->url());
    4569 }
    4570 
    45714522void Document::initSecurityContext()
    45724523{
     
    46284579    }
    46294580
    4630     // FIXME: What happens if we inherit the security origin? This check may need to be later.
    4631     // <iframe seamless src="about:blank"> likely won't work as-is.
    4632     m_mayDisplaySeamlesslyWithParent = isEligibleForSeamless(parentDocument, this);
    4633 
    46344581    if (!shouldInheritSecurityOriginFromOwner(m_url))
    46354582        return;
     
    57105657{
    57115658    m_lastHandledUserGestureTimestamp = monotonicallyIncreasingTime();
    5712 }
    5713 
    5714 HTMLIFrameElement* Document::seamlessParentIFrame() const
    5715 {
    5716     if (!shouldDisplaySeamlesslyWithParent())
    5717         return nullptr;
    5718 
    5719     return toHTMLIFrameElement(ownerElement());
    5720 }
    5721 
    5722 bool Document::shouldDisplaySeamlesslyWithParent() const
    5723 {
    5724 #if ENABLE(IFRAME_SEAMLESS)
    5725     if (!RuntimeEnabledFeatures::sharedFeatures().seamlessIFramesEnabled())
    5726         return false;
    5727     HTMLFrameOwnerElement* ownerElement = this->ownerElement();
    5728     if (!ownerElement)
    5729         return false;
    5730     return m_mayDisplaySeamlesslyWithParent && ownerElement->hasTagName(iframeTag) && ownerElement->fastHasAttribute(seamlessAttr);
    5731 #else
    5732     return false;
    5733 #endif
    57345659}
    57355660
  • trunk/Source/WebCore/dom/Document.h

    r163346 r163427  
    835835    HTMLFrameOwnerElement* ownerElement() const;
    836836
    837     HTMLIFrameElement* seamlessParentIFrame() const;
    838     bool shouldDisplaySeamlesslyWithParent() const;
    839 
    840837    // Used by DOM bindings; no direction known.
    841838    String title() const { return m_title.string(); }
     
    12101207    void setNeedsNotifyRemoveAllPendingStylesheet() { m_needsNotifyRemoveAllPendingStylesheet = true; }
    12111208    void clearStyleResolver();
    1212     void notifySeamlessChildDocumentsOfStylesheetUpdate() const;
    12131209
    12141210    bool inStyleRecalc() { return m_inStyleRecalc; }
     
    12911287
    12921288    void createStyleResolver();
    1293 
    1294     void seamlessParentUpdatedStylesheets();
    12951289
    12961290    void loadEventDelayTimerFired(Timer<Document>&);
  • trunk/Source/WebCore/dom/DocumentStyleSheetCollection.cpp

    r163073 r163427  
    433433}
    434434
    435 static void collectActiveCSSStyleSheetsFromSeamlessParents(Vector<RefPtr<CSSStyleSheet>>& sheets, Document& document)
    436 {
    437     HTMLIFrameElement* seamlessParentIFrame = document.seamlessParentIFrame();
    438     if (!seamlessParentIFrame)
    439         return;
    440     sheets.appendVector(seamlessParentIFrame->document().styleSheetCollection().activeAuthorStyleSheets());
    441 }
    442 
    443435bool DocumentStyleSheetCollection::updateActiveStyleSheets(UpdateFlag updateFlag)
    444436{
     
    461453    activeCSSStyleSheets.appendVector(injectedAuthorStyleSheets());
    462454    activeCSSStyleSheets.appendVector(documentAuthorStyleSheets());
    463     collectActiveCSSStyleSheetsFromSeamlessParents(activeCSSStyleSheets, m_document);
    464455    filterEnabledNonemptyCSSStyleSheets(activeCSSStyleSheets, activeStyleSheets);
    465456
     
    489480    m_pendingUpdateType = NoUpdate;
    490481
    491     m_document.notifySeamlessChildDocumentsOfStylesheetUpdate();
    492 
    493482    return requiresFullStyleRecalc;
    494483}
  • trunk/Source/WebCore/dom/SecurityContext.cpp

    r156550 r163427  
    3636
    3737SecurityContext::SecurityContext()
    38     : m_mayDisplaySeamlesslyWithParent(false)
    39     , m_haveInitializedSecurityOrigin(false)
     38    : m_haveInitializedSecurityOrigin(false)
    4039    , m_sandboxFlags(SandboxNone)
    4140{
  • trunk/Source/WebCore/dom/SecurityContext.h

    r156550 r163427  
    4949    SandboxPopups = 1 << 6, // See https://www.w3.org/Bugs/Public/show_bug.cgi?id=12393
    5050    SandboxAutomaticFeatures = 1 << 7,
    51     SandboxSeamlessIframes = 1 << 8,
    52     SandboxPointerLock = 1 << 9,
     51    SandboxPointerLock = 1 << 8,
    5352    SandboxAll = -1 // Mask with all bits set to 1.
    5453};
     
    8382    bool haveInitializedSecurityOrigin() const { return m_haveInitializedSecurityOrigin; }
    8483
    85     // Set in Document::initSecurityContext() at Document creation, per:
    86     // http://www.whatwg.org/specs/web-apps/current-work/#attr-iframe-seamless
    87     bool m_mayDisplaySeamlesslyWithParent;
    88 
    8984private:
    9085    bool m_haveInitializedSecurityOrigin;
  • trunk/Source/WebCore/html/HTMLAttributeNames.in

    r163092 r163427  
    306306scrolldelay
    307307scrolling
    308 seamless
    309308select
    310309selected
  • trunk/Source/WebCore/html/HTMLIFrameElement.cpp

    r161181 r163427  
    4242{
    4343    ASSERT(hasTagName(iframeTag));
    44     setHasCustomStyleResolveCallbacks();
    4544}
    4645
     
    5251bool HTMLIFrameElement::isPresentationAttribute(const QualifiedName& name) const
    5352{
    54     if (name == widthAttr || name == heightAttr || name == alignAttr || name == frameborderAttr || name == seamlessAttr)
     53    if (name == widthAttr || name == heightAttr || name == alignAttr || name == frameborderAttr)
    5554        return true;
    5655    return HTMLFrameElementBase::isPresentationAttribute(name);
     
    8382        if (!invalidTokens.isNull())
    8483            document().addConsoleMessage(OtherMessageSource, ErrorMessageLevel, "Error while parsing the 'sandbox' attribute: " + invalidTokens);
    85     } else if (name == seamlessAttr) {
    86         // If we're adding or removing the seamless attribute, we need to force the content document to recalculate its StyleResolver.
    87         if (contentDocument())
    88             contentDocument()->styleResolverChanged(DeferRecalcStyle);
    8984    } else
    9085        HTMLFrameElementBase::parseAttribute(name, value);
     
    10196}
    10297
    103 bool HTMLIFrameElement::shouldDisplaySeamlessly() const
    104 {
    105     return contentDocument() && contentDocument()->shouldDisplaySeamlesslyWithParent();
    10698}
    107 
    108 void HTMLIFrameElement::didRecalcStyle(Style::Change styleChange)
    109 {
    110     if (!shouldDisplaySeamlessly())
    111         return;
    112     Document* childDocument = contentDocument();
    113     if (styleChange >= Style::Inherit || childDocument->childNeedsStyleRecalc() || childDocument->needsStyleRecalc())
    114         contentDocument()->recalcStyle(styleChange == Style::Detach ? Style::Force : styleChange);
    115 }
    116 
    117 }
  • trunk/Source/WebCore/html/HTMLIFrameElement.h

    r162180 r163427  
    3333    static PassRefPtr<HTMLIFrameElement> create(const QualifiedName&, Document&);
    3434
    35     bool shouldDisplaySeamlessly() const;
    36 
    3735private:
    3836    HTMLIFrameElement(const QualifiedName&, Document&);
     
    4846    virtual bool rendererIsNeeded(const RenderStyle&) override;
    4947    virtual RenderPtr<RenderElement> createElementRenderer(PassRef<RenderStyle>) override;
    50 
    51     virtual void didRecalcStyle(Style::Change) override;
    5248};
    5349
  • trunk/Source/WebCore/html/HTMLIFrameElement.idl

    r159061 r163427  
    2828    [Reflect] attribute DOMString name;
    2929    [Reflect] attribute DOMString sandbox;
    30     [Reflect, Conditional=IFRAME_SEAMLESS] attribute boolean seamless;
    3130    [Reflect] attribute DOMString scrolling;
    3231    [Reflect, URL] attribute DOMString src;
  • trunk/Source/WebCore/loader/FrameLoader.cpp

    r163189 r163427  
    31243124    Frame* frame = m_frame.tree().find(name);
    31253125
    3126     // From http://www.whatwg.org/specs/web-apps/current-work/#seamlessLinks:
    3127     //
    3128     // If the source browsing context is the same as the browsing context
    3129     // being navigated, and this browsing context has its seamless browsing
    3130     // context flag set, and the browsing context being navigated was not
    3131     // chosen using an explicit self-navigation override, then find the
    3132     // nearest ancestor browsing context that does not have its seamless
    3133     // browsing context flag set, and continue these steps as if that
    3134     // browsing context was the one that was going to be navigated instead.
    3135     if (frame == &m_frame && name != "_self" && m_frame.document()->shouldDisplaySeamlesslyWithParent()) {
    3136         for (Frame* ancestor = &m_frame; ancestor; ancestor = ancestor->tree().parent()) {
    3137             if (!ancestor->document()->shouldDisplaySeamlesslyWithParent()) {
    3138                 frame = ancestor;
    3139                 break;
    3140             }
    3141         }
    3142         ASSERT(frame != &m_frame);
    3143     }
    3144 
    31453126    // FIXME: Eventually all callers should supply the actual activeDocument so we can call canNavigate with the right document.
    31463127    if (!activeDocument)
  • trunk/Source/WebCore/page/FrameView.cpp

    r163216 r163427  
    679679    if (m_canHaveScrollbars || strategy == RulesFromWebContentOnly) {
    680680        hMode = ScrollbarAuto;
    681         // Seamless documents begin with heights of 0; we special case that here
    682         // to correctly render documents that don't need scrollbars.
    683         IntSize fullVisibleSize = visibleContentRectIncludingScrollbars(LegacyIOSDocumentVisibleRect).size();
    684         bool isSeamlessDocument = frame().document() && frame().document()->shouldDisplaySeamlesslyWithParent();
    685         vMode = (isSeamlessDocument && !fullVisibleSize.height()) ? ScrollbarAlwaysOff : ScrollbarAuto;
     681        vMode = ScrollbarAuto;
    686682    } else {
    687683        hMode = ScrollbarAlwaysOff;
     
    33693365    if (frame().ownerElement()->hasTagName(iframeTag)) {
    33703366        RenderIFrame* iframeRenderer = toRenderIFrame(frame().ownerElement()->renderWidget());
    3371         if (iframeRenderer->flattenFrame() || iframeRenderer->isSeamless())
     3367        if (iframeRenderer->flattenFrame())
    33723368            return true;
    33733369    }
  • trunk/Source/WebCore/page/Location.cpp

    r157228 r163427  
    265265{
    266266    ASSERT(m_frame);
    267     // We call findFrameForNavigation to handle the case of a seamless iframe correctly.
    268267    Frame* frame = m_frame->loader().findFrameForNavigation(String(), activeWindow.document());
    269268    if (!frame)
  • trunk/Source/WebCore/rendering/RenderBox.h

    r163329 r163427  
    411411    bool stretchesToViewport() const
    412412    {
    413         return document().inQuirksMode() && style().logicalHeight().isAuto() && !isFloatingOrOutOfFlowPositioned() && (isRoot() || isBody()) && !document().shouldDisplaySeamlesslyWithParent() && !isInline();
     413        return document().inQuirksMode() && style().logicalHeight().isAuto() && !isFloatingOrOutOfFlowPositioned() && (isRoot() || isBody()) && !isInline();
    414414    }
    415415
  • trunk/Source/WebCore/rendering/RenderIFrame.cpp

    r158631 r163427  
    5252bool RenderIFrame::shouldComputeSizeAsReplaced() const
    5353{
    54     // When we're seamless, we use normal block/box sizing code except when inline.
    55     return !isSeamless();
     54    return true;
    5655}
    5756
    5857bool RenderIFrame::isInlineBlockOrInlineTable() const
    5958{
    60     return isSeamless() && isInline();
    61 }
    62 
    63 LayoutUnit RenderIFrame::minPreferredLogicalWidth() const
    64 {
    65     if (!isSeamless())
    66         return RenderFrameBase::minPreferredLogicalWidth();
    67 
    68     RenderView* childRoot = contentRootRenderer();
    69     if (!childRoot)
    70         return 0;
    71 
    72     return childRoot->minPreferredLogicalWidth() + borderAndPaddingLogicalWidth();
    73 }
    74 
    75 LayoutUnit RenderIFrame::maxPreferredLogicalWidth() const
    76 {
    77     if (!isSeamless())
    78         return RenderFrameBase::maxPreferredLogicalWidth();
    79 
    80     RenderView* childRoot = contentRootRenderer();
    81     if (!childRoot)
    82         return 0;
    83 
    84     return childRoot->maxPreferredLogicalWidth() + borderAndPaddingLogicalWidth();
    85 }
    86 
    87 bool RenderIFrame::isSeamless() const
    88 {
    89     return iframeElement().shouldDisplaySeamlessly();
     59    return isInline();
    9060}
    9161
     
    10474{
    10575    Frame* frame = iframeElement().document().frame();
    106 
    107     if (isSeamless())
    108         return false; // Seamless iframes are already "flat", don't try to flatten them.
    10976
    11077    bool enabled = frame && frame->settings().frameFlatteningEnabled();
     
    12693}
    12794
    128 void RenderIFrame::layoutSeamlessly()
    129 {
    130     updateLogicalWidth();
    131     // FIXME: Containers set their height to 0 before laying out their kids (as we're doing here)
    132     // however, this causes FrameView::layout() to add vertical scrollbars, incorrectly inflating
    133     // the resulting contentHeight(). We'll need to make FrameView::layout() smarter.
    134     setLogicalHeight(0);
    135     updateWidgetPosition(); // Tell the Widget about our new width/height (it will also layout the child document).
    136 
    137     // Laying out our kids is normally responsible for adjusting our height, so we set it here.
    138     // Replaced elements normally do not respect padding, but seamless elements should: we'll add
    139     // both padding and border to the child's logical height here.
    140     FrameView* childFrameView = childView();
    141     if (childFrameView) // Widget should never be null during layout(), but just in case.
    142         setLogicalHeight(childFrameView->contentsHeight() + borderTop() + borderBottom() + paddingTop() + paddingBottom());
    143     updateLogicalHeight();
    144 
    145     updateWidgetPosition(); // Notify the Widget of our final height.
    146 
    147     // Assert that the child document did a complete layout.
    148     RenderView* childRoot = childFrameView ? childFrameView->frame().contentRenderer() : 0;
    149     ASSERT(!childFrameView || !childFrameView->layoutPending());
    150     ASSERT_UNUSED(childRoot, !childRoot || !childRoot->needsLayout());
    151 }
    152 
    15395void RenderIFrame::layout()
    15496{
     
    15698    ASSERT(needsLayout());
    15799
    158     if (isSeamless()) {
    159         layoutSeamlessly();
    160         // Do not return so as to share the layer and overflow updates below.
    161     } else {
    162         updateLogicalWidth();
    163         // No kids to layout as a replaced element.
    164         updateLogicalHeight();
     100    updateLogicalWidth();
     101    // No kids to layout as a replaced element.
     102    updateLogicalHeight();
    165103
    166         if (flattenFrame())
    167             layoutWithFlattening(style().width().isFixed(), style().height().isFixed());
    168     }
     104    if (flattenFrame())
     105        layoutWithFlattening(style().width().isFixed(), style().height().isFixed());
    169106
    170107    clearOverflow();
  • trunk/Source/WebCore/rendering/RenderIFrame.h

    r162198 r163427  
    4040
    4141    bool flattenFrame() const;
    42     bool isSeamless() const;
    4342
    4443private:
    4544    void frameOwnerElement() const = delete;
    46 
    47     virtual LayoutUnit minPreferredLogicalWidth() const override;
    48     virtual LayoutUnit maxPreferredLogicalWidth() const override;
    4945
    5046    virtual bool shouldComputeSizeAsReplaced() const override;
     
    6460    virtual bool requiresLayer() const override;
    6561
    66     void layoutSeamlessly();
    67 
    6862    RenderView* contentRootRenderer() const;
    6963};
  • trunk/Source/WebCore/rendering/RenderView.cpp

    r163216 r163427  
    167167#endif
    168168
    169 static RenderBox* enclosingSeamlessRenderer(Document& document)
    170 {
    171     Element* ownerElement = document.seamlessParentIFrame();
    172     if (!ownerElement)
    173         return 0;
    174     return ownerElement->renderBox();
    175 }
    176 
    177 void RenderView::addChild(RenderObject* newChild, RenderObject* beforeChild)
    178 {
    179     // Seamless iframes are considered part of an enclosing render flow thread from the parent document. This is necessary for them to look
    180     // up regions in the parent document during layout.
    181     if (newChild && !newChild->isRenderFlowThread()) {
    182         RenderBox* seamlessBox = enclosingSeamlessRenderer(document());
    183         if (seamlessBox && seamlessBox->flowThreadContainingBlock())
    184             newChild->setFlowThreadState(seamlessBox->flowThreadState());
    185     }
    186     RenderBlockFlow::addChild(newChild, beforeChild);
    187 }
    188 
    189 bool RenderView::initializeLayoutState(LayoutState& state)
    190 {
    191     bool isSeamlessAncestorInFlowThread = false;
    192 
     169void RenderView::initializeLayoutState(LayoutState& state)
     170{
    193171    // FIXME: May be better to push a clip and avoid issuing offscreen repaints.
    194172    state.m_clipped = false;
    195    
    196     // Check the writing mode of the seamless ancestor. It has to match our document's writing mode, or we won't inherit any
    197     // pagination information.
    198     RenderBox* seamlessAncestor = enclosingSeamlessRenderer(document());
    199     LayoutState* seamlessLayoutState = seamlessAncestor ? seamlessAncestor->view().layoutState() : 0;
    200     bool shouldInheritPagination = seamlessLayoutState && !m_pageLogicalHeight && seamlessAncestor->style().writingMode() == style().writingMode();
    201    
    202     state.m_pageLogicalHeight = shouldInheritPagination ? seamlessLayoutState->m_pageLogicalHeight : m_pageLogicalHeight;
    203     state.m_pageLogicalHeightChanged = shouldInheritPagination ? seamlessLayoutState->m_pageLogicalHeightChanged : m_pageLogicalHeightChanged;
     173
     174    state.m_pageLogicalHeight = m_pageLogicalHeight;
     175    state.m_pageLogicalHeightChanged = m_pageLogicalHeightChanged;
    204176    state.m_isPaginated = state.m_pageLogicalHeight;
    205     if (state.m_isPaginated && shouldInheritPagination) {
    206         // Set up the correct pagination offset. We can use a negative offset in order to push the top of the RenderView into its correct place
    207         // on a page. We can take the iframe's offset from the logical top of the first page and make the negative into the pagination offset within the child
    208         // view.
    209         bool isFlipped = seamlessAncestor->style().isFlippedBlocksWritingMode();
    210         LayoutSize layoutOffset = seamlessLayoutState->layoutOffset();
    211         LayoutSize iFrameOffset(layoutOffset.width() + seamlessAncestor->x() + (!isFlipped ? seamlessAncestor->borderLeft() + seamlessAncestor->paddingLeft() :
    212             seamlessAncestor->borderRight() + seamlessAncestor->paddingRight()),
    213             layoutOffset.height() + seamlessAncestor->y() + (!isFlipped ? seamlessAncestor->borderTop() + seamlessAncestor->paddingTop() :
    214             seamlessAncestor->borderBottom() + seamlessAncestor->paddingBottom()));
    215        
    216         LayoutSize offsetDelta = seamlessLayoutState->m_pageOffset - iFrameOffset;
    217         state.m_pageOffset = offsetDelta;
    218        
    219         // Set the current render flow thread to point to our ancestor. This will allow the seamless document to locate the correct
    220         // regions when doing a layout.
    221         if (seamlessAncestor->flowThreadContainingBlock()) {
    222             flowThreadController().setCurrentRenderFlowThread(seamlessAncestor->view().flowThreadController().currentRenderFlowThread());
    223             isSeamlessAncestorInFlowThread = true;
    224         }
    225     }
    226 
    227     // FIXME: We need to make line grids and exclusions work with seamless iframes as well here. Basically all layout state information needs
    228     // to propagate here and not just pagination information.
    229     return isSeamlessAncestorInFlowThread;
    230177}
    231178
     
    327274
    328275    m_layoutState = std::make_unique<LayoutState>();
    329     bool isSeamlessAncestorInFlowThread = initializeLayoutState(*m_layoutState);
     276    initializeLayoutState(*m_layoutState);
    330277
    331278    m_pageLogicalHeightChanged = false;
     
    343290    m_layoutState = nullptr;
    344291    clearNeedsLayout();
    345    
    346     if (isSeamlessAncestorInFlowThread)
    347         flowThreadController().setCurrentRenderFlowThread(0);
    348292}
    349293
  • trunk/Source/WebCore/rendering/RenderView.h

    r163333 r163427  
    207207    bool hasRenderCounters() { return m_renderCounterCount; }
    208208   
    209     virtual void addChild(RenderObject* newChild, RenderObject* beforeChild = 0) override;
    210 
    211209    IntRect pixelSnappedLayoutOverflowRect() const { return pixelSnappedIntRect(layoutOverflowRect()); }
    212210
     
    240238   
    241239private:
    242     bool initializeLayoutState(LayoutState&);
     240    void initializeLayoutState(LayoutState&);
    243241
    244242    virtual void computeColumnCountAndWidth() override;
  • trunk/Source/WebCore/style/StyleResolveForDocument.cpp

    r162839 r163427  
    5454    RenderView& renderView = *document.renderView();
    5555
    56     // HTML5 states that seamless iframes should replace default CSS values
    57     // with values inherited from the containing iframe element. However,
    58     // some values (such as the case of designMode = "on") still need to
    59     // be set by this "document style".
    6056    auto documentStyle = RenderStyle::create();
    61     bool seamlessWithParent = document.shouldDisplaySeamlesslyWithParent();
    62     if (seamlessWithParent) {
    63         RenderStyle* iframeStyle = document.seamlessParentIFrame()->renderStyle();
    64         if (iframeStyle)
    65             documentStyle.get().inheritFrom(iframeStyle);
    66     }
    6757
    68     // FIXME: It's not clear which values below we want to override in the seamless case!
    6958    documentStyle.get().setDisplay(BLOCK);
    70     if (!seamlessWithParent) {
    71         documentStyle.get().setRTLOrdering(document.visuallyOrdered() ? VisualOrder : LogicalOrder);
    72         documentStyle.get().setZoom(!document.printing() ? renderView.frame().pageZoomFactor() : 1);
    73         documentStyle.get().setPageScaleTransform(renderView.frame().frameScaleFactor());
    74         documentStyle.get().setLocale(document.contentLanguage());
    75     }
     59    documentStyle.get().setRTLOrdering(document.visuallyOrdered() ? VisualOrder : LogicalOrder);
     60    documentStyle.get().setZoom(!document.printing() ? renderView.frame().pageZoomFactor() : 1);
     61    documentStyle.get().setPageScaleTransform(renderView.frame().frameScaleFactor());
     62    documentStyle.get().setLocale(document.contentLanguage());
     63
    7664    // This overrides any -webkit-user-modify inherited from the parent iframe.
    7765    documentStyle.get().setUserModify(document.inDesignMode() ? READ_WRITE : READ_ONLY);
     
    10593            renderView.updateColumnProgressionFromStyle(&documentStyle.get());
    10694    }
    107 
    108     // Seamless iframes want to inherit their font from their parent iframe, so early return before setting the font.
    109     if (seamlessWithParent)
    110         return documentStyle;
    11195
    11296    const Settings& settings = renderView.frame().settings();
  • trunk/Source/WebCore/style/StyleResolveTree.cpp

    r163263 r163427  
    872872void resolveTree(Document& document, Change change)
    873873{
    874     bool resolveRootStyle = change == Force || (document.shouldDisplaySeamlesslyWithParent() && change >= Inherit);
    875     if (resolveRootStyle) {
     874    if (change == Force) {
    876875        auto documentStyle = resolveForDocument(document);
    877876
  • trunk/Source/WebKit/efl/ChangeLog

    r163232 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
     9        * WebCoreSupport/DumpRenderTreeSupportEfl.h:
     10        * ewk/ewk_view.cpp:
     11        (_ewk_view_priv_new):
     12
    1132014-01-31  Ryosuke Niwa  <rniwa@webkit.org>
    214
  • trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.cpp

    r163232 r163427  
    326326}
    327327
    328 void DumpRenderTreeSupportEfl::setSeamlessIFramesEnabled(bool enabled)
    329 {
    330 #if ENABLE(IFRAME_SEAMLESS)
    331     WebCore::RuntimeEnabledFeatures::sharedFeatures().setSeamlessIFramesEnabled(enabled);
    332 #else
    333     UNUSED_PARAM(enabled);
    334 #endif
    335 }
    336 
    337328void DumpRenderTreeSupportEfl::setWebAudioEnabled(Evas_Object* ewkView, bool enabled)
    338329{
  • trunk/Source/WebKit/efl/WebCoreSupport/DumpRenderTreeSupportEfl.h

    r162930 r163427  
    8181    static void setCSSGridLayoutEnabled(const Evas_Object* ewkView, bool enabled);
    8282    static void setCSSRegionsEnabled(const Evas_Object* ewkView, bool enabled);
    83     static void setSeamlessIFramesEnabled(bool);
    8483    static void setWebAudioEnabled(Evas_Object* ewkView, bool);
    8584
  • trunk/Source/WebKit/efl/ewk/ewk_view.cpp

    r163079 r163427  
    735735    pageSettings.setHyperlinkAuditingEnabled(false);
    736736    WebCore::RuntimeEnabledFeatures::sharedFeatures().setCSSRegionsEnabled(true);
    737 #if ENABLE(IFRAME_SEAMLESS)
    738     WebCore::RuntimeEnabledFeatures::sharedFeatures().setSeamlessIFramesEnabled(true);
    739 #endif
    740737    pageSettings.setScriptEnabled(true);
    741738    pageSettings.setPluginsEnabled(true);
  • trunk/Source/WebKit/gtk/ChangeLog

    r163236 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
     9        * WebCoreSupport/DumpRenderTreeSupportGtk.h:
     10
    1112014-01-31  Zan Dobersek  <zdobersek@igalia.com>
    212
  • trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.cpp

    r163232 r163427  
    587587}
    588588
    589 void DumpRenderTreeSupportGtk::setSeamlessIFramesEnabled(bool enabled)
    590 {
    591 #if ENABLE(IFRAME_SEAMLESS)
    592     RuntimeEnabledFeatures::sharedFeatures().setSeamlessIFramesEnabled(enabled);
    593 #endif
    594 }
    595 
    596589void DumpRenderTreeSupportGtk::setShadowDOMEnabled(bool enabled)
    597590{
  • trunk/Source/WebKit/gtk/WebCoreSupport/DumpRenderTreeSupportGtk.h

    r162644 r163427  
    106106    static void setCSSRegionsEnabled(WebKitWebView*, bool enabled);
    107107    static void setExperimentalContentSecurityPolicyFeaturesEnabled(bool);
    108     static void setSeamlessIFramesEnabled(bool);
    109108    static void setShadowDOMEnabled(bool);
    110109
  • trunk/Source/WebKit/mac/ChangeLog

    r163333 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * Configurations/FeatureDefines.xcconfig:
     9        * WebView/WebPreferenceKeysPrivate.h:
     10        * WebView/WebPreferences.mm:
     11        * WebView/WebPreferencesPrivate.h:
     12        * WebView/WebView.mm:
     13        (-[WebView _preferencesChanged:]):
     14
    1152014-02-03  Dean Jackson  <dino@apple.com>
    216
  • trunk/Source/WebKit/mac/Configurations/FeatureDefines.xcconfig

    r163333 r163427  
    9191ENABLE_ICONDATABASE = $(ENABLE_ICONDATABASE_$(PLATFORM_NAME));
    9292ENABLE_ICONDATABASE_macosx = ENABLE_ICONDATABASE;
    93 ENABLE_IFRAME_SEAMLESS = ENABLE_IFRAME_SEAMLESS;
    9493ENABLE_INDEXED_DATABASE = ENABLE_INDEXED_DATABASE;
    9594ENABLE_INDIE_UI = ENABLE_INDIE_UI;
     
    197196ENABLE_LLINT_C_LOOP = ;
    198197
    199 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_IFRAME_SEAMLESS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHADOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));
     198FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHADOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));
  • trunk/Source/WebKit/mac/WebView/WebPreferenceKeysPrivate.h

    r162881 r163427  
    124124#define WebKitMediaPlaybackAllowsInlinePreferenceKey @"WebKitMediaPlaybackAllowsInline"
    125125#define WebKitMockScrollbarsEnabledPreferenceKey @"WebKitMockScrollbarsEnabled"
    126 #define WebKitSeamlessIFramesEnabledPreferenceKey @"WebKitSeamlessIFramesEnabled"
    127126#define WebKitShouldDisplaySubtitlesPreferenceKey @"WebKitShouldDisplaySubtitles"
    128127#define WebKitShouldDisplayCaptionsPreferenceKey @"WebKitShouldDisplayCaptions"
  • trunk/Source/WebKit/mac/WebView/WebPreferences.mm

    r162824 r163427  
    22642264}
    22652265
    2266 - (BOOL)seamlessIFramesEnabled
    2267 {
    2268     return [self _boolValueForKey:WebKitSeamlessIFramesEnabledPreferenceKey];
    2269 }
    2270 
    2271 - (void)setSeamlessIFramesEnabled:(BOOL)flag
    2272 {
    2273     [self _setBoolValue:flag forKey:WebKitSeamlessIFramesEnabledPreferenceKey];
    2274 }
    2275 
    22762266- (NSString *)pictographFontFamily
    22772267{
  • trunk/Source/WebKit/mac/WebView/WebPreferencesPrivate.h

    r162644 r163427  
    287287- (BOOL)mediaPlaybackAllowsAirPlay;
    288288#endif
    289 
    290 // This is a global setting.
    291 - (BOOL)seamlessIFramesEnabled;
    292 - (void)setSeamlessIFramesEnabled:(BOOL)enabled;
    293289
    294290// Other private methods
  • trunk/Source/WebKit/mac/WebView/WebView.mm

    r163232 r163427  
    23242324    settings.setWebAudioEnabled([preferences webAudioEnabled]);
    23252325#endif
    2326 #if ENABLE(IFRAME_SEAMLESS)
    2327     RuntimeEnabledFeatures::sharedFeatures().setSeamlessIFramesEnabled([preferences seamlessIFramesEnabled]);
    2328 #endif
    23292326    settings.setCSSGridLayoutEnabled([preferences cssGridLayoutEnabled]);
    23302327#if ENABLE(FULLSCREEN_API)
  • trunk/Source/WebKit/win/AccessibleBase.cpp

    r159026 r163427  
    905905        case WebCore::DisclosureTriangleRole:
    906906            return ROLE_SYSTEM_BUTTONDROPDOWN;
    907         case WebCore::SeamlessWebAreaRole:
    908             return ROLE_SYSTEM_GROUPING;
    909907        case WebCore::IncrementorRole:
    910908        case WebCore::SpinButtonRole:
  • trunk/Source/WebKit/win/ChangeLog

    r163312 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * WebPreferences.h:
     9        * WebView.cpp:
     10        (WebView::notifyPreferencesChanged):
     11
    1122014-02-03  Darin Adler  <darin@apple.com>
    213
  • trunk/Source/WebKit/win/Interfaces/IWebPreferences.idl

    r139237 r163427  
    212212    HRESULT setCSSRegionsEnabled([in] BOOL enabled);
    213213
    214     HRESULT areSeamlessIFramesEnabled([out, retval] BOOL* enabled);
    215     HRESULT setSeamlessIFramesEnabled([in] BOOL enabled);
     214    HRESULT unused7();
     215    HRESULT unused8();
    216216}
  • trunk/Source/WebKit/win/WebPreferenceKeysPrivate.h

    r151491 r163427  
    114114#define AllowContinuousSpellCheckingPreferenceKey "AllowContinuousSpellCheckingPreferenceKey" // default: true
    115115
    116 #define SeamlessIFramesPreferenceKey "SeamlessIFramesPreferenceKey" // default: false
    117 
    118116#define WebKitDOMPasteAllowedPreferenceKey "WebKitDOMPasteAllowedPreferenceKey" // default: false
    119117
  • trunk/Source/WebKit/win/WebPreferences.cpp

    r163079 r163427  
    13231323}
    13241324
    1325 HRESULT WebPreferences::areSeamlessIFramesEnabled(BOOL* enabled)
    1326 {
    1327     *enabled = boolValueForKey(SeamlessIFramesPreferenceKey);
    1328     return S_OK;
    1329 }
    1330 
    1331 HRESULT WebPreferences::setSeamlessIFramesEnabled(BOOL enabled)
    1332 {
    1333     setBoolValue(SeamlessIFramesPreferenceKey, enabled);
    1334     return S_OK;
     1325HRESULT WebPreferences::unused7()
     1326{
     1327    ASSERT_NOT_REACHED();
     1328    return E_FAIL;
     1329}
     1330
     1331HRESULT WebPreferences::unused8()
     1332{
     1333    ASSERT_NOT_REACHED();
     1334    return E_FAIL;
    13351335}
    13361336
  • trunk/Source/WebKit/win/WebPreferences.h

    r158434 r163427  
    170170        /* [in] */ BOOL);
    171171   
    172     virtual HRESULT STDMETHODCALLTYPE areSeamlessIFramesEnabled(
    173         /* [retval][out] */ BOOL* enabled);
    174    
    175     virtual HRESULT STDMETHODCALLTYPE setSeamlessIFramesEnabled(
    176         /* [in] */ BOOL);
     172    virtual HRESULT STDMETHODCALLTYPE unused7();
     173    virtual HRESULT STDMETHODCALLTYPE unused8();
    177174   
    178175    virtual HRESULT STDMETHODCALLTYPE allowsAnimatedImages(
  • trunk/Source/WebKit/win/WebView.cpp

    r163275 r163427  
    47744774    RuntimeEnabledFeatures::sharedFeatures().setCSSRegionsEnabled(!!enabled);
    47754775
    4776     hr = preferences->areSeamlessIFramesEnabled(&enabled);
    4777     if (FAILED(hr))
    4778         return hr;
    4779     RuntimeEnabledFeatures::sharedFeatures().setSeamlessIFramesEnabled(!!enabled);
    4780 
    47814776    hr = preferences->privateBrowsingEnabled(&enabled);
    47824777    if (FAILED(hr))
  • trunk/Source/WebKit2/ChangeLog

    r163425 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * Configurations/FeatureDefines.xcconfig:
     9        * WebProcess/InjectedBundle/API/c/WKBundle.cpp:
     10        * WebProcess/InjectedBundle/API/c/WKBundlePrivate.h:
     11        * WebProcess/InjectedBundle/InjectedBundle.cpp:
     12        * WebProcess/InjectedBundle/InjectedBundle.h:
     13
    1142014-02-04  Tim Horton  <timothy_horton@apple.com>
    215
  • trunk/Source/WebKit2/Configurations/FeatureDefines.xcconfig

    r163333 r163427  
    9191ENABLE_ICONDATABASE = $(ENABLE_ICONDATABASE_$(PLATFORM_NAME));
    9292ENABLE_ICONDATABASE_macosx = ENABLE_ICONDATABASE;
    93 ENABLE_IFRAME_SEAMLESS = ENABLE_IFRAME_SEAMLESS;
    9493ENABLE_INDEXED_DATABASE = ENABLE_INDEXED_DATABASE;
    9594ENABLE_INDIE_UI = ENABLE_INDIE_UI;
     
    197196ENABLE_LLINT_C_LOOP = ;
    198197
    199 FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_IFRAME_SEAMLESS) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHADOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));
     198FEATURE_DEFINES = $(ENABLE_3D_RENDERING) $(ENABLE_ACCELERATED_2D_CANVAS) $(ENABLE_ACCELERATED_OVERFLOW_SCROLLING) $(ENABLE_BLOB) $(ENABLE_CACHE_PARTITIONING) $(ENABLE_CANVAS_PATH) $(ENABLE_CANVAS_PROXY) $(ENABLE_CHANNEL_MESSAGING) $(ENABLE_CSP_NEXT) $(ENABLE_CSS_BOX_DECORATION_BREAK) $(ENABLE_CSS_COMPOSITING) $(ENABLE_CSS_DEVICE_ADAPTATION) $(ENABLE_CSS_EXCLUSIONS) $(ENABLE_CSS_FILTERS) $(ENABLE_CSS_IMAGE_ORIENTATION) $(ENABLE_CSS_IMAGE_RESOLUTION) $(ENABLE_CSS_REGIONS) $(ENABLE_CSS_SHAPES) $(ENABLE_CSS_SHAPE_INSIDE) $(ENABLE_CSS_STICKY_POSITION) $(ENABLE_CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED) $(ENABLE_CSS3_CONDITIONAL_RULES) $(ENABLE_CSS3_TEXT) $(ENABLE_CSS3_TEXT_LINE_BREAK) $(ENABLE_CURSOR_VISIBILITY) $(ENABLE_CUSTOM_SCHEME_HANDLER) $(ENABLE_DASHBOARD_SUPPORT) $(ENABLE_DATALIST_ELEMENT) $(ENABLE_DATA_TRANSFER_ITEMS) $(ENABLE_DETAILS_ELEMENT) $(ENABLE_DEVICE_ORIENTATION) $(ENABLE_DIRECTORY_UPLOAD) $(ENABLE_DOM4_EVENTS_CONSTRUCTOR) $(ENABLE_ENCRYPTED_MEDIA) $(ENABLE_ENCRYPTED_MEDIA_V2) $(ENABLE_FILTERS) $(ENABLE_FONT_LOAD_EVENTS) $(ENABLE_FULLSCREEN_API) $(ENABLE_GAMEPAD) $(ENABLE_GEOLOCATION) $(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING) $(ENABLE_HIGH_DPI_CANVAS) $(ENABLE_ICONDATABASE) $(ENABLE_INDEXED_DATABASE) $(ENABLE_INDIE_UI) $(ENABLE_INPUT_SPEECH) $(ENABLE_INPUT_TYPE_COLOR) $(ENABLE_INPUT_TYPE_COLOR_POPOVER) $(ENABLE_INPUT_TYPE_DATE) $(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE) $(ENABLE_INPUT_TYPE_DATETIMELOCAL) $(ENABLE_INPUT_TYPE_MONTH) $(ENABLE_INPUT_TYPE_TIME) $(ENABLE_INPUT_TYPE_WEEK) $(ENABLE_INSPECTOR) $(ENABLE_IOS_AIRPLAY) $(ENABLE_IOS_TEXT_AUTOSIZING) $(ENABLE_LEGACY_CSS_VENDOR_PREFIXES) $(ENABLE_LEGACY_NOTIFICATIONS) $(ENABLE_LEGACY_VENDOR_PREFIXES) $(ENABLE_LEGACY_WEB_AUDIO) $(ENABLE_LETTERPRESS) $(ENABLE_LINK_PREFETCH) $(ENABLE_MATHML) $(ENABLE_MEDIA_CONTROLS_SCRIPT) $(ENABLE_MEDIA_SOURCE) $(ENABLE_MEDIA_STATISTICS) $(ENABLE_METER_ELEMENT) $(ENABLE_MHTML) $(ENABLE_MOUSE_CURSOR_SCALE) $(ENABLE_NAVIGATOR_CONTENT_UTILS) $(ENABLE_NOTIFICATIONS) $(ENABLE_PAGE_VISIBILITY_API) $(ENABLE_PDFKIT_PLUGIN) $(ENABLE_PLUGIN_PROXY_FOR_VIDEO) $(ENABLE_PROGRESS_ELEMENT) $(ENABLE_PROMISES) $(ENABLE_PROXIMITY_EVENTS) $(ENABLE_PUBLIC_SUFFIX_LIST) $(ENABLE_QUOTA) $(ENABLE_REQUEST_ANIMATION_FRAME) $(ENABLE_REMOTE_INSPECTOR) $(ENABLE_RESOLUTION_MEDIA_QUERY) $(ENABLE_SCRIPTED_SPEECH) $(ENABLE_SHADOW_DOM) $(ENABLE_SHARED_WORKERS) $(ENABLE_SPEECH_SYNTHESIS) $(ENABLE_SQL_DATABASE) $(ENABLE_SUBPIXEL_LAYOUT) $(ENABLE_SUBTLE_CRYPTO) $(ENABLE_SVG) $(ENABLE_SVG_FONTS) $(ENABLE_TEMPLATE_ELEMENT) $(ENABLE_TEXT_AUTOSIZING) $(ENABLE_TOUCH_EVENTS) $(ENABLE_TOUCH_ICON_LOADING) $(ENABLE_USERSELECT_ALL) $(ENABLE_VIDEO) $(ENABLE_VIDEO_TRACK) $(ENABLE_VIEW_MODE_CSS_MEDIA) $(ENABLE_WEBGL) $(ENABLE_WEB_ANIMATIONS) $(ENABLE_WEB_AUDIO) $(ENABLE_WEB_REPLAY) $(ENABLE_WEB_SOCKETS) $(ENABLE_WEB_TIMING) $(ENABLE_WORKERS) $(ENABLE_XHR_TIMEOUT) $(ENABLE_XSLT) $(ENABLE_FTL_JIT) $(ENABLE_LLINT_C_LOOP) $(FEATURE_DEFINES_$(PLATFORM_NAME));
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundle.cpp

    r160653 r163427  
    330330}
    331331
    332 void WKBundleSetSeamlessIFramesEnabled(WKBundleRef bundleRef, bool enabled)
    333 {
    334     toImpl(bundleRef)->setSeamlessIFramesEnabled(enabled);
    335 }
    336 
    337332void WKBundleDispatchPendingLoadRequests(WKBundleRef bundleRef)
    338333{
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/API/c/WKBundlePrivate.h

    r159788 r163427  
    105105WK_EXPORT void WKBundleSetSerialLoadingEnabled(WKBundleRef bundle, bool enabled);
    106106WK_EXPORT void WKBundleSetShadowDOMEnabled(WKBundleRef bundle, bool enabled);
    107 WK_EXPORT void WKBundleSetSeamlessIFramesEnabled(WKBundleRef bundle, bool enabled);
    108107WK_EXPORT void WKBundleDispatchPendingLoadRequests(WKBundleRef bundle);
    109108
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.cpp

    r162644 r163427  
    7171#include <WebCore/UserGestureIndicator.h>
    7272
    73 #if ENABLE(SHADOW_DOM) || ENABLE(CSS_REGIONS) || ENABLE(IFRAME_SEAMLESS) || ENABLE(CSS_COMPOSITING)
     73#if ENABLE(SHADOW_DOM) || ENABLE(CSS_REGIONS) || ENABLE(CSS_COMPOSITING)
    7474#include <WebCore/RuntimeEnabledFeatures.h>
    7575#endif
     
    654654}
    655655
    656 void InjectedBundle::setSeamlessIFramesEnabled(bool enabled)
    657 {
    658 #if ENABLE(IFRAME_SEAMLESS)
    659     RuntimeEnabledFeatures::sharedFeatures().setSeamlessIFramesEnabled(enabled);
    660 #else
    661     UNUSED_PARAM(enabled);
    662 #endif
    663 }
    664 
    665656void InjectedBundle::dispatchPendingLoadRequests()
    666657{
  • trunk/Source/WebKit2/WebProcess/InjectedBundle/InjectedBundle.h

    r160653 r163427  
    168168    void setCSSRegionsEnabled(bool);
    169169    void setCSSCompositingEnabled(bool);
    170     void setSeamlessIFramesEnabled(bool);
    171170    void dispatchPendingLoadRequests();
    172171
  • trunk/Source/autotools/SetupWebKitFeatures.m4

    r163072 r163427  
    122122    ENABLE_HIGH_DPI_CANVAS=0 \
    123123    ENABLE_ICONDATABASE=1 \
    124     ENABLE_IFRAME_SEAMLESS=1 \
    125124    ENABLE_INDEXED_DATABASE=0 \
    126125    ENABLE_INPUT_SPEECH=0 \
  • trunk/Source/cmake/WebKitFeatures.cmake

    r163238 r163427  
    5858    WEBKIT_OPTION_DEFINE(ENABLE_HIGH_DPI_CANVAS "Toggle high-DPI canvas backing store support" OFF)
    5959    WEBKIT_OPTION_DEFINE(ENABLE_ICONDATABASE "Toggle Icon database support" ON)
    60     WEBKIT_OPTION_DEFINE(ENABLE_IFRAME_SEAMLESS "Toggle iframe seamless attribute support" ON)
    6160    WEBKIT_OPTION_DEFINE(ENABLE_IMAGE_DECODER_DOWN_SAMPLING "Toggle image decoder down sampling support" OFF)
    6261    WEBKIT_OPTION_DEFINE(ENABLE_INDEXED_DATABASE "Toggle Indexed Database API support" OFF)
  • trunk/Source/cmakeconfig.h.cmake

    r163238 r163427  
    4949#cmakedefine01 ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING
    5050#cmakedefine01 ENABLE_ICONDATABASE
    51 #cmakedefine01 ENABLE_IFRAME_SEAMLESS
    5251#cmakedefine01 ENABLE_IMAGE_DECODER_DOWN_SAMPLING
    5352#cmakedefine01 ENABLE_INDEXED_DATABASE
  • trunk/Tools/ChangeLog

    r163423 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * DumpRenderTree/efl/DumpRenderTreeChrome.cpp:
     9        (DumpRenderTreeChrome::resetDefaultsToConsistentValues):
     10        * DumpRenderTree/gtk/DumpRenderTree.cpp:
     11        (resetDefaultsToConsistentValues):
     12        * DumpRenderTree/mac/DumpRenderTree.mm:
     13        (resetWebPreferencesToConsistentValues):
     14        * DumpRenderTree/win/DumpRenderTree.cpp:
     15        (resetDefaultsToConsistentValues):
     16        * Scripts/webkitperl/FeatureList.pm:
     17        * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp:
     18        (WTR::InjectedBundle::beginTesting):
     19
    1202014-02-04  Filip Pizlo  <fpizlo@apple.com>
    221
  • trunk/Tools/DumpRenderTree/efl/DumpRenderTreeChrome.cpp

    r162538 r163427  
    333333    DumpRenderTreeSupportEfl::setShouldTrackVisitedLinks(false);
    334334    DumpRenderTreeSupportEfl::setTracksRepaints(mainFrame(), false);
    335     DumpRenderTreeSupportEfl::setSeamlessIFramesEnabled(true);
    336335    DumpRenderTreeSupportEfl::setWebAudioEnabled(mainView(), false);
    337336
  • trunk/Tools/DumpRenderTree/gtk/DumpRenderTree.cpp

    r162823 r163427  
    547547    DumpRenderTreeSupportGtk::setCSSRegionsEnabled(webView, true);
    548548    DumpRenderTreeSupportGtk::setExperimentalContentSecurityPolicyFeaturesEnabled(true);
    549     DumpRenderTreeSupportGtk::setSeamlessIFramesEnabled(true);
    550549    DumpRenderTreeSupportGtk::setShadowDOMEnabled(true);
    551550
  • trunk/Tools/DumpRenderTree/mac/DumpRenderTree.mm

    r162898 r163427  
    868868    [preferences setAsynchronousSpellCheckingEnabled:NO];
    869869    [preferences setMockScrollbarsEnabled:YES];
    870     [preferences setSeamlessIFramesEnabled:YES];
    871870
    872871#if ENABLE(WEB_AUDIO)
  • trunk/Tools/DumpRenderTree/win/DumpRenderTree.cpp

    r158302 r163427  
    873873    preferences->setCacheModel(WebCacheModelDocumentBrowser);
    874874    preferences->setLoadsImagesAutomatically(TRUE);
    875     preferences->setSeamlessIFramesEnabled(TRUE);
    876875    preferences->setTextAreasAreResizable(TRUE);
    877876
  • trunk/Tools/Scripts/webkitperl/FeatureList.pm

    r163333 r163427  
    8585    $highDPICanvasSupport,
    8686    $icondatabaseSupport,
    87     $iframeSeamlessSupport,
    8887    $indexedDatabaseSupport,
    8988    $inputSpeechSupport,
     
    283282      define => "ENABLE_ICONDATABASE", default => !isIOSWebKit(), value => \$icondatabaseSupport },
    284283
    285     { option => "iframe-seamless", desc => "Toggle iframe seamless attribute support",
    286       define => "ENABLE_IFRAME_SEAMLESS", default => 1, value => \$iframeSeamlessSupport },
    287 
    288284    { option => "indexed-database", desc => "Toggle Indexed Database support",
    289285      define => "ENABLE_INDEXED_DATABASE", default => (isGtk() || isEfl()), value => \$indexedDatabaseSupport },
  • trunk/Tools/WebKitTestRunner/InjectedBundle/InjectedBundle.cpp

    r160811 r163427  
    254254    WKBundleSetSerialLoadingEnabled(m_bundle, false);
    255255    WKBundleSetShadowDOMEnabled(m_bundle, true);
    256     WKBundleSetSeamlessIFramesEnabled(m_bundle, true);
    257256    WKBundleSetCacheModel(m_bundle, 1 /*CacheModelDocumentBrowser*/);
    258257
  • trunk/WebKitLibraries/ChangeLog

    r163072 r163427  
     12014-02-04  Andreas Kling  <akling@apple.com>
     2
     3        Remove <iframe seamless> support.
     4        <https://webkit.org/b/128213>
     5
     6        Rubber-stamped by Antti Koivisto.
     7
     8        * win/tools/vsprops/FeatureDefines.props:
     9
    1102014-01-29  Csaba Osztrogonác  <ossy@webkit.org>
    211
  • trunk/WebKitLibraries/win/tools/vsprops/FeatureDefines.props

    r163072 r163427  
    3737    <ENABLE_HIGH_DPI_CANVAS>ENABLE_HIGH_DPI_CANVAS</ENABLE_HIGH_DPI_CANVAS>
    3838    <ENABLE_ICONDATABASE>ENABLE_ICONDATABASE</ENABLE_ICONDATABASE>
    39     <ENABLE_IFRAME_SEAMLESS>ENABLE_IFRAME_SEAMLESS</ENABLE_IFRAME_SEAMLESS>
    4039    <ENABLE_INDEXED_DATABASE />
    4140    <ENABLE_INPUT_SPEECH />
     
    9190  <ItemDefinitionGroup>
    9291    <ClCompile>
    93 <PreprocessorDefinitions>$(ENABLE_IFRAME_SEAMLESS);$(ENABLE_PROMISES);$(ENABLE_REQUEST_ANIMATION_FRAME);$(ENABLE_3D_RENDERING);$(ENABLE_ACCELERATED_2D_CANVAS);$(ENABLE_ACCELERATED_OVERFLOW_SCROLLING);$(ENABLE_BLOB);$(ENABLE_CANVAS_PROXY);$(ENABLE_CHANNEL_MESSAGING);$(ENABLE_CSS3_CONDITIONAL_RULES);$(ENABLE_CSS_IMAGE_SET);$(ENABLE_CSS3_TEXT);$(ENABLE_CSS_BOX_DECORATION_BREAK);$(ENABLE_CSS_FILTERS);$(ENABLE_CSS_GRID_LAYOUT);$(ENABLE_CSS_SHADERS);$(ENABLE_CSS_COMPOSITING);$(ENABLE_CSS_REGIONS);$(ENABLE_CSS_EXCLUSIONS);$(ENABLE_CSS_SHAPES);$(ENABLE_CSS_STICKY_POSITION);$(ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED);$(ENABLE_CUSTOM_SCHEME_HANDLER);$(ENABLE_SQL_DATABASE);$(ENABLE_DATAGRID);$(ENABLE_DATALIST_ELEMENT);$(ENABLE_DATA_TRANSFER_ITEMS);$(ENABLE_DETAILS_ELEMENT);$(ENABLE_DEVICE_ORIENTATION);$(ENABLE_DIRECTORY_UPLOAD);$(ENABLE_FILTERS);$(ENABLE_FILE_SYSTEM);$(ENABLE_FULLSCREEN_API);$(ENABLE_GAMEPAD);$(ENABLE_GEOLOCATION);$(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING);$(ENABLE_HIGH_DPI_CANVAS);$(ENABLE_ICONDATABASE);$(ENABLE_INDEXED_DATABASE);$(ENABLE_INPUT_TYPE_COLOR);$(ENABLE_INPUT_SPEECH);$(ENABLE_INPUT_TYPE_DATE);$(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE);$(ENABLE_INPUT_TYPE_DATETIMELOCAL);$(ENABLE_INPUT_TYPE_MONTH);$(ENABLE_INPUT_TYPE_TIME);$(ENABLE_INPUT_TYPE_WEEK);$(ENABLE_LEGACY_CSS_VENDOR_PREFIXES);$(ENABLE_LEGACY_NOTIFICATIONS);$(ENABLE_LINK_PREFETCH);$(ENABLE_LINK_PRERENDER);$(ENABLE_MATHML);$(ENABLE_METER_ELEMENT);$(ENABLE_MICRODATA);$(ENABLE_NOTIFICATIONS);$(ENABLE_PAGE_VISIBILITY_API);$(ENABLE_PROGRESS_ELEMENT);$(ENABLE_PROXIMITY_EVENTS);$(ENABLE_QUOTA);$(ENABLE_NAVIGATOR_CONTENT_UTILS);$(ENABLE_SCRIPTED_SPEECH);$(ENABLE_SHADOW_DOM);$(ENABLE_SHARED_WORKERS);$(ENABLE_STYLE_SCOPED);$(ENABLE_SVG);$(ENABLE_SVG_DOM_OBJC_BINDINGS);$(ENABLE_SVG_FONTS);$(ENABLE_SUBPIXEL_LAYOUT);$(ENABLE_TEMPLATE_ELEMENT);$(ENABLE_TEXT_AUTOSIZING);$(ENABLE_VIDEO);$(ENABLE_VIDEO_TRACK);$(ENABLE_VIEW_MODE_CSS_MEDIA);$(ENABLE_MEDIA_CONTROLS_SCRIPT);$(ENABLE_MEDIA_SOURCE);$(ENABLE_MEDIA_STATISTICS);$(ENABLE_WEB_SOCKETS);$(ENABLE_WEB_TIMING);$(ENABLE_XSLT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
     92<PreprocessorDefinitions>$(ENABLE_PROMISES);$(ENABLE_REQUEST_ANIMATION_FRAME);$(ENABLE_3D_RENDERING);$(ENABLE_ACCELERATED_2D_CANVAS);$(ENABLE_ACCELERATED_OVERFLOW_SCROLLING);$(ENABLE_BLOB);$(ENABLE_CANVAS_PROXY);$(ENABLE_CHANNEL_MESSAGING);$(ENABLE_CSS3_CONDITIONAL_RULES);$(ENABLE_CSS_IMAGE_SET);$(ENABLE_CSS3_TEXT);$(ENABLE_CSS_BOX_DECORATION_BREAK);$(ENABLE_CSS_FILTERS);$(ENABLE_CSS_GRID_LAYOUT);$(ENABLE_CSS_SHADERS);$(ENABLE_CSS_COMPOSITING);$(ENABLE_CSS_REGIONS);$(ENABLE_CSS_EXCLUSIONS);$(ENABLE_CSS_SHAPES);$(ENABLE_CSS_STICKY_POSITION);$(ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED);$(ENABLE_CUSTOM_SCHEME_HANDLER);$(ENABLE_SQL_DATABASE);$(ENABLE_DATAGRID);$(ENABLE_DATALIST_ELEMENT);$(ENABLE_DATA_TRANSFER_ITEMS);$(ENABLE_DETAILS_ELEMENT);$(ENABLE_DEVICE_ORIENTATION);$(ENABLE_DIRECTORY_UPLOAD);$(ENABLE_FILTERS);$(ENABLE_FILE_SYSTEM);$(ENABLE_FULLSCREEN_API);$(ENABLE_GAMEPAD);$(ENABLE_GEOLOCATION);$(ENABLE_HIDDEN_PAGE_DOM_TIMER_THROTTLING);$(ENABLE_HIGH_DPI_CANVAS);$(ENABLE_ICONDATABASE);$(ENABLE_INDEXED_DATABASE);$(ENABLE_INPUT_TYPE_COLOR);$(ENABLE_INPUT_SPEECH);$(ENABLE_INPUT_TYPE_DATE);$(ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE);$(ENABLE_INPUT_TYPE_DATETIMELOCAL);$(ENABLE_INPUT_TYPE_MONTH);$(ENABLE_INPUT_TYPE_TIME);$(ENABLE_INPUT_TYPE_WEEK);$(ENABLE_LEGACY_CSS_VENDOR_PREFIXES);$(ENABLE_LEGACY_NOTIFICATIONS);$(ENABLE_LINK_PREFETCH);$(ENABLE_LINK_PRERENDER);$(ENABLE_MATHML);$(ENABLE_METER_ELEMENT);$(ENABLE_MICRODATA);$(ENABLE_NOTIFICATIONS);$(ENABLE_PAGE_VISIBILITY_API);$(ENABLE_PROGRESS_ELEMENT);$(ENABLE_PROXIMITY_EVENTS);$(ENABLE_QUOTA);$(ENABLE_NAVIGATOR_CONTENT_UTILS);$(ENABLE_SCRIPTED_SPEECH);$(ENABLE_SHADOW_DOM);$(ENABLE_SHARED_WORKERS);$(ENABLE_STYLE_SCOPED);$(ENABLE_SVG);$(ENABLE_SVG_DOM_OBJC_BINDINGS);$(ENABLE_SVG_FONTS);$(ENABLE_SUBPIXEL_LAYOUT);$(ENABLE_TEMPLATE_ELEMENT);$(ENABLE_TEXT_AUTOSIZING);$(ENABLE_VIDEO);$(ENABLE_VIDEO_TRACK);$(ENABLE_VIEW_MODE_CSS_MEDIA);$(ENABLE_MEDIA_CONTROLS_SCRIPT);$(ENABLE_MEDIA_SOURCE);$(ENABLE_MEDIA_STATISTICS);$(ENABLE_WEB_SOCKETS);$(ENABLE_WEB_TIMING);$(ENABLE_XSLT);%(PreprocessorDefinitions)</PreprocessorDefinitions>
    9493    </ClCompile>
    9594  </ItemDefinitionGroup>
     
    235234      <EnvironmentVariable>true</EnvironmentVariable>
    236235    </BuildMacro>
    237     <BuildMacro Include="ENABLE_IFRAME_SEAMLESS">
    238       <Value>$(ENABLE_IFRAME_SEAMLESS)</Value>
    239       <EnvironmentVariable>true</EnvironmentVariable>
    240     </BuildMacro>
    241236    <BuildMacro Include="ENABLE_INDEXED_DATABASE">
    242237      <Value>$(ENABLE_INDEXED_DATABASE)</Value>
Note: See TracChangeset for help on using the changeset viewer.