1. 07 Apr, 2013 1 commit
    • ddkilzer@apple.com's avatar
      Remove the rest of SVG_DOM_OBJC_BINDINGS · 0cd46787
      ddkilzer@apple.com authored
      <http://webkit.org/b/114112>
      
      Reviewed by Geoffrey Garen.
      
      .:
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      - Remove references to ENABLE_SVG_DOM_OBJC_BINDINGS.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Source/WebCore:
      
      * Configurations/WebCore.xcconfig:
      - Remove EXCLUDED_SOURCE_FILE_NAMES_SVG_DOM_OBJC_BINDINGS.  Note
        that DOMHTMLIFrameElementPrivate.h should not have been in
        this list because the class contained methods other than just
        -getSVGDocument.
      
      * WebCore.xcodeproj/project.pbxproj:
      - Remove DOMHTMLFrameElementPrivate.h since the only method it
        contained was -[DOMHTMLFrameElement getSVGDocument], which was
        part of the SVG DOM Objective-C bindings.
      
      * bindings/objc/DOM.mm:
      (kitClass):
      * bindings/objc/DOMEvents.mm:
      (kitClass):
      * bindings/objc/ExceptionHandlers.mm:
      (WebCore::raiseDOMException):
      - Remove code in ENABLE(SVG_DOM_OBJC_BINDINGS).
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      - Remove reference to SVG_DOM_OBJC_BINDINGS.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      - Remove ENABLE_SVG_DOM_OBJC_BINDINGS macro.
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      - Remove --svg-dom-objc-bindings switch.
      * qmake/mkspecs/features/features.pri:
      - Remove reference to ENABLE_SVG_DOM_OBJC_BINDINGS.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147878 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0cd46787
  2. 25 Mar, 2013 1 commit
    • tkent@chromium.org's avatar
      Rename ENABLE_INPUT_TYPE_DATETIME · 866ba1bd
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113254
      
      Reviewed by Kentaro Hara.
      
      Rename ENABLE_INPUT_TYPE_DATETIME to ENABLE_INPUT_TYPE_DATETIME_INCOMPLETE.
      Actually I'd like to remove the code, but we shouldn't remove it yet
      because we shipped products with it on some platforms.
      
      .:
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      * bindings/generic/RuntimeEnabledFeatures.cpp:
      (WebCore):
      * bindings/generic/RuntimeEnabledFeatures.h:
      (RuntimeEnabledFeatures):
      * css/html.css:
      * html/DateTimeInputType.cpp:
      * html/DateTimeInputType.h:
      * html/InputType.cpp:
      (WebCore::createInputTypeFactoryMap):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/chromium:
      
      * src/WebRuntimeFeatures.cpp:
      (WebKit::WebRuntimeFeatures::enableInputTypeDateTime):
      (WebKit::WebRuntimeFeatures::isInputTypeDateTimeEnabled):
      * tests/WebViewTest.cpp:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.props:
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.props:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      * platform/chromium/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146847 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      866ba1bd
  3. 13 Mar, 2013 1 commit
  4. 08 Mar, 2013 1 commit
    • benjamin@webkit.org's avatar
      [Mac] Add a feature flag for 'view-mode' Media Feature, disable it on Mac · cc507c8c
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111297
      
      Reviewed by Kenneth Rohde Christiansen.
      
      Source/WebCore: 
      
      The 'view-mode' Media Feature spec is implemented in WebCore but
      there is no WebKit support for it on Mac.
      Because of this, we always lie and report a windowed view mode.
      
      This patch add a feature flag for the feature and disable it on
      Mac so that we stop reporting incorrect default values.
      
      * WebCore.exp.in:
      * css/CSSValueKeywords.in:
      * css/MediaFeatureNames.h:
      (MediaFeatureNames):
      * css/MediaQueryEvaluator.cpp:
      * css/MediaQueryExp.cpp:
      (WebCore::featureWithCSSValueID):
      (WebCore::featureWithoutValue):
      * page/Page.cpp:
      (WebCore::Page::Page):
      * page/Page.h:
      (Page):
      
      Source/WebKit2: 
      
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      * WebProcess/InjectedBundle/API/c/WKBundlePagePrivate.h:
      * WebProcess/WebPage/WebPage.cpp:
      * WebProcess/WebPage/WebPage.h:
      
      Source/WTF: 
      
      * wtf/FeatureDefines.h: Add a new feature flag for the view-mode
      CSS media: ENABLE_VIEW_MODE_CSS_MEDIA.
      
      Tools: 
      
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::setViewModeMediaFeature):
      
      LayoutTests: 
      
      * platform/mac/TestExpectations:
      Mark the view-mode tests as failing to track any regression
      or crash in this area.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145255 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc507c8c
  5. 04 Mar, 2013 1 commit
    • commit-queue@webkit.org's avatar
      Add build flag for FontLoader · 375fe100
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111289
      
      Patch by Kunihiko Sakamoto <ksakamoto@chromium.org> on 2013-03-04
      Reviewed by Benjamin Poulain.
      
      Add ENABLE_FONT_LOAD_EVENTS build flag (disabled by default).
      
      .:
      
      * Source/autotools/SetupWebKitFeatures.m4:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WTF:
      
      * wtf/FeatureDefines.h:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144614 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      375fe100
  6. 01 Mar, 2013 2 commits
  7. 28 Feb, 2013 1 commit
  8. 27 Feb, 2013 1 commit
    • glenn@skynav.com's avatar
      Add ENABLE_CSS3_TEXT_LINE_BREAK flag. · 4ec5fea6
      glenn@skynav.com authored
      https://bugs.webkit.org/show_bug.cgi?id=110944
      
      Reviewed by Dean Jackson.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      No new tests.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@144214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4ec5fea6
  9. 19 Feb, 2013 2 commits
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r143319. · bec83db9
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/143319
      https://bugs.webkit.org/show_bug.cgi?id=110214
      
      Causes build issues on win32 (Requested by carewolf on
      #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2013-02-19
      
      Tools:
      
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests:
      
      * platform/qt/mathml/presentation/attributes-expected.png: Removed.
      * platform/qt/mathml/presentation/attributes-expected.txt: Removed.
      * platform/qt/mathml/presentation/fenced-expected.png: Removed.
      * platform/qt/mathml/presentation/fenced-expected.txt: Removed.
      * platform/qt/mathml/presentation/fenced-mi-expected.png: Removed.
      * platform/qt/mathml/presentation/fenced-mi-expected.txt: Removed.
      * platform/qt/mathml/presentation/fractions-expected.png: Removed.
      * platform/qt/mathml/presentation/fractions-expected.txt: Removed.
      * platform/qt/mathml/presentation/fractions-vertical-alignment-expected.png: Removed.
      * platform/qt/mathml/presentation/fractions-vertical-alignment-expected.txt: Removed.
      * platform/qt/mathml/presentation/mo-expected.png: Removed.
      * platform/qt/mathml/presentation/mo-expected.txt: Removed.
      * platform/qt/mathml/presentation/mo-stretch-expected.png: Removed.
      * platform/qt/mathml/presentation/mo-stretch-expected.txt: Removed.
      * platform/qt/mathml/presentation/mroot-pref-width-expected.png: Removed.
      * platform/qt/mathml/presentation/mroot-pref-width-expected.txt: Removed.
      * platform/qt/mathml/presentation/over-expected.png: Removed.
      * platform/qt/mathml/presentation/over-expected.txt: Removed.
      * platform/qt/mathml/presentation/roots-expected.png: Removed.
      * platform/qt/mathml/presentation/roots-expected.txt: Removed.
      * platform/qt/mathml/presentation/row-alignment-expected.png: Removed.
      * platform/qt/mathml/presentation/row-alignment-expected.txt: Removed.
      * platform/qt/mathml/presentation/row-expected.png: Removed.
      * platform/qt/mathml/presentation/row-expected.txt: Removed.
      * platform/qt/mathml/presentation/style-expected.png: Removed.
      * platform/qt/mathml/presentation/style-expected.txt: Removed.
      * platform/qt/mathml/presentation/sub-expected.png: Removed.
      * platform/qt/mathml/presentation/sub-expected.txt: Removed.
      * platform/qt/mathml/presentation/subsup-expected.png: Removed.
      * platform/qt/mathml/presentation/subsup-expected.txt: Removed.
      * platform/qt/mathml/presentation/sup-expected.png: Removed.
      * platform/qt/mathml/presentation/sup-expected.txt: Removed.
      * platform/qt/mathml/presentation/tables-expected.png: Removed.
      * platform/qt/mathml/presentation/tables-expected.txt: Removed.
      * platform/qt/mathml/presentation/tokenElements-expected.png: Removed.
      * platform/qt/mathml/presentation/tokenElements-expected.txt: Removed.
      * platform/qt/mathml/presentation/under-expected.png: Removed.
      * platform/qt/mathml/presentation/under-expected.txt: Removed.
      * platform/qt/mathml/presentation/underover-expected.png: Removed.
      * platform/qt/mathml/presentation/underover-expected.txt: Removed.
      * platform/qt/mathml/xHeight-expected.png: Removed.
      * platform/qt/mathml/xHeight-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143323 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bec83db9
    • allan.jensen@digia.com's avatar
      [Qt] Enable MathML · 523513cc
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=110205
      
      Reviewed by Simon Hausmann.
      
      Tools:
      
          * qmake/mkspecs/features/features.pri:
      
      LayoutTests:
      
          Baselines for the MathML tests.
      
          * platform/qt/mathml/presentation/attributes-expected.png: Added.
          * platform/qt/mathml/presentation/attributes-expected.txt: Added.
          * platform/qt/mathml/presentation/fenced-expected.png: Added.
          * platform/qt/mathml/presentation/fenced-expected.txt: Added.
          * platform/qt/mathml/presentation/fenced-mi-expected.png: Added.
          * platform/qt/mathml/presentation/fenced-mi-expected.txt: Added.
          * platform/qt/mathml/presentation/fractions-expected.png: Added.
          * platform/qt/mathml/presentation/fractions-expected.txt: Added.
          * platform/qt/mathml/presentation/fractions-vertical-alignment-expected.png: Added.
          * platform/qt/mathml/presentation/fractions-vertical-alignment-expected.txt: Added.
          * platform/qt/mathml/presentation/mo-expected.png: Added.
          * platform/qt/mathml/presentation/mo-expected.txt: Added.
          * platform/qt/mathml/presentation/mo-stretch-expected.png: Added.
          * platform/qt/mathml/presentation/mo-stretch-expected.txt: Added.
          * platform/qt/mathml/presentation/mroot-pref-width-expected.png: Added.
          * platform/qt/mathml/presentation/mroot-pref-width-expected.txt: Added.
          * platform/qt/mathml/presentation/over-expected.png: Added.
          * platform/qt/mathml/presentation/over-expected.txt: Added.
          * platform/qt/mathml/presentation/roots-expected.png: Added.
          * platform/qt/mathml/presentation/roots-expected.txt: Added.
          * platform/qt/mathml/presentation/row-alignment-expected.png: Added.
          * platform/qt/mathml/presentation/row-alignment-expected.txt: Added.
          * platform/qt/mathml/presentation/row-expected.png: Added.
          * platform/qt/mathml/presentation/row-expected.txt: Added.
          * platform/qt/mathml/presentation/style-expected.png: Added.
          * platform/qt/mathml/presentation/style-expected.txt: Added.
          * platform/qt/mathml/presentation/sub-expected.png: Added.
          * platform/qt/mathml/presentation/sub-expected.txt: Added.
          * platform/qt/mathml/presentation/subsup-expected.png: Added.
          * platform/qt/mathml/presentation/subsup-expected.txt: Added.
          * platform/qt/mathml/presentation/sup-expected.png: Added.
          * platform/qt/mathml/presentation/sup-expected.txt: Added.
          * platform/qt/mathml/presentation/tables-expected.png: Added.
          * platform/qt/mathml/presentation/tables-expected.txt: Added.
          * platform/qt/mathml/presentation/tokenElements-expected.png: Added.
          * platform/qt/mathml/presentation/tokenElements-expected.txt: Added.
          * platform/qt/mathml/presentation/under-expected.png: Added.
          * platform/qt/mathml/presentation/under-expected.txt: Added.
          * platform/qt/mathml/presentation/underover-expected.png: Added.
          * platform/qt/mathml/presentation/underover-expected.txt: Added.
          * platform/qt/mathml/xHeight-expected.png: Added.
          * platform/qt/mathml/xHeight-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143319 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      523513cc
  10. 06 Feb, 2013 1 commit
    • mkwst@chromium.org's avatar
      Add an ENABLE_NOSNIFF feature flag. · ebd3858c
      mkwst@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=109029
      
      Reviewed by Jochen Eisinger.
      
      This new flag will control the behavior of 'X-Content-Type-Options: nosniff'
      when processing script and other resource types.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ebd3858c
  11. 01 Feb, 2013 1 commit
    • alexis@webkit.org's avatar
      Enable unprefixed CSS transitions by default. · 5b4483d1
      alexis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=108216
      
      Reviewed by Dean Jackson.
      
      .:
      
      Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
      guard the unprefixing work for CSS Transforms and animations.
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
      guard the unprefixing work for CSS Transforms and animations.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
      guard the unprefixing work for CSS Transforms and animations. Remove the
      various #ifdefs and conditional generations.
      
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * GNUmakefile.features.am.in:
      * css/CSSPropertyNames.in:
      * dom/EventNames.in:
      * dom/TransitionEvent.cpp:
      * dom/TransitionEvent.h:
      * dom/TransitionEvent.idl:
      * page/DOMWindow.idl:
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::fireEventsAndUpdateStyle):
      
      Source/WebKit/chromium:
      
      Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
      guard the unprefixing work for CSS Transforms and animations.
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
      guard the unprefixing work for CSS Transforms and animations.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
      guard the unprefixing work for CSS Transforms and animations.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
      guard the unprefixing work for CSS Transforms and animations.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      Rename the flag CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to CSS_TRANSFORMS_ANIMATIONS_UNPREFIXED which will be used later to
      guard the unprefixing work for CSS Transforms and animations.
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      Unskip the tests by default as now unprefixed CSS Transitions are
      enabled by default.
      
      * fast/events/event-creation-expected.txt:
      * fast/events/event-creation.html: Add the test that was commented out
      before.
      * platform/chromium/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@141578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5b4483d1
  12. 11 Jan, 2013 1 commit
    • allan.jensen@digia.com's avatar
      [Qt][WK1] Web Audio support · 26540747
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106651
      
      Reviewed by Jocelyn Turcotte.
      
      Source/WebCore:
      
      Convert JavaScript Uint8Array to QByteArray. This conversion is necessary to support testRunner.setAudioData().
      
      * bridge/qt/qt_runtime.cpp:
      (JSC::Bindings::isJSUint8Array):
      (Bindings):
      (JSC::Bindings::valueRealType):
      (JSC::Bindings::convertValueToQVariant):
      
      Source/WebKit/qt:
      
      Expose setting to enable WebAudio at runtime.
      
      * Api/qwebsettings.cpp:
      (QWebSettingsPrivate::apply):
      (QWebSettings::QWebSettings):
      * Api/qwebsettings.h:
      
      Tools:
      
      Implements support for dumping audio data in DumpRenderTree.
      
      Adds WebAudio to toggleable features in QtTestBrowser.
      
      Enables LEGACY_WEB_AUDIO. This feature is required for 2/3 of the web audio regression tests. It is enabled by default
      because it has no effect when WEB_AUDIO is not enabled. This combination matches the settings in FeatureList.pm.
      
      * DumpRenderTree/qt/DumpRenderTreeQt.cpp:
      (WebCore::DumpRenderTree::dump):
      * DumpRenderTree/qt/TestRunnerQt.cpp:
      (TestRunner::reset):
      (TestRunner::overridePreference):
      (TestRunner::setAudioData):
      * DumpRenderTree/qt/TestRunnerQt.h:
      (TestRunner::shouldDumpAsAudio):
      (TestRunner::audioData):
      (TestRunner):
      * QtTestBrowser/launcherwindow.cpp:
      (LauncherWindow::applyPrefs):
      (LauncherWindow::createChrome):
      (LauncherWindow::toggleWebAudio):
      * QtTestBrowser/launcherwindow.h:
      (WindowOptions::WindowOptions):
      (WindowOptions):
      (LauncherWindow):
      * qmake/mkspecs/features/features.prf:
      * qmake/mkspecs/features/features.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139437 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      26540747
  13. 10 Jan, 2013 1 commit
    • zandobersek@gmail.com's avatar
      Remove the ENABLE_ANIMATION_API feature define occurences · 1594f89f
      zandobersek@gmail.com authored
      https://bugs.webkit.org/show_bug.cgi?id=106544
      
      Reviewed by Simon Fraser.
      
      The Animation API code was removed in r137243. The ENABLE_ANIMATION_API
      feature define handling still lingers in various build systems and configurations
      but is of no use, so it should be removed.
      
      .:
      
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      No new tests - no new functionality.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.features.am.in:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@139324 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1594f89f
  14. 09 Jan, 2013 1 commit
  15. 04 Jan, 2013 1 commit
    • adamk@chromium.org's avatar
      Remove ENABLE_MUTATION_OBSERVERS #define · a0129590
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=105459
      
      Reviewed by Ryosuke Niwa.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      The flag has been on by default for quite awhile now (nearly a year)
      and the feature is a standardized part of DOM4.
      
      The only place it was disabled was under "unstable" features for the
      gtk port, but the fact that it's shipping in several major WebKit
      browsers as well as Firefox suggests that it's not too unstable.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am: Removed ENABLE_MUTATION_OBSERVERS from the "unstable features" list.
      * GNUmakefile.features.am.in:
      * bindings/js/JSDictionary.cpp:
      (WebCore):
      (WebCore::JSDictionary::convertValue):
      * bindings/js/JSDictionary.h:
      * bindings/js/JSMainThreadExecState.cpp:
      (WebCore::JSMainThreadExecState::didLeaveScriptContext):
      * bindings/js/JSMutationCallbackCustom.cpp:
      * bindings/js/JSMutationObserverCustom.cpp:
      * bindings/v8/V8GCController.cpp:
      * bindings/v8/V8RecursionScope.cpp:
      (WebCore::V8RecursionScope::didLeaveScriptContext):
      * bindings/v8/custom/V8MutationCallbackCustom.cpp:
      * bindings/v8/custom/V8MutationObserverCustom.cpp:
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::setCssText):
      (WebCore::PropertySetCSSStyleDeclaration::setProperty):
      (WebCore::PropertySetCSSStyleDeclaration::removeProperty):
      (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal):
      * dom/CharacterData.cpp:
      (WebCore::CharacterData::dispatchModifiedEvent):
      * dom/ChildListMutationScope.cpp:
      * dom/ChildListMutationScope.h:
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::insertBefore):
      (WebCore::ContainerNode::replaceChild):
      (WebCore::willRemoveChild):
      (WebCore::willRemoveChildren):
      (WebCore::ContainerNode::appendChild):
      (WebCore::updateTreeAfterInsertion):
      * dom/Document.cpp:
      (WebCore::Document::Document):
      * dom/Document.h:
      (Document):
      * dom/Element.cpp:
      (WebCore::Element::willModifyAttribute):
      * dom/MutationCallback.h:
      * dom/MutationCallback.idl:
      * dom/MutationObserver.cpp:
      * dom/MutationObserver.h:
      * dom/MutationObserver.idl:
      * dom/MutationObserverInterestGroup.cpp:
      * dom/MutationObserverInterestGroup.h:
      * dom/MutationObserverRegistration.cpp:
      * dom/MutationObserverRegistration.h:
      * dom/MutationRecord.cpp:
      * dom/MutationRecord.h:
      * dom/MutationRecord.idl:
      * dom/Node.cpp:
      (WebCore::Node::clearRareData):
      (WebCore::Node::setTextContent):
      (WebCore::Node::didMoveToNewDocument):
      (WebCore::Node::notifyMutationObserversNodeWillDetach):
      * dom/Node.h:
      (Node):
      * dom/NodeRareData.cpp:
      (SameSizeAsNodeRareData):
      (WebCore::NodeRareData::reportMemoryUsage):
      * dom/NodeRareData.h:
      (NodeRareData):
      (WebCore::NodeRareData::ensureTransientMutationObserverRegistry):
      * editing/markup.cpp:
      (WebCore::replaceChildrenWithFragment):
      (WebCore::replaceChildrenWithText):
      * page/DOMWindow.idl:
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      * src/WebKit.cpp:
      (WebKit::initialize):
      (WebKit::shutdown):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::deliverAllMutationsIfNecessary):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      (DumpRenderTreeSupportGtk::deliverAllMutationsIfNecessary):
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      Remove references to ENABLE(MUTATION_OBSERVERS) from tests.
      
      * fast/dom/MutationObserver/cross-document.html:
      * fast/dom/MutationObserver/database-callback-delivery.html:
      * fast/dom/MutationObserver/disconnect-cancel-pending.html:
      * fast/dom/MutationObserver/filesystem-callback-delivery.html:
      * fast/dom/MutationObserver/mutation-observer-constructor.html:
      * fast/dom/MutationObserver/observe-attributes.html:
      * fast/dom/MutationObserver/observe-characterdata.html:
      * fast/dom/MutationObserver/observe-childList.html:
      * fast/dom/MutationObserver/observe-exceptions.html:
      * fast/dom/MutationObserver/observe-subtree.html:
      * fast/dom/MutationObserver/takeRecords.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a0129590
  16. 19 Dec, 2012 1 commit
    • alexis@webkit.org's avatar
      Implement CSS parsing for CSS transitions unprefixed. · cfa6ca70
      alexis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=104804
      
      Reviewed by Dean Jackson.
      
      .:
      
      Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to cover the work of unprefixing Transforms, Animations and
      Transitions. It will let the possibility of each ports to turn it off
      in their release branches until we're confident that these CSS
      properties are ready to be unprefixed.
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      * configure.ac:
      
      Source/JavaScriptCore:
      
      Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to cover the work of unprefixing Transforms, Animations and
      Transitions. It will let the possibility of each ports to turn it off
      in their release branches until we're confident that these CSS
      properties are ready to be unprefixed.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Add support of an unprefixed version of CSS transitions modules by adding unprefixed versions
      of each CSS properties. The work is protected behind the flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to cover the work of unprefixing Transforms, Animations and Transitions. It will let the possibility of each ports to turn it off
      in their release branches until we're confident that these CSS properties are ready to be unprefixed.
      
      Test: transitions/transitions-parsing.html
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am.in:
      * css/CSSPropertyNames.in: alias the unprefixed versions to the prefixed versions.
      
      Source/WebKit/chromium:
      
      Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to cover the work of unprefixing Transforms, Animations and
      Transitions. It will let the possibility of each ports to turn it off
      in their release branches until we're confident that these CSS
      properties are ready to be unprefixed.
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to cover the work of unprefixing Transforms, Animations and
      Transitions. It will let the possibility of each ports to turn it off
      in their release branches until we're confident that these CSS
      properties are ready to be unprefixed.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to cover the work of unprefixing Transforms, Animations and
      Transitions. It will let the possibility of each ports to turn it off
      in their release branches until we're confident that these CSS
      properties are ready to be unprefixed.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to cover the work of unprefixing Transforms, Animations and
      Transitions. It will let the possibility of each ports to turn it off
      in their release branches until we're confident that these CSS
      properties are ready to be unprefixed.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      Add a new flag ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED
      to cover the work of unprefixing Transforms, Animations and
      Transitions. It will let the possibility of each ports to turn it off
      in their release branches until we're confident that these CSS
      properties are ready to be unprefixed.
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      Add new tests to cover the unprefixed version as well as the prefixed version of the properties.
      It only covers the parsing and the computed style values.
      
      * transitions/transitions-parsing.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@138184 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cfa6ca70
  17. 10 Dec, 2012 1 commit
    • alexis@webkit.org's avatar
      [CSS3 Backgrounds and Borders] Remove CSS3_BACKGROUND feature flag. · 67ab9926
      alexis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=104539
      
      Reviewed by Antonio Gomes.
      
      .:
      
      As discussed on webkit-dev it is not needed to keep this feature flag
      as support for <position> type is a small feature that is already
      implemented by three other UAs. It was useful while landing this
      feature as partial bits were landed one after one.
      
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      * configure.ac:
      
      Source/JavaScriptCore:
      
      As discussed on webkit-dev it is not needed to keep this feature flag
      as support for <position> type is a small feature that is already
      implemented by three other UAs. It was useful while landing this
      feature as partial bits were landed one after one.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      As discussed on webkit-dev it is not needed to keep this feature flag
      as support for <position> type is a small feature that is already
      implemented by three other UAs. It was useful while landing this
      feature as partial bits were landed one after one.
      
      No new tests : the feature is covered by various tests and it is already enabled in many ports.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am:
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseFillPosition):
      (WebCore::CSSParser::parseFillProperty):
      * css/CSSParser.h:
      * css/CSSToStyleMap.cpp:
      (WebCore::CSSToStyleMap::mapFillXPosition):
      (WebCore::CSSToStyleMap::mapFillYPosition):
      * rendering/style/FillLayer.cpp:
      (SameSizeAsFillLayer):
      (WebCore::FillLayer::FillLayer):
      (WebCore::FillLayer::operator=):
      (WebCore::FillLayer::operator==):
      (WebCore::FillLayer::fillUnsetProperties):
      * rendering/style/FillLayer.h:
      (WebCore::FillLayer::backgroundXOrigin):
      (WebCore::FillLayer::backgroundYOrigin):
      (WebCore::FillLayer::isBackgroundOriginSet):
      (WebCore::FillLayer::clearXPosition):
      (WebCore::FillLayer::clearYPosition):
      (FillLayer):
      
      Source/WebKit/chromium:
      
      As discussed on webkit-dev it is not needed to keep this feature flag
      as support for <position> type is a small feature that is already
      implemented by three other UAs. It was useful while landing this
      feature as partial bits were landed one after one.
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      As discussed on webkit-dev it is not needed to keep this feature flag
      as support for <position> type is a small feature that is already
      implemented by three other UAs. It was useful while landing this
      feature as partial bits were landed one after one.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      As discussed on webkit-dev it is not needed to keep this feature flag
      as support for <position> type is a small feature that is already
      implemented by three other UAs. It was useful while landing this
      feature as partial bits were landed one after one.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      As discussed on webkit-dev it is not needed to keep this feature flag
      as support for <position> type is a small feature that is already
      implemented by three other UAs. It was useful while landing this
      feature as partial bits were landed one after one.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      As discussed on webkit-dev it is not needed to keep this feature flag
      as support for <position> type is a small feature that is already
      implemented by three other UAs. It was useful while landing this
      feature as partial bits were landed one after one.
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      Unskip the related CSS3 <position> type tests for background-position
      as now the feature is enabled by default.
      
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      67ab9926
  18. 06 Dec, 2012 1 commit
    • commit-queue@webkit.org's avatar
      CSS cursor property should support webkit-image-set · d318ebea
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99493
      
      Patch by Rick Byers <rbyers@chromium.org> on 2012-12-06
      Reviewed by Beth Dakin.
      
      .:
      
      Add ENABLE_MOUSE_CURSOR_SCALE (disabled by default)
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      Add ENABLE_MOUSE_CURSOR_SCALE (disabled by default)
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Add support for image scale factors attached to custom mouse cursor images
      behind ENABLE(MOUSE_CURSOR_SCALE).
      
      This required refactoring CSSCursorImageValue to derive directly from
      CSSValue since it can contain either a CSSImageValue or a CSSImageSetValue.
      If it contains an image-set, then we can plumb directly through to the
      CSSImageSetValue.  If it contains an image, then either we can plumb directly
      through to the CSSImageValue, or if the URL represents an SVG cursor we have
      to intercept the image loading in order to substitute the actual SVG image URL
      and do the appropriate lifetime management.
      
      Tests: fast/css/cursor-parsing-image-set.html
             fast/events/mouse-cursor-image-set.html
      
      * Configurations/FeatureDefines.xcconfig: Add ENABLE_MOUSE_CURSOR_SCALE - disabled
      * GNUmakefile.features.am: ditto
      * css/CSSCursorImageValue.cpp: Refactor to inherit directly from CSSValue and support image sets
      (WebCore::CSSCursorImageValue::CSSCursorImageValue):
      (WebCore::CSSCursorImageValue::~CSSCursorImageValue):
      (WebCore::CSSCursorImageValue::customCssText):
      (WebCore::CSSCursorImageValue::updateIfSVGCursorIsUsed):
      (WebCore::CSSCursorImageValue::cachedImage):
      (WebCore::CSSCursorImageValue::cachedOrPendingImage):
      (WebCore::CSSCursorImageValue::isSVGCursor):
      (WebCore::CSSCursorImageValue::cachedImageURL):
      (WebCore::CSSCursorImageValue::clearCachedImage):
      (WebCore::CSSCursorImageValue::reportDescendantMemoryUsage):
      * css/CSSCursorImageValue.h: Remove cursor-specific hacks
      (WebCore::CSSCursorImageValue::create):
      (CSSCursorImageValue):
      * css/CSSImageValue.cpp:
      (WebCore::CSSImageValue::cachedImage):
      * css/CSSImageValue.h:
      (CSSImageValue):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue): Parse cursor(-webkit-image-set(...)) rules
      * css/CSSValue.h:
      (WebCore::CSSValue::isImageValue):
      * css/StyleBuilder.cpp:
      (WebCore::ApplyPropertyCursor::applyValue):
      * css/StyleResolver.cpp: Hook up new CSSCursorImageValue support since it can't be handled like other images any more.
      (WebCore::StyleResolver::styleImage):
      (WebCore::StyleResolver::cursorOrPendingFromValue):
      (WebCore::StyleResolver::loadPendingImage):
      * css/StyleResolver.h:
      (StyleResolver):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::selectCursor): Handle StyleCachedImageSet images and plumb scale factor through
      * platform/Cursor.cpp:
      (WebCore::Cursor::Cursor): Add imageScaleFactor
      * platform/Cursor.h: Add imageScaleFactor
      (Cursor):
      (WebCore::Cursor::imageScaleFactor):
      * platform/chromium/CursorChromium.cpp: Add imageScaleFactor
      (WebCore::Cursor::Cursor):
      (WebCore::Cursor::operator=):
      * rendering/style/CursorData.h: Clarify hotspot units
      (CursorData):
      * rendering/style/StyleCachedImage.h:
      (StyleCachedImage::cachedImage): Override new virtual.
      * rendering/style/StyleCachedImageSet.h:
      (StyleCachedImageSet::cachedImage): Override new virtual.
      * rendering/style/StyleImage.h:
      (StyleImage::cachedImage): Add new virtual method to avoid lots of casts and typechecks.
      * rendering/style/StylePendingImage.h: Add CSSCursorImageValue support
      (WebCore::StylePendingImage::cssCursorImageValue):
      * testing/Internals.cpp:
      (WebCore::Internals::getCurrentCursorInfo): Print non-identity scale factors for testing
      
      Source/WebKit/chromium:
      
      Add ENABLE_MOUSE_CURSOR_SCALE and enable it on the chromium port.
      Plumb cursor image scale factor through to chromium API.
      
      * features.gypi:
      * public/WebCursorInfo.h:
      * src/WebCursorInfo.cpp:
      (WebKit::WebCursorInfo::WebCursorInfo):
      
      Source/WebKit/mac:
      
      Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      Add ENABLE_MOUSE_CURSOR_SCALE - disabled by default
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      Add tests for parser round-tripping of cursor rules with -webkit-image-set,
      and also end-to-end mouse cursor tests that validate the cursor details
      ultimately used at different device scales.
      
      Tests are disabled on ports other than chromium (require ENABLE(MOUSE_CURSOR_SCALE))
      
      * fast/css/cursor-parsing-image-set-expected.txt: Added.
      * fast/css/cursor-parsing-image-set.html: Added.
      * fast/events/mouse-cursor-image-set-expected.txt: Added.
      * fast/events/mouse-cursor-image-set.html: Added.
      * fast/events/resources/greenbox200.png: Added.
      * fast/events/resources/greenbox30-hotspot28-3.cur: Added.
      * fast/events/resources/greenbox30.png: Added.
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/win/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@136919 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d318ebea
  19. 03 Dec, 2012 1 commit
  20. 23 Nov, 2012 1 commit
    • alexis@webkit.org's avatar
      [CSS3 Backgrounds and Borders] Implement new CSS3 background-position parsing. · d4f31662
      alexis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=102104
      
      Reviewed by Julien Chaffraix.
      
      .:
      
      Protect the new feature behind a feature flag.
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      * configure.ac:
      
      Source/JavaScriptCore:
      
      Protect the new feature behind a feature flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Implement the parsing of the CSS3 background-position property which
      allows to specify up to four values to position the background. It is
      documented here :
      http://www.w3.org/TR/css3-background/#the-background-position . I
      decided to split up the patch is two pieces, the parsing and later I
      will do the rendering. I kept the old code as much as possible (i.e.
      the two values parsing) as it is used not only by background-position
      but by few other properties. The new four values support is only valid
      on the property itself but does not work on the shorthand.
      
      Opera has already implemented this feature.
      
      I extended backgrounds/background-position-parsing-2.html to cover the
      new possible values as well as buggy values.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am:
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseFillPositionComponent): Modify this function
      to allow creation of CSS primitive values with not only percentage or
      length but with keywords also as the new <position> type allows to
      specify keywords, for example top 30px right 20px.
      (WebCore):
      (WebCore::isValueConflictingWithCurrentEdge):
      (WebCore::isBackgroundPositionKeyword):
      (WebCore::CSSParser::parse3ValuesBackgroundPosition):
      (WebCore::CSSParser::parse4ValuesBackgroundPosition):
      (WebCore::CSSParser::parseFillBackgroundPosition): This function counts
      the number of words for the property value and call dedicated parsing
      functions for each case. Note that in case of two values we just call the old CSS 2.1
      method.
      (WebCore::CSSParser::parseFillPosition):
      (WebCore::CSSParser::parseFillProperty): Only call the new parsing
      function if the feature is activated otherwise fallback to the old code
      path.
      * css/CSSParser.h:
      
      Source/WebKit/chromium:
      
      Protect the new feature behind a feature flag.
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      Protect the new feature behind a feature flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Protect the new feature behind a feature flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Protect the new feature behind a feature flag.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      Protect the new feature behind a feature flag.
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      Add new tests to cover the new parsing for the background position
      property. For now the computed style checks are commented out because
      the rendering part of the feature is not yet implemented (i.e.
      FillLayer does not contain yet the feature and this is what
      CSSComputedStyleDeclaration is using).
      
      * fast/backgrounds/background-position-parsing-2-expected.txt:
      * fast/backgrounds/background-position-parsing-2.html:
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d4f31662
  21. 19 Nov, 2012 1 commit
    • kihong.kwon@samsung.com's avatar
      Add PROXIMITY_EVENTS feature · 9ed51c59
      kihong.kwon@samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=102658
      
      Reviewed by Kentaro Hara.
      
      .:
      
      Add PROXIMITY_EVENTS feature to cmake.
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      Add PROXIMITY_EVENTS feature to xcode project for JavaScriptCore.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Add PROXIMITY_EVENTS feature to xcode project for WebCorei and GNU make.
      
      No new tests. Just add a new feature.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.features.am:
      
      Source/WebKit/chromium:
      
      Add PROXIMITY_EVENTS feature to chromium port.
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      Add PROXIMITY_EVENTS feature to xcode project for WebKit.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Add PROXIMITY_EVENTS feature to xcode project for WebKit2.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Add PROXIMITY_EVENTS feature to FeatureList and qmake.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      Add PROXIMITY_EVENTS feature to win and win-cairo prot.
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135159 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9ed51c59
  22. 13 Nov, 2012 1 commit
  23. 12 Nov, 2012 2 commits
  24. 02 Nov, 2012 1 commit
    • abarth@webkit.org's avatar
      ENABLE(UNDO_MANAGER) is disabled everywhere and is not under active development · 3df3cc9a
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=100711
      
      Reviewed by Eric Seidel.
      
      .: 
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: 
      
      No one is actively working on ENABLE(UNDO_MANAGER). There are some
      tricky lifetime issues in the UndoManager API that are complicating
      ongoing work to improve the interaction between WebCore and the garbage
      collector. Rather than leave this code in a broken state, we should
      remove it for the time being. We can always restore it from the svn
      history when there is an active owner for this code.
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * DerivedSources.cpp:
      * DerivedSources.make:
      * DerivedSources.pri:
      * GNUmakefile.features.am:
      * GNUmakefile.list.am:
      * Target.pri:
      * UseJSC.cmake:
      * UseV8.cmake:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * bindings/js/DOMTransaction.cpp: Removed.
      * bindings/js/DOMTransaction.h: Removed.
      * bindings/js/JSBindingsAllInOne.cpp:
      * bindings/js/JSUndoManagerCustom.cpp: Removed.
      * bindings/v8/DOMTransaction.cpp: Removed.
      * bindings/v8/DOMTransaction.h: Removed.
      * bindings/v8/V8HiddenPropertyName.h:
      (WebCore):
      * bindings/v8/custom/V8DOMTransactionCustom.cpp: Removed.
      * bindings/v8/custom/V8UndoManagerCustom.cpp: Removed.
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::setCssText):
      (WebCore::PropertySetCSSStyleDeclaration::setProperty):
      (WebCore::PropertySetCSSStyleDeclaration::removeProperty):
      (WebCore::PropertySetCSSStyleDeclaration::setPropertyInternal):
      * dom/CharacterData.cpp:
      (WebCore::CharacterData::setDataAndUpdate):
      * dom/ContainerNode.cpp:
      (WebCore::willRemoveChild):
      (WebCore::willRemoveChildren):
      (WebCore::updateTreeAfterInsertion):
      * dom/Document.cpp:
      (WebCore::Document::Document):
      * dom/Document.h:
      (WebCore):
      (Document):
      * dom/Document.idl:
      * dom/Element.cpp:
      (WebCore::Element::willModifyAttribute):
      * editing/CompositeEditCommand.h:
      * editing/DOMTransaction.idl: Removed.
      * editing/DOMTransactionStep.cpp: Removed.
      * editing/DOMTransactionStep.h: Removed.
      * editing/Editor.cpp:
      (WebCore::Editor::appliedEditing):
      (WebCore::Editor::unappliedEditing):
      (WebCore::Editor::reappliedEditing):
      (WebCore::Editor::canUndo):
      (WebCore::Editor::undo):
      (WebCore::Editor::canRedo):
      (WebCore::Editor::redo):
      * editing/UndoManager.cpp: Removed.
      * editing/UndoManager.h: Removed.
      * editing/UndoManager.idl: Removed.
      * editing/UndoStep.h:
      (UndoStep):
      
      Source/WebKit/mac: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: 
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools: 
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@133326 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3df3cc9a
  25. 25 Oct, 2012 1 commit
    • dominik.rottsches@intel.com's avatar
      .: Adding feature for XHR_TIMEOUT · 6bf0b30f
      dominik.rottsches@intel.com authored
      Conditionalize XHR timeout support
      https://bugs.webkit.org/show_bug.cgi?id=100356
      
      Reviewed by Adam Barth.
      
      Adding feature for XHR_TIMEOUT to disable it on ports that don't have
      network backend support for setTimeoutInterval.
      
      * Source/cmake/OptionsEfl.cmake: Default ON on EFL.
      * Source/cmake/WebKitFeatures.cmake: Default OFF for any CMAKE based port.
      * Source/cmakeconfig.h.cmake: Adding define.
      * configure.ac: Make autogen.sh support the --enable/--disable-xhr-timeout parameter.
      
      Source/JavaScriptCore: Conditionalize XHR timeout support
      https://bugs.webkit.org/show_bug.cgi?id=100356
      
      Reviewed by Adam Barth.
      
      Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore: Conditionalize XHR timeout support
      https://bugs.webkit.org/show_bug.cgi?id=100356
      
      Reviewed by Adam Barth.
      
      Adding feature for XHR_TIMEOUT to disable it on ports that don't have
      network backend support for setTimeoutInterval.
      
      No new tests, covered by http/tests/xmlhttprequest/timeout/*
      
      * Configurations/FeatureDefines.xcconfig: Default ON on mac.
      * GNUmakefile.am:
      * GNUmakefile.features.am:
        Autotools support for the flag.
      * xml/XMLHttpRequest.cpp: #if ENABLE(XHR_TIMEOUT) wrapping
      (WebCore::XMLHttpRequest::XMLHttpRequest):
      (WebCore):
      (WebCore::XMLHttpRequest::open):
      (WebCore::XMLHttpRequest::createRequest):
      (WebCore::XMLHttpRequest::didFail):
      * xml/XMLHttpRequest.h: #if ENABLE(XHR_TIMEOUT) wrapping
      (XMLHttpRequest):
      * xml/XMLHttpRequest.idl: Conditional properties timeout and ontimeout (event handler).
      
      Source/WebKit/chromium: Conditionalize XHR timeout support
      https://bugs.webkit.org/show_bug.cgi?id=100356
      
      Reviewed by Adam Barth.
      
      Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
      Defaults to off on chromium until webkit.org/b/98397 is solved.
      
      * features.gypi:
      
      Source/WebKit/mac: Conditionalize XHR timeout support
      https://bugs.webkit.org/show_bug.cgi?id=100356
      
      Reviewed by Adam Barth.
      
      Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
      Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2: Conditionalize XHR timeout support
      https://bugs.webkit.org/show_bug.cgi?id=100356
      
      Reviewed by Adam Barth.
      
      Adding XHR_TIMEOUT feature to conditionalize this on ports without network backend support.
      Defaults to ON on Mac since the Mac NSUrlConnection based backend has setTimeoutInterval support.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools: Conditionalize XHR timeout support
      https://bugs.webkit.org/show_bug.cgi?id=100356
      
      Reviewed by Adam Barth.
      
      Adding XHR_TIMEOUT feature in perl and qmake files.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries: Conditionalize XHR timeout support
      https://bugs.webkit.org/show_bug.cgi?id=100356
      
      Reviewed by Adam Barth.
      
      Adding ENABLE_XHR_TIMEOUT feature, which is default off for Apple Win.
      See also https://bugs.webkit.org/show_bug.cgi?id=100349 for an attempt
      to fix timeout support for CF Network.
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bf0b30f
  26. 23 Oct, 2012 1 commit
    • kenneth@webkit.org's avatar
      Add support for resolution media query · 2a707b53
      kenneth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99077
      
      Reviewed by Antti Koivisto.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
          Add support for the RESOLUTION_MEDIA_QUERY feature flag.
      
      * Source/autotools/symbols.filter:
      
          Export the WebCore::Settings setting.
      
      Source/WebCore:
      
      Add support for 'resolution' media query feature.
      
      Background info:
      http://www.w3.org/blog/CSS/2012/06/14/unprefix-webkit-device-pixel-ratio
      
      Related spec links:
      http://www.w3.org/TR/css3-mediaqueries/#resolution (recommendation)
      http://www.w3.org/TR/css3-values/#resolution (candidate recommentation)
      
      Add infrastructure to make it testable.
      
      Test: fast/media/mq-resolution.html
      
      * css/CSSParser.cpp:
      (WebCore::CSSParser::validUnit):
      (WebCore::CSSParser::createPrimitiveNumericValue):
      (WebCore::CSSParser::parseValidPrimitive):
      (WebCore::CSSParser::detectNumberToken):
      * css/CSSParser.h:
      * css/CSSPrimitiveValue.cpp:
      (WebCore::isValidCSSUnitTypeForDoubleConversion):
      (WebCore::unitCategory):
      (WebCore::CSSPrimitiveValue::canonicalUnitTypeForCategory):
      (WebCore::CSSPrimitiveValue::customCssText):
      (WebCore::CSSPrimitiveValue::cloneForCSSOM):
      * css/CSSPrimitiveValue.h:
      
          Enable dpi, dpcm and dppx units when RESOLUTION_MEDIA_QUERY
          is enabled.
      
      * WebCore.exp.in:
      
          Export the WebCore::Settings setting.
      
      * css/CSSPrimitiveValue.h:
      (WebCore::CSSPrimitiveValue::isDotsPerInch):
      (WebCore::CSSPrimitiveValue::isDotsPerPixel):
      (WebCore::CSSPrimitiveValue::isDotsPerCentimeter):
      (CSSPrimitiveValue):
      
          Add function for checking the recently added density types.
      
      * css/MediaFeatureNames.h:
      (MediaFeatureNames):
      
          Add support for resolution, min-resolution and max-resolution.
      
      * css/MediaQueryEvaluator.cpp:
      (WebCore::compareResolution): Add methods for comparing resolutions.
      (WebCore):
      (WebCore::resolutionMediaFeatureEval):
      (WebCore::min_resolutionMediaFeatureEval):
      (WebCore::max_resolutionMediaFeatureEval):
      
          Implement the resolution method evaluation.
      
      * css/MediaQueryExp.cpp:
      (WebCore::featureWithValidPositiveDensity):
      (WebCore):
      (WebCore::featureWithoutValue):
      (WebCore::MediaQueryExp::MediaQueryExp):
      
          Hook up resolution with the right pre-checks.
      
             * page/Screen.cpp:
      (WebCore::Screen::horizontalDPI):
      (WebCore::Screen::verticalDPI):
      
          Check whether an override exists, and if so, uses it.
          If not calculate the value given the device scale factor.
      
      * page/Settings.cpp:
      (WebCore::Settings::setResolutionOverride):
      (WebCore):
      * page/Settings.h:
      (Settings):
      (WebCore::Settings::resolutionOverride):
      
          Add a resolution override to settings.
      
      * testing/InternalSettings.cpp:
      (WebCore::InternalSettings::Backup::Backup):
      (WebCore::InternalSettings::Backup::restoreTo):
      (WebCore::InternalSettings::setResolutionOverride):
      (WebCore):
      * testing/InternalSettings.h:
      (Backup):
      (InternalSettings):
      * testing/InternalSettings.idl:
      
          Add a new setResolutionOverride method to internals.settings.
      
      Source/WebKit/chromium:
      
      Add support for the RESOLUTION_MEDIA_QUERY feature flag.
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      Add support for the RESOLUTION_MEDIA_QUERY feature flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * win/WebKit2.def:
      
          Add exports for the WebCore::Settings setting.
      
      * Configurations/FeatureDefines.xcconfig:
      
          Add support for the RESOLUTION_MEDIA_QUERY feature flag.
      
      Tools:
      
      Add support for the RESOLUTION_MEDIA_QUERY feature flag.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests:
      
      Test (resolution: x) media query to ensure compliance
      with spec plus proposed dppx values.
      
      * fast/media/mq-resolution-expected.txt: Added.
      * fast/media/mq-resolution.html: Added.
      
      * LayoutTests/platform/mac/TestExpectations:
      * LayoutTests/platform/chromium/TestExpectations:
      
          Skip the test as the ports do not enable CSS Image Resolution.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@132227 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a707b53
  27. 19 Oct, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Rename ENABLE_CSS3_TEXT_DECORATION to ENABLE_CSS3_TEXT · 85886a9a
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99804
      
      Patch by Dongwoo Joshua Im <dw.im@samsung.com> on 2012-10-19
      Reviewed by Julien Chaffraix.
      
      CSS3 text related properties will be implemented under this flag,
      including text decoration, text-align-last, and text-justify.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      No new functionality, no new test.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am:
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore):
      (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseValue):
      (WebCore::CSSParser::addTextDecorationProperty):
      (WebCore::CSSParser::parseTextDecoration):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in:
      * css/CSSValueKeywords.in:
      * css/StyleBuilder.cpp:
      (WebCore::StyleBuilder::StyleBuilder):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::applyProperty):
      * rendering/style/RenderStyle.cpp:
      (WebCore::RenderStyle::diff):
      * rendering/style/RenderStyle.h:
      * rendering/style/RenderStyleConstants.h:
      (WebCore):
      * rendering/style/StyleRareNonInheritedData.cpp:
      (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData):
      (WebCore::StyleRareNonInheritedData::operator==):
      * rendering/style/StyleRareNonInheritedData.h:
      (StyleRareNonInheritedData):
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      LayoutTests:
      
      * platform/chromium/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt-4.8/TestExpectations:
      * platform/qt-mac/TestExpectations:
      * platform/qt/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      85886a9a
  28. 18 Oct, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Implement css3-conditional's @supports rule · 80d18446
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=86146
      
      Patch by Pablo Flouret <pablof@motorola.com> on 2012-10-18
      Reviewed by Antti Koivisto.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      * configure.ac:
          Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
          Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
      
      Source/WebCore:
      
      The "@supports" rule is a conditional group rule whose condition tests
      whether the user agent supports CSS property:value pairs.
      
      http://dev.w3.org/csswg/css3-conditional/#at-supports
      
      Test: css3/supports.html
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am:
          Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
      
      * css/CSSGrammar.y.in:
      * css/CSSParser.cpp:
      (WebCore):
      (WebCore::CSSParser::detectSupportsToken): Tries to find 'and', 'not' and 'or' tokens.
      (WebCore::CSSParser::detectAtToken): Enter SupportsMode if @supports is detected.
      (WebCore::CSSParser::realLex): Try to detect supports tokens when in SupportsMode.
      * css/CSSParser.h: Added new SupportsMode parsing mode.
      (CSSParser):
      
      Source/WebKit/chromium:
      
      * features.gypi:
          Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
          Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
          Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
          Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
          Add an ENABLE_CSS3_CONDITIONAL_RULES flag.
      
      LayoutTests:
      
      * css3/supports-expected.txt: Added.
      * css3/supports.html: Added.
      
      * platform/chromium/TestExpectations:
      * platform/efl/TestExpectations:
      * platform/gtk/TestExpectations:
      * platform/mac/TestExpectations:
      * platform/qt/TestExpectations:
      * platform/win/TestExpectations:
      * platform/wincairo/TestExpectations:
      * platform/wk2/TestExpectations:
          Skip the test until the feature is enabled.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131783 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80d18446
  29. 05 Oct, 2012 1 commit
  30. 03 Oct, 2012 1 commit
  31. 14 Sep, 2012 1 commit
    • abarth@webkit.org's avatar
      Remove webkitPostMessage · 79bb5ebb
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=96577
      
      Reviewed by Ojan Vafai.
      
      .:
      
      Add ENABLE_LEGACY_VENDOR_PREFIXES flag.
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      Add ENABLE_LEGACY_VENDOR_PREFIXES flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      webkitPostMessage works the same as postMessage. The spec and the
      implementation have been stable for a while. We should no longer be
      exposing this vendor-prefixed API.
      
      This patch places the webkitPostMessage API behind an ENABLE flag.
      We're going to try removing this API in the Chromium port. If we don't
      run into trouble, we'll remove it in all the other ports as well.
      
      This topic has been discussed on webkit-dev in
      http://lists.webkit.org/pipermail/webkit-dev/2012-April/020237.html and
      http://lists.webkit.org/pipermail/webkit-dev/2012-September/022189.html
      
      This patch introduces the ENABLE(LEGACY_VENDOR_PREFIXES) flag. Rather
      than having a flag for each vendor-prefixed API we're experimenting
      with removing, we'll add vendor prefixed APIs to this ENABLE when we
      want to try removing them. If we succeed, we'll just delete the APIs.
      If we fail, we'll remove them from the ENABLE. That way we avoid the
      churn of adding and removing many ENABLE macros.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am:
      * bindings/js/JSDOMWindowCustom.cpp:
      (WebCore):
      * bindings/js/JSDedicatedWorkerContextCustom.cpp:
      (WebCore):
      * bindings/js/JSMessagePortCustom.cpp:
      (WebCore):
      * bindings/js/JSWorkerCustom.cpp:
      (WebCore):
      * bindings/v8/custom/V8DOMWindowCustom.cpp:
      (WebCore):
      * bindings/v8/custom/V8DedicatedWorkerContextCustom.cpp:
      (WebCore):
      * bindings/v8/custom/V8MessagePortCustom.cpp:
      (WebCore):
      * bindings/v8/custom/V8WorkerCustom.cpp:
      (WebCore):
      * dom/MessagePort.idl:
      * page/DOMWindow.idl:
      * workers/DedicatedWorkerContext.idl:
      * workers/Worker.idl:
      
      Source/WebKit/chromium:
      
      Add ENABLE_LEGACY_VENDOR_PREFIXES flag.
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      Add ENABLE_LEGACY_VENDOR_PREFIXES flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Add ENABLE_LEGACY_VENDOR_PREFIXES flag.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      Add ENABLE_LEGACY_VENDOR_PREFIXES flag.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      LayoutTests:
      
      Update tests to rely only upon the unprefixed API.
      
      * fast/canvas/webgl/script-tests/arraybuffer-transfer-of-control.js:
      (wrapSend):
      (wrapFailSend):
      * fast/dom/Window/post-message-crash.html:
      * fast/dom/Window/window-postmessage-args-expected.txt:
      * fast/dom/Window/window-postmessage-args.html:
      * fast/events/message-port.html:
      * fast/events/resources/message-port-multi.js:
      * fast/workers/resources/worker-call.js:
      * fast/workers/worker-call-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      79bb5ebb
  32. 11 Sep, 2012 1 commit
    • vestbo@webkit.org's avatar
      [Qt] Add a configure step to the Qt build system · a5de2269
      vestbo@webkit.org authored
      This allows building the Qt port using just 'qmake WebKit.pro'. Using
      the build-webkit script is still supported, and will add slightly more
      logic to the build, such as detecting the need for clean or incremental
      builds.
      
      Internally, the build system now uses a new variable, WEBKIT_CONFIG, for
      all things related to configuring the build, such as use/have/enable flags,
      and these are translated to defines in default_post. Project files should
      no longer check contains(DEFINES,...) to detect features, but use the new
      enable?(), use?(), and have?() functions. The no_webkit1 and no_webkit2
      options have been translated into WEBKIT_CONFIG options as well, and can
      be checked using build?().
      
      Reviewed by Simon Hausmann.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128174 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5de2269
  33. 31 Aug, 2012 1 commit
    • tony@chromium.org's avatar
      Remove ENABLE_CSS3_FLEXBOX compile time flag · b866aaa0
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=95382
      
      Reviewed by Ojan Vafai.
      
      Everyone is already enabling this by default and the spec has stablized.
      
      .:
      
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      * configure.ac:
      
      Source/JavaScriptCore:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      No new tests, shouldn't change anything.
      
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am:
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore):
      (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue):
      * css/CSSParser.cpp:
      (WebCore::isValidKeywordPropertyAndValue): Expand check range to include flex and inline-flex.
      (WebCore::isKeywordPropertyID):
      (WebCore::CSSParser::parseValue):
      * css/CSSPrimitiveValueMappings.h:
      (WebCore::CSSPrimitiveValue::CSSPrimitiveValue):
      * css/CSSProperty.cpp:
      (WebCore::CSSProperty::isInheritedProperty):
      * css/CSSPropertyNames.in:
      * css/CSSValueKeywords.in:
      * css/StyleBuilder.cpp:
      (WebCore::StyleBuilder::StyleBuilder):
      * css/StylePropertySet.cpp:
      (WebCore::StylePropertySet::getPropertyValue):
      (WebCore::StylePropertySet::asText):
      * css/StylePropertyShorthand.cpp:
      (WebCore::webkitFlexShorthand):
      (WebCore::shorthandForProperty):
      * css/StylePropertyShorthand.h:
      (WebCore):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * page/animation/CSSPropertyAnimation.cpp:
      (WebCore::CSSPropertyAnimation::ensurePropertyMap):
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::createObject):
      * rendering/style/RenderStyle.h:
      * rendering/style/RenderStyleConstants.h:
      
      Source/WebKit/chromium:
      
      * features.gypi:
      
      Source/WebKit/mac:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      * Configurations/FeatureDefines.xcconfig:
      
      Tools:
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      WebKitLibraries:
      
      * win/tools/vsprops/FeatureDefines.vsprops:
      * win/tools/vsprops/FeatureDefinesCairo.vsprops:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127318 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b866aaa0
  34. 28 Aug, 2012 2 commits
  35. 27 Aug, 2012 1 commit
    • commit-queue@webkit.org's avatar
      Rename RegisterProtocolHandler API to NavigatorContentUtils · 30167703
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=94920
      
      Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-08-27
      Reviewed by Adam Barth.
      
      .:
      
      Modified configuration files so that they contain renamed NavigatorContentUtils-prefixed files.
      
      * Source/cmake/OptionsBlackBerry.cmake:
      * Source/cmake/OptionsEfl.cmake:
      * Source/cmake/WebKitFeatures.cmake:
      * Source/cmakeconfig.h.cmake:
      
      Source/JavaScriptCore:
      
      ENABLE_REGISTER_PROTOCOL_HANDLER is renamed to ENABLE_NAVIGATOR_CONTENT_UTILS.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebCore:
      
      Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
      Module 'protocolhandler' is renamed to 'navigatorcontentutils'.
      
      No new tests as there is no new functionality.
      
      * CMakeLists.txt:
      * Configurations/FeatureDefines.xcconfig:
      * GNUmakefile.am:
      * GNUmakefile.features.am:
      * GNUmakefile.list.am:
      * Modules/navigatorcontentutils/NavigatorContentUtils.cpp: Renamed from Source/WebCore/Modules/protocolhandler/NavigatorRegisterProtocolHandler.cpp.
      (WebCore):
      (WebCore::initProtocolHandlerWhitelist):
      (WebCore::verifyCustomHandlerURL):
      (WebCore::isProtocolWhitelisted):
      (WebCore::verifyProtocolHandlerScheme):
      (WebCore::NavigatorContentUtils::from):
      (WebCore::NavigatorContentUtils::~NavigatorContentUtils):
      (WebCore::NavigatorContentUtils::create):
      (WebCore::NavigatorContentUtils::registerProtocolHandler):
      (WebCore::customHandlersStateString):
      (WebCore::NavigatorContentUtils::isProtocolHandlerRegistered):
      (WebCore::NavigatorContentUtils::unregisterProtocolHandler):
      (WebCore::NavigatorContentUtils::supplementName):
      (WebCore::provideNavigatorContentUtilsTo):
      * Modules/navigatorcontentutils/NavigatorContentUtils.h: Renamed from Source/WebCore/Modules/protocolhandler/NavigatorRegisterProtocolHandler.h.
      (WebCore):
      (NavigatorContentUtils):
      (WebCore::NavigatorContentUtils::NavigatorContentUtils):
      (WebCore::NavigatorContentUtils::client):
      * Modules/navigatorcontentutils/NavigatorContentUtils.idl: Renamed from Source/WebCore/Modules/protocolhandler/NavigatorRegisterProtocolHandler.idl.
      * Modules/navigatorcontentutils/NavigatorContentUtilsClient.h: Renamed from Source/WebCore/Modules/protocolhandler/RegisterProtocolHandlerClient.h.
      (WebCore):
      (NavigatorContentUtilsClient):
      (WebCore::NavigatorContentUtilsClient::~NavigatorContentUtilsClient):
      * Target.pri:
      * WebCore.gyp/WebCore.gyp:
      * WebCore.gypi:
      * WebCore.pri:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.vcproj/WebCoreCommon.vsprops:
      * WebCore.vcproj/copyForwardingHeaders.cmd:
      
      Source/WebKit:
      
      Modified PlatformEfl.cmake so that it includes the renamed files.
      
      * PlatformEfl.cmake:
      
      Source/WebKit/blackberry:
      
      Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
      
      * WebCoreSupport/AboutDataEnableFeatures.in:
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore):
      (WebCore::ChromeClientBlackBerry::registerProtocolHandler):
      * WebCoreSupport/ChromeClientBlackBerry.h:
      (ChromeClientBlackBerry):
      
      Source/WebKit/chromium:
      
      Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
      RegisterProtocolHandlerClientImpl is renamed to NavigatorContentUtilsClientImpl.
      
      * features.gypi:
      * src/ChromeClientImpl.cpp:
      (WebKit):
      (WebKit::NavigatorContentUtilsClientImpl::create):
      (WebKit::NavigatorContentUtilsClientImpl::NavigatorContentUtilsClientImpl):
      (WebKit::NavigatorContentUtilsClientImpl::registerProtocolHandler):
      * src/ChromeClientImpl.h:
      (NavigatorContentUtilsClientImpl):
      (WebKit::NavigatorContentUtilsClientImpl::~NavigatorContentUtilsClientImpl):
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::WebViewImpl):
      * src/WebViewImpl.h:
      
      Source/WebKit/efl:
      
      Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
      RegisterProtocolHandlerClientEfl is renamed to NavigatorContentUtilsClientEfl.
      
      * WebCoreSupport/NavigatorContentUtilsClientEfl.cpp: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.cpp.
      (WebCore):
      (WebCore::customHandlerDataCreate):
      (WebCore::customHandlerDataDelete):
      (WebCore::NavigatorContentUtilsClientEfl::create):
      (WebCore::NavigatorContentUtilsClientEfl::NavigatorContentUtilsClientEfl):
      (WebCore::NavigatorContentUtilsClientEfl::registerProtocolHandler):
      (WebCore::NavigatorContentUtilsClientEfl::isProtocolHandlerRegistered):
      (WebCore::NavigatorContentUtilsClientEfl::unregisterProtocolHandler):
      * WebCoreSupport/NavigatorContentUtilsClientEfl.h: Renamed from Source/WebKit/efl/WebCoreSupport/RegisterProtocolHandlerClientEfl.h.
      (NavigatorContentUtilsClientEfl):
      (WebCore::NavigatorContentUtilsClientEfl::~NavigatorContentUtilsClientEfl):
      * ewk/ewk_custom_handler.cpp:
      * ewk/ewk_custom_handler_private.h:
      * ewk/ewk_view.cpp:
      (_Ewk_View_Private_Data):
      (_ewk_view_priv_new):
      
      Source/WebKit/gtk:
      
      Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
      RegisterProtocolHandlerClientGtk is renamed to NavigatorContentUtilsClientGtk.
      
      * GNUmakefile.am:
      * WebCoreSupport/NavigatorContentUtilsClientGtk.cpp: Renamed from Source/WebKit/gtk/WebCoreSupport/RegisterProtocolHandlerClientGtk.cpp.
      (WebKit):
      (WebKit::NavigatorContentUtilsClient::create):
      (WebKit::NavigatorContentUtilsClient::NavigatorContentUtilsClient):
      (WebKit::NavigatorContentUtilsClient::registerProtocolHandler):
      * WebCoreSupport/NavigatorContentUtilsClientGtk.h: Renamed from Source/WebKit/gtk/WebCoreSupport/RegisterProtocolHandlerClientGtk.h.
      (WebKit):
      (NavigatorContentUtilsClient):
      (WebKit::NavigatorContentUtilsClient::~NavigatorContentUtilsClient):
      * webkit/webkitwebview.cpp:
      (webkit_web_view_init):
      * webkit/webkitwebviewprivate.h:
      
      Source/WebKit/mac:
      
      ENABLE_REGISTER_PROTOCOL_HANDLER is renamed to ENABLE_NAVIGATOR_CONTENT_UTILS.
      
      * Configurations/FeatureDefines.xcconfig:
      
      Source/WebKit2:
      
      Renaming whatever RegisterProtocolHandler-prefixed to NavigatorContentUtils-prefixed.
      
      * Configurations/FeatureDefines.xcconfig:
      * WebProcess/WebCoreSupport/WebNavigatorContentUtilsClient.h: Renamed from Source/WebKit2/WebProcess/WebCoreSupport/WebRegisterProtocolHandlerClient.h.
      (WebKit):
      (WebNavigatorContentUtilsClient):
      (WebKit::WebNavigatorContentUtilsClient::~WebNavigatorContentUtilsClient):
      (WebKit::WebNavigatorContentUtilsClient::isProtocolHandlerRegistered):
      (WebKit::WebNavigatorContentUtilsClient::unregisterProtocolHandler):
      
      Tools:
      
      Renamed 'register-protocol-handler' feature to 'navigator-content-utils'.
      
      * Scripts/webkitperl/FeatureList.pm:
      * qmake/mkspecs/features/features.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126735 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      30167703
  36. 22 Aug, 2012 1 commit
    • allan.jensen@nokia.com's avatar
      [Qt] Optionally support smooth-scrolling on all platforms · abefb4bd
      allan.jensen@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=74926
      
      Reviewed by Simon Hausmann.
      
      Source/WebCore:
      
      Make GestureAnimations depend on the GESTURE_ANIMATION feature flag,
      since GestureAnimations are unused on some platforms.
      
      * Target.pri:
      * platform/ScrollAnimatorNone.cpp:
      (WebCore::ScrollAnimatorNone::fireUpAnAnimation):
      (WebCore::ScrollAnimatorNone::cancelAnimations):
      (WebCore::ScrollAnimatorNone::animationTimerFired):
      * platform/ScrollAnimatorNone.h:
      (ScrollAnimatorNone):
      
      Source/WebKit/qt:
      
      Expose the enable scroll animator setting.
      
      * Api/qwebsettings.cpp:
      (QWebSettingsPrivate::apply):
      (QWebSettings::QWebSettings):
      * Api/qwebsettings.h:
      
      Source/WebKit2:
      
      Expose scroll-animator preference, but ensure animated smooth scrolling
      on the web process side is disabled when scrolling has been delegated
      to the UI process.
      
      * Shared/WebPreferencesStore.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::setResizesToContentsUsingLayoutSize):
      (WebKit::WebPage::updatePreferences):
      
      Source/WTF:
      
      Initialize GESTURE_ANIMATION feature flag.
      
      * wtf/Platform.h:
      
      Tools:
      
      Enabled SMOOTH_SCROLLING on Qt, and expose the enable scroll animator
      setting in QtTestBrowser so it can be tested.
      
      * QtTestBrowser/launcherwindow.cpp:
      (LauncherWindow::createChrome):
      (LauncherWindow::toggleScrollAnimator):
      * QtTestBrowser/launcherwindow.h:
      (WindowOptions::WindowOptions):
      (WindowOptions):
      (LauncherWindow):
      * qmake/mkspecs/features/features.pri:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@126291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      abefb4bd