1. 22 Nov, 2010 40 commits
    • hyatt@apple.com's avatar
      Back out r72527 since it caused multiple rendering regressions. Details in bug. · 3a8d2aea
      hyatt@apple.com authored
      WebCore: 
      
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::placeBoxesInInlineDirection):
      * rendering/RenderListItem.cpp:
      (WebCore::RenderListItem::positionListMarker):
      
      LayoutTests: 
      
      * fast/lists/outSideListMarkers-expected.txt: Removed.
      * fast/lists/outSideListMarkers.html: Removed.
      * platform/mac-leopard/css1/box_properties/margin_right-expected.checksum:
      * platform/mac-leopard/css1/box_properties/margin_right-expected.png:
      * platform/mac-leopard/css1/box_properties/padding_right-expected.checksum:
      * platform/mac-leopard/css1/box_properties/padding_right-expected.png:
      * platform/mac-leopard/editing/pasteboard/merge-end-list-expected.checksum:
      * platform/mac-leopard/editing/pasteboard/merge-end-list-expected.png:
      * platform/mac-leopard/fast/css/background-shorthand-invalid-url-expected.checksum:
      * platform/mac-leopard/fast/css/background-shorthand-invalid-url-expected.png:
      * platform/mac-leopard/fast/css/empty-pseudo-class-expected.checksum:
      * platform/mac-leopard/fast/css/empty-pseudo-class-expected.png:
      * platform/mac-leopard/fast/css/first-child-pseudo-class-expected.checksum:
      * platform/mac-leopard/fast/css/first-child-pseudo-class-expected.png:
      * platform/mac-leopard/fast/css/first-of-type-pseudo-class-expected.checksum:
      * platform/mac-leopard/fast/css/first-of-type-pseudo-class-expected.png:
      * platform/mac-leopard/fast/css/last-child-pseudo-class-expected.checksum:
      * platform/mac-leopard/fast/css/last-child-pseudo-class-expected.png:
      * platform/mac-leopard/fast/css/last-of-type-pseudo-class-expected.checksum:
      * platform/mac-leopard/fast/css/last-of-type-pseudo-class-expected.png:
      * platform/mac-leopard/fast/css/only-child-pseudo-class-expected.checksum:
      * platform/mac-leopard/fast/css/only-child-pseudo-class-expected.png:
      * platform/mac-leopard/fast/css/only-of-type-pseudo-class-expected.checksum:
      * platform/mac-leopard/fast/css/only-of-type-pseudo-class-expected.png:
      * platform/mac-leopard/fast/doctypes/002-expected.checksum:
      * platform/mac-leopard/fast/doctypes/002-expected.png:
      * platform/mac-leopard/fast/lists/001-expected.checksum:
      * platform/mac-leopard/fast/lists/001-expected.png:
      * platform/mac-leopard/fast/lists/002-expected.checksum:
      * platform/mac-leopard/fast/lists/002-expected.png:
      * platform/mac-leopard/fast/lists/003-expected.checksum:
      * platform/mac-leopard/fast/lists/003-expected.png:
      * platform/mac/css1/box_properties/margin_right-expected.txt:
      * platform/mac/css1/box_properties/padding_right-expected.txt:
      * platform/mac/editing/pasteboard/merge-end-list-expected.txt:
      * platform/mac/editing/selection/extend-by-word-002-expected.checksum:
      * platform/mac/editing/selection/extend-by-word-002-expected.png:
      * platform/mac/editing/selection/extend-by-word-002-expected.txt:
      * platform/mac/fast/css/background-shorthand-invalid-url-expected.txt:
      * platform/mac/fast/css/empty-pseudo-class-expected.txt:
      * platform/mac/fast/css/first-child-pseudo-class-expected.txt:
      * platform/mac/fast/css/first-of-type-pseudo-class-expected.txt:
      * platform/mac/fast/css/last-child-pseudo-class-expected.txt:
      * platform/mac/fast/css/last-of-type-pseudo-class-expected.txt:
      * platform/mac/fast/css/only-child-pseudo-class-expected.txt:
      * platform/mac/fast/css/only-of-type-pseudo-class-expected.txt:
      * platform/mac/fast/doctypes/002-expected.txt:
      * platform/mac/fast/lists/001-expected.txt:
      * platform/mac/fast/lists/001-vertical-expected.checksum:
      * platform/mac/fast/lists/001-vertical-expected.png:
      * platform/mac/fast/lists/001-vertical-expected.txt:
      * platform/mac/fast/lists/002-expected.txt:
      * platform/mac/fast/lists/002-vertical-expected.checksum:
      * platform/mac/fast/lists/002-vertical-expected.png:
      * platform/mac/fast/lists/002-vertical-expected.txt:
      * platform/mac/fast/lists/003-expected.txt:
      * platform/mac/fast/lists/003-vertical-expected.checksum:
      * platform/mac/fast/lists/003-vertical-expected.png:
      * platform/mac/fast/lists/003-vertical-expected.txt:
      * platform/mac/fast/lists/007-vertical-expected.checksum:
      * platform/mac/fast/lists/007-vertical-expected.png:
      * platform/mac/fast/lists/007-vertical-expected.txt:
      * platform/mac/fast/lists/008-vertical-expected.checksum:
      * platform/mac/fast/lists/008-vertical-expected.png:
      * platform/mac/fast/lists/008-vertical-expected.txt:
      * platform/mac/fast/lists/outSideListMarkers-expected.checksum: Removed.
      * platform/mac/fast/lists/outSideListMarkers-expected.png: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3a8d2aea
    • commit-queue@webkit.org's avatar
      2010-11-22 John Knottenbelt <jknotten@chromium.org> · 1eb6bc1e
      commit-queue@webkit.org authored
              Reviewed by Steve Block.
      
              Implement mocks for client-based Geolocation.
              https://bugs.webkit.org/show_bug.cgi?id=49258
      
              * Android.mk:
              * CMakeLists.txt:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * platform/mock/GeolocationClientMock.cpp: Added.
              (WebCore::GeolocationClientMock::GeolocationClientMock):
              (WebCore::GeolocationClientMock::~GeolocationClientMock):
              (WebCore::GeolocationClientMock::setController):
              (WebCore::GeolocationClientMock::setPosition):
              (WebCore::GeolocationClientMock::setError):
              (WebCore::GeolocationClientMock::geolocationDestroyed):
              (WebCore::GeolocationClientMock::startUpdating):
              (WebCore::GeolocationClientMock::stopUpdating):
              (WebCore::GeolocationClientMock::setEnableHighAccuracy):
              (WebCore::GeolocationClientMock::lastPosition):
              (WebCore::GeolocationClientMock::timerFired):
              (WebCore::GeolocationClientMock::makeGeolocationCallback):
              * platform/mock/GeolocationClientMock.h: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1eb6bc1e
    • commit-queue@webkit.org's avatar
      2010-11-22 Leandro Pereira <leandro@profusion.mobi> · 35a6d496
      commit-queue@webkit.org authored
              Reviewed by Andreas Kling.
      
              Add Leandro Pereira's blog to Planet WebKit
              https://bugs.webkit.org/show_bug.cgi?id=49910
      
              * config.ini:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35a6d496
    • commit-queue@webkit.org's avatar
      2010-11-22 Alex Grilo <abgrilo@profusion.mobi> · 08148d44
      commit-queue@webkit.org authored
              Reviewed by Kenneth Rohde Christiansen.
      
              [EFL] Tiled Backing Store for Webkit-Efl
              https://bugs.webkit.org/show_bug.cgi?id=45397
      
              This tile based backing store is a grid of tiles where each tile is
              an Evas_Object showing a piece of the page content. The
              new ewk_view_tiled.c is an implementation of some of the functions of
              the original ewk_view, that makes calls to the Tiled Backing Store
              specific functions.
      
              The rendering occurs in the pixels stored in each tile (Evas_Object),
              in the same way as the previous single backing store. Tiles not being
              shown in the viewport are stored in a cache, and can be reused later
              to avoid having to be rendered again.
      
              Scrolling occurs as just moving the tiles, using Evas move operations,
              and when more than one tile size is scrolled, a shift of rows or
              columns needs to be done.
      
              * CMakeListsEfl.txt:
              * ewk/ewk_tiled_backing_store.c: Added.
              (_ewk_tiled_backing_store_updates_process):
              (_ewk_tiled_backing_store_flush):
              (_ewk_tiled_backing_store_tile_new):
              (_ewk_tiled_backing_store_item_move):
              (_ewk_tiled_backing_store_item_resize):
              (_ewk_tiled_backing_store_tile_associate):
              (_ewk_tiled_backing_store_tile_dissociate):
              (_ewk_tiled_backing_store_tile_dissociate_all):
              (_ewk_tiled_backing_store_pre_render_request_add):
              (_ewk_tiled_backing_store_pre_render_request_del):
              (_ewk_tiled_backing_store_pre_render_request_first):
              (_ewk_tiled_backing_store_pre_render_request_flush):
              (_ewk_tiled_backing_store_pre_render_request_remove_unassociated):
              (_ewk_tiled_backing_store_pre_render_request_remove_associated):
              (_ewk_tiled_backing_store_pre_render_request_process_single):
              (_ewk_tiled_backing_store_item_process_idler_cb):
              (_ewk_tiled_backing_store_item_process_idler_stop):
              (_ewk_tiled_backing_store_item_process_idler_start):
              (_ewk_tiled_backing_store_item_request_del):
              (_ewk_tiled_backing_store_item_request_add):
              (_ewk_tiled_backing_store_disable_render):
              (_ewk_tiled_backing_store_enable_render):
              (_ewk_tiled_backing_store_visible_tiles_rect):
              (_ewk_tiled_backing_store_tile_is_inside_viewport):
              (_ewk_tiled_backing_store_tile_is_adjacent_to_viewport):
              (_ewk_tiled_backing_store_item_fill):
              (_ewk_tiled_backing_store_item_add):
              (_ewk_tiled_backing_store_item_del):
              (_ewk_tiled_backing_store_item_smooth_scale_set):
              (_ewk_tiled_backing_store_changed):
              (_ewk_tiled_backing_store_view_cols_end_del):
              (_ewk_tiled_backing_store_view_cols_end_add):
              (_ewk_tiled_backing_store_view_row_del):
              (_ewk_tiled_backing_store_view_rows_range_del):
              (_ewk_tiled_backing_store_view_rows_all_del):
              (_ewk_tiled_backing_store_render):
              (_ewk_tiled_backing_store_model_matrix_create):
              (_ewk_tiled_backing_store_smart_member_del):
              (_ewk_tiled_backing_store_smart_member_add):
              (_ewk_tiled_backing_store_mem_dbg):
              (_ewk_tiled_backing_store_sig_usr):
              (_ewk_tiled_backing_store_smart_add):
              (_ewk_tiled_backing_store_smart_del):
              (_ewk_tiled_backing_store_smart_move):
              (_ewk_tiled_backing_store_smart_resize):
              (_ewk_tiled_backing_store_recalc_renderers):
              (_ewk_tiled_backing_store_smart_calculate_size):
              (_ewk_tiled_backing_store_view_dbg):
              (_ewk_tiled_backing_store_view_wrap_up):
              (_ewk_tiled_backing_store_view_wrap_down):
              (_ewk_tiled_backing_store_view_wrap_left):
              (_ewk_tiled_backing_store_view_wrap_right):
              (_ewk_tiled_backing_store_view_refill):
              (_ewk_tiled_backing_store_view_pos_apply):
              (_ewk_tiled_backing_store_smart_calculate_offset_force):
              (_ewk_tiled_backing_store_smart_calculate_offset):
              (_ewk_tiled_backing_store_smart_calculate_pos):
              (_ewk_tiled_backing_store_fill_renderers):
              (_ewk_tiled_backing_store_smart_calculate):
              (ewk_tiled_backing_store_add):
              (ewk_tiled_backing_store_render_cb_set):
              (ewk_tiled_backing_store_tile_unused_cache_get):
              (ewk_tiled_backing_store_tile_unused_cache_set):
              (_ewk_tiled_backing_store_scroll_full_offset_set_internal):
              (ewk_tiled_backing_store_scroll_full_offset_set):
              (ewk_tiled_backing_store_scroll_full_offset_add):
              (_ewk_tiled_backing_store_zoom_set_internal):
              (ewk_tiled_backing_store_zoom_set):
              (ewk_tiled_backing_store_zoom_weak_set):
              (ewk_tiled_backing_store_fix_offsets):
              (ewk_tiled_backing_store_zoom_weak_smooth_scale_set):
              (ewk_tiled_backing_store_update):
              (ewk_tiled_backing_store_updates_process_pre_set):
              (ewk_tiled_backing_store_updates_process_post_set):
              (ewk_tiled_backing_store_updates_process):
              (ewk_tiled_backing_store_updates_clear):
              (ewk_tiled_backing_store_contents_resize):
              (ewk_tiled_backing_store_disabled_update_set):
              (ewk_tiled_backing_store_flush):
              (ewk_tiled_backing_store_pre_render_region):
              (ewk_tiled_backing_store_pre_render_relative_radius):
              (ewk_tiled_backing_store_pre_render_cancel):
              (ewk_tiled_backing_store_disable_render):
              (ewk_tiled_backing_store_enable_render):
              (ewk_tiled_backing_store_process_entire_queue_set):
              * ewk/ewk_tiled_backing_store.h: Added.
              * ewk/ewk_tiled_matrix.c: Added.
              (_ewk_tile_matrix_cell_free):
              (_ewk_tile_matrix_tile_free):
              (ewk_tile_matrix_new):
              (ewk_tile_matrix_free):
              (ewk_tile_matrix_resize):
              (ewk_tile_matrix_unused_cache_get):
              (ewk_tile_matrix_tile_exact_get):
              (ewk_tile_matrix_tile_exact_exists):
              (ewk_tile_matrix_tile_nearest_get):
              (ewk_tile_matrix_tile_new):
              (ewk_tile_matrix_tile_put):
              (ewk_tile_matrix_tile_update):
              (ewk_tile_matrix_tile_update_full):
              (ewk_tile_matrix_tile_updates_clear):
              (_ewk_tile_matrix_slicer_setup):
              (ewk_tile_matrix_update):
              (ewk_tile_matrix_updates_process):
              (ewk_tile_matrix_updates_clear):
              (ewk_tile_matrix_dbg):
              (ewk_tile_matrix_freeze):
              (ewk_tile_matrix_thaw):
              * ewk/ewk_tiled_matrix.h: Added.
              * ewk/ewk_tiled_model.c: Added.
              (_ewk_tile_account_get):
              (_ewk_tile_account_allocated):
              (_ewk_tile_account_freed):
              (ewk_tile_accounting_dbg):
              (_ewk_tile_paint_rgb888):
              (_ewk_tile_paint_rgb565):
              (_ewk_tile_paint):
              (ewk_tile_new):
              (ewk_tile_free):
              (ewk_tile_show):
              (ewk_tile_hide):
              (ewk_tile_visible_get):
              (ewk_tile_update_full):
              (ewk_tile_update_area):
              (ewk_tile_updates_process):
              (ewk_tile_updates_clear):
              (ewk_tile_unused_cache_new):
              (ewk_tile_unused_cache_lock_area):
              (ewk_tile_unused_cache_unlock_area):
              (ewk_tile_unused_cache_free):
              (ewk_tile_unused_cache_clear):
              (ewk_tile_unused_cache_ref):
              (ewk_tile_unused_cache_unref):
              (ewk_tile_unused_cache_max_set):
              (ewk_tile_unused_cache_max_get):
              (ewk_tile_unused_cache_used_get):
              (ewk_tile_unused_cache_flush):
              (ewk_tile_unused_cache_auto_flush):
              (ewk_tile_unused_cache_dirty):
              (ewk_tile_unused_cache_freeze):
              (ewk_tile_unused_cache_thaw):
              (ewk_tile_unused_cache_tile_get):
              (ewk_tile_unused_cache_tile_put):
              (ewk_tile_unused_cache_dbg):
              * ewk/ewk_tiled_model.h: Added.
              * ewk/ewk_tiled_private.h: Added.
              * ewk/ewk_view.cpp:
              (_ewk_view_smart_add):
              (_ewk_view_smart_calculate):
              (_ewk_view_smart_show):
              (_ewk_view_smart_hide):
              (_ewk_view_smart_pre_render_relative_radius):
              (_ewk_view_zoom_animator_cb):
              (_ewk_view_smart_disable_render):
              (_ewk_view_smart_enable_render):
              (ewk_view_base_smart_set):
              (ewk_view_pre_render_region):
              (ewk_view_pre_render_relative_radius):
              (ewk_view_enable_render):
              (ewk_view_disable_render):
              (ewk_view_scroll):
              (ewk_view_did_first_visually_nonempty_layout):
              (ewk_view_dispatch_did_finish_loading):
              (ewk_view_transition_to_commited_for_newpage):
              * ewk/ewk_view.h:
              * ewk/ewk_view_tiled.c: Added.
              (_ewk_view_tiled_render_cb):
              (_ewk_view_tiled_updates_process_pre):
              (_ewk_view_tiled_smart_backing_store_add):
              (_ewk_view_tiled_contents_size_changed_cb):
              (_ewk_view_tiled_smart_add):
              (_ewk_view_tiled_smart_scrolls_process):
              (_ewk_view_tiled_smart_repaints_process):
              (_ewk_view_tiled_smart_contents_resize):
              (_ewk_view_tiled_smart_zoom_set):
              (_ewk_view_tiled_smart_zoom_weak_set):
              (_ewk_view_tiled_smart_zoom_weak_smooth_scale_set):
              (_ewk_view_tiled_smart_flush):
              (_ewk_view_tiled_smart_pre_render_region):
              (_ewk_view_tiled_smart_pre_render_relative_radius):
              (_ewk_view_tiled_smart_pre_render_cancel):
              (_ewk_view_tiled_smart_disable_render):
              (_ewk_view_tiled_smart_enable_render):
              (ewk_view_tiled_smart_set):
              (_ewk_view_tiled_smart_class_new):
              (ewk_view_tiled_add):
              (ewk_view_tiled_unused_cache_get):
              (ewk_view_tiled_unused_cache_set):
              (ewk_view_tiled_process_entire_queue_set):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      08148d44
    • tonyg@chromium.org's avatar
      2010-11-22 Tony Gentilcore <tonyg@chromium.org> · cc349764
      tonyg@chromium.org authored
              Reviewed by Adam Barth.
      
              Fix bogus include guard.
      
              * loader/NavigationScheduler.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cc349764
    • andreas.kling@nokia.com's avatar
      2010-11-22 Andreas Kling <kling@webkit.org> · b60af400
      andreas.kling@nokia.com authored
              Reviewed by Ariya Hidayat.
      
              [Qt] Canvas: strokeText() and fillText() produce same shadow
              https://bugs.webkit.org/show_bug.cgi?id=48845
      
              Test: fast/canvas/canvas-strokeText-strokes-shadow.html
      
              * platform/graphics/qt/FontQt.cpp:
              (WebCore::drawTextCommon): Stroke the shadow rather than filling it in the cTextStroke case.
      2010-11-22  Andreas Kling  <kling@webkit.org>
      
              Reviewed by Ariya Hidayat.
      
              [Qt] Canvas: strokeText() and fillText() produce same shadow
              https://bugs.webkit.org/show_bug.cgi?id=48845
      
              Add test to verify that strokeText() doesn't produce a fillText() shadow.
      
              * fast/canvas/canvas-strokeText-strokes-shadow.html: Added.
              * fast/canvas/canvas-strokeText-strokes-shadow-expected.txt: Added.
              * fast/canvas/script-tests/canvas-strokeText-strokes-shadow.js: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72577 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b60af400
    • dpranke@chromium.org's avatar
      2010-11-22 Dirk Pranke <dpranke@chromium.org> · a117f857
      dpranke@chromium.org authored
              Reviewed by Tony Chang.
      
              Fix some spacing issues with log messages with
              new-run-webkit-tests --verbose.
      
              https://bugs.webkit.org/show_bug.cgi?id=49936
      
              * Scripts/webkitpy/layout_tests/layout_package/printing.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72576 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a117f857
    • ojan@chromium.org's avatar
      2010-11-22 Ojan Vafai <ojan@chromium.org> · 727b88a1
      ojan@chromium.org authored
              Reviewed by Adam Barth.
      
              update scm to work with different remote branches
              https://bugs.webkit.org/show_bug.cgi?id=49949
      
              This works if there are multiple svn tracking branches
              and/or if the tracking branch is refs/remots/origin/master
              instead of refs/remotes/trunk which is the direction we're trying
              to head since that makes fetches faster.
      
              * Scripts/webkitpy/common/checkout/scm.py:
              * Scripts/webkitpy/common/checkout/scm_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72575 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      727b88a1
    • paroga@webkit.org's avatar
      2010-11-22 Patrick Gansterer <paroga@webkit.org> · a91ac216
      paroga@webkit.org authored
              Reviewed by Sam Weinig.
      
              Add WTF::FixedArray::size()
              https://bugs.webkit.org/show_bug.cgi?id=49891
      
              Add a method to get the size of a FixedArray.
      
              * wtf/FixedArray.h:
              (WTF::FixedArray::size):
      2010-11-22  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Sam Weinig.
      
              Use WTF::FixedArray::size()
              https://bugs.webkit.org/show_bug.cgi?id=49891
      
              * dom/Document.cpp:
              (WebCore::Document::~Document):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a91ac216
    • rniwa@webkit.org's avatar
      2010-11-22 Ryosuke Niwa <rniwa@webkit.org> · e578ecd0
      rniwa@webkit.org authored
              Reviewed by Tony Chang.
      
              SelectionController::typingStyle() should return EditingStyle*
              https://bugs.webkit.org/show_bug.cgi?id=49813
      
              Changed the return value of SelectionController::typingStyle() to EditingStyle*.
              Also added SelectionController::copyTypingStyle() to copy the typing style
              as an instance of CSSMutableStyleDeclaration.
      
              No tests are added since this is no behavioral change.
      
              * WebView/WebFrame.mm:
              (-[WebFrame _typingStyle]): Calls SelectionController::copyTypingStyle()
      2010-11-22  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Tony Chang.
      
              SelectionController::typingStyle() should return EditingStyle*
              https://bugs.webkit.org/show_bug.cgi?id=49813
      
              Changed the return type of SelectionController::typingStyle to EditingStyle*.
      
              Extracted textDirection from Editor::textDirectionForSelection to hide the underlying
              CSSMutableStyleDeclaration.
      
              Also extracted the code to preserve unicode-bidi and direction CSS properties in
              InsertTextCommand::input, and moved into EditingStyle::prepareToApplyAt. ShouldPreserveWritingDirection,
              which is added to the argument list of EditingStyle::prepareToApplyAt, decides whether or not
              these two properties are preserved.
      
              Also added SelectionController::copyTypingStyle() to copy the typing style as an instance of
              CSSMutableStyleDeclaration.
      
              No new tests are added since this is a refactoring.
      
              * editing/EditingStyle.cpp:
              (WebCore::EditingStyle::textDirection): Extracted from Editor::textDirectionForSelection.
              (WebCore::EditingStyle::removeStyleConflictingWithStyleOfNode): Added a missing null check.
              (WebCore::EditingStyle::prepareToApplyAt): See above.
              (WebCore::editingStyleIncludingTypingStyle): Calls SelectionController::typingStyle.
              * editing/EditingStyle.h: Moved WritingDirection from Editor.h
              * editing/Editor.cpp:
              (WebCore::Editor::textDirectionForSelection): Calls EditingStyle::textDirection.
              (WebCore::Editor::computeAndSetTypingStyle): Calls SelectionController::typingStyle.
              (WebCore::Editor::selectionComputedStyle): Ditto.
              (WebCore::Editor::styleForSelectionStart): Ditto.
              * editing/Editor.h:
              * editing/InsertLineBreakCommand.cpp:
              (WebCore::InsertLineBreakCommand::doApply): Ditto.
              * editing/InsertTextCommand.cpp:
              (WebCore::InsertTextCommand::input): Calls EditingStyle::prepareToApplyAt with PreserveWritingDirection.
              * editing/SelectionController.h:
              (WebCore::SelectionController::typingStyle): Returns EditingStyle* rather than CSSMutableStyleDeclaration*.
              (WebCore::SelectionController::copyTypingStyle): Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72573 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e578ecd0
    • paroga@webkit.org's avatar
      2010-11-22 Patrick Gansterer <paroga@webkit.org> · 380e945a
      paroga@webkit.org authored
              Reviewed by Adam Roben.
      
              [WINCE] Set correct preprocessor definitions
              https://bugs.webkit.org/show_bug.cgi?id=49887
      
              * wtf/Platform.h:
      2010-11-22  Patrick Gansterer  <paroga@webkit.org>
      
              Reviewed by Adam Roben.
      
              [WINCE] Set correct preprocessor definitions
              https://bugs.webkit.org/show_bug.cgi?id=49887
      
              * config.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      380e945a
    • aroben@apple.com's avatar
      Update Windows 7 results for two tests · b6280f77
      aroben@apple.com authored
      Windows 7 uses different fonts from Windows XP on these tests (and even
      has a font that can render the inverted nun in bidi-mirror-he-ar.html).
      
      * platform/win/fast/text/international/bidi-mirror-he-ar-expected.checksum:
      * platform/win/fast/text/international/bidi-mirror-he-ar-expected.png:
      * platform/win/fast/text/international/bidi-mirror-he-ar-expected.txt:
      * platform/win/fast/text/international/bold-bengali-expected.checksum: Added.
      * platform/win/fast/text/international/bold-bengali-expected.png: Added.
      * platform/win/fast/text/international/bold-bengali-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72571 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b6280f77
    • aroben@apple.com's avatar
      Update Windows 7 results for fast/text/international/complex-character-based-fallback.html · fb0ec9e1
      aroben@apple.com authored
      * platform/win/fast/text/international/complex-character-based-fallback-expected.checksum: Added.
      * platform/win/fast/text/international/complex-character-based-fallback-expected.png: Added.
      * platform/win/fast/text/international/complex-character-based-fallback-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fb0ec9e1
    • aroben@apple.com's avatar
      Update Windows XP results for... · 613abea5
      aroben@apple.com authored
      Update Windows XP results for fast/text/international/complex-character-based-fallback.html after r72173
      
      The existing pixel results were XP-specific so I moved them into
      LayoutTests/platform/win-xp.
      
      * platform/win-xp/fast/text/international/complex-character-based-fallback-expected.checksum: Added.
      * platform/win-xp/fast/text/international/complex-character-based-fallback-expected.png: Added.
      * platform/win-xp/fast/text/international/complex-character-based-fallback-expected.txt:
      * platform/win/fast/text/international/complex-character-based-fallback-expected.checksum: Removed.
      * platform/win/fast/text/international/complex-character-based-fallback-expected.png: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      613abea5
    • aroben@apple.com's avatar
      Update Windows results after r72552 · c85476c6
      aroben@apple.com authored
      * platform/win/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/win/fast/dom/prototype-inheritance-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c85476c6
    • jamesr@google.com's avatar
      2010-11-22 James Robinson <jamesr@chromium.org> · 0346117d
      jamesr@google.com authored
              Reviewed by Dimitri Glazkov.
      
              [chromium] font-size:0 text runs should have zero width
              https://bugs.webkit.org/show_bug.cgi?id=49871
      
              Expands test to check width in addition to height.
      
              * fast/text/font-size-zero-expected.txt:
              * fast/text/font-size-zero.html:
              * fast/text/script-tests/font-size-zero.js:
      2010-11-22  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Dimitri Glazkov.
      
              [chromium] font-size:0 text runs should have zero width
              https://bugs.webkit.org/show_bug.cgi?id=49871
      
              Returns 0 from platformWidthForGlyph if the specified font size is 0.
      
              Test: fast/text/font-size-zero.html
      
              * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp:
              (WebCore::SimpleFontData::platformWidthForGlyph):
              * platform/graphics/chromium/SimpleFontDataLinux.cpp:
              (WebCore::SimpleFontData::platformWidthForGlyph):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72567 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0346117d
    • commit-queue@webkit.org's avatar
      2010-11-22 Charlie Reis <creis@chromium.org> · 3c9be217
      commit-queue@webkit.org authored
              Reviewed by Darin Fisher.
      
              Update correct content state during back/forward navigations
              https://bugs.webkit.org/show_bug.cgi?id=48809
      
              Test that we update content state when leaving a form in a subframe.
      
              * fast/history/saves-state-after-frame-nav.html:
              * fast/history/saves-state-after-frame-nav-expected.txt:
              * fast/history/resources/subframe-with-form.html:
      2010-11-22  Charlie Reis  <creis@chromium.org>
      
              Reviewed by Darin Fisher.
      
              Update correct content state during back/forward navigations
              https://bugs.webkit.org/show_bug.cgi?id=48809
      
              Ensures that history's previousItem is non-null when clients try to
              update content state (e.g., Chromium's UpdateSessionHistory).  We now
              track load completions with a boolean field rather than by clearing
              previousItem.
      
              Test: fast/history/saves-state-after-frame-nav.html
      
              * loader/HistoryController.cpp:
              * loader/HistoryController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72566 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c9be217
    • jparent@chromium.org's avatar
      Unreviewed. Add flaky crash expectation for fast/files/revoke-blob-url.html on mac debug. · 298be0b9
      jparent@chromium.org authored
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      298be0b9
    • hayato@chromium.org's avatar
      2010-11-22 Hayato Ito <hayato@chromium.org> · f33dc67f
      hayato@chromium.org authored
              Reviewed by Shinichiro Hamaji.
      
              Ignore reference files which will be used by reftests when collecting
              test cases.
              https://bugs.webkit.org/show_bug.cgi?id=49835
      
              * Scripts/webkitpy/layout_tests/port/test_files.py:
              * Scripts/webkitpy/layout_tests/port/test_files_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f33dc67f
    • aroben@apple.com's avatar
      Update Windows results for transforms/2d/hindi-rotated.html after r72173 · f837fb3e
      aroben@apple.com authored
      The existing pixel results were XP-specific so I moved them to
      LayoutTests/platform/win-xp.
      
      * platform/win-xp/transforms/2d/hindi-rotated-expected.checksum: Added.
      * platform/win-xp/transforms/2d/hindi-rotated-expected.png: Added.
      * platform/win-xp/transforms/2d/hindi-rotated-expected.txt:
      * platform/win/transforms/2d/hindi-rotated-expected.checksum:
      * platform/win/transforms/2d/hindi-rotated-expected.png:
      * platform/win/transforms/2d/hindi-rotated-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f837fb3e
    • rniwa@webkit.org's avatar
      2010-11-22 Ryosuke Niwa <rniwa@webkit.org> · 0bf9b8d0
      rniwa@webkit.org authored
              Unreviewed rebaseline for Chromium.
      
              Removed the erroneous expected result for editing/deleting/5168598.html on chromium linux.
      
              * platform/chromium-linux/editing/deleting/5168598-expected.txt: Removed.
              * platform/chromium/test_expectations.txt: Removed editing/deleting/5168598.html.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0bf9b8d0
    • ossy@webkit.org's avatar
      Unreviewed. Update GTK and Mac specific expected results after r72552. · 117eeda2
      ossy@webkit.org authored
      * fast/dom/Window/window-properties-expected.txt:
      * fast/dom/prototype-inheritance-expected.txt:
      * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/gtk/fast/dom/prototype-inheritance-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      117eeda2
    • tony@chromium.org's avatar
      2010-11-22 Tony Chang <tony@chromium.org> · 3d06b4eb
      tony@chromium.org authored
              Unreviewed, roll Chromium DEPS to r67004.
      
              * DEPS:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d06b4eb
    • weinig@apple.com's avatar
      Update WebKit2 skipped list. · fa64c629
      weinig@apple.com authored
      * platform/mac-wk2/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa64c629
    • luiz@webkit.org's avatar
      2010-11-22 Luiz Agostini <luiz.agostini@openbossa.org> · f46dcbc7
      luiz@webkit.org authored
              Unreviewed, Windows build fix.
      
              Adding JSMediaQueryList to DerivedSources.cpp.
      
              * DerivedSources.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f46dcbc7
    • ossy@webkit.org's avatar
      Unreviewed. Update Qt specific expected results after r72552. · 536546af
      ossy@webkit.org authored
      * platform/qt/fast/dom/Window/window-properties-expected.txt:
      * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt:
      * platform/qt/fast/dom/prototype-inheritance-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72556 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      536546af
    • aroben@apple.com's avatar
      Use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops files · 89dd1f30
      aroben@apple.com authored
      Apple's Windows build allows placing header files and import libraries for WebKit's
      dependencies (CoreGraphics, CFNetwork, SQLite, etc.) outside the source tree via the
      $WebKitLibrariesDir environment variable. This is both required for production builds and
      convenient for Apple-internal developer builds. Apple's production builds also require that
      WebKit's shared .vsprops files be accessed relative to $WebKitLibrariesDir. In production
      builds, the files are copied into that directory tree by the
      WebKitLibraries/win/tools/WinTools.make file. In Apple-internal developer builds, the
      copying is done by
      JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make.
      
      This .vsprops copying is problematic in one very important case: when a developer updates
      their source tree and then tries to build. Visual Studio only reads .vsprops files when a
      project is first loaded. So, when Visual Studio is first opened after the .vsprops files are
      updated, it reads in the old files that were already residing in $WebKitLibrariesDir. When a
      build is started, JavaScriptCoreGenerated.make copies the new .vsprops files into
      $WebKitLibrariesDir, but Visual Studio will not pick up the changes.  The rest of the build
      will proceed with out-of-date .vsprops files, which will likely result in a build failure.
      
      To fix this, we now use normal relative paths to access the .vsprops files in the source
      tree rather than in $WebKitLibrariesDir, but prefix those paths with a new environment
      variable, $WebKitVSPropsRedirectionDir. In developer builds, this environment variable is
      unset, so the normal relative paths are used to read the .vsprops files out of the source
      tree directly. In production builds, this environment variable is set to a fake directory
      that will cause the .vsprops files in $WebKitLibrariesDir to be found when the relative path
      is resolved.
      
      For example, JavaScriptCore.vcproj uses this path for FeatureDefines.vsprops:
      
      $(WebKitVSPropsRedirectionDir)..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
      
      In developer builds, where $WebKitVSPropsRedirectionDir is unset, this will point to the
      files in WebKitLibraries\win\tools\vsprops in the source tree. In production builds,
      JavaScriptCore.make sets $WebKitVSPropsRedirectionDir to
      "$(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\", so the full path for
      FeatureDefines.vsprops becomes:
      
      $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\1\2\3\..\..\..\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
      
      which resolves to:
      
      $(SRCROOT)\AppleInternal\tools\vsprops\OpenSource\WebKitLibraries\win\tools\vsprops\FeatureDefines.vsprops
      
      (We rely on the fact that Windows doesn't care whether the directories "1", "2", and "3"
      actually exist since they are matched by an equal number of ".." path components.)
      
      Note that Visual Studio still won't pick up changes made to .vsprops files while Visual
      Studio is open, but that problem hasn't seemed to cause developers many headaches so far.
      
      Fixes <http://webkit.org/b/49181> Windows build fails mysteriously when .vsprops files are
      updated
      
      Reviewed by Dave Hyatt.
      
      JavaScriptCore:
      
      * JavaScriptCore.vcproj/JavaScriptCore.make: Set $WebKitVSPropsRedirectionDir so that
      production builds can find the .vsprops files.
      
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCoreGenerated.make: Stopy copying the
      .vsprops files. It isn't needed anymore.
      
      * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
      * JavaScriptCore.vcproj/WTF/WTF.vcproj:
      * JavaScriptCore.vcproj/jsc/jsc.vcproj:
      * JavaScriptCore.vcproj/testapi/testapi.vcproj:
      Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
      files.
      
      WebCore:
      
      * WebCore.vcproj/WebCore.make: Set $WebKitVSPropsRedirectionDir so that
      production builds can find the .vsprops files.
      
      * WebCore.vcproj/QTMovieWin.vcproj:
      * WebCore.vcproj/WebCore.vcproj:
      Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
      files.
      
      WebKit/win:
      
      * WebKit.vcproj/WebKit.make: Set $WebKitVSPropsRedirectionDir so that production builds can
      find the .vsprops files.
      
      * WebKit.vcproj/WebKit.vcproj:
      * WebKit.vcproj/Interfaces.vcproj:
      * WebKit.vcproj/WebKitGUID.vcproj:
      Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
      files.
      
      WebKit2:
      
      * win/WebKit2.make: Set $WebKitVSPropsRedirectionDir so that production builds can
      find the .vsprops files.
      
      * win/WebKit2.vcproj:
      * win/WebKit2WebProcess.vcproj:
      Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
      files.
      
      WebKitLibraries:
      
      * win/tools/WinTools.make: Copy the shared .vsprops files into a directory tree beneath
      AppleInternal\tools\vsprops that matches the source directory tree. This allows production
      builds to redirect the relative paths used to find the shared .vsprops files into
      AppleInternal by setting $WebKitVSPropsRedirectionDir to the appropriate value.
      
      WebKitTools:
      
      * DumpRenderTree/TestNetscapePlugIn/win/TestNetscapePlugin.vcproj:
      * DumpRenderTree/win/DumpRenderTree.vcproj:
      * DumpRenderTree/win/ImageDiff.vcproj:
      * FindSafari/FindSafari.vcproj:
      * MiniBrowser/MiniBrowser.vcproj:
      * TestWebKitAPI/win/TestWebKitAPI.vcproj:
      * TestWebKitAPI/win/TestWebKitAPIGenerated.vcproj:
      * WebKitAPITest/WebKitAPITest.vcproj:
      * WebKitLauncherWin/WebKitLauncherWin.vcproj:
      * WebKitTestRunner/win/InjectedBundle.vcproj:
      * WebKitTestRunner/win/WebKitTestRunner.vcproj:
      * WinLauncher/WinLauncher.vcproj:
      * record-memory-win/record-memory-win.vcproj:
      Changed to use paths relative to $WebKitVSPropsRedirectionDir to access shared .vsprops
      files.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      89dd1f30
    • aroben@apple.com's avatar
      Make it possible to run tests on Windows without Visual Studio or VC++ Express installed · d2d7f766
      aroben@apple.com authored
      webkitdir.pm::setupCygwinEnv dies when Visual Studio and VC++ Express
      are not installed. But this function doesn't need to be called when we
      already have a build available and are just trying to run the tests.
      
      Fixes <http://webkit.org/b/49932> New Windows 7 bot can't run tests
      because Visual Studio/VC++ Express aren't installed
      
      Reviewed by Dave Hyatt.
      
      * Scripts/webkitdirs.pm:
      (determineConfigurationForVisualStudio): Don't call setupCygwinEnv, as
      it is not needed by this function. Also added a FIXME.
      
      (usingVisualStudioExpress): Call setupCygwinEnv directly rather than
      relying on determineConfigurationForVisualStudio doing it.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2d7f766
    • rniwa@webkit.org's avatar
      2010-11-22 Ryosuke Niwa <rniwa@webkit.org> · cf453454
      rniwa@webkit.org authored
              Unreviewed update of Windows's skipped list and Chromium's test expectation.
      
              fast/text/international/thai-cursor-position.html erroneously had an expected result
              on Windows even though textInputController hasn't been implemented on Windows (the bug 32021).
      
              Removed the expected result and added the tests to Windows platform's skipped list.
      
              * platform/chromium/test_expectations.txt: Removed fast/text/international/thai-cursor-position.html.
              * platform/win/Skipped: Added fast/text/international/thai-cursor-position.html.
              * platform/win/fast/text/international/thai-cursor-position-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf453454
    • luiz@webkit.org's avatar
      2010-10-21 Luiz Agostini <luiz.agostini@openbossa.org> · db0dd431
      luiz@webkit.org authored
              Reviewed by Darin Adler.
      
              Implement CSSOM View matchMedia interface
              https://bugs.webkit.org/show_bug.cgi?id=37205
      
              New property matchMedia was added to window.
      
              * fast/dom/Window/window-properties-expected.txt:
              * fast/dom/Window/window-property-descriptors-expected.txt:
      
              window.matchMedia and MediaQueryList tests.
      
              * fast/media/media-query-list-01-expected.txt: Added.
              * fast/media/media-query-list-01.html: Added.
      
              The following tests depend on LayoutTestController::setViewModeMediaFeature() to work.
              As it is only implemented by Qt and Gtk the tests needed to be skipped in all other platforms.
      
              * fast/media/media-query-list-02-expected.txt: Added.
              * fast/media/media-query-list-02.html: Added.
              * fast/media/media-query-list-03-expected.txt: Added.
              * fast/media/media-query-list-03.html: Added.
              * fast/media/media-query-list-04-expected.txt: Added.
              * fast/media/media-query-list-04.html: Added.
              * fast/media/media-query-list-05-expected.txt: Added.
              * fast/media/media-query-list-05.html: Added.
              * fast/media/media-query-list-06-expected.txt: Added.
              * fast/media/media-query-list-06.html: Added.
              * fast/media/media-query-list-07-expected.txt: Added.
              * fast/media/media-query-list-07.html: Added.
              * platform/chromium/test_expectations.txt:
              * platform/mac/Skipped:
              * platform/win/Skipped:
      2010-10-21  Luiz Agostini  <luiz.agostini@openbossa.org>
      
              Reviewed by Darin Adler.
      
              Implement CSSOM View matchMedia interface
              https://bugs.webkit.org/show_bug.cgi?id=37205
      
              New interfaces may be used to evaluate media queries and to associate listeners
              to media queries. Those listeners are called whenever the associated query changes.
              Specification may be found at http://dev.w3.org/csswg/cssom-view/#the-mediaquerylist-interface
      
              operator== added to JS version of ScriptValue.
              Method isFunction added to JS and V8 versions of ScriptValue.
      
              * bindings/js/ScriptValue.cpp:
              (WebCore::ScriptValue::isFunction):
              * bindings/js/ScriptValue.h:
              (WebCore::ScriptValue::operator==):
              * bindings/v8/ScriptValue.h:
              (WebCore::ScriptValue::isFunction):
      
              Some changes were needed to the code generators to handle type MediaQueryListListener.
      
              * bindings/scripts/CodeGeneratorGObject.pm:
              * bindings/scripts/CodeGeneratorJS.pm:
              * bindings/scripts/CodeGeneratorV8.pm:
      
              Some changes to the bindings test results that were previously added.
      
              * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.cpp:
              * bindings/scripts/test/GObject/WebKitDOMTestMediaQueryListListener.h:
              * bindings/scripts/test/JS/JSTestMediaQueryListListener.cpp:
              (WebCore::jsTestMediaQueryListListenerPrototypeFunctionMethod):
              * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
              (WebCore::TestMediaQueryListListenerInternal::methodCallback):
              (WebCore::ConfigureV8TestMediaQueryListListenerTemplate):
      
              New interfaces:
      
              * css/MediaQueryList.cpp: Added.
              * css/MediaQueryList.h: Added.
              * css/MediaQueryList.idl: Added.
      
              * css/MediaQueryListListener.cpp: Added.
              * css/MediaQueryListListener.h: Added.
              * css/MediaQueryListListener.idl: Added.
      
              To avoid adding code to classes DOMWindow and Document a new class MediaQueryMatcher was created.
      
              * css/MediaQueryMatcher.cpp: Added.
              * css/MediaQueryMatcher.h: Added.
      
              Document and DOMWindow have changed to support new features. DOMWindow is the class that
              publishes methods matchMedia but for page cache to work properly the reference to the
              MediaQueryMatcher must be in Document.
      
              * dom/Document.cpp:
              (WebCore::Document::~Document):
              (WebCore::Document::mediaQueryMatcher):
              (WebCore::Document::styleSelectorChanged):
              * dom/Document.h:
              * page/DOMWindow.cpp:
              (WebCore::DOMWindow::matchMedia):
              * page/DOMWindow.h:
              * page/DOMWindow.idl:
      
              Build systems
      
              * CMakeLists.txt:
              * DerivedSources.make:
              * GNUmakefile.am:
              * WebCore.gypi:
              * WebCore.pri:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * bindings/gobject/GNUmakefile.am:
      
              Tests: fast/media/media-query-list-01.html
                     fast/media/media-query-list-02.html
                     fast/media/media-query-list-03.html
                     fast/media/media-query-list-04.html
                     fast/media/media-query-list-05.html
                     fast/media/media-query-list-06.html
                     fast/media/media-query-list-07.html
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      db0dd431
    • hayato@chromium.org's avatar
      2010-11-19 Hayato Ito <hayato@chromium.org> · 5024ba46
      hayato@chromium.org authored
              Reviewed by Shinichiro Hamaji.
      
              Simplify Driver.run_test() so that it takes only one parameter, TestInput.
      
              https://bugs.webkit.org/show_bug.cgi?id=49812
      
              * Scripts/webkitpy/layout_tests/driver_test.py:
              * Scripts/webkitpy/layout_tests/layout_package/dump_render_tree_thread.py:
              * Scripts/webkitpy/layout_tests/port/base.py:
              * Scripts/webkitpy/layout_tests/port/base_unittest.py:
              * Scripts/webkitpy/layout_tests/port/chromium.py:
              * Scripts/webkitpy/layout_tests/port/dryrun.py:
              * Scripts/webkitpy/layout_tests/port/test.py:
              * Scripts/webkitpy/layout_tests/port/webkit.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests.py:
              * Scripts/webkitpy/layout_tests/run_webkit_tests_unittest.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5024ba46
    • rniwa@webkit.org's avatar
      2010-11-22 Ryosuke Niwa <rniwa@webkit.org> · 0725aef9
      rniwa@webkit.org authored
              Unreviewed update of Windows Skipped list.
      
              editing/selection/5825350-1.html and 5825350-2.html erroneously
              had expectations with console error message even though textInputController
              hasn't been implemented on Windows (the bug 32021),
      
              Removed these expectations and added the tests to the skipped list.
      
              * platform/win/Skipped:
              * platform/win/editing/selection/5825350-1-expected.txt: Removed.
              * platform/win/editing/selection/5825350-2-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0725aef9
    • aroben@apple.com's avatar
      Add Windows-specific results for fast/ruby/nested-ruby.html · c63100ee
      aroben@apple.com authored
      * platform/win/fast/ruby/nested-ruby-expected.checksum: Added.
      * platform/win/fast/ruby/nested-ruby-expected.png: Added.
      * platform/win/fast/ruby/nested-ruby-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c63100ee
    • aroben@apple.com's avatar
      Update Windows XP results for fast/text/international/bidi-control-chars-treated-as-ZWS.html · 701dfa92
      aroben@apple.com authored
      The render tree dump on XP now matches Mac. I updated the pixel results
      to match the current rendering (the two test lines have moved down
      slightly).
      
      * platform/win-xp/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.checksum:
      * platform/win-xp/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.png:
      * platform/win-xp/fast/text/international/bidi-control-chars-treated-as-ZWS-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      701dfa92
    • hayato@chromium.org's avatar
      2010-11-22 Hayato Ito <hayato@chromium.org> · 876dadc4
      hayato@chromium.org authored
              Reviewed by Tony Chang.
      
              [NRWT] Retry a few times in reading a png image to avoid a race condition.
      
              https://bugs.webkit.org/show_bug.cgi?id=49924
      
              * Scripts/webkitpy/layout_tests/port/chromium.py:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      876dadc4
    • aroben@apple.com's avatar
      Remove obsolete Windows-specific results for svg/dom/path-parser.html · 590b37e7
      aroben@apple.com authored
      r72381 made these unnecessary.
      
      * platform/win/svg/dom/path-parser-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      590b37e7
    • aroben@apple.com's avatar
      Update Windows results for fast/dom/prototype-inheritance-2.html · 44e5eaa5
      aroben@apple.com authored
      This is the Windows equivalent of r72353.
      
      * platform/win/fast/dom/prototype-inheritance-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      44e5eaa5
    • andreas.kling@nokia.com's avatar
      2010-11-22 Andreas Kling <kling@webkit.org> · 074e06d1
      andreas.kling@nokia.com authored
              Unreviewed, rebaseline GTK+ after r72527.
      
              * platform/gtk/css1/box_properties/margin_right-expected.txt:
              * platform/gtk/css1/box_properties/padding_right-expected.txt:
              * platform/gtk/fast/lists/001-vertical-expected.txt:
              * platform/gtk/fast/lists/002-vertical-expected.txt:
              * platform/gtk/fast/lists/003-vertical-expected.txt:
              * platform/gtk/fast/lists/007-vertical-expected.txt:
              * platform/gtk/fast/lists/008-vertical-expected.txt:
              * platform/gtk/fast/lists/outSideListMarkers-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      074e06d1
    • aroben@apple.com's avatar
      Add Windows-specific results for editing/selection/extend-selection-home-end.html · cabb55d7
      aroben@apple.com authored
      These results are identical to the cross-platform results, but are
      needed to override the Mac-specific results in platform/mac.
      
      Fixes <http://webkit.org/b/49874>.
      
      * platform/win/editing/selection/extend-selection-home-end-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cabb55d7
    • antonm@chromium.org's avatar
      Not reviewed. Test expectations arrangements and rebaselinings. · 7039eb9a
      antonm@chromium.org authored
      * platform/chromium-mac/fast/lists/001-vertical-expected.checksum: Removed.
      * platform/chromium-mac/fast/lists/001-vertical-expected.png: Removed.
      * platform/chromium/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7039eb9a