1. 13 May, 2011 1 commit
    • dcheng@chromium.org's avatar
      2011-05-13 Daniel Cheng <dcheng@chromium.org> · 0eb6dc60
      dcheng@chromium.org authored
              Reviewed by Tony Chang.
      
              Improve drag start logic
              https://bugs.webkit.org/show_bug.cgi?id=59409
      
              Add a new test to test drag start edge cases on Mac (because of a non-zero text drag delay)
              as well as rebase an existing test.
      
              * fast/css/user-drag-none.html: Text nodes are no longer draggable.
              * platform/mac/editing/pasteboard/drag-selections-to-contenteditable-expected.txt: Added.
              * platform/mac/editing/pasteboard/drag-selections-to-contenteditable.html: Added.
      2011-05-13  Daniel Cheng  <dcheng@chromium.org>
      
              Reviewed by Tony Chang.
      
              Improve drag start logic
              https://bugs.webkit.org/show_bug.cgi?id=59409
      
              Rewrite and simplify the dragging logic to better match IE, Firefox, and the behavior
              defined in the spec. Among other things:
              - draggableNode() no longer returns text nodes when dragging anchors.
              - When starting a drag over an image in a selection, prefer to drag the selection.
              - Several redundant hit tests have been removed.
              - Minor refactoring to make the logic easier to follow.
      
              Test: platform/mac/editing/pasteboard/drag-selections-to-contenteditable.html
      
              * WebCore.xcodeproj/project.pbxproj:
              * page/DragController.cpp:
              (WebCore::DragController::draggableNode):
              (WebCore::DragController::startDrag):
              * page/DragController.h:
              * page/DragState.h:
              (WebCore::DragState::shouldDispatchEvents):
              * page/EventHandler.cpp:
              (WebCore::EventHandler::EventHandler):
              (WebCore::EventHandler::eventMayStartDrag):
              (WebCore::EventHandler::updateDragSourceActionsAllowed):
              (WebCore::EventHandler::updateDragAndDrop):
              (WebCore::EventHandler::cancelDragAndDrop):
              (WebCore::EventHandler::dragHysteresisExceeded):
              (WebCore::EventHandler::dragSourceEndedAt):
              (WebCore::ExactlyOneBitSet):
              (WebCore::EventHandler::handleDrag):
              * page/EventHandler.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86472 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0eb6dc60
  2. 12 May, 2011 4 commits
    • commit-queue@webkit.org's avatar
      2011-05-12 Ben Wells <benwells@chromium.org> · c37dc208
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              RGBA colors in outlines show overpainting at the corners
              https://bugs.webkit.org/show_bug.cgi?id=58999
      
              Converted the new tests to be text tests with pixel results
              (using dumpAsText(true)).
              Updated test_expectations comments to be more helpful and accurate and split
              new expectations into two groups for skia / chromium-mac as chromium-mac can be
              rebaselined now.
      
              * fast/borders/outline-alpha-block-expected.txt: Added.
              * fast/borders/outline-alpha-block.html:
              * fast/borders/outline-alpha-inline-expected.txt: Added.
              * fast/borders/outline-alpha-inline.html:
              * platform/chromium/test_expectations.txt:
              * platform/mac/fast/borders/outline-alpha-block-expected.txt: Removed.
              * platform/mac/fast/borders/outline-alpha-inline-expected.txt: Removed.
      2011-05-12  Ben Wells  <benwells@chromium.org>
      
              Reviewed by Simon Fraser.
      
              RGBA colors in outlines show overpainting at the corners
              https://bugs.webkit.org/show_bug.cgi?id=58999
      
              Added FIXMEs near temporary $if !USE(SKIA)s, referencing bug 60342.
      
              * rendering/RenderInline.cpp:
              (WebCore::RenderInline::paintOutline):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::paintOutline):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86413 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c37dc208
    • rwlbuis@webkit.org's avatar
      2011-05-12 Rob Buis <rwlbuis@gmail.com> · 234a1acd
      rwlbuis@webkit.org authored
              Reviewed by Darin Adler.
      
              REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
              https://bugs.webkit.org/show_bug.cgi?id=59941
      
              Improve test to not need a click. Offer a stroke-opacity variant as well.
      
              * platform/mac/svg/custom/fill-opacity-update-expected.png:
              * platform/mac/svg/custom/fill-opacity-update-expected.txt:
              * platform/mac/svg/custom/stroke-opacity-update-expected.png: Added.
              * platform/mac/svg/custom/stroke-opacity-update-expected.txt: Added.
              * svg/custom/fill-opacity-update.svg:
              * svg/custom/stroke-opacity-update.svg: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86352 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      234a1acd
    • rwlbuis@webkit.org's avatar
      2011-05-12 Rob Buis <rwlbuis@gmail.com> · c823d24d
      rwlbuis@webkit.org authored
              Reviewed by Eric Seidel.
      
              REGRESSION(79985): Changes in fill-opacity should trigger repaint but don't
              https://bugs.webkit.org/show_bug.cgi?id=59941
      
              Also consider fill-opacity when determining whether StyleDifferenceRepaint is needed.
      
              Test: svg/custom/fill-opacity-update.svg
      
              * rendering/style/SVGRenderStyle.cpp:
              (WebCore::SVGRenderStyle::diff):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86331 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c823d24d
    • commit-queue@webkit.org's avatar
      2011-05-12 Ben Wells <benwells@chromium.org> · 550a18c6
      commit-queue@webkit.org authored
              Reviewed by Simon Fraser.
      
              RGBA colors in outlines show overpainting at the corners
              https://bugs.webkit.org/show_bug.cgi?id=58999
      
              * fast/borders/outline-alpha-block.html: Added.
              * fast/borders/outline-alpha-inline.html: Added.
              * platform/chromium/test_expectations.txt:
              * platform/mac/fast/borders/outline-alpha-block-expected.png: Added.
              * platform/mac/fast/borders/outline-alpha-block-expected.txt: Added.
              * platform/mac/fast/borders/outline-alpha-inline-expected.png: Added.
              * platform/mac/fast/borders/outline-alpha-inline-expected.txt: Added.
              * platform/mac/fast/box-shadow/box-shadow-radius-expected.png: Rebaselined as this test had rgba outlines.
              * platform/mac/fast/layers/self-painting-outline-expected.png: Rebaselined as this test had rgba outlines.
      2011-05-12  Ben Wells  <benwells@chromium.org>
      
              Reviewed by Simon Fraser.
      
              RGBA colors in outlines show overpainting at the corners
              https://bugs.webkit.org/show_bug.cgi?id=58999
      
              Tests: fast/borders/outline-alpha-block.html
                     fast/borders/outline-alpha-inline.html
      
              Updated baseline images for tests with rgba outlines:
                     fast/box-shadow/box-shadow-radius.html
                     fast/layers/self-painting-outline.html
      
               * rendering/RenderInline.cpp:
              (WebCore::RenderInline::paintOutline):
              (WebCore::RenderInline::paintOutlineForLine):
              * rendering/RenderInline.h:
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::paintOutline):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      550a18c6
  3. 11 May, 2011 3 commits
    • morrita@google.com's avatar
      2011-05-11 MORITA Hajime <morrita@google.com> · 1a9ff0f0
      morrita@google.com authored
              Reviewed by Kent Tamura.
      
              Some elements in meter-styles.html are hiding its content part with non-content-area.
              https://bugs.webkit.org/show_bug.cgi?id=58149
      
              - Resized the border and padding values
              - Gave "-webkit-appearance: none" to test that is intended to be painted using shadows.
      
              * fast/dom/HTMLMeterElement/meter-styles.html:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.checksum:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.png:
              * platform/mac/fast/dom/HTMLMeterElement/meter-styles-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86307 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a9ff0f0
    • jpu@apple.com's avatar
      2011-05-11 Jia Pu <jpu@apple.com> · fd2014cc
      jpu@apple.com authored
              Reviewed by Darin Adler.
      
              Autocorrection persists after deleting and retyping the same word at same location.
              https://bugs.webkit.org/show_bug.cgi?id=60555
              <rdar://problem/9373915>
      
              See WebCore/ChangeLog for detail.
      
              * platform/mac-leopard/Skipped:
              * platform/mac-snowleopard/Skipped:
              * platform/mac/editing/spelling/delete-autocorrected-word-2-expected.png: Added.
              * platform/mac/editing/spelling/delete-autocorrected-word-2-expected.txt: Added.
              * platform/mac/editing/spelling/delete-autocorrected-word-2.html: Added.
      2011-05-11  Jia Pu  <jpu@apple.com>
      
              Reviewed by Darin Adler.
      
              Autocorrection persists after deleting and retyping the same word at same location.
              https://bugs.webkit.org/show_bug.cgi?id=60555
              <rdar://problem/9373915>
      
              This patch intends to alleviate the issue of repetitively applying the same autocorrection
              when user delete and retype the same word at the same location. This scenario is especially
              common when autocorrection modifies the first letter of the word.
      
              This patch consists following major changes:
              1. Added a new marker type, DeletedAutocorrection. This marker is added to the whitespace that
                 precedes a deleted autocorrection. If the user later types the same original word at after
                 this whitespace, the autocorrection will not be applied again.
              2. In DeleteSelectionCommand, added code to notify SpellingCorrectionController about the
                 autocorrection that has just been deleted.
              3. In Editor and SpellingCorrectionController, added code to apply the marker and to suppress
                 autocorrection when necessary.
              4. The change in CompositeEditCommand::replaceTextInNode is necessary for preserving markers.
                 Otherwise, we will loose the DeletedAutocorrection on the whitespace, when inserting text
                 after the whitespace.
      
              Test: platform/mac/editing/spelling/delete-autocorrected-word-2.html
      
              * dom/DocumentMarker.h: Added new marker type DeletedAutocorrection.
              (WebCore::DocumentMarker::AllMarkers::AllMarkers):
              * dom/DocumentMarkerController.cpp:
              (WebCore::DocumentMarkerController::markersInRange): Support querying multiple marker types.
              * dom/DocumentMarkerController.h:
              * editing/CompositeEditCommand.cpp:
              (WebCore::CompositeEditCommand::replaceTextInNodeAndPreserveMarkers):
              (WebCore::CompositeEditCommand::rebalanceWhitespaceOnTextSubstring):
              (WebCore::CompositeEditCommand::prepareWhitespaceAtPositionForSplit):
              * editing/CompositeEditCommand.h:
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::DeleteSelectionCommand):
              (WebCore::DeleteSelectionCommand::fixupWhitespace):
              (WebCore::DeleteSelectionCommand::originalStringForAutocorrectionAtBeginningOfSelection): Extracting
                 the original string if we are deleting an autocorrection.
              (WebCore::DeleteSelectionCommand::doApply): Notify editor about the deleted autocorrection and its position.
              * editing/DeleteSelectionCommand.h:
              * editing/Editor.cpp:
              (WebCore::Editor::markAllMisspellingsAndBadGrammarInRanges): Moved all logic of determining
                 when to suppress an autocorrection into SpellingCorrectionController.
              (WebCore::Editor::deletedAutocorrectionAtPosition):
              * editing/Editor.h:
              * editing/InsertParagraphSeparatorCommand.cpp:
              (WebCore::InsertParagraphSeparatorCommand::doApply):
              * editing/SpellingCorrectionController.cpp:
              (WebCore::SpellingCorrectionController::respondToAppliedEditing):
              (WebCore::SpellingCorrectionController::deletedAutocorrectionAtPosition):
              (WebCore::SpellingCorrectionController::markPrecedingWhitespaceForDeletedAutocorrectionAfterCommand):
              (WebCore::SpellingCorrectionController::processMarkersOnTextToBeReplacedByResult):
              * editing/SpellingCorrectionController.h:
              (WebCore::SpellingCorrectionController::UNLESS_ENABLED):
              * editing/visible_units.cpp:
              (WebCore::isStartOfWord):
              * editing/visible_units.h:
              * manual-tests/autocorrection/spell-checking-after-reversion.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86295 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fd2014cc
    • tkent@chromium.org's avatar
      2011-05-11 Kent Tamura <tkent@chromium.org> · 70b62994
      tkent@chromium.org authored
              Reviewed by Hajime Morita.
      
              The position of validation message bubble is wrong for non text fields.
              https://bugs.webkit.org/show_bug.cgi?id=60341
      
              * fast/forms/resources/common.js: Added. Helper functions for fast/forms.
              * fast/forms/validation-message-on-checkbox-expected.txt: Added.
              * fast/forms/validation-message-on-checkbox.html: Added.
              * fast/forms/validation-message-on-listbox-expected.txt: Added.
              * fast/forms/validation-message-on-listbox.html: Added.
              * fast/forms/validation-message-on-menulist-expected.txt: Added.
              * fast/forms/validation-message-on-menulist.html: Added.
              * fast/forms/validation-message-on-radio-expected.txt: Added.
              * fast/forms/validation-message-on-radio.html: Added.
              * fast/forms/validation-message-on-textarea-expected.txt: Added.
              * fast/forms/validation-message-on-textarea.html: Added.
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac/fast/forms/validation-message-appearance-expected.png: Updated.
              * platform/mac/fast/forms/validation-message-appearance-expected.txt: Updated.
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-05-11  Kent Tamura  <tkent@chromium.org>
      
              Reviewed by Hajime Morita.
      
              The position of validation message bubble is wrong for non text fields.
              https://bugs.webkit.org/show_bug.cgi?id=60341
      
              Tests: fast/forms/validation-message-on-checkbox.html
                     fast/forms/validation-message-on-listbox.html
                     fast/forms/validation-message-on-menulist.html
                     fast/forms/validation-message-on-radio.html
                     fast/forms/validation-message-on-textarea.html
      
              * css/html.css:
              (::-webkit-validation-bubble-message):
                Add white-space:normal in order not to inherit white-space:pre for <select>.
              * html/ValidationMessage.cpp:
              (WebCore::adjustBubblePosition):
                Adjust the bubble position.
                - The top of the bubble should be same as the bottom of the target control.
                - The left of the bubble should be same as the left of the target control.
                  But If the left+32 is larger than the center of the target control,
                  left+32 should be at the center of the target control.
                  But the left position should not be less than 0.
              (WebCore::ValidationMessage::buildBubbleTree): Call adjustBubblePosition().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86224 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70b62994
  4. 10 May, 2011 2 commits
    • commit-queue@webkit.org's avatar
      2011-05-10 Chang Shu <cshu@webkit.org> · ccc67626
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Convert editing/inserting/typing-tab-designmode-forms.html to dumpAsText
              https://bugs.webkit.org/show_bug.cgi?id=60554
      
              * editing/inserting/typing-tab-designmode-forms-expected.txt: Added.
              * editing/inserting/typing-tab-designmode-forms.html:
              * platform/chromium-linux/editing/inserting/typing-tab-designmode-forms-expected.png: Removed.
              * platform/chromium-mac-leopard/editing/inserting/typing-tab-designmode-forms-expected.png: Removed.
              * platform/chromium-win/editing/inserting/typing-tab-designmode-forms-expected.png: Removed.
              * platform/chromium-win/editing/inserting/typing-tab-designmode-forms-expected.txt: Removed.
              * platform/gtk/editing/inserting/typing-tab-designmode-forms-expected.png: Removed.
              * platform/gtk/editing/inserting/typing-tab-designmode-forms-expected.txt: Removed.
              * platform/mac-leopard/editing/inserting/typing-tab-designmode-forms-expected.png: Removed.
              * platform/mac/editing/inserting/typing-tab-designmode-forms-expected.png: Removed.
              * platform/mac/editing/inserting/typing-tab-designmode-forms-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86166 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ccc67626
    • caseq@chromium.org's avatar
      2011-05-10 Andrey Kosyakov <caseq@chromium.org> · 9a3cbaf6
      caseq@chromium.org authored
              Reviewed by Sam Weinig.
      
              Web Inspector: inspector/console/console-shadow-dom-access.html crashes on mac debug
              https://bugs.webkit.org/show_bug.cgi?id=60266
      
              * bindings/objc/DOM.mm:
              (kitClass): return DOMNode class for shadow root node
      
      2011-05-10  Andrey Kosyakov  <caseq@chromium.org>
      
              Reviewed by Sam Weinig.
      
              Web Inspector: inspector/console/console-shadow-dom-access.html crashes on mac debug
              https://bugs.webkit.org/show_bug.cgi?id=60266
      
              * platform/mac/Skipped: removed suppression of console-shadow-dom-access.html
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86147 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9a3cbaf6
  5. 09 May, 2011 2 commits
    • chang.shu@nokia.com's avatar
      2011-05-09 Chang Shu <cshu@webkit.org> · e6241aef
      chang.shu@nokia.com authored
              Unreviewed.
      
              Expected result for editing/inserting/insert-bg-font.html can be shared
              https://bugs.webkit.org/show_bug.cgi?id=60498
      
              * editing/inserting/insert-bg-font-expected.txt: Copied from LayoutTests/platform/mac/editing/inserting/insert-bg-font-expected.txt.
              * platform/gtk/editing/inserting/insert-bg-font-expected.txt: Removed.
              * platform/mac/editing/inserting/insert-bg-font-expected.txt: Removed.
              * platform/qt/Skipped:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e6241aef
    • commit-queue@webkit.org's avatar
      2011-05-09 Shishir Agrawal <shishir@chromium.org> · 084ff96e
      commit-queue@webkit.org authored
              Reviewed by Tony Gentilcore.
      
              Implement Page Visibility API.
              https://bugs.webkit.org/show_bug.cgi?id=54181
      
              * fast/events/page-visibility-iframe-delete-test-expected.txt: Added.
              * fast/events/page-visibility-iframe-delete-test.html: Added.
              * fast/events/page-visibility-iframe-move-test-expected.txt: Added.
              * fast/events/page-visibility-iframe-move-test.html: Added.
              * fast/events/page-visibility-iframe-propagation-test-expected.txt: Added.
              * fast/events/page-visibility-iframe-propagation-test.html: Added.
              * fast/events/page-visibility-transition-test-expected.txt: Added.
              * fast/events/page-visibility-transition-test.html: Added.
              * fast/events/resources/page-visibility-iframe-delete-test-frame.html: Added.
              * fast/events/resources/page-visibility-iframe-move-new-page.html: Added.
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-05-09  Shishir Agrawal  <shishir@chromium.org>
      
              Reviewed by Tony Gentilcore.
      
              Implement Page Visibility API.
              https://bugs.webkit.org/show_bug.cgi?id=54181
      
              Tests: fast/events/page-visibility-iframe-delete-test.html
                     fast/events/page-visibility-iframe-move-test.html
                     fast/events/page-visibility-iframe-propagation-test.html
                     fast/events/page-visibility-transition-test.html
      
              * CMakeLists.txt:
              * GNUmakefile.list.am:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * dom/Document.cpp:
              (WebCore::Document::visibilityState):
              (WebCore::Document::webkitVisibilityState):
              (WebCore::Document::webkitIsVisible):
              (WebCore::Document::dispatchVisibilityStateChangeEvent):
              * dom/Document.h:
              * dom/Document.idl:
              * dom/EventNames.h:
              * page/Frame.cpp:
              (WebCore::Frame::dispatchVisibilityStateChangeEvent):
              * page/Frame.h:
              * page/Page.cpp:
              (WebCore::Page::Page):
              (WebCore::Page::setVisibilityState):
              (WebCore::Page::visibilityState):
              * page/Page.h:
              * page/PageVisibilityState.cpp: Added.
              (WebCore::GetPageVisibilityStateString):
              * page/PageVisibilityState.h: Added.
      2011-05-09  Shishir Agrawal  <shishir@chromium.org>
      
              Reviewed by Tony Gentilcore.
      
              Implement Page Visibility API.
              https://bugs.webkit.org/show_bug.cgi?id=54181
      
              * WebKit.gyp:
              * public/WebPageVisibilityState.h: Added.
              * public/WebView.h:
              (WebKit::WebView::setVisibilityState):
              * public/WebViewClient.h:
              (WebKit::WebViewClient::visibilityState):
              * src/AssertMatchingEnums.cpp:
              * src/WebViewImpl.cpp:
              (WebKit::WebViewImpl::WebViewImpl):
              (WebKit::WebViewImpl::setVisibilityState):
              * src/WebViewImpl.h:
      2011-05-09  Shishir Agrawal  <shishir@chromium.org>
      
              Reviewed by Tony Gentilcore.
      
              Implement Page Visibility API.
              https://bugs.webkit.org/show_bug.cgi?id=54181
      
              * DumpRenderTree/LayoutTestController.cpp:
              (setPageVisibilityCallback):
              (resetPageVisibilityCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              (LayoutTestController::setPageVisibility):
              (LayoutTestController::resetPageVisibility):
              * DumpRenderTree/chromium/LayoutTestController.cpp:
              (LayoutTestController::LayoutTestController):
              (LayoutTestController::resetPageVisibility):
              (LayoutTestController::setPageVisibility):
              * DumpRenderTree/chromium/LayoutTestController.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      084ff96e
  6. 08 May, 2011 1 commit
    • mitz@apple.com's avatar
      <rdar://problem/9401853> REGRESSION (r78846): Insufficient expansion for... · c7a1a518
      mitz@apple.com authored
      <rdar://problem/9401853> REGRESSION (r78846): Insufficient expansion for justification when there are multiple inline boxes
      https://bugs.webkit.org/show_bug.cgi?id=60432
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      * rendering/InlineTextBox.h:
      (WebCore::InlineTextBox::setExpansion): Changed back to take a int, since the m_expansion member
      variable is a (truncated) int anyway.
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::computeExpansionForJustifiedText): Changed the expansion local variable into an int
      so that the right amount is added to the total width. Also changed to use an early return.
      
      LayoutTests: 
      
      * fast/text/justify-nbsp-expected.png:
      * fast/text/justify-nbsp-expected.txt:
      * platform/mac-snowleopard/fast/text/justify-ideograph-leading-expansion-expected.txt:
      * platform/mac/css1/box_properties/clear_float-expected.png:
      * platform/mac/css1/box_properties/clear_float-expected.txt:
      * platform/mac/css1/box_properties/float_on_text_elements-expected.txt:
      * platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.png:
      * platform/mac/css2.1/t0905-c5525-fltcont-00-d-g-expected.txt:
      * platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.png:
      * platform/mac/css2.1/t0905-c5525-fltwidth-00-c-g-expected.txt:
      * platform/mac/css2.1/t1602-c546-txt-align-00-b-expected.png:
      * platform/mac/css2.1/t1602-c546-txt-align-00-b-expected.txt:
      * platform/mac/fast/multicol/float-avoidance-expected.png:
      * platform/mac/fast/multicol/float-avoidance-expected.txt:
      * platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.png:
      * platform/mac/fast/multicol/vertical-lr/float-avoidance-expected.txt:
      * platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.png:
      * platform/mac/fast/multicol/vertical-rl/float-avoidance-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-1-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-1-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-10-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-10-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-2-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-2-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-3-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-3-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-4-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-4-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-5-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-5-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-6-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-6-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-7-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-7-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-8-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-8-expected.txt:
      * platform/mac/fast/repaint/line-flow-with-floats-9-expected.png:
      * platform/mac/fast/repaint/line-flow-with-floats-9-expected.txt:
      * platform/mac/fast/text/hyphenate-character-expected.png:
      * platform/mac/fast/text/hyphenate-character-expected.txt:
      * platform/mac/fast/text/hyphens-expected.png:
      * platform/mac/fast/text/hyphens-expected.txt:
      * platform/mac/fast/text/justified-selection-at-edge-expected.png:
      * platform/mac/fast/text/justified-selection-at-edge-expected.txt:
      * platform/mac/fast/text/justify-ideograph-leading-expansion-expected.png:
      * platform/mac/svg/custom/svg-fonts-in-html-expected.png:
      * platform/mac/svg/custom/svg-fonts-in-html-expected.txt:
      * platform/mac/tables/mozilla/marvin/x_tbody_align_justify-expected.png:
      * platform/mac/tables/mozilla/marvin/x_tbody_align_justify-expected.txt:
      * platform/mac/tables/mozilla/marvin/x_td_align_justify-expected.png:
      * platform/mac/tables/mozilla/marvin/x_td_align_justify-expected.txt:
      * platform/mac/tables/mozilla/marvin/x_tfoot_align_justify-expected.png:
      * platform/mac/tables/mozilla/marvin/x_tfoot_align_justify-expected.txt:
      * platform/mac/tables/mozilla/marvin/x_th_align_justify-expected.png:
      * platform/mac/tables/mozilla/marvin/x_th_align_justify-expected.txt:
      * platform/mac/tables/mozilla/marvin/x_thead_align_justify-expected.png:
      * platform/mac/tables/mozilla/marvin/x_thead_align_justify-expected.txt:
      * platform/mac/tables/mozilla/marvin/x_tr_align_justify-expected.png:
      * platform/mac/tables/mozilla/marvin/x_tr_align_justify-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c7a1a518
  7. 06 May, 2011 4 commits
    • bdakin@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=60421 · a74aad02
      bdakin@apple.com authored
      Custom scrollbars nested inside an overlay scrollbar overflow region end up 
      painting twice
      -and corresponding-
      <rdar://problem/9389072>
      
      Reviewed by Darin Adler.
      
      Source/WebCore: 
      
      Be sure not to paint custom css scrollbars during the special overlay-scrollbar 
      painting pass.
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paintOverflowControls):
      
      LayoutTests: 
      
      * platform/mac/scrollbars/scrollbars-on-positioned-content-expected.png: Added.
      * platform/mac/scrollbars/scrollbars-on-positioned-content-expected.txt: Added.
      * scrollbars/scrollbars-on-positioned-content.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a74aad02
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=60398 (<rdar://problem/9307696>) · bbbb4b88
      hyatt@apple.com authored
      REGRESSION (r81684?): cox.com sign in button is missing
              
      Reviewed by Dan Bernstein.
      
      Fix a typo in r81684 where the ascent was used in a comparison instead of boxHeight.
      This restores the original behavior before the refactoring messed it up.
      
      Source/WebCore: 
      
      Added fast/inline/nested-top-alignment.html
      
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::computeLogicalBoxHeights):
      
      LayoutTests: 
      
      * fast/inline/nested-top-alignment.html: Added.
      * platform/mac/fast/inline/nested-top-alignment-expected.png: Added.
      * platform/mac/fast/inline/nested-top-alignment-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bbbb4b88
    • joepeck@webkit.org's avatar
      2011-05-06 Joseph Pecoraro <joepeck@webkit.org> · c5e747af
      joepeck@webkit.org authored
              Unreviewed. Add pixel results for mac.
      
              * platform/mac/fast/forms/date-input-visible-strings-expected.png: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c5e747af
    • hyatt@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=60390 (<rdar://problem/9364449>) · 074bb0c6
      hyatt@apple.com authored
      REGRESSION (r81992): portions of ticketmaster site render blank
      
      Reviewed by Dan Bernstein.
      
      Make simplified layout skip from a positioned object out to its containing block.  There is no
      need to dirty the intermediate inlines, and in this case it's actively harmful, since the
      block responsible for the layout of the positioned object doesn't get m_posChildNeedsLayout set.
      
      Source/WebCore: 
      
      Added fast/block/positioning/hiding-inside-relpositioned-inline.html
      
      * rendering/RenderObject.h:
      (WebCore::RenderObject::markContainingBlocksForLayout):
      
      LayoutTests: 
      
      * fast/block/positioning/hiding-inside-relpositioned-inline.html: Added.
      * platform/mac/fast/block/positioning/hiding-inside-relpositioned-inline-expected.png: Added.
      * platform/mac/fast/block/positioning/hiding-inside-relpositioned-inline-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      074bb0c6
  8. 05 May, 2011 1 commit
  9. 04 May, 2011 2 commits
    • jer.noble@apple.com's avatar
      2011-05-03 Jer Noble <jer.noble@apple.com> · 70f41ebc
      jer.noble@apple.com authored
              Reviewed by Antti Koivisto.
      
              Safari: Video at apple.com cannot play at full screen mode with layout distortion
              https://bugs.webkit.org/show_bug.cgi?id=60140
      
              * fullscreen/full-screen-stacking-context-expected.txt: Added.
              * fullscreen/full-screen-stacking-context.html: Added.
              * platform/mac/fullscreen/full-screen-stacking-context-expected.png: Added.
      2011-05-03  Jer Noble  <jer.noble@apple.com>
      
              Reviewed by Antti Koivisto.
      
              Safari: Video at apple.com cannot play at full screen mode with layout distortion
              https://bugs.webkit.org/show_bug.cgi?id=60140
      
              Because a fullscreen element may be in a stacking context with a lower z-index than
              a sibling stacking context, those higher contexts would sometimes "pop" through the
              full screen renderer. To facilitate eliminating all the stacking contexts aside from
              the full screen renderer, added a new pseudo-class specific to video or audio full
              screen elements. Then, added a new UA rule which resets the z-index and opacities of
              all elements under said pseudo-class to auto and 1 respectively. To facilitate quick
              identity checking of HTMLMediaElements, added isMediaElement() virtual function to
              Element and HTMLMediaElement.
      
              Test: fullscreen/full-screen-stacking-context.html
      
              * css/CSSSelector.cpp:
              (WebCore::CSSSelector::pseudoId): Support PseudoFullScreenMediaDocument.
              (WebCore::nameToPseudoTypeMap): Support fullScreenMediaDocument.
              (WebCore::CSSSelector::extractPseudoType): Support PseudoFullScreenMediaDocument.
              * css/CSSSelector.h: Add PseudoFullScreenMediaDocument.
              * css/CSSStyleSelector.cpp:
              (WebCore::CSSStyleSelector::SelectorChecker::checkOneSelector): Support PseudoFullScreenMediaDocument.
              * css/fullscreen.css:
              (:root:-webkit-full-screen-document:not(:-webkit-full-screen)): Corrected these names,
                  which were missing the -webkit prefix.
              (:root:-webkit-full-screen-media-document *:not(-webkit-full-screen)): Added.
              * dom/Element.h:
              (WebCore::Element::isMediaElement): Added, returns false.
              * html/HTMLMediaElement.h:
              (WebCore::HTMLMediaElement::isMediaElement): Added, returns true.
              * rendering/style/RenderStyleConstants.h: Added FULL_SCREEN_MEDIA_DOCUMENT.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85811 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70f41ebc
    • luiz@webkit.org's avatar
      Unreviewed build fix. · 58248529
      luiz@webkit.org authored
      Skipping test http/tests/navigation/response204.html for Mac, Win and GTK.
      
      * platform/gtk/Skipped:
      * platform/mac/Skipped:
      * platform/win/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85784 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58248529
  10. 03 May, 2011 4 commits
    • mitz@apple.com's avatar
      Updated expected results after updating this test in r85676. · c334933b
      mitz@apple.com authored
      * platform/mac/fast/text/ligature-subdivision-expected.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85715 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c334933b
    • dpranke@chromium.org's avatar
      2011-05-03 Dirk Pranke <dpranke@chromium.org> · 23841a25
      dpranke@chromium.org authored
              Unreviewed, expectations triage and new baselines.
      
              * platform/chromium-linux/fast/borders/bidi-012-expected.png: Added.
              * platform/chromium-mac-leopard/fast/borders/bidi-012-expected.png: Added.
              * platform/chromium-mac-leopard/fast/multicol/client-rects-expected.png: Added.
              * platform/chromium-mac/fast/repaint/box-shadow-h-expected.png: Removed.
              * platform/chromium-win/fast/borders/bidi-012-expected.png: Added.
              * platform/chromium-win/fast/borders/bidi-012-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
              * platform/mac/fast/block/float/float-overhangs-root-expected.png:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85712 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      23841a25
    • mitz@apple.com's avatar
      Account for font metric differences exposed by r85411. · 1ee4b13e
      mitz@apple.com authored
      Fixes <rdar://problem/9377892> REGRESSION (r85403-r85475): platform/mac/fast/text/ligature-subdivision.html failing
      
      Rubber-stamped by Darin Adler.
      
      * platform/mac/fast/text/script-tests/ligature-subdivision.js:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85676 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1ee4b13e
    • rniwa@webkit.org's avatar
      2011-05-03 Ryosuke Niwa <rniwa@webkit.org> · 828bb6b4
      rniwa@webkit.org authored
              Reviewed by Darin Adler.
      
              WebKit allows selection that crosses the shadow boundary of a readonly input element
              https://bugs.webkit.org/show_bug.cgi?id=60000
      
              Added pixel tests to ensure WebKit doesn't create a selection that spans across
              the shadow DOM boundary of a readonly input element. Also rebaselined a test that
              previously exhibited this behavior.
      
              * editing/selection/resources/select-across-readonly-input.js: Added.
              (moveMouseToMiddleOfElement):
              * editing/selection/select-across-readonly-input-1.html: Added.
              * editing/selection/select-across-readonly-input-2.html: Added.
              * editing/selection/select-across-readonly-input-3.html: Added.
              * editing/selection/select-across-readonly-input-4.html: Added.
              * editing/selection/select-across-readonly-input-5.html: Added.
              * platform/mac/editing/selection/select-across-readonly-input-1-expected.png: Added.
              * platform/mac/editing/selection/select-across-readonly-input-1-expected.txt: Added.
              * platform/mac/editing/selection/select-across-readonly-input-2-expected.png: Added.
              * platform/mac/editing/selection/select-across-readonly-input-2-expected.txt: Added.
              * platform/mac/editing/selection/select-across-readonly-input-3-expected.png: Added.
              * platform/mac/editing/selection/select-across-readonly-input-3-expected.txt: Added.
              * platform/mac/editing/selection/select-across-readonly-input-4-expected.png: Added.
              * platform/mac/editing/selection/select-across-readonly-input-4-expected.txt: Added.
              * platform/mac/editing/selection/select-across-readonly-input-5-expected.png: Added.
              * platform/mac/editing/selection/select-across-readonly-input-5-expected.txt: Added.
              * platform/mac/fast/forms/input-readonly-autoscroll-expected.txt:
      2011-05-03  Ryosuke Niwa  <rniwa@webkit.org>
      
              Reviewed by Darin Adler.
      
              WebKit allows selection that crosses the shadow boundary of a readonly input element
              https://bugs.webkit.org/show_bug.cgi?id=60000
      
              The bug was caused by VisibleSelection's not validating shadow DOM boundaries.
              Fixed the bug by adding an extra adjustment, adjustSelectionToAvoidCrossingShadowBoundaries,
              in its validation process.
      
              Tests: editing/selection/select-across-readonly-input-1.html
                     editing/selection/select-across-readonly-input-2.html
                     editing/selection/select-across-readonly-input-3.html
                     editing/selection/select-across-readonly-input-4.html
                     editing/selection/select-across-readonly-input-5.html
      
              * editing/VisibleSelection.cpp:
              (WebCore::VisibleSelection::validate): Calls adjustSelectionToAvoidCrossingShadowBoundaries.
              (WebCore::VisibleSelection::adjustSelectionToAvoidCrossingShadowBoundaries): Added.
              * editing/VisibleSelection.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      828bb6b4
  11. 02 May, 2011 3 commits
    • joepeck@webkit.org's avatar
      2011-05-02 Joseph Pecoraro <joepeck@webkit.org> · 7e0b4e4e
      joepeck@webkit.org authored
              Reviewed by David Kilzer.
      
              Respect fixed text-indent on ::-webkit-input-placeholder
              https://bugs.webkit.org/show_bug.cgi?id=59825
      
              Placeholder text does not appear in the render tree
              dumps, so this is a pixel test for the position of
              the placeholder affected by text-indent.
      
              * fast/forms/input-placeholder-text-indent.html: Added.
              * platform/mac/fast/forms/input-placeholder-text-indent-expected.png: Added.
              * platform/mac/fast/forms/input-placeholder-text-indent-expected.txt: Added.
      
      2011-05-02  Joseph Pecoraro  <joepeck@webkit.org>
      
              Reviewed by David Kilzer.
      
              Respect fixed text-indent on ::-webkit-input-placeholder
              https://bugs.webkit.org/show_bug.cgi?id=59825
      
              Test: fast/forms/input-placeholder-text-indent.html
      
              * rendering/RenderTextControl.cpp:
              (WebCore::RenderTextControl::paintPlaceholder): indent by
              a fixed text-indent size specified on the placeholder style.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7e0b4e4e
    • enrica@apple.com's avatar
      Text does not split on white space when typing to the edge of window. · d23bc6b7
      enrica@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=59968
      <rdar://problem/9112683>
      
      Reviewed by Dan Bernstein.
      
      Source/WebCore: 
      
      Test: editing/inserting/typing-at-end-of-line.html
      
      This is a regression introduced when we converted the line box tree to
      floating point in r78846. In findNextLineBreak, there was still one place where
      the character width was treated as int and truncated and we were inconsistent
      in the way we treated a character that did not fit entirely in the line.
      
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::findNextLineBreak):
      
      LayoutTests: 
      
      * editing/inserting/typing-at-end-of-line.html: Added.
      * platform/mac/editing/inserting/typing-at-end-of-line-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d23bc6b7
    • tony@chromium.org's avatar
      2011-05-02 Tony Chang <tony@chromium.org> · 6ccb5711
      tony@chromium.org authored
              Remove unused files.
      
              * platform/gtk/fast/text/international/pop-up-button-text-alignment-and-direction-expected.checksum: Removed. This file differs from
                  the value in the png file, but I assume that the png is correct (more recently generated).
              * platform/mac/fast/table/dynamic-caption-add-before-child-expected.checksum: Removed.
              * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.checksum: Removed.
              * platform/mac/fast/table/multiple-captions-display-expected.checksum: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6ccb5711
  12. 01 May, 2011 1 commit
    • mitz@apple.com's avatar
      <rdar://problem/9155067> REGRESSION (float-based line boxes): Gaps and... · 476bf5ec
      mitz@apple.com authored
      <rdar://problem/9155067> REGRESSION (float-based line boxes): Gaps and overlaps in selection highlight
      https://bugs.webkit.org/show_bug.cgi?id=56658
      
      Reviewed by Anders Carlsson.
      
      Source/WebCore: 
      
      Test: fast/text/selection-rect-rounding.html
      
      * platform/graphics/FontFastPath.cpp:
      (WebCore::Font::selectionRectForSimpleText): Account for non-integral anchor point coordinates.
      * platform/graphics/mac/FontComplexTextMac.cpp:
      (WebCore::Font::selectionRectForComplexText): Ditto.
      * rendering/InlineTextBox.cpp:
      (WebCore::InlineTextBox::selectionRect): Floor the horizontal sides of the clip rect.
      (WebCore::InlineTextBox::paintSelection): Pass the logical left location to Font::selectionRectForText(),
      since it affects rounding.
      
      LayoutTests: 
      
      * fast/text/selection-rect-rounding.html: Added.
      * platform/mac/fast/text/selection-rect-rounding-expected.png: Added.
      * platform/mac/fast/text/selection-rect-rounding-expected.txt: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85411 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      476bf5ec
  13. 29 Apr, 2011 4 commits
    • joepeck@webkit.org's avatar
      2011-04-29 Joseph Pecoraro <joepeck@webkit.org> · 254aab41
      joepeck@webkit.org authored
              Reviewed by Kent Tamura.
      
              Allow Localized Date Strings for Date Input Fields
              https://bugs.webkit.org/show_bug.cgi?id=59752
      
              The render tree dump prints out the visible string
              inside the <input> field.
      
              * fast/forms/date-input-visible-strings.html: Added.
              * platform/mac/fast/forms/date-input-visible-strings-expected.txt: Added.
      
      2011-04-29  Joseph Pecoraro  <joepeck@webkit.org>
      
              Reviewed by Kent Tamura.
      
              Allow Localized Date Strings for Date Input Fields
              https://bugs.webkit.org/show_bug.cgi?id=59752
      
              Test: fast/forms/date-input-visible-strings.html
      
              * CMakeLists.txt:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj: update build files for
              moving DateComponents from WebCore/html to WebCore/platform
              and adding the LocalizedDate files.
      
              * html/BaseDateAndTimeInputType.cpp:
              (WebCore::BaseDateAndTimeInputType::serialize):
              (WebCore::BaseDateAndTimeInputType::serializeWithComponents):
              (WebCore::BaseDateAndTimeInputType::serializeWithMilliseconds):
              InputType::serialize for a double value with date types is
              different for the month type because it assumes the incoming
              value is months instead of msecs (matching valueAsNumber in
              HTML5).  So provide a more general serialization function,
              serializeWithComponents, that will always serialize a string
              correctly for the current type but taking in a DateComponents
              object. The default serialize, and new serializeWithMilliseconds,
              can fall back to this and allows an override point for
              the month type.
      
              * html/MonthInputType.cpp:
              (WebCore::MonthInputType::serializeWithMilliseconds): the month
              type is a case where the default serialize does not take msec,
              so provide an implementation for month which handles msec input.
      
              * html/BaseDateAndTimeInputType.cpp:
              (WebCore::BaseDateAndTimeInputType::setValueAsDate): switch
              to serializeWithMilliseconds as the incoming date value is msec.
              * html/MonthInputType.cpp:
              (WebCore::MonthInputType::setValueAsDate): removed.
      
              * html/BaseDateAndTimeInputType.cpp:
              (WebCore::BaseDateAndTimeInputType::visibleValue): allow
              localized formatting of a date value.
              (WebCore::BaseDateAndTimeInputType::convertFromVisibleValue):
              allow parsing for a formatted date value.
      
              * html/BaseDateAndTimeInputType.h:
              * platform/DateComponents.cpp: Renamed from Source/WebCore/html/DateComponents.cpp.
              Expose the Type enum so it can be used outside of the DateComponents class.
              * platform/text/LocalizedDate.h: Added.
              * platform/text/LocalizedDateNone.cpp: Added.
              (WebCore::formatLocalizedDate): Default implementation falls back to
              existing HTML5 date input value formatting.
      
              * html/BaseDateAndTimeInputType.h:
              * html/DateInputType.cpp:
              (WebCore::DateInputType::dateType):
              * html/DateInputType.h:
              * html/DateTimeInputType.cpp:
              (WebCore::DateTimeInputType::dateType):
              * html/DateTimeInputType.h:
              * html/DateTimeLocalInputType.cpp:
              (WebCore::DateTimeLocalInputType::dateType):
              * html/DateTimeLocalInputType.h:
              * html/MonthInputType.cpp:
              (WebCore::MonthInputType::dateType):
              * html/MonthInputType.h:
              * html/TimeInputType.cpp:
              (WebCore::TimeInputType::dateType):
              * html/TimeInputType.h:
              * html/WeekInputType.cpp:
              (WebCore::WeekInputType::dateType):
              * html/WeekInputType.h: Accessors for the desired date
              type of a date input type. This allows the base class
              to write a generic algorithm.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85382 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      254aab41
    • inferno@chromium.org's avatar
      2011-04-29 Abhishek Arya <inferno@chromium.org> · 69d1bf35
      inferno@chromium.org authored
              Reviewed by Dave Hyatt.
      
              Allow only first table caption and destroy the remaining ones.
              https://bugs.webkit.org/show_bug.cgi?id=58249
      
              Previously, we were only laying out the first table caption.
              However Table::layout didn't mark the other ones as not needing
              layout. So after table layout completes, table is marked as not
              needing layout with its other table caption still needing layout.
              This causes incorrect layout root calculations and set it to a
              node which is already getting deleted.
      
              Tests: fast/table/dynamic-caption-add-before-child.xhtml
                     fast/table/dynamic-caption-add-remove-before-child.xhtml
                     fast/table/multiple-captions-crash.xhtml
                     fast/table/multiple-captions-crash2.xhtml
                     fast/table/multiple-captions-display.xhtml
      
              * rendering/RenderTable.cpp:
              (WebCore::RenderTable::addChild): when new caption or a before
              child caption is added, we need to explicitly trigger section
              recalc or otherwise layout won't catch it.
              (WebCore::RenderTable::removeChild): when child to be removed is
              m_caption, make sure to trigger style recalc on the table.
              (WebCore::RenderTable::recalcCaption): code to destroy captions
              other than the first one.
              (WebCore::RenderTable::recalcSections): call recalcCaption
              helper. Store the next sibling early since child can get destroyed
              in recalcCaption.
              * rendering/RenderTable.h:
      2011-04-21  Abhishek Arya  <inferno@chromium.org>
      
              Reviewed by Dave Hyatt.
      
              Tests that we do not crash on
              ASSERT(!m_layoutRoot->container() || !m_layoutRoot->container()->needsLayout())
              when a table has two or more captions.
              https://bugs.webkit.org/show_bug.cgi?id=58249
      
              * fast/table/dynamic-caption-add-before-child.xhtml: Added. Tests that
              before child caption becomes the first caption.
              * fast/table/dynamic-caption-add-remove-before-child.xhtml: Added. Tests
              that when we remove the before child caption, the original caption becomes
              the first caption and is drawn.
              * fast/table/multiple-captions-crash-expected.txt: Added.
              * fast/table/multiple-captions-crash.xhtml: Added. Tests that we
              do not crash when table has multiple captions and captions (other
              than the first one) have input elements added as their child.
              * fast/table/multiple-captions-crash2-expected.txt: Added.
              * fast/table/multiple-captions-crash2.xhtml: Added. Same as
              multiple-captions-crash.xhtml but this testcase does not have
              enclosing table tags for the captions.
              * fast/table/multiple-captions-display.xhtml: Added. Tests that only
              the first caption and captions with position fixed (display=BLOCK) are
              shown. Other captions are not added to table.
              * platform/mac/fast/table/dynamic-caption-add-before-child-expected.checksum: Added.
              * platform/mac/fast/table/dynamic-caption-add-before-child-expected.png: Added.
              * platform/mac/fast/table/dynamic-caption-add-before-child-expected.txt: Added.
              * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.checksum: Added.
              * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.png: Added.
              * platform/mac/fast/table/dynamic-caption-add-remove-before-child-expected.txt: Added.
              * platform/mac/fast/table/multiple-captions-display-expected.checksum: Added.
              * platform/mac/fast/table/multiple-captions-display-expected.png: Added.
              * platform/mac/fast/table/multiple-captions-display-expected.txt: Added.
              * platform/mac/fast/table/prepend-in-anonymous-table-expected.png:
              * platform/mac/fast/table/prepend-in-anonymous-table-expected.txt: Rebaseline
              test because we do not allow captions other than the first one.
              * platform/mac/tables/mozilla_expected_failures/other/test4-expected.txt: Rebaseline
              test because we do not allow captions other than the first one.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85355 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69d1bf35
    • dino@apple.com's avatar
      2011-04-29 Dean Jackson <dino@apple.com> · 9173d974
      dino@apple.com authored
              Reviewed by Simon Fraser.
      
              Add ENABLE macro for WebKitAnimation
              https://bugs.webkit.org/show_bug.cgi?id=59729
      
              Add new feature to toggle WebKit Animation API.
      
              * configure.ac:
              * platform/chromium/test_expectations.txt:
              * platform/gtk/Skipped:
              * platform/mac/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
              * Configurations/FeatureDefines.xcconfig:
              for JavaScriptCore, WebCore, WebKit/mac, WebKit2
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85340 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9173d974
    • pfeldman@chromium.org's avatar
      2011-04-29 Pavel Feldman <pfeldman@google.com> · 01c04ef5
      pfeldman@chromium.org authored
              Not reviewed: skip flaky inspector tests for now.
      
              * platform/mac/Skipped:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01c04ef5
  14. 28 Apr, 2011 8 commits
    • aroben@apple.com's avatar
      Move some mac-snowleopard results back up to mac · d681b793
      aroben@apple.com authored
      * platform/mac-snowleopard/fast/forms/textarea-placeholder-visibility-1-expected.png: Removed.
      * platform/mac-snowleopard/fast/forms/textarea-placeholder-visibility-1-expected.txt: Removed.
      * platform/mac-snowleopard/fast/forms/textarea-placeholder-visibility-2-expected.png: Removed.
      * platform/mac-snowleopard/fast/forms/textarea-placeholder-visibility-2-expected.txt: Removed.
      * platform/mac/fast/forms/textarea-placeholder-visibility-1-expected.png:
      * platform/mac/fast/forms/textarea-placeholder-visibility-1-expected.txt:
      * platform/mac/fast/forms/textarea-placeholder-visibility-2-expected.png:
      * platform/mac/fast/forms/textarea-placeholder-visibility-2-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85301 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d681b793
    • simon.fraser@apple.com's avatar
      2011-04-28 Simon Fraser <simon.fraser@apple.com> · 6cbe9579
      simon.fraser@apple.com authored
              Reviewed by Dirk Schulze.
      
              1px box-shadow looks ugly
              https://bugs.webkit.org/show_bug.cgi?id=58100
              and
              ShadowBlur incorrectly handles zero-sized blur radius in one axis
              https://bugs.webkit.org/show_bug.cgi?id=59710
      
              blurLayerImage() has issues at the edges if the blur radius
              is one, so in that case bump the buffer size out by a pixel.
              This results in a correct, symmetrical blur.
      
              Also fix an issue noticed during testing where a zero
              height or width radius would still blur on that axis,
              because we clamp the kernel size to a minimum of two.
      
              Test: fast/box-shadow/single-pixel-shadow.html
      
              * platform/graphics/ShadowBlur.h:
              * platform/graphics/ShadowBlur.cpp:
              (WebCore::ShadowBlur::blurLayerImage):
              Skip horizontal or vertial passes if the radius on that axis is zero.
              Move the "if (pass && m_blurRadius.width() != m_blurRadius.height())"
              clause to the end of the loop, since it only needs to execute once
              after the first pass.
              (WebCore::ShadowBlur::blurredEdgeSize):
              New method to compute the width of the blurred edge (radius + extra
              pixel when necessary).
              (WebCore::ShadowBlur::calculateLayerBoundingRect):
              (WebCore::ShadowBlur::templateSize):
              (WebCore::ShadowBlur::drawRectShadow):
              (WebCore::ShadowBlur::drawInsetShadow):
              (WebCore::ShadowBlur::drawInsetShadowWithTiling):
              (WebCore::ShadowBlur::drawRectShadowWithTiling):
              (WebCore::ShadowBlur::drawLayerPieces):
              Use the result of blurredEdgeSize() rather than recomputing.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85299 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6cbe9579
    • aroben@apple.com's avatar
      Skip all fast/dom/shadow tests on Mac · 7b5a7375
      aroben@apple.com authored
      They seem to be causing later tests to crash. See <http://webkit.org/b/59571>.
      
      * platform/mac/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85298 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7b5a7375
    • abarth@webkit.org's avatar
      2011-04-28 Adam Barth <abarth@webkit.org> · d29d2063
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML configuration option from the CMake build system.
      
              * Source/cmake/OptionsEfl.cmake:
              * Source/cmake/OptionsWinCE.cmake:
              * Source/cmakeconfig.h.cmake:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove build system integration and test harness integration for WML.
      
              * Scripts/build-webkit:
              * Scripts/old-run-webkit-tests:
              * Scripts/webkitperl/features.pm:
              * Scripts/webkitpy/layout_tests/port/webkit.py:
              * Scripts/webkitpy/layout_tests/port/webkit_unittest.py:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML tests.  These tests do not appear to be run on
              build.webkit.org because none of the bots on build.webkit.org enable
              WML.
      
              * fast/wml: Removed.
              * fast/wml/br-element-in-table.wml: Removed.
              * fast/wml/br-element-in-text.wml: Removed.
              * fast/wml/card-element.wml: Removed.
              * fast/wml/case-sensitivity.wml: Removed.
              * fast/wml/cdata-section.wml: Removed.
              * fast/wml/comment.wml: Removed.
              * fast/wml/do-element-optional-attr.wml: Removed.
              * fast/wml/do-shadow.wml: Removed.
              * fast/wml/do-template.wml: Removed.
              * fast/wml/entity.wml: Removed.
              * fast/wml/err-event-binding-conflict.wml: Removed.
              * fast/wml/err-invalid-location-for-varref.wml: Removed.
              * fast/wml/err-invalid-tablecolumn-number.wml: Removed.
              * fast/wml/err-invalid-variable-name.wml: Removed.
              * fast/wml/err-multi-access.wml: Removed.
              * fast/wml/err-multi-http-equiv-in-meta.wml: Removed.
              * fast/wml/err-multi-name-in-meta.wml: Removed.
              * fast/wml/err-multi-timer.wml: Removed.
              * fast/wml/err-samename-do.wml: Removed.
              * fast/wml/err-unallowed-task-in-anchor.wml: Removed.
              * fast/wml/fieldset.wml: Removed.
              * fast/wml/html-fieldset-crash.html: Removed.
              * fast/wml/img-localsrc.wml: Removed.
              * fast/wml/img-src-localsrc-alt.wml: Removed.
              * fast/wml/img-src.wml: Removed.
              * fast/wml/input.wml: Removed.
              * fast/wml/p-align.wml: Removed.
              * fast/wml/p-mode.wml: Removed.
              * fast/wml/resources: Removed.
              * fast/wml/resources/fail.png: Removed.
              * fast/wml/resources/pass.png: Removed.
              * fast/wml/select.wml: Removed.
              * fast/wml/show-first-card.wml: Removed.
              * fast/wml/table-element-align-attribute-invalid.wml: Removed.
              * fast/wml/table-element-columns-attribute-invalid-number.wml: Removed.
              * fast/wml/table-element-columns-attribute-invalid.wml: Removed.
              * fast/wml/table-element-columns-attribute-missing.wml: Removed.
              * fast/wml/table-element-columns-attribute.wml: Removed.
              * fast/wml/table-element.wml: Removed.
              * fast/wml/task-noop-in-do.wml: Removed.
              * fast/wml/test.wml: Removed.
              * fast/wml/text-emphasis.wml: Removed.
              * fast/wml/validate-dtd.wml: Removed.
              * http/tests/wml: Removed.
              * http/tests/wml/access-target-domain-deny-expected.txt: Removed.
              * http/tests/wml/access-target-domain-deny.html: Removed.
              * http/tests/wml/access-target-expected.txt: Removed.
              * http/tests/wml/access-target-path-deny-expected.txt: Removed.
              * http/tests/wml/access-target-path-deny.html: Removed.
              * http/tests/wml/access-target.html: Removed.
              * http/tests/wml/go-task-get-method-accept-charset-expected.txt: Removed.
              * http/tests/wml/go-task-get-method-accept-charset.html: Removed.
              * http/tests/wml/go-task-get-method-expected.txt: Removed.
              * http/tests/wml/go-task-get-method.html: Removed.
              * http/tests/wml/go-task-post-method-accept-charset-expected.txt: Removed.
              * http/tests/wml/go-task-post-method-accept-charset.html: Removed.
              * http/tests/wml/go-task-post-method-expected.txt: Removed.
              * http/tests/wml/go-task-post-method.html: Removed.
              * http/tests/wml/post-data-to-server-expected.txt: Removed.
              * http/tests/wml/post-data-to-server.html: Removed.
              * http/tests/wml/resources: Removed.
              * http/tests/wml/resources/access-target-domain-deny.wml: Removed.
              * http/tests/wml/resources/access-target-path-deny.wml: Removed.
              * http/tests/wml/resources/access-target.wml: Removed.
              * http/tests/wml/resources/answer-utf8.cgi: Removed.
              * http/tests/wml/resources/answer.cgi: Removed.
              * http/tests/wml/resources/dumpVariables.cgi: Removed.
              * http/tests/wml/resources/locked-deck.wml: Removed.
              * http/tests/wml/resources/unreachable-domain.wml: Removed.
              * http/tests/wml/resources/unreachable-path.wml: Removed.
              * http/tests/wml/script-tests: Removed.
              * http/tests/wml/script-tests/TEMPLATE.html: Removed.
              * http/tests/wml/script-tests/access-target-domain-deny.js: Removed.
              * http/tests/wml/script-tests/access-target-path-deny.js: Removed.
              * http/tests/wml/script-tests/access-target.js: Removed.
              * http/tests/wml/script-tests/go-task-get-method-accept-charset.js: Removed.
              * http/tests/wml/script-tests/go-task-get-method.js: Removed.
              * http/tests/wml/script-tests/go-task-post-method-accept-charset.js: Removed.
              * http/tests/wml/script-tests/go-task-post-method.js: Removed.
              * http/tests/wml/script-tests/post-data-to-server.js: Removed.
              * http/tests/xmlviewer/dumpAsText/wml-expected.txt: Removed.
              * http/tests/xmlviewer/dumpAsText/wml.xml: Removed.
              * platform/mac-leopard/fast/wml: Removed.
              * platform/mac-leopard/fast/wml/html-fieldset-crash-expected.png: Removed.
              * platform/mac/fast/wml: Removed.
              * platform/mac/fast/wml/br-element-in-table-expected.png: Removed.
              * platform/mac/fast/wml/br-element-in-table-expected.txt: Removed.
              * platform/mac/fast/wml/br-element-in-text-expected.png: Removed.
              * platform/mac/fast/wml/br-element-in-text-expected.txt: Removed.
              * platform/mac/fast/wml/card-element-expected.png: Removed.
              * platform/mac/fast/wml/card-element-expected.txt: Removed.
              * platform/mac/fast/wml/case-sensitivity-expected.png: Removed.
              * platform/mac/fast/wml/case-sensitivity-expected.txt: Removed.
              * platform/mac/fast/wml/cdata-section-expected.png: Removed.
              * platform/mac/fast/wml/cdata-section-expected.txt: Removed.
              * platform/mac/fast/wml/comment-expected.png: Removed.
              * platform/mac/fast/wml/comment-expected.txt: Removed.
              * platform/mac/fast/wml/do-element-optional-attr-expected.png: Removed.
              * platform/mac/fast/wml/do-element-optional-attr-expected.txt: Removed.
              * platform/mac/fast/wml/do-shadow-expected.png: Removed.
              * platform/mac/fast/wml/do-shadow-expected.txt: Removed.
              * platform/mac/fast/wml/do-template-expected.png: Removed.
              * platform/mac/fast/wml/do-template-expected.txt: Removed.
              * platform/mac/fast/wml/entity-expected.png: Removed.
              * platform/mac/fast/wml/entity-expected.txt: Removed.
              * platform/mac/fast/wml/err-event-binding-conflict-expected.png: Removed.
              * platform/mac/fast/wml/err-event-binding-conflict-expected.txt: Removed.
              * platform/mac/fast/wml/err-invalid-location-for-varref-expected.png: Removed.
              * platform/mac/fast/wml/err-invalid-location-for-varref-expected.txt: Removed.
              * platform/mac/fast/wml/err-invalid-tablecolumn-number-expected.png: Removed.
              * platform/mac/fast/wml/err-invalid-tablecolumn-number-expected.txt: Removed.
              * platform/mac/fast/wml/err-invalid-variable-name-expected.png: Removed.
              * platform/mac/fast/wml/err-invalid-variable-name-expected.txt: Removed.
              * platform/mac/fast/wml/err-multi-access-expected.png: Removed.
              * platform/mac/fast/wml/err-multi-access-expected.txt: Removed.
              * platform/mac/fast/wml/err-multi-http-equiv-in-meta-expected.png: Removed.
              * platform/mac/fast/wml/err-multi-http-equiv-in-meta-expected.txt: Removed.
              * platform/mac/fast/wml/err-multi-name-in-meta-expected.png: Removed.
              * platform/mac/fast/wml/err-multi-name-in-meta-expected.txt: Removed.
              * platform/mac/fast/wml/err-multi-timer-expected.png: Removed.
              * platform/mac/fast/wml/err-multi-timer-expected.txt: Removed.
              * platform/mac/fast/wml/err-samename-do-expected.png: Removed.
              * platform/mac/fast/wml/err-samename-do-expected.txt: Removed.
              * platform/mac/fast/wml/err-unallowed-task-in-anchor-expected.png: Removed.
              * platform/mac/fast/wml/err-unallowed-task-in-anchor-expected.txt: Removed.
              * platform/mac/fast/wml/fieldset-expected.png: Removed.
              * platform/mac/fast/wml/fieldset-expected.txt: Removed.
              * platform/mac/fast/wml/html-fieldset-crash-expected.png: Removed.
              * platform/mac/fast/wml/html-fieldset-crash-expected.txt: Removed.
              * platform/mac/fast/wml/img-localsrc-expected.png: Removed.
              * platform/mac/fast/wml/img-localsrc-expected.txt: Removed.
              * platform/mac/fast/wml/img-src-expected.png: Removed.
              * platform/mac/fast/wml/img-src-expected.txt: Removed.
              * platform/mac/fast/wml/img-src-localsrc-alt-expected.png: Removed.
              * platform/mac/fast/wml/img-src-localsrc-alt-expected.txt: Removed.
              * platform/mac/fast/wml/input-expected.png: Removed.
              * platform/mac/fast/wml/input-expected.txt: Removed.
              * platform/mac/fast/wml/p-align-expected.png: Removed.
              * platform/mac/fast/wml/p-align-expected.txt: Removed.
              * platform/mac/fast/wml/p-mode-expected.png: Removed.
              * platform/mac/fast/wml/p-mode-expected.txt: Removed.
              * platform/mac/fast/wml/select-expected.png: Removed.
              * platform/mac/fast/wml/select-expected.txt: Removed.
              * platform/mac/fast/wml/show-first-card-expected.png: Removed.
              * platform/mac/fast/wml/show-first-card-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-align-attribute-invalid-expected.png: Removed.
              * platform/mac/fast/wml/table-element-align-attribute-invalid-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-expected.png: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-invalid-expected.png: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-invalid-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-invalid-number-expected.png: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-invalid-number-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-missing-expected.png: Removed.
              * platform/mac/fast/wml/table-element-columns-attribute-missing-expected.txt: Removed.
              * platform/mac/fast/wml/table-element-expected.png: Removed.
              * platform/mac/fast/wml/table-element-expected.txt: Removed.
              * platform/mac/fast/wml/task-noop-in-do-expected.png: Removed.
              * platform/mac/fast/wml/task-noop-in-do-expected.txt: Removed.
              * platform/mac/fast/wml/test-expected.png: Removed.
              * platform/mac/fast/wml/test-expected.txt: Removed.
              * platform/mac/fast/wml/text-emphasis-expected.png: Removed.
              * platform/mac/fast/wml/text-emphasis-expected.txt: Removed.
              * platform/mac/fast/wml/validate-dtd-expected.png: Removed.
              * platform/mac/fast/wml/validate-dtd-expected.txt: Removed.
              * wml: Removed.
              * wml/access-target-deny-expected.txt: Removed.
              * wml/access-target-deny.html: Removed.
              * wml/access-target-expected.txt: Removed.
              * wml/access-target.html: Removed.
              * wml/enter-card-with-events-expected.txt: Removed.
              * wml/enter-card-with-events.html: Removed.
              * wml/enter-first-card-with-events-expected.txt: Removed.
              * wml/enter-first-card-with-events.html: Removed.
              * wml/go-task-get-method-external-deck-expected.txt: Removed.
              * wml/go-task-get-method-external-deck-with-href-expected.txt: Removed.
              * wml/go-task-get-method-external-deck-with-href.html: Removed.
              * wml/go-task-get-method-external-deck.html: Removed.
              * wml/go-task-get-method-same-deck-expected.txt: Removed.
              * wml/go-task-get-method-same-deck.html: Removed.
              * wml/input-format-expected.txt: Removed.
              * wml/input-format.html: Removed.
              * wml/newcontext-same-deck-expected.txt: Removed.
              * wml/newcontext-same-deck.html: Removed.
              * wml/onenterforward-event-expected.txt: Removed.
              * wml/onenterforward-event.html: Removed.
              * wml/onenterforward-inline-event-expected.txt: Removed.
              * wml/onenterforward-inline-event.html: Removed.
              * wml/ontimer-event-expected.txt: Removed.
              * wml/ontimer-event.html: Removed.
              * wml/ontimer-inline-event-expected.txt: Removed.
              * wml/ontimer-inline-event.html: Removed.
              * wml/option-element-onpick-expected.txt: Removed.
              * wml/option-element-onpick-recursion-expected.txt: Removed.
              * wml/option-element-onpick-recursion.html: Removed.
              * wml/option-element-onpick.html: Removed.
              * wml/resources: Removed.
              * wml/resources/WMLTestCase.js: Removed.
              * wml/resources/access-target-deny.wml: Removed.
              * wml/resources/access-target.wml: Removed.
              * wml/resources/enter-card-with-events.wml: Removed.
              * wml/resources/enter-first-card-with-events.wml: Removed.
              * wml/resources/external-deck.wml: Removed.
              * wml/resources/locked-deck.wml: Removed.
              * wml/resources/newcontext-same-deck.wml: Removed.
              * wml/resources/onenterforward-event.wml: Removed.
              * wml/resources/onenterforward-inline-event.wml: Removed.
              * wml/resources/ontimer-event.wml: Removed.
              * wml/resources/ontimer-inline-event.wml: Removed.
              * wml/resources/option-element-onpick-recursion.wml: Removed.
              * wml/resources/test-document.wml: Removed.
              * wml/script-tests: Removed.
              * wml/script-tests/TEMPLATE.html: Removed.
              * wml/script-tests/access-target-deny.js: Removed.
              * wml/script-tests/access-target.js: Removed.
              * wml/script-tests/enter-card-with-events.js: Removed.
              * wml/script-tests/enter-first-card-with-events.js: Removed.
              * wml/script-tests/go-task-get-method-external-deck-with-href.js: Removed.
              * wml/script-tests/go-task-get-method-external-deck.js: Removed.
              * wml/script-tests/go-task-get-method-same-deck.js: Removed.
              * wml/script-tests/input-format.js: Removed.
              * wml/script-tests/newcontext-same-deck.js: Removed.
              * wml/script-tests/onenterforward-event.js: Removed.
              * wml/script-tests/onenterforward-inline-event.js: Removed.
              * wml/script-tests/ontimer-event.js: Removed.
              * wml/script-tests/ontimer-inline-event.js: Removed.
              * wml/script-tests/option-element-onpick-recursion.js: Removed.
              * wml/script-tests/option-element-onpick.js: Removed.
              * wml/script-tests/select-element-variables.js: Removed.
              * wml/script-tests/variable-reference-invalid-character.js: Removed.
              * wml/script-tests/variable-reference-valid.js: Removed.
              * wml/select-element-variables-expected.txt: Removed.
              * wml/select-element-variables.html: Removed.
              * wml/variable-reference-invalid-character-expected.txt: Removed.
              * wml/variable-reference-invalid-character.html: Removed.
              * wml/variable-reference-valid-expected.txt: Removed.
              * wml/variable-reference-valid.html: Removed.
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove the WML configuration option from the Mac build system.
      
              * Configurations/FeatureDefines.xcconfig:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML-related enumeration.
      
              * Interfaces/IWebFramePrivate.idl:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML-related configuration options and private APIs.
      
              * Configurations/FeatureDefines.xcconfig:
              * WebCoreSupport/WebChromeClient.mm:
              (stringForMessageSource):
              * WebView/WebFramePrivate.h:
              * WebView/WebUIDelegatePrivate.h:
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              This patch removes WML from WebCore.  After removing WML, there's a
              bunch of twisted code that could be untwisted, but this patch contains
              only the purely mechanical part of removing the feature.
      
              There's been a lot of discussion on webkit-dev about whether we should
              remove WML.  In addition to those threads, we've had an informal poll
              of the reviewers as well as an in-person discussion at the WebKit
              contributor's meeting.  Removing any feature is likely to make some
              folks unhappy, but, on balance, removing WML appears to be the right
              thing for the project to do at this time.
      
              * CMakeLists.txt:
              * CodeGenerators.pri:
              * Configurations/FeatureDefines.xcconfig:
              * DerivedSources.cpp:
              * DerivedSources.make:
              * GNUmakefile.am:
              * GNUmakefile.list.am:
              * WebCore.gyp/WebCore.gyp:
              * WebCore.gypi:
              * WebCore.pro:
              * WebCore.vcproj/WebCore.vcproj:
              * WebCore.xcodeproj/project.pbxproj:
              * css/CSSStyleSelector.cpp:
              (WebCore::linkAttribute):
              (WebCore::CSSStyleSelector::styleForElement):
              (WebCore::CSSStyleSelector::adjustRenderStyle):
              * css/wml.css: Removed.
              * dom/DOMImplementation.cpp:
              (WebCore::DOMImplementation::createDocument):
              * dom/Document.cpp:
              (WebCore::Document::Document):
              (WebCore::Document::createElement):
              * dom/Document.h:
              (WebCore::Document::isMediaDocument):
              * dom/Document.idl:
              * dom/InputElement.h:
              * dom/Node.cpp:
              (WebCore::Node::toInputElement):
              * dom/Node.h:
              * dom/OptionElement.cpp:
              (WebCore::toOptionElement):
              (WebCore::isOptionElement):
              * dom/OptionElement.h:
              * dom/OptionGroupElement.cpp:
              (WebCore::toOptionGroupElement):
              (WebCore::isOptionGroupElement):
              * dom/SelectElement.cpp:
              (WebCore::toSelectElement):
              * dom/SelectElement.h:
              * dom/Text.cpp:
              (WebCore::Text::attach):
              * dom/XMLDocumentParser.cpp:
              (WebCore::XMLDocumentParser::insertErrorMessageBlock):
              * dom/XMLDocumentParser.h:
              * dom/XMLDocumentParserLibxml2.cpp:
              (WebCore::XMLDocumentParser::internalSubset):
              (WebCore::getEntityHandler):
              * dom/XMLDocumentParserQt.cpp:
              (WebCore::XMLDocumentParser::parse):
              (WebCore::XMLDocumentParser::parseDtd):
              * editing/htmlediting.cpp:
              (WebCore::canHaveChildrenForEditing):
              * features.pri:
              * history/BackForwardList.h:
              * history/BackForwardListImpl.cpp:
              * history/BackForwardListImpl.h:
              * history/PageCache.cpp:
              (WebCore::PageCache::canCachePageContainingThisFrame):
              * html/HTMLAnchorElement.h:
              * inspector/ConsoleMessage.cpp:
              (WebCore::messageSourceValue):
              * inspector/front-end/ConsoleView.js:
              (WebInspector.ConsoleMessage.prototype.toString):
              * loader/FrameLoader.cpp:
              (WebCore::isBackForwardLoadType):
              (WebCore::FrameLoader::transitionToCommitted):
              (WebCore::FrameLoader::shouldReload):
              (WebCore::FrameLoader::loadDifferentDocumentItem):
              (WebCore::FrameLoader::loadItem):
              * loader/FrameLoaderTypes.h:
              * loader/HistoryController.cpp:
              (WebCore::HistoryController::restoreDocumentState):
              * manual-tests/wml: Removed.
              * manual-tests/wml/StartTests.wml: Removed.
              * manual-tests/wml/a-br-element.wml: Removed.
              * manual-tests/wml/a-element.wml: Removed.
              * manual-tests/wml/a-img-element.wml: Removed.
              * manual-tests/wml/access-target.wml: Removed.
              * manual-tests/wml/anchor-br-element.wml: Removed.
              * manual-tests/wml/anchor-element.wml: Removed.
              * manual-tests/wml/anchor-img-element.wml: Removed.
              * manual-tests/wml/card-newcontext-attr.wml: Removed.
              * manual-tests/wml/card-onenterbackward.wml: Removed.
              * manual-tests/wml/card-onenterforward.wml: Removed.
              * manual-tests/wml/card-ontimer.wml: Removed.
              * manual-tests/wml/deck-access-control.wml: Removed.
              * manual-tests/wml/input-format.wml: Removed.
              * manual-tests/wml/onevent-go.wml: Removed.
              * manual-tests/wml/onevent-noop.wml: Removed.
              * manual-tests/wml/onevent-prev.wml: Removed.
              * manual-tests/wml/onevent-refresh.wml: Removed.
              * manual-tests/wml/onevent-shadow.wml: Removed.
              * manual-tests/wml/resources: Removed.
              * manual-tests/wml/resources/smiley.png: Removed.
              * manual-tests/wml/select-element.wml: Removed.
              * manual-tests/wml/select-onpick-event-crash.wml: Removed.
              * manual-tests/wml/select-onpick-event.wml: Removed.
              * manual-tests/wml/setvar-element.wml: Removed.
              * manual-tests/wml/targetdeck.wml: Removed.
              * manual-tests/wml/task-go-in-anchor.wml: Removed.
              * manual-tests/wml/task-prev-in-anchor.wml: Removed.
              * manual-tests/wml/task-refresh-in-anchor.wml: Removed.
              * manual-tests/wml/template-go.wml: Removed.
              * manual-tests/wml/template-ontimer.wml: Removed.
              * manual-tests/wml/timer.wml: Removed.
              * manual-tests/wml/variable-substitution.wml: Removed.
              * page/Console.cpp:
              (WebCore::printMessageSourceAndLevelPrefix):
              * page/Console.h:
              * page/Frame.cpp:
              (WebCore::Frame::Frame):
              * page/Page.cpp:
              * page/Page.h:
              * platform/MIMETypeRegistry.cpp:
              (WebCore::initializeSupportedNonImageMimeTypes):
              * platform/network/FormDataBuilder.h:
              * platform/network/mac/ResourceHandleMac.mm:
              (-[WebCoreResourceHandleAsDelegate connection:didReceiveResponse:]):
              * platform/wince/MIMETypeRegistryWinCE.cpp:
              (WebCore::initMIMETypeEntensionMap):
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::altDisplayString):
              (WebCore::HitTestResult::absoluteImageURL):
              (WebCore::HitTestResult::absoluteLinkURL):
              (WebCore::HitTestResult::isLiveLink):
              * rendering/RenderBox.cpp:
              * rendering/RenderButton.cpp:
              (WebCore::RenderButton::updateFromElement):
              * rendering/RenderFieldset.cpp:
              (WebCore::RenderFieldset::findLegend):
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::updateAltText):
              * rendering/RenderObject.cpp:
              (WebCore::RenderObject::isLegend):
              (WebCore::RenderObject::offsetParent):
              * wml: Removed.
              * wml/WMLAElement.cpp: Removed.
              * wml/WMLAElement.h: Removed.
              * wml/WMLAccessElement.cpp: Removed.
              * wml/WMLAccessElement.h: Removed.
              * wml/WMLAnchorElement.cpp: Removed.
              * wml/WMLAnchorElement.h: Removed.
              * wml/WMLAttributeNames.in: Removed.
              * wml/WMLBRElement.cpp: Removed.
              * wml/WMLBRElement.h: Removed.
              * wml/WMLCardElement.cpp: Removed.
              * wml/WMLCardElement.h: Removed.
              * wml/WMLDoElement.cpp: Removed.
              * wml/WMLDoElement.h: Removed.
              * wml/WMLDocument.cpp: Removed.
              * wml/WMLDocument.h: Removed.
              * wml/WMLElement.cpp: Removed.
              * wml/WMLElement.h: Removed.
              * wml/WMLErrorHandling.cpp: Removed.
              * wml/WMLErrorHandling.h: Removed.
              * wml/WMLEventHandlingElement.cpp: Removed.
              * wml/WMLEventHandlingElement.h: Removed.
              * wml/WMLFieldSetElement.cpp: Removed.
              * wml/WMLFieldSetElement.h: Removed.
              * wml/WMLFormControlElement.cpp: Removed.
              * wml/WMLFormControlElement.h: Removed.
              * wml/WMLGoElement.cpp: Removed.
              * wml/WMLGoElement.h: Removed.
              * wml/WMLImageElement.cpp: Removed.
              * wml/WMLImageElement.h: Removed.
              * wml/WMLImageLoader.cpp: Removed.
              * wml/WMLImageLoader.h: Removed.
              * wml/WMLInputElement.cpp: Removed.
              * wml/WMLInputElement.h: Removed.
              * wml/WMLInsertedLegendElement.cpp: Removed.
              * wml/WMLInsertedLegendElement.h: Removed.
              * wml/WMLIntrinsicEvent.cpp: Removed.
              * wml/WMLIntrinsicEvent.h: Removed.
              * wml/WMLIntrinsicEventHandler.cpp: Removed.
              * wml/WMLIntrinsicEventHandler.h: Removed.
              * wml/WMLMetaElement.cpp: Removed.
              * wml/WMLMetaElement.h: Removed.
              * wml/WMLNoopElement.cpp: Removed.
              * wml/WMLNoopElement.h: Removed.
              * wml/WMLOnEventElement.cpp: Removed.
              * wml/WMLOnEventElement.h: Removed.
              * wml/WMLOptGroupElement.cpp: Removed.
              * wml/WMLOptGroupElement.h: Removed.
              * wml/WMLOptionElement.cpp: Removed.
              * wml/WMLOptionElement.h: Removed.
              * wml/WMLPElement.cpp: Removed.
              * wml/WMLPElement.h: Removed.
              * wml/WMLPageState.cpp: Removed.
              * wml/WMLPageState.h: Removed.
              * wml/WMLPostfieldElement.cpp: Removed.
              * wml/WMLPostfieldElement.h: Removed.
              * wml/WMLPrevElement.cpp: Removed.
              * wml/WMLPrevElement.h: Removed.
              * wml/WMLRefreshElement.cpp: Removed.
              * wml/WMLRefreshElement.h: Removed.
              * wml/WMLSelectElement.cpp: Removed.
              * wml/WMLSelectElement.h: Removed.
              * wml/WMLSetvarElement.cpp: Removed.
              * wml/WMLSetvarElement.h: Removed.
              * wml/WMLTableElement.cpp: Removed.
              * wml/WMLTableElement.h: Removed.
              * wml/WMLTagNames.in: Removed.
              * wml/WMLTaskElement.cpp: Removed.
              * wml/WMLTaskElement.h: Removed.
              * wml/WMLTemplateElement.cpp: Removed.
              * wml/WMLTemplateElement.h: Removed.
              * wml/WMLTimerElement.cpp: Removed.
              * wml/WMLTimerElement.h: Removed.
              * wml/WMLVariables.cpp: Removed.
              * wml/WMLVariables.h: Removed.
      2011-04-28  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove WML
              https://bugs.webkit.org/show_bug.cgi?id=59678
      
              Remove WML-related code in WebKit2.
      
              * Configurations/FeatureDefines.xcconfig:
              * WebProcess/WebPage/WebBackForwardListProxy.cpp:
              * WebProcess/WebPage/WebBackForwardListProxy.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85256 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d29d2063
    • dglazkov@chromium.org's avatar
      2011-04-28 Dominic Cooney <dominicc@chromium.org> · ca589e85
      dglazkov@chromium.org authored
              Reviewed by Geoffrey Garen.
      
              Walk shadow hosts as well as parent nodes when finding opaque roots.
              https://bugs.webkit.org/show_bug.cgi?id=59571
      
              Remove expectation of failure.
      
              * platform/mac/fast/dom/shadow/gc-shadow-expected.txt: Removed.
      2011-04-28  Dominic Cooney  <dominicc@chromium.org>
      
              Reviewed by Geoffrey Garen.
      
              Walk shadow hosts as well as parent nodes when finding opaque roots.
              https://bugs.webkit.org/show_bug.cgi?id=59571
      
              Test: fast/dom/shadow/gc-shadow.html
      
              * bindings/js/JSDOMBinding.h:
              (WebCore::root):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85216 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ca589e85
    • dglazkov@chromium.org's avatar
      2011-04-28 Dimitri Glazkov <dglazkov@chromium.org> · a3ec620a
      dglazkov@chromium.org authored
              Added the test results, missed in r85209.
      
              * platform/mac/fast/dom/shadow/gc-shadow-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85215 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a3ec620a
    • mdelaney@apple.com's avatar
      2011-04-28 Matthew Delaney <mdelaney@apple.com> · 0850bf88
      mdelaney@apple.com authored
              Reviewed by Brian Weinstein.
      
              Push canvas tests' expected results down from platform/mac and into platform/mac-snowleopard
              https://bugs.webkit.org/show_bug.cgi?id=59654
      
              * platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.cone.front-expected.txt: Copied from LayoutTests/platform/mac/canvas/philip/tests/2d.gradient.radial.cone.front-expected.txt.
              * platform/mac-snowleopard/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt: Copied from LayoutTests/platform/mac/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt.
              * platform/mac-snowleopard/canvas/philip/tests/2d.strokeRect.zero.4-expected.txt: Copied from LayoutTests/platform/mac/canvas/philip/tests/2d.strokeRect.zero.4-expected.txt.
              * platform/mac/canvas/philip/tests/2d.gradient.radial.cone.front-expected.txt: Removed.
              * platform/mac/canvas/philip/tests/2d.gradient.radial.cone.top-expected.txt: Removed.
              * platform/mac/canvas/philip/tests/2d.strokeRect.zero.4-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85211 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0850bf88
    • dglazkov@chromium.org's avatar
      2011-04-28 Dominic Cooney <dominicc@chromium.org> · 8a9ad805
      dglazkov@chromium.org authored
              Reviewed by Dimitri Glazkov.
      
              Unskip fast/dom/shadow/gc-shadow.html on Mac with expected failure
              https://bugs.webkit.org/show_bug.cgi?id=59647
      
              * fast/dom/shadow/gc-shadow.html: Actually GC the shadow roots now.
              * fast/dom/shadow/gc-shadow-expected.txt: Updated.
              * platform/mac/Skipped: Unskip gc-shadow.html.
              * platform/mac/fast/dom/shadow/gc-shadow-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@85209 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8a9ad805