1. 06 Jan, 2012 33 commits
    • benjamin@webkit.org's avatar
      [Mac] Sort the resources of JavaScriptCore.xcodeproj and remove duplicates · 5efbb01c
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75631
      
      Patch by Benjamin Poulain <bpoulain@webkit.org> on 2012-01-06
      Reviewed by Andreas Kling.
      
      * JavaScriptCore.xcodeproj/project.pbxproj:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104304 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5efbb01c
    • jer.noble@apple.com's avatar
      Media Element: scrubbing in full-screen mode breaks playback. · d91faace
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75650
      
      Reviewed by John Sullivan.
      
      Source/WebCore:
      
      Test: fullscreen/video-controls-timeline.html
      
      Only begin scrubbing if the panel itself is the mousedown event target.
      
      * html/shadow/MediaControlElements.cpp:
      (WebCore::MediaControlPanelElement::defaultEventHandler):
      
      LayoutTests:
      
      * fullscreen/video-controls-timeline-expected.txt: Added.
      * fullscreen/video-controls-timeline.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104303 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d91faace
    • jer.noble@apple.com's avatar
      Add new (failing) test to Chromium test_expectations. Fix tracked by · bfc36932
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75716
      
      Unreviewed; test expectations update.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bfc36932
    • jer.noble@apple.com's avatar
      REGRESSION (r90797): Full screen video HUD cannot be dragged horizontally · d05b8a4d
      jer.noble@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75200
      
      Reviewed by Eric Carlson.
      
      Source/WebCore:
      
      Test: fullscreen/video-controls-drag.html
      
      The !important rules in fullscreenQuickTime.css are overriding the styles added by the
      drag operation in MediaControlElements.cpp.  Give the panel a "dragged" class in setPosition
      (clearing it in resetPosition) that allows the !important rules to apply only when the
      panel is not dragged.
      
      * css/fullscreenQuickTime.css:
      (video:-webkit-full-screen::-webkit-media-controls-panel):
      (video:-webkit-full-screen::-webkit-media-controls-panel:not(.dragged)):
      * html/shadow/MediaControlElements.cpp:
      (WebCore::MediaControlPanelElement::setPosition):
      (WebCore::MediaControlPanelElement::resetPosition):
      
      LayoutTests:
      
      * fullscreen/video-controls-drag-expected.txt: Added.
      * fullscreen/video-controls-drag.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d05b8a4d
    • senorblanco@chromium.org's avatar
      [Chromium] Remove fast/files/domurl-script-execution-context-crash.html · 9cf5929a
      senorblanco@chromium.org authored
      from test_expectations (no longer crashing).
      
      Unreviewed; test expectations update.
      
      * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104300 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9cf5929a
    • jonlee@apple.com's avatar
      Tools: Update DRT on Mac to draw resize handles on text areas. · 52385a91
      jonlee@apple.com authored
      Reviewed by John Sullivan.
      
      Enable resize handles on text areas so that we don't have to create two different sets of pixel test results,
      between WK1 and WK2. This will require rebaselining existing textarea pixel tests.
      
      * DumpRenderTree/mac/DumpRenderTree.mm:
      (resetDefaultsToConsistentValues):
      
      LayoutTests: Rebaseline fast/forms
      Rebaseline pixel tests involving textarea.
      
      Reviewed by John Sullivan.
      
      Moved from mac to mac-snowleopard:
      
      * platform/mac-snowleopard/fast/forms/001
      * platform/mac-snowleopard/fast/forms/HTMLOptionElement_label02
      * platform/mac-snowleopard/fast/forms/HTMLOptionElement_label03
      * platform/mac-snowleopard/fast/forms/HTMLOptionElement_label04
      * platform/mac-snowleopard/fast/forms/basic-buttons-expected
      * platform/mac-snowleopard/fast/forms/basic-inputs-expected
      * platform/mac-snowleopard/fast/forms/basic-selects-expected
      * platform/mac-snowleopard/fast/forms/basic-textareas-expected
      * platform/mac-snowleopard/fast/forms/basic-textareas-quirks-expected
      * platform/mac-snowleopard/fast/forms/box-shadow-override
      * platform/mac-snowleopard/fast/forms/button-align
      * platform/mac-snowleopard/fast/forms/button-generated-content
      * platform/mac-snowleopard/fast/forms/button-sizes
      * platform/mac-snowleopard/fast/forms/button-style-color
      * platform/mac-snowleopard/fast/forms/button-table-styles
      * platform/mac-snowleopard/fast/forms/button-text-transform
      * platform/mac-snowleopard/fast/forms/button-white-space
      * platform/mac-snowleopard/fast/forms/control-restrict-line-height
      * platform/mac-snowleopard/fast/forms/disabled-select-change-index
      * platform/mac-snowleopard/fast/forms/fieldset-align
      * platform/mac-snowleopard/fast/forms/file/file-input-direction
      * platform/mac-snowleopard/fast/forms/form-element-geometry
      * platform/mac-snowleopard/fast/forms/form-hides-table
      * platform/mac-snowleopard/fast/forms/input-appearance-height
      * platform/mac-snowleopard/fast/forms/input-button-sizes
      * platform/mac-snowleopard/fast/forms/input-table
      * platform/mac-snowleopard/fast/forms/input-value
      * platform/mac-snowleopard/fast/forms/menulist-style-color
      * platform/mac-snowleopard/fast/forms/option-strip-whitespace
      * platform/mac-snowleopard/fast/forms/placeholder-position
      * platform/mac-snowleopard/fast/forms/radio_checked
      * platform/mac-snowleopard/fast/forms/radio_checked_dynamic
      * platform/mac-snowleopard/fast/forms/range/slider-padding
      * platform/mac-snowleopard/fast/forms/select-align
      * platform/mac-snowleopard/fast/forms/select-baseline-expected
      * platform/mac-snowleopard/fast/forms/select-disabled-appearance
      * platform/mac-snowleopard/fast/forms/select-initial-position
      * platform/mac-snowleopard/fast/forms/select-style
      * platform/mac-snowleopard/fast/forms/select-writing-direction-natural-expected
      * platform/mac-snowleopard/fast/forms/textAreaLineHeight
      * platform/mac-snowleopard/fast/forms/textarea-align
      * platform/mac-snowleopard/fast/forms/textarea-scroll-height
      * platform/mac-snowleopard/fast/forms/textarea-width
      * platform/mac-snowleopard/fast/overflow/overflow-x-y
      
      New pixel test results:
      
      * platform/mac/fast/forms/001-expected.png:
      * platform/mac/fast/forms/HTMLOptionElement_label02-expected.png:
      * platform/mac/fast/forms/HTMLOptionElement_label03-expected.png:
      * platform/mac/fast/forms/HTMLOptionElement_label04-expected.png:
      * platform/mac/fast/forms/basic-buttons-expected.png:
      * platform/mac/fast/forms/basic-inputs-expected.png:
      * platform/mac/fast/forms/basic-selects-expected.png:
      * platform/mac/fast/forms/basic-textareas-expected.png:
      * platform/mac/fast/forms/basic-textareas-quirks-expected.png:
      * platform/mac/fast/forms/box-shadow-override-expected.png:
      * platform/mac/fast/forms/button-align-expected.png:
      * platform/mac/fast/forms/button-generated-content-expected.png:
      * platform/mac/fast/forms/button-sizes-expected.png:
      * platform/mac/fast/forms/button-style-color-expected.png:
      * platform/mac/fast/forms/button-table-styles-expected.png:
      * platform/mac/fast/forms/button-text-transform-expected.png:
      * platform/mac/fast/forms/button-white-space-expected.png:
      * platform/mac/fast/forms/control-restrict-line-height-expected.png:
      * platform/mac/fast/forms/disabled-select-change-index-expected.png:
      * platform/mac/fast/forms/fieldset-align-expected.png:
      * platform/mac/fast/forms/file/file-input-direction-expected.png:
      * platform/mac/fast/forms/form-element-geometry-expected.png:
      * platform/mac/fast/forms/form-hides-table-expected.png:
      * platform/mac/fast/forms/input-appearance-height-expected.png:
      * platform/mac/fast/forms/input-button-sizes-expected.png:
      * platform/mac/fast/forms/input-table-expected.png:
      * platform/mac/fast/forms/input-value-expected.png:
      * platform/mac/fast/forms/menulist-style-color-expected.png:
      * platform/mac/fast/forms/option-strip-whitespace-expected.png:
      * platform/mac/fast/forms/placeholder-position-expected.png:
      * platform/mac/fast/forms/radio_checked-expected.png:
      * platform/mac/fast/forms/radio_checked_dynamic-expected.png:
      * platform/mac/fast/forms/range/slider-padding-expected.png:
      * platform/mac/fast/forms/select-align-expected.png:
      * platform/mac/fast/forms/select-baseline-expected.png:
      * platform/mac/fast/forms/select-disabled-appearance-expected.png:
      * platform/mac/fast/forms/select-initial-position-expected.png:
      * platform/mac/fast/forms/select-style-expected.png:
      * platform/mac/fast/forms/select-writing-direction-natural-expected.png:
      * platform/mac/fast/forms/textAreaLineHeight-expected.png:
      * platform/mac/fast/forms/textarea-align-expected.png:
      * platform/mac/fast/forms/textarea-scroll-height-expected.png:
      * platform/mac/fast/forms/textarea-width-expected.png:
      * platform/mac/fast/overflow/overflow-x-y-expected.png:
      
      Added new results:
      
      * platform/mac/fast/forms/selectlist-minsize-expected.png: Added. Needs Snow Leopard baseline.
      * platform/mac/fast/forms/basic-selects-expected.txt: Rebaseline since fix of bug 74270.
      * platform/mac/fast/forms/listbox-clip-expected.png: Fix was made to have default # of options in list box to 4, instead of 5. Needed
      brand new baseline, and so does Snow Leopard.
      * platform/mac/fast/forms/listbox-clip-expected.txt:
      * platform/mac/test_expectations.txt: New expectations for basic-selects.html, since the fix of bug 74270.
      
      New baselines that were not moved to mac-snowleopard because the difference was just the resize handle.
      
      * platform/mac/fast/table/003-expected.png:
      * platform/mac/tables/mozilla/bugs/bug194024-expected.png:
      * platform/mac/tables/mozilla/bugs/bug30692-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      52385a91
    • jberlin@webkit.org's avatar
      Windows build fix. · 0523b4a4
      jberlin@webkit.org authored
      * Interfaces/IWebViewPrivate.idl:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104296 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0523b4a4
    • commit-queue@webkit.org's avatar
      [Chromium] Expectations for svg/carto.net/button.svg can be updated · 0e8ed124
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75621
      
      Unreviewed update to Chromium test_expectations
      
      Patch by Stephen Chenney <schenney@chromium.org> on 2012-01-06
      
      * platform/chromium/test_expectations.txt: Removed flakiness line for carto.net/button.svg
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e8ed124
    • jknotten@chromium.org's avatar
      [Chromium] Set baseline for new test... · 7e9be1ae
      jknotten@chromium.org authored
      [Chromium] Set baseline for new test plugins/npruntime/object-from-destroyed-plugin-in-subframe.html
      https://bugs.webkit.org/show_bug.cgi?id=75706
      
      Unreviewed.
      
      * platform/chromium/plugins/npruntime/object-from-destroyed-plugin-in-subframe-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104294 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e9be1ae
    • commit-queue@webkit.org's avatar
      make canvas-lineWidth test pass even if pixel values vary a tiny bit · cc97ad2b
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75627
      
      Patch by Elliot Poger <epoger@google.com> on 2012-01-06
      Reviewed by Stephen White.
      
      * fast/canvas/canvas-lineWidth.js:
      (compareRows):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104293 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc97ad2b
    • jknotten@chromium.org's avatar
      Rebaseline mac results after r104240. · 45a1da04
      jknotten@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75654 changed the way
      text fields are drawn on Mac.
      
      Unreviewed.
      
      * platform/chromium-cg-mac-leopard/fast/forms/input-align-expected.png:
      * platform/chromium-cg-mac-leopard/fast/lists/dynamic-marker-crash-expected.png:
      * platform/chromium-cg-mac-leopard/fast/replaced/replaced-breaking-mixture-expected.png: Added.
      * platform/chromium-cg-mac-leopard/fast/replaced/width100percent-textfield-expected.png:
      * platform/chromium-cg-mac-leopard/fast/speech/input-appearance-numberandspeech-expected.png:
      * platform/chromium-cg-mac-leopard/fast/speech/input-appearance-speechbutton-expected.png:
      * platform/chromium-cg-mac-leopard/fast/speech/speech-bidi-rendering-expected.png:
      * platform/chromium-cg-mac-leopard/fast/table/003-expected.png: Added.
      * platform/chromium-cg-mac-leopard/fast/table/text-field-baseline-expected.png: Added.
      * platform/chromium-cg-mac-leopard/http/tests/navigation/javascriptlink-frames-expected.png:
      * platform/chromium-cg-mac-leopard/svg/hixie/mixed/003-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/45621-expected.png: Added.
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug1188-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug2479-2-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/bugs/bug2479-3-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/dom/tableDom-expected.png:
      * platform/chromium-cg-mac-leopard/tables/mozilla/other/move_row-expected.png:
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-align-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/forms/input-align-expected.txt: Added.
      * platform/chromium-cg-mac-snowleopard/fast/lists/dynamic-marker-crash-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png: Copied from LayoutTests/platform/chromium-cg-mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png.
      * platform/chromium-cg-mac-snowleopard/fast/replaced/replaced-breaking-mixture-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/speech/input-appearance-numberandspeech-expected.png:
      * platform/chromium-cg-mac-snowleopard/fast/speech/input-appearance-speechbutton-expected.png:
      * platform/chromium-cg-mac-snowleopard/fast/speech/speech-bidi-rendering-expected.png:
      * platform/chromium-cg-mac-snowleopard/fast/table/003-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/table/spanOverlapRepaint-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png.
      * platform/chromium-cg-mac-snowleopard/fast/table/text-field-baseline-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/fast/transforms/transformed-focused-text-input-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/http/tests/navigation/javascriptlink-frames-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/svg/hixie/mixed/003-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/45621-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug1188-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug2479-2-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/bugs/bug2479-3-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/dom/tableDom-expected.png: Added.
      * platform/chromium-cg-mac-snowleopard/tables/mozilla/other/move_row-expected.png: Added.
      * platform/chromium-cg-mac/http/tests/navigation/javascriptlink-frames-expected.png: Removed.
      * platform/chromium-cg-mac/svg/hixie/mixed/003-expected.png: Removed.
      * platform/chromium-cg-mac/tables/mozilla/bugs/bug1188-expected.png: Removed.
      * platform/chromium-mac-leopard/fast/forms/input-align-expected.png:
      * platform/chromium-mac-leopard/fast/lists/dynamic-marker-crash-expected.png:
      * platform/chromium-mac-leopard/fast/replaced/replaced-breaking-mixture-expected.png:
      * platform/chromium-mac-leopard/fast/replaced/width100percent-textfield-expected.png:
      * platform/chromium-mac-leopard/fast/speech/input-appearance-numberandspeech-expected.png:
      * platform/chromium-mac-leopard/fast/speech/input-appearance-speechbutton-expected.png:
      * platform/chromium-mac-leopard/fast/speech/speech-bidi-rendering-expected.png:
      * platform/chromium-mac-leopard/fast/table/003-expected.png:
      * platform/chromium-mac-leopard/fast/table/text-field-baseline-expected.png:
      * platform/chromium-mac-leopard/http/tests/navigation/javascriptlink-frames-expected.png:
      * platform/chromium-mac-leopard/svg/hixie/mixed/003-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/45621-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug1188-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug2479-2-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/bugs/bug2479-3-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/dom/tableDom-expected.png:
      * platform/chromium-mac-leopard/tables/mozilla/other/move_row-expected.png:
      * platform/chromium-mac-snowleopard/fast/forms/input-align-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/lists/dynamic-marker-crash-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/table/spanOverlapRepaint-expected.png.
      * platform/chromium-mac-snowleopard/fast/replaced/replaced-breaking-mixture-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/speech/input-appearance-numberandspeech-expected.png:
      * platform/chromium-mac-snowleopard/fast/speech/input-appearance-speechbutton-expected.png:
      * platform/chromium-mac-snowleopard/fast/speech/speech-bidi-rendering-expected.png:
      * platform/chromium-mac-snowleopard/fast/table/003-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/table/spanOverlapRepaint-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/repaint/renderer-destruction-by-invalidateSelection-crash-expected.png.
      * platform/chromium-mac-snowleopard/fast/table/text-field-baseline-expected.png: Added.
      * platform/chromium-mac-snowleopard/fast/transforms/transformed-focused-text-input-expected.png: Added.
      * platform/chromium-mac-snowleopard/http/tests/navigation/javascriptlink-frames-expected.png: Added.
      * platform/chromium-mac-snowleopard/svg/hixie/mixed/003-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/45621-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug1188-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2479-2-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug2479-2-expected.png.
      * platform/chromium-mac-snowleopard/tables/mozilla/bugs/bug2479-3-expected.png: Renamed from LayoutTests/platform/chromium-mac/tables/mozilla/bugs/bug2479-3-expected.png.
      * platform/chromium-mac-snowleopard/tables/mozilla/dom/tableDom-expected.png: Added.
      * platform/chromium-mac-snowleopard/tables/mozilla/other/move_row-expected.png: Added.
      * platform/chromium-mac/fast/forms/input-align-expected.png: Removed.
      * platform/chromium-mac/fast/lists/dynamic-marker-crash-expected.png: Removed.
      * platform/chromium-mac/fast/replaced/replaced-breaking-mixture-expected.png: Removed.
      * platform/chromium-mac/fast/replaced/width100percent-textfield-expected.png: Removed.
      * platform/chromium-mac/fast/table/003-expected.png: Removed.
      * platform/chromium-mac/fast/table/text-field-baseline-expected.png: Removed.
      * platform/chromium-mac/fast/transforms/transformed-focused-text-input-expected.png: Removed.
      * platform/chromium-mac/http/tests/navigation/javascriptlink-frames-expected.png: Removed.
      * platform/chromium-mac/svg/hixie/mixed/003-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/45621-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/bugs/bug1188-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/dom/tableDom-expected.png: Removed.
      * platform/chromium-mac/tables/mozilla/other/move_row-expected.png: Removed.
      * platform/chromium-win-vista/http/tests/navigation/javascriptlink-frames-expected.png: Removed.
      * platform/chromium-win/http/tests/inspector/network/download-expected.txt: Added.
      * platform/chromium/fast/replaced/width100percent-textfield-expected.png: Added.
      * platform/chromium/fast/table/colspanMinWidth-expected.png: Copied from LayoutTests/platform/chromium-mac/fast/table/spanOverlapRepaint-expected.png.
      * platform/chromium/fast/table/colspanMinWidth-vertical-expected.png: Renamed from LayoutTests/platform/chromium-mac/fast/table/spanOverlapRepaint-expected.png.
      * platform/chromium/http/tests/inspector/network/download-expected.txt: Added.
      * platform/chromium/plugins/mouse-click-plugin-clears-selection-expected.png:
      * platform/mac/plugins/mouse-click-plugin-clears-selection-expected.txt: Renamed from LayoutTests/plugins/mouse-click-plugin-clears-selection-expected.txt.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104292 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      45a1da04
    • hausmann@webkit.org's avatar
      [Qt] Fix compilation of app code against QtWebKit master header file · 42c555e5
      hausmann@webkit.org authored
      Unreviewed trivial build fix.
      
      * Source/sync.profile: Exclude util.h and testwindow.h from the master header
      file, because it cannot be used outside of the WebKit source tree.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104291 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      42c555e5
    • antti@apple.com's avatar
      REGRESSION (r104060): fast/forms/textarea-metrics.html is failing · 0a03deb8
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=75644
      
      Reviewed by Alexey Proskuryakov.
      
      We need to clear the style selector on doc type change as the doc type
      may affect interpretation of the stylesheets. r104060 extended the life
      of the style selector in some cases, exposing this problem.
      
      * dom/Document.cpp:
      (WebCore::Document::setDocType):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104290 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0a03deb8
    • kov@webkit.org's avatar
      Make the new WTF module build on Gtk · e6dee6c7
      kov@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75669
      
      Patch by Eric Seidel  <eric@webkit.org> and Gustavo Noronha Silva <gustavo.noronha@collabora.com> on 2012-01-06
      
      Source/JavaScriptCore:
      
      * GNUmakefile.am:
      
      Source/WTF:
      
      * GNUmakefile.am: Added.
      * GNUmakefile.list.am: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104289 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6dee6c7
    • commit-queue@webkit.org's avatar
      [BlackBerry] Upstream BlackBerry WebCoreSupport cache client · 1efeaf93
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75649
      
      Patch by Jacky Jiang <zhajiang@rim.com> on 2012-01-06
      Reviewed by Antonio Gomes.
      
      Initial upstream, no new tests.
      
      * blackberry/WebCoreSupport/CacheClientBlackBerry.cpp: Added.
      * blackberry/WebCoreSupport/CacheClientBlackBerry.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104288 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1efeaf93
    • commit-queue@webkit.org's avatar
      [Qt][WK2] QQuickWebView breaks when an empty url is loaded · e7a432bc
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75445
      
      Patch by Rafael Brandao <rafael.lobo@openbossa.org> on 2012-01-06
      Reviewed by Tor Arne Vestbø.
      
      * UIProcess/API/qt/qquickwebview.cpp:
      (QQuickWebView::load):
      * UIProcess/API/qt/tests/qmltests/WebView/tst_loadUrl.qml: Check if a request to load
      an empty url is ignored. 'about:blank' should be used instead to load an empty page.
      * UIProcess/API/qt/tests/qmltests/qmltests.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104287 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7a432bc
    • vestbo@webkit.org's avatar
      [Qt] Remove un-needed VPATHs from project includes · bbac0248
      vestbo@webkit.org authored
      Reviewed by Simon Hausmann.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104286 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbac0248
    • vestbo@webkit.org's avatar
      [Qt] Move listing of include paths and libs to pri files in sources · b23f57a9
      vestbo@webkit.org authored
      Includepaths are sometimes modified by non-Qt contributors so keeping
      them in files inside Sources makes it more likely that they are updated
      along with project files for the other ports.
      
      Using pri files instead of prf files for this also has the benefit that
      the include() from the main target file can be parsed and followed by
      Qt Creator -- something that does not work with load().
      
      Dependency from a target to a library through the WEBKIT variable are
      handled through forwarding-files in Tools/qmake/mkspecs/modules, which
      set the source root of the module and include the right pri file.
      
      Ideally we'd use the variant of include() that takes an optional
      namespace to read the variables into, or the fromfile() function,
      but both of these add an overhead of about 40% on the total qmake
      runtime, due to making a deep copy of all the variables in the
      project or re-reading all the prf files from scratch.
      
      Reviewed by Simon Hausmann.
      Reviewed by Ossy.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104285 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b23f57a9
    • vestbo@webkit.org's avatar
      [Qt] Add a few more files ot OTHER_FILES · dda6aa49
      vestbo@webkit.org authored
      Rubber-stamped by Simon Hausmann.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104284 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dda6aa49
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening. Skip a new failing test. · 130062c9
      ossy@webkit.org authored
      * platform/qt/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104283 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      130062c9
    • commit-queue@webkit.org's avatar
      Source/WebKit/efl: [EFL] Add new pre-rendering code. · 6a1627a4
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=73430
      
      Patch by JungJik Lee <jungjik.lee@samsung.com> on 2012-01-06
      Reviewed by Zoltan Herczeg.
      
      Add new pre-rendering code to pre-render the view area more efficiently.
      At first find centered view position where backing store starts to queuing the render request from.
      And append the request into the tiled backing store in spiral order.
      
      * ewk/ewk_private.h:
      * ewk/ewk_tiled_backing_store.cpp:
      (ewk_tiled_backing_store_pre_render_tile_add):
      (ewk_tiled_backing_store_pre_render_spiral_queue):
      * ewk/ewk_tiled_backing_store.h:
      * ewk/ewk_view.cpp:
      (_ewk_view_smart_pre_render_start):
      (ewk_view_base_smart_set):
      (ewk_view_pre_render_start):
      * ewk/ewk_view.h:
      * ewk/ewk_view_tiled.cpp:
      (_ewk_view_tiled_rect_collision_check):
      (_ewk_view_tiled_rect_collision_resolve):
      (_ewk_view_tiled_smart_pre_render_start):
      (ewk_view_tiled_smart_set):
      
      Tools: [EFL] Add pre-render handling code in EWebLauncher.
      https://bugs.webkit.org/show_bug.cgi?id=73430
      
      Patch by JungJik Lee <jungjik.lee@samsung.com> on 2012-01-06
      Reviewed by Zoltan Herczeg.
      
      Add pre-render handling code by pressing Insert key.
      
      * EWebLauncher/main.c:
      (on_key_down):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104282 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6a1627a4
    • jknotten@chromium.org's avatar
      [Chromium] Update test expectations. · c8a2ff16
      jknotten@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75698
      
      Unreviewed.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104281 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c8a2ff16
    • zeno.albisser@nokia.com's avatar
      [Qt][WK2] Add test for application URL schemes. · dff676be
      zeno.albisser@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=74933
      
      Reviewed by Kenneth Rohde Christiansen.
      
      * UIProcess/API/qt/tests/qmltests/WebView/tst_applicationScheme.qml: Added.
      * UIProcess/API/qt/tests/qmltests/qmltests.pro:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104280 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dff676be
    • abarth@webkit.org's avatar
      FrameDestructionObserver should be more full-service · c27d65be
      abarth@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75690
      
      Reviewed by Eric Seidel.
      
      This patch moves code common to both subclasses of
      FrameDestructionObserver into FrameDestructionObserver itself.  As we
      add more subclasses, we don't want to keep copy/pasting this code.
      
      * page/Frame.cpp:
      (WebCore::FrameDestructionObserver::FrameDestructionObserver):
      (WebCore::FrameDestructionObserver::~FrameDestructionObserver):
      (WebCore::FrameDestructionObserver::frameDestroyed):
      * page/Frame.h:
      (WebCore::FrameDestructionObserver::frame):
      * plugins/DOMMimeType.cpp:
      (WebCore::DOMMimeType::DOMMimeType):
      (WebCore::DOMMimeType::~DOMMimeType):
      * plugins/DOMMimeType.h:
      * plugins/DOMPlugin.cpp:
      (WebCore::DOMPlugin::DOMPlugin):
      (WebCore::DOMPlugin::~DOMPlugin):
      * plugins/DOMPlugin.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104279 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c27d65be
    • commit-queue@webkit.org's avatar
      Move MediaDocument styles into CSS. Set black background for chromium. · 20b955b1
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=74123
      
      Source/WebCore:
      
      Patch by Dale Curtis <dalecurtis@chromium.org> on 2012-01-06
      Reviewed by Eric Seidel.
      
      Test: platform/chromium/media/video-black-bg-in-media-document.html
      
      * css/mediaControls.css:
      (body:-webkit-full-page-media):
      (video:-webkit-full-page-media):
      * css/mediaControlsChromium.css:
      (body:-webkit-full-page-media):
      * html/MediaDocument.cpp:
      (WebCore::MediaDocumentParser::createDocumentStructure):
      
      LayoutTests:
      
      Adds a new chromium specific test for ensuring the background is set
      properly.
      
      Rebaselines the text portions of media-document-audio-repaint.
      
      Patch by Dale Curtis <dalecurtis@chromium.org> on 2012-01-06
      Reviewed by Eric Seidel.
      
      * platform/chromium-gpu-win/media/media-document-audio-repaint-expected.txt:
      * platform/chromium-gpu/media/media-document-audio-repaint-expected.txt:
      * platform/chromium-win/media/media-document-audio-repaint-expected.txt:
      * platform/chromium/media/media-document-audio-repaint-expected.txt:
      * platform/chromium/media/video-black-bg-in-media-document-expected.txt: Added.
      * platform/chromium/media/video-black-bg-in-media-document.html: Added.
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104278 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      20b955b1
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening. Update Qt specific expected results after r104208. · 81c3381b
      ossy@webkit.org authored
      * platform/qt/fast/table/032-expected.png:
      * platform/qt/fast/table/032-expected.txt:
      * platform/qt/fast/writing-mode/table-percent-width-quirk-expected.png: Added.
      * platform/qt/fast/writing-mode/table-percent-width-quirk-expected.txt: Added.
      * platform/qt/tables/mozilla/bugs/bug55694-expected.png:
      * platform/qt/tables/mozilla/bugs/bug55694-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104277 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81c3381b
    • aboxhall@chromium.org's avatar
      Report correct line number for non-native editable text elements. · cf75b0ab
      aboxhall@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71263
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      A non-native editable text element is an element with an ARIA role of "textbox", which is
      set on an element which behaves like an editable text element (such as a textarea, text
      input field or contenteditable text), but whose behaviour is controlled by the author rather
      than the browser.
      
      This change makes certain methods on Node, and related methods in htmlediting and
      visible_units, aware of the notion that an element may be editable only from the point of
      view of assistive technology (via the ARIA textbox role), via the EditableType enum added to
      EditingBoundary.h.
      
      This is so that AccessibilityObject::lineForPosition() can use previousLinePosition(), and
      AccessibilityRenderObject::indexForVisiblePosition() can use highestEditableRoot(), in a way
      that respects non-native editability.
      
      Test: accessibility/textbox-role-reports-line-number.html
      
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::rootAXEditableElement): Returns the root element which is
      editable from the point of view of assistive technology, whether natively or otherwise.
      (WebCore::AXObjectCache::nodeIsTextControl): Whether the given node is considered an
      editable text element by assistive technology, natively or otherwise.
      * accessibility/AccessibilityObject.cpp:
      (WebCore::AccessibilityObject::lineForPosition): Modified to request the previous line
      position in an element which is editable to Accessibility.
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::indexForVisiblePosition): Modified to request the
      highest root element which is editable to Accessibility.
      * dom/Node.cpp:
      (WebCore::Node::rendererIsEditableToAccessibility): Whether this node is editable to
      Accessibility for the given EditableLevel.
      (WebCore::Node::rootEditableElement): Overloaded version of this method which takes an
      EditableType enum value indicating whether non-native editability is to be respected.
      * dom/Node.h:
      (WebCore::Node::rendererIsEditable): Overloaded version of this method which takes an
      EditableType enum value indicating whether non-native editability is to be respected.
      (WebCore::Node::rendererIsRichlyEditable):  Overloaded version of this method which takes
      an EditableType enum value indicating whether non-native editability is to be respected.
      * editing/EditingBoundary.h:
      * editing/htmlediting.cpp:
      (WebCore::highestEditableRoot): Added optional EditableType parameter.
      (WebCore::isEditablePosition): Added optional EditableType parameter.
      (WebCore::isRichlyEditablePosition): Added optional EditableType parameter.
      (WebCore::editableRootForPosition): Added optional EditableType parameter.
      * editing/htmlediting.h:
      * editing/visible_units.cpp:
      (WebCore::previousLeafWithSameEditability): Added optional EditableType parameter.
      (WebCore::previousLinePosition): Added optional EditableType parameter.
      (WebCore::nextLeafWithSameEditability): Added optional EditableType parameter.
      (WebCore::nextLinePosition): Added optional EditableType parameter.
      * editing/visible_units.h:
      
      LayoutTests:
      
      * accessibility/textbox-role-reports-line-number-expected.txt: Added.
      * accessibility/textbox-role-reports-line-number.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104276 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf75b0ab
    • tkent@chromium.org's avatar
      Fix a crash by importing an element of which local name ends with ":input". · 02045fa1
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75103
      
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      Test: fast/dom/importNode-confusing-localName.html
      
      * dom/Document.cpp:
      (WebCore::Document::importNode): Pass QualifiedName of the source elemnt
      to createElement() in order to avoid unnecessary serialization and
      parsing of the qualified name
      
      LayoutTests:
      
      * fast/dom/importNode-confusing-localName-expected.txt: Added.
      * fast/dom/importNode-confusing-localName.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104275 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      02045fa1
    • tkent@chromium.org's avatar
      Move HTMLFormControlElementWithState class in its own header file. · bd756559
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75482
      
      Patch by Alexis Menard <alexis.menard@openbossa.org> on 2012-01-06
      Reviewed by Kent Tamura.
      
      Move HTMLFormControlElementWithState class which was mixed in HTMLFormControlElement
      files into its own header file and its own implementation file.
      
      No new tests : the existing ones should cover the refactoring.
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * html/HTMLElementsAllInOne.cpp:
      * html/HTMLFormControlElement.cpp:
      * html/HTMLFormControlElement.h:
      * html/HTMLKeygenElement.h:
      * html/HTMLSelectElement.h:
      * html/HTMLTextFormControlElement.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104274 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bd756559
    • ossy@webkit.org's avatar
      NRWT should use test_expectation.txt on wk2 platforms · 7947d47c
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75417
      
      Reviewed by Dirk Pranke.
      
      * Scripts/webkitpy/layout_tests/port/webkit.py:
      (path_to_test_expectations_file):
      * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
      (test_path_to_test_expectations_file):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104273 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7947d47c
    • ossy@webkit.org's avatar
      Unreviewed, rolling out r104268. · a4dd612b
      ossy@webkit.org authored
      http://trac.webkit.org/changeset/104268
      https://bugs.webkit.org/show_bug.cgi?id=75689
      
      It broke the mac build (Requested by Ossy on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-01-06
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * html/HTMLElementsAllInOne.cpp:
      * html/HTMLFormControlElement.cpp:
      (WebCore::HTMLFormControlElementWithState::HTMLFormControlElementWithState):
      (WebCore::HTMLFormControlElementWithState::~HTMLFormControlElementWithState):
      (WebCore::HTMLFormControlElementWithState::didMoveToNewDocument):
      (WebCore::HTMLFormControlElementWithState::shouldAutocomplete):
      (WebCore::HTMLFormControlElementWithState::shouldSaveAndRestoreFormControlState):
      (WebCore::HTMLFormControlElementWithState::finishParsingChildren):
      * html/HTMLFormControlElement.h:
      (WebCore::HTMLFormControlElementWithState::canContainRangeEndPoint):
      (WebCore::HTMLFormControlElementWithState::saveFormControlState):
      (WebCore::HTMLFormControlElementWithState::restoreFormControlState):
      * html/HTMLFormControlElementWithState.cpp: Removed.
      * html/HTMLFormControlElementWithState.h: Removed.
      * html/HTMLKeygenElement.h:
      * html/HTMLSelectElement.h:
      * html/HTMLTextFormControlElement.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104272 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4dd612b
    • commit-queue@webkit.org's avatar
      Unreviewed, rolling out r104259 and r104261. · 0aefadd5
      commit-queue@webkit.org authored
      http://trac.webkit.org/changeset/104259
      http://trac.webkit.org/changeset/104261
      https://bugs.webkit.org/show_bug.cgi?id=75688
      
      Caused assertion failures (Requested by rniwa on #webkit).
      
      Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2012-01-06
      
      * CMakeLists.txt:
      * GNUmakefile.list.am:
      * Target.pri:
      * WebCore.gypi:
      * WebCore.vcproj/WebCore.vcproj:
      * WebCore.xcodeproj/project.pbxproj:
      * dom/ContainerNode.cpp:
      (WebCore::ContainerNode::takeAllChildrenFrom):
      (WebCore::ContainerNode::insertBefore):
      (WebCore::ContainerNode::replaceChild):
      (WebCore::ContainerNode::removeBetween):
      (WebCore::ContainerNode::removeChildren):
      (WebCore::ContainerNode::appendChild):
      (WebCore::ContainerNode::parserAddChild):
      * dom/DOMAllInOne.cpp:
      * dom/Document.cpp:
      (WebCore::Document::setDocType):
      (WebCore::Document::adoptNode):
      * dom/Element.cpp:
      (WebCore::Element::removeShadowRoot):
      * dom/Node.cpp:
      (WebCore::Node::setDocument):
      (WebCore::Node::setTreeScopeRecursively):
      (WebCore::Node::setDocumentRecursively):
      (WebCore::Node::didMoveToNewDocument):
      * dom/Node.h:
      * dom/TreeScope.cpp:
      * dom/TreeScope.h:
      * dom/TreeScopeAdopter.cpp: Removed.
      * dom/TreeScopeAdopter.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104271 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0aefadd5
    • commit-queue@webkit.org's avatar
      WTF::String: Inline method shouldn't have WTF_EXPORT_PRIVATE · 04fa35fd
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=75612
      
      Patch by Hajime Morrita <morrita@chromium.org> on 2012-01-06
      Reviewed by Kevin Ollivier.
      
      * wtf/text/WTFString.h:
      (WTF::String::findIgnoringCase):
      (WTF::String::append):
      (WTF::String::fromUTF8):
      (WTF::String::fromUTF8WithLatin1Fallback):
      (WTF::String::isHashTableDeletedValue):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@104270 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      04fa35fd
  2. 05 Jan, 2012 7 commits