1. 01 Dec, 2010 6 commits
  2. 30 Nov, 2010 34 commits
    • commit-queue@webkit.org's avatar
      2010-11-30 Avi Drissman <avi@google.com> · 0529999f
      commit-queue@webkit.org authored
              Reviewed by Darin Adler.
      
              Add preference to not select when right-clicked
              https://bugs.webkit.org/show_bug.cgi?id=23351
      
              Removed 5109817 because it is entirely superseded by
              context-menu-text-selection; updated 5354455-1 to explicitly set the
              editing behavior and test all three platforms.
      
              * editing/selection/5109817.html: Removed.
              * editing/selection/5354455-1-expected.txt: Added.
              * editing/selection/5354455-1.html:
              * platform/chromium-win/editing/selection/5109817-expected.txt: Removed.
              * platform/chromium-win/editing/selection/5354455-1-expected.txt: Removed.
              * platform/gtk/editing/selection/5109817-expected.txt: Removed.
              * platform/gtk/editing/selection/5354455-1-expected.txt: Removed.
              * platform/mac-leopard/editing/selection/5109817-expected.checksum: Removed.
              * platform/mac-leopard/editing/selection/5109817-expected.png: Removed.
              * platform/mac/editing/selection/5109817-expected.checksum: Removed.
              * platform/mac/editing/selection/5109817-expected.png: Removed.
              * platform/mac/editing/selection/5109817-expected.txt: Removed.
              * platform/mac/editing/selection/5354455-1-expected.txt: Removed.
              * platform/win/editing/selection/5109817-expected.checksum: Removed.
              * platform/win/editing/selection/5109817-expected.png: Removed.
              * platform/win/editing/selection/5109817-expected.txt: Removed.
              * platform/win/editing/selection/5354455-1-expected.txt: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73009 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0529999f
    • commit-queue@webkit.org's avatar
      2010-11-30 Rob Buis <rwlbuis@gmail.com> · 9404da90
      commit-queue@webkit.org authored
              Reviewed by Xan Lopez.
      
              [gtk] SVGLineElement-dom-requiredFeatures.html and
              SVGLineElement-svgdom-requiredFeatures.html failing in the bots
              https://bugs.webkit.org/show_bug.cgi?id=49529
      
              Replaced fill with stroke and increased the line size. This fixes
              the problem clicking the element.
      
              * platform/gtk/Skipped:
              * svg/dynamic-updates/script-tests/SVGLineElement-dom-requiredFeatures.js:
              * svg/dynamic-updates/script-tests/SVGLineElement-svgdom-requiredFeatures.js:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73005 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9404da90
    • ojan@chromium.org's avatar
      2010-11-30 Ojan Vafai <ojan@chromium.org> · 663a41ec
      ojan@chromium.org authored
              [chromium] Update inaccurate test expectation and mark fast/regex/pcre-test-1.html as
              timing out after http://trac.webkit.org/changeset/72990/.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73001 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      663a41ec
    • cfleizach@apple.com's avatar
      WebKit duplicates AXValue and AXDescription on abbr · 41c9dde6
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50260
      
      Reviewed by Beth Dakin.
      
      WebCore: 
      
      stringValue() and accessibilityDescription() were returning the same value for static text with
      an aria-label. Static text elements should not have an accessibility description, they
      should only have a stringValue.
      
      Test: platform/mac/accessibility/static-text-with-aria-label.html
      
      * accessibility/AccessibilityRenderObject.cpp:
      (WebCore::AccessibilityRenderObject::ariaAccessibilityDescription):
      (WebCore::AccessibilityRenderObject::accessibilityDescription):
      (WebCore::AccessibilityRenderObject::text):
      * accessibility/AccessibilityRenderObject.h:
      
      LayoutTests: 
      
      * platform/mac/accessibility/static-text-with-aria-label-expected.txt: Added.
      * platform/mac/accessibility/static-text-with-aria-label.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73000 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41c9dde6
    • barraclough@apple.com's avatar
      JavaScriptCore: Fixed review comments following bug #48101. · 1a56bac0
      barraclough@apple.com authored
      Mostly typos, plus gave quantifyInfinite a symbolic name.
      
      Reviewed by Darin Adler.
      
      * yarr/RegexCompiler.cpp:
      (JSC::Yarr::RegexPatternConstructor::quantifyAtom):
      (JSC::Yarr::RegexPatternConstructor::checkForTerminalParentheses):
      * yarr/RegexInterpreter.cpp:
      (JSC::Yarr::Interpreter::backtrackParenthesesOnceEnd):
      (JSC::Yarr::Interpreter::matchParenthesesTerminalBegin):
      (JSC::Yarr::Interpreter::backtrackParenthesesTerminalBegin):
      (JSC::Yarr::Interpreter::backtrackParenthesesTerminalEnd):
      * yarr/RegexJIT.cpp:
      (JSC::Yarr::RegexGenerator::generatePatternCharacterGreedy):
      (JSC::Yarr::RegexGenerator::generatePatternCharacterNonGreedy):
      (JSC::Yarr::RegexGenerator::generateCharacterClassGreedy):
      * yarr/RegexParser.h:
      (JSC::Yarr::Parser::parseTokens):
      (JSC::Yarr::parse):
      
      LayoutTests: Ooops, file checked in with incorrect properties.
      
      Reviewed by Darin Adler.
      
      * fast/regex/script-tests/repeat-match-waldemar.js: Removed property svn:executable.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72999 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1a56bac0
    • mrobinson@webkit.org's avatar
      2010-11-30 Martin Robinson <mrobinson@igalia.com> · 95a71b06
      mrobinson@webkit.org authored
              Rebaseline a GTK+ test.
      
              * platform/gtk/fast/canvas/canvas-scale-strokePath-shadow-expected.txt: Added.
              This platform-specific result is needed because of bug #50303.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72997 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95a71b06
    • barraclough@apple.com's avatar
      LayoutTests/fast/regex currently contains a number of test cases ported from PCRE's test suites. · 3eeac765
      barraclough@apple.com authored
      There are two key problems with these tests:
        * They use their own harness, and cannot be run from jsc without building all of WebKit.
        * They expect PCRE expression syntax, including extended syntax, backwards assertions, etc.
      
      Rubber stamped by Oliver Hunt.
      
      Rewrite all tests to comply to ECMA compatible syntax
      (ish - we support octal escapes), and use the normal 'shouldBe' test style.
      
      * fast/js/resources/standalone-pre.js:
      (areArraysEqual):
          Fixed bug, where expected is an array we call areArraysEqual,
          this should first check that actual is an array.
      
      * fast/regex/pcre-test-1-expected.txt: Added.
      * fast/regex/pcre-test-1.html: Added.
      * fast/regex/pcre-test-4-expected.txt: Added.
      * fast/regex/pcre-test-4.html: Added.
      * fast/regex/script-tests/pcre-test-1.js: Added.
      * fast/regex/script-tests/pcre-test-4.js: Added.
          Added new version of PCRE tests.
      
      * fast/regex/pcre-test-runner.js: Removed.
      * fast/regex/test1-expected.txt: Removed.
      * fast/regex/test1.html: Removed.
      * fast/regex/test4-expected.txt: Removed.
      * fast/regex/test4.html: Removed.
      * fast/regex/testinput1: Removed.
      * fast/regex/testinput4: Removed.
      * fast/regex/testoutput1: Removed.
      * fast/regex/testoutput4: Removed.
          Removed old version of PCRE tests.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3eeac765
    • mitz@apple.com's avatar
      Text search should treat all matches as word-start matches when the target... · 4bdecb92
      mitz@apple.com authored
      Text search should treat all matches as word-start matches when the target begins with a separator character
      https://bugs.webkit.org/show_bug.cgi?id=50302
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      * editing/TextIterator.cpp:
      (WebCore::SearchBuffer::SearchBuffer): Disable the AtWordStarts option if it was specified and
      the target string begins with one of the "separator" characters.
      
      LayoutTests: 
      
      * editing/text-iterator/findString.html:
      * editing/text-iterator/findString-expected.txt:
      * platform/mac-leopard/editing/text-iterator: Removed.
      * platform/mac-leopard/editing/text-iterator/findString-expected.txt: Removed.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4bdecb92
    • mrobinson@webkit.org's avatar
      2010-11-30 Martin Robinson <mrobinson@igalia.com> · cf5d1892
      mrobinson@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] fillRect shadow has incorrect behavior when using ctx.scale(x,y)
              https://bugs.webkit.org/show_bug.cgi?id=50283
      
              Add platform exceptions for these tests. While this change fixes most issues
              with them there are still bugs with our shadow code which prevents a total
              pass.
      
              * platform/gtk/fast/canvas/canvas-scale-fillPath-shadow-expected.txt: Added.
              * platform/gtk/fast/canvas/canvas-scale-fillRect-shadow-expected.txt: Added.
      2010-11-30  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Xan Lopez.
      
              [GTK] fillRect shadow has incorrect behavior when using ctx.scale(x,y)
              https://bugs.webkit.org/show_bug.cgi?id=50283
      
              Adjust the mask rectangle for Cairo shadows, so that the origin
              is not affected by the scale of the transformation matrix.
      
              * platform/graphics/ContextShadow.h: Make this Qt-only member global.
              * platform/graphics/cairo/ContextShadowCairo.cpp:
              (WebCore::ContextShadow::beginShadowLayer): Save the original layer area.
              (WebCore::ContextShadow::endShadowLayer): If the target context has a scale
              transform, make sure not to scale the blur distance when blitting the shadow.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72987 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cf5d1892
    • rniwa@webkit.org's avatar
      2010-11-30 Ryosuke Niwa <rniwa@webkit.org> · fbe7f75e
      rniwa@webkit.org authored
              Reviewed by Ojan Vafai.
      
              REGRESSION(r72861): editing/selection/click-left-of-rtl-wrapping-text.html and
              modify-up-on-rtl-wrapping-text.html fail on all but Mac platform
              https://bugs.webkit.org/show_bug.cgi?id=50204
      
              Fixed the tests. Instead of using "ex" to specify the width of the container div,
              the tests now auto-detect the correct width by comparing the computed height to
              the expected height deduced from the height of one line and the expected number of lines.
      
              * editing/selection/click-left-of-rtl-wrapping-text-expected.txt:
              * editing/selection/click-left-of-rtl-wrapping-text.html:
              * editing/selection/modify-up-on-rtl-wrapping-text.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72977 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fbe7f75e
    • yael.aharon@nokia.com's avatar
      Progress and meter elements should take a form in their constructor like any other form control. · 4920c931
      yael.aharon@nokia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=50195
      
      Reviewed by Darin Adler.
      
      WebCore: 
      
      Tests: fast/dom/HTMLMeterElement/meter-element-form.html
             fast/dom/HTMLProgressElement/progress-element-form.html
      
      * html/HTMLMeterElement.cpp:
      (WebCore::HTMLMeterElement::HTMLMeterElement):
      (WebCore::HTMLMeterElement::create):
      * html/HTMLMeterElement.h:
      * html/HTMLProgressElement.h:
      * html/HTMLTagNames.in:
      
      LayoutTests: 
      
      * fast/dom/HTMLMeterElement/meter-element-form-expected.txt: Added.
      * fast/dom/HTMLMeterElement/meter-element-form.html: Added.
      * fast/dom/HTMLProgressElement/progress-element-form-expected.txt: Added.
      * fast/dom/HTMLProgressElement/progress-element-form.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72976 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4920c931
    • tony@chromium.org's avatar
      2010-11-30 Tony Chang <tony@chromium.org> · 2c7cd7b0
      tony@chromium.org authored
              Unreviewed, remove dupe expectation for chromium win drt.
      
              * platform/chromium/drt_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c7cd7b0
    • tony@chromium.org's avatar
      2010-11-30 Tony Chang <tony@chromium.org> · 86630a6f
      tony@chromium.org authored
              Reviewed by Adam Barth.
      
              [chromium] fix get-int-identifier-special-values.html using TestNetscapePlugIn
              https://bugs.webkit.org/show_bug.cgi?id=49036
      
              No new tests: Covered by plugins/npruntime/get-int-identifier-special-values.html
      
              In http://codereview.chromium.org/11574, the forked chromium test
              plugin changed how it testGetIntIdentifier to work around a change
              caused by a silverlight specific plugin fix:
              http://codereview.chromium.org/11569/diff/1/2
      
              It's not clear to me that this change is needed anymore since
              silverlight has had multiple releases, testing without this patch
              works on a test windows build, and safari win seems to run silverlight
              without this either.  Since there's no test for this behavior, I'm
              rolling it out so we can match the upstream test.
      
              * bindings/v8/V8NPUtils.cpp:
              (WebCore::convertV8ObjectToNPVariant):
      2010-11-30  Tony Chang  <tony@chromium.org>
      
              Reviewed by Adam Barth.
      
              [chromium] fix get-int-identifier-special-values.html using TestNetscapePlugIn
              https://bugs.webkit.org/show_bug.cgi?id=49036
      
              * DumpRenderTree/chromium/LayoutTestController.cpp: Use IsNumber instead of IsInt32
                  for CppVariants.
              (LayoutTestController::cppVariantToBool):
              (LayoutTestController::cppVariantToInt32):
              (LayoutTestController::setDatabaseQuota):
              (LayoutTestController::evaluateInWebInspector):
              (LayoutTestController::setMockGeolocationError):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72974 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      86630a6f
    • tony@chromium.org's avatar
      2010-11-30 Tony Chang <tony@chromium.org> · 2c2082ab
      tony@chromium.org authored
              Unreviewed, try to green the chromium win DRT bot.
      
              * platform/chromium/drt_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72971 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c2082ab
    • ojan@chromium.org's avatar
      2010-11-30 Ojan Vafai <ojan@chromium.org> · 5f684f33
      ojan@chromium.org authored
              [chromium] Mark failing tests after http://trac.webkit.org/changeset/72962/
              to green the chromium tree.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5f684f33
    • inferno@chromium.org's avatar
      2010-11-30 Chris Guillory <chris.guillory@google.com> · 22417bfa
      inferno@chromium.org authored
              Reviewed by Chris Fleizach.
      
              Computing style on a stale node while sending pending accessibility notification.
              https://bugs.webkit.org/show_bug.cgi?id=50162
      
              Retain node pointer members of AccessibilityImageMapLink.
      
              Test: accessibility/image-map-title-causes-crash.html
      
              * accessibility/AccessibilityImageMapLink.cpp:
              (WebCore::AccessibilityImageMapLink::parentObject):
              (WebCore::AccessibilityImageMapLink::anchorElement):
              (WebCore::AccessibilityImageMapLink::url):
              (WebCore::AccessibilityImageMapLink::elementRect):
              * accessibility/AccessibilityImageMapLink.h:
              (WebCore::AccessibilityImageMapLink::areaElement):
              (WebCore::AccessibilityImageMapLink::mapElement):
              (WebCore::AccessibilityImageMapLink::node):
              * dom/Document.cpp:
              (WebCore::Document::clearAXObjectCache):
      2010-11-30  Chris Guillory  <chris.guillory@google.com>
      
              Reviewed by Chris Fleizach.
      
              Computing style on a stale node while sending pending accessibility notification.
              https://bugs.webkit.org/show_bug.cgi?id=50162
      
              * accessibility/image-map-title-causes-crash-expected.txt: Added.
              * accessibility/image-map-title-causes-crash.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72969 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      22417bfa
    • ojan@chromium.org's avatar
      2010-11-30 Ojan Vafai <ojan@chromium.org> · 28234bbd
      ojan@chromium.org authored
              [chromium] Add new expected result after http://trac.webkit.org/changeset/72689
              and update test expectations to match the builders and pull the appropriate bits
              from the downstream expectations file.
      
              * platform/chromium-mac/fast/repaint/block-layout-inline-children-replaced-expected.checksum:
              * platform/chromium-mac/fast/repaint/block-layout-inline-children-replaced-expected.png:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72964 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      28234bbd
    • mario@webkit.org's avatar
      2010-11-30 Mario Sanchez Prada <msanchez@igalia.com> · 83fa96cb
      mario@webkit.org authored
              Reviewed by Xan Lopez.
      
              GTK: AX: implement press in DRT
              https://bugs.webkit.org/show_bug.cgi?id=36146
      
              Unskipped test accessibility/label-element-press.html.
      
              * platform/gtk/Skipped: Unskip passing test.
      2010-11-30  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Xan Lopez.
      
              GTK: AX: implement press in DRT
              https://bugs.webkit.org/show_bug.cgi?id=36146
      
              Implement AccessibilityUIElement::press() for GTK.
      
              * DumpRenderTree/gtk/AccessibilityUIElementGtk.cpp:
              (AccessibilityUIElement::press): Implemented.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72963 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      83fa96cb
    • dbates@webkit.org's avatar
      2010-11-30 Daniel Bates <dbates@rim.com> · d0f0396e
      dbates@webkit.org authored
              Reviewed by David Hyatt.
      
              Focused <area> should use CSS properties of <area> instead of associated <img>
              https://bugs.webkit.org/show_bug.cgi?id=49888
      
              Fixes an issue where the CSS properties of an <area> were not used when
              the <area> was focused.
      
              Currently, when focusing an <area> (say by pressing option + tab in Mac
              Safari) we use the CSS style information for the <img> associated with
              the <area>. Instead, we should use the CSS style information for the
              focused <area>. In particular, this will make the us honor the outline-
              color property of a focused <area> when drawing its focus ring.
      
              Tests: fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map.html
                     fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map.html
                     fast/images/imagemap-focus-ring-outline-color.html
      
              * rendering/RenderImage.cpp:
              (WebCore::RenderImage::paintFocusRing): Use the style information of
              the focused <area> when drawing the focus ring for it.
      2010-11-30  Daniel Bates  <dbates@rim.com>
      
              Reviewed by David Hyatt.
      
              Focused <area> should use CSS properties of <area> instead of associated <img>
              https://bugs.webkit.org/show_bug.cgi?id=49888
      
              Updated the test result for test fast/images/imagemap-focus-ring.html. Added
              test to verify that the color of the focus ring for a focused <area> is
              the outline-color specified by the :focus pseudo-class .
      
              Also, added tests to ensure that outline-color is not inherited (by default) as per
              section 18.4 of the CSS 2.1 spec <http://www.w3.org/TR/CSS2/ui.html#dynamic-outlines>,
              unless explicitly inherited.
      
              * fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map.html: Added.
              * fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map.html: Added.
              * fast/images/imagemap-focus-ring-outline-color.html: Added.
              * platform/mac/fast/images/imagemap-focus-ring-expected.checksum: Updated result.
              * platform/mac/fast/images/imagemap-focus-ring-expected.png: Ditto.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-expected.checksum: Added.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-expected.png: Added.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-expected.txt: Added.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.checksum: Added.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.png: Added.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-explicitly-inherited-from-map-expected.txt: Added.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.checksum: Added.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.png: Added.
              * platform/mac/fast/images/imagemap-focus-ring-outline-color-not-inherited-from-map-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72962 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d0f0396e
    • ojan@chromium.org's avatar
      2010-11-30 Ojan Vafai <ojan@chromium.org> · 3bfa0cdd
      ojan@chromium.org authored
              [chromium] Update expectations to de-orange the builders.
      
              * platform/chromium-gpu/test_expectations.txt:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72959 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bfa0cdd
    • dbates@webkit.org's avatar
      2010-11-30 Daniel Bates <dbates@rim.com> · cba4a475
      dbates@webkit.org authored
              Reviewed by Alexey Proskuryakov.
      
              Change and focus events happen in different order if using tab vs. clicking
              https://bugs.webkit.org/show_bug.cgi?id=6181
      
              Tests to ensure adherence to section 7.4.2 of the HTML5 spec.
              <http://www.w3.org/TR/html5/editing.html#focus-management> with respect to
              focusing on an <input>, modifying its contents, and defocusing it either by
              pressing the tab key or clicking on another element.
      
              * fast/events/check-defocus-event-order-when-triggered-by-mouse-click-expected.txt: Added.
              * fast/events/check-defocus-event-order-when-triggered-by-mouse-click.html: Added.
              * fast/events/check-defocus-event-order-when-triggered-by-tab-expected.txt: Added.
              * fast/events/check-defocus-event-order-when-triggered-by-tab.html: Added.
              * fast/events/resources/record-events.js: Added.
              (registerElementsAndEventsToRecord):
              (beginRecordingEvents.callback):
              (beginRecordingEvents):
              (endRecordingEvents.callback):
              (endRecordingEvents):
              (_processEachRegisteredElement):
              (_recordEvent):
              (checkThatEventsFiredInOrder.eventTarget):
              (checkThatEventsFiredInOrder.elementIdOrTagName):
              (checkThatEventsFiredInOrder):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72953 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cba4a475
    • xji@chromium.org's avatar
      2010-11-30 Xiaomei Ji <xji@chromium.org> · a28cc46e
      xji@chromium.org authored
              Reviewed by David Hyatt.
      
              Scroll position might not be exactly the same after page ZoomIn and ZoomOut, for example, they are not exactly the same in Windows platform.
              Change to test that the scroll position before and after ZoomIn/Out are close enough.
              Rebaseline horizontal-scrollbar-when-dir-change in Win7.
      
              * fast/dom/horizontal-scrollbar-in-rtl.html:
              * platform/win/fast/dom/horizontal-scrollbar-when-dir-change-expected.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72952 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a28cc46e
    • ojan@chromium.org's avatar
      2010-11-30 Ojan Vafai <ojan@chromium.org> · 063abd9e
      ojan@chromium.org authored
              [chromium] New expected result after http://trac.webkit.org/changeset/72926/.
              That patch unintentionally fixed a bug where the skia codepath was drawing paths twice.
              The new results better match the platform/mac results (borders are grey instead of black).
      
              * platform/chromium-linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/coords-units-01-b-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/painting-render-01-b-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.png:
              * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.png:
              * platform/chromium-linux/svg/batik/paints/patternPreserveAspectRatioA-expected.checksum: Added.
              * platform/chromium-linux/svg/batik/paints/patternPreserveAspectRatioA-expected.png: Added.
              * platform/chromium-linux/svg/batik/paints/patternRegionA-expected.checksum:
              * platform/chromium-linux/svg/batik/paints/patternRegionA-expected.png:
              * platform/chromium-linux/svg/batik/paints/patternRegions-expected.checksum:
              * platform/chromium-linux/svg/batik/paints/patternRegions-expected.png:
              * platform/chromium-linux/svg/batik/paints/patternRegions-positioned-objects-expected.checksum:
              * platform/chromium-linux/svg/batik/paints/patternRegions-positioned-objects-expected.png:
              * platform/chromium-linux/svg/custom/pattern-incorrect-tiling-expected.checksum:
              * platform/chromium-linux/svg/custom/pattern-incorrect-tiling-expected.png:
              * platform/chromium-linux/svg/custom/recursive-gradient-expected.checksum:
              * platform/chromium-linux/svg/custom/recursive-gradient-expected.png:
              * platform/chromium-linux/svg/custom/relative-sized-content-with-resources-expected.checksum:
              * platform/chromium-linux/svg/custom/relative-sized-content-with-resources-expected.png:
              * platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.checksum:
              * platform/chromium-linux/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
              * platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.checksum:
              * platform/chromium-linux/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/coords-units-01-b-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/coords-units-01-b-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/painting-render-01-b-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/painting-render-01-b-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-13-b-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/pservers-grad-16-b-expected.png:
              * platform/chromium-win/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/pservers-pattern-01-b-expected.png:
              * platform/chromium-win/svg/batik/paints/patternPreserveAspectRatioA-expected.checksum:
              * platform/chromium-win/svg/batik/paints/patternPreserveAspectRatioA-expected.png:
              * platform/chromium-win/svg/batik/paints/patternRegionA-expected.checksum:
              * platform/chromium-win/svg/batik/paints/patternRegionA-expected.png:
              * platform/chromium-win/svg/batik/paints/patternRegions-expected.checksum:
              * platform/chromium-win/svg/batik/paints/patternRegions-expected.png:
              * platform/chromium-win/svg/batik/paints/patternRegions-positioned-objects-expected.checksum:
              * platform/chromium-win/svg/batik/paints/patternRegions-positioned-objects-expected.png:
              * platform/chromium-win/svg/custom/pattern-incorrect-tiling-expected.checksum:
              * platform/chromium-win/svg/custom/pattern-incorrect-tiling-expected.png:
              * platform/chromium-win/svg/custom/pattern-y-offset-expected.checksum:
              * platform/chromium-win/svg/custom/pattern-y-offset-expected.png:
              * platform/chromium-win/svg/custom/recursive-gradient-expected.checksum:
              * platform/chromium-win/svg/custom/recursive-gradient-expected.png:
              * platform/chromium-win/svg/custom/relative-sized-content-with-resources-expected.checksum:
              * platform/chromium-win/svg/custom/relative-sized-content-with-resources-expected.png:
              * platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.checksum:
              * platform/chromium-win/svg/transforms/text-with-pattern-inside-transformed-html-expected.png:
              * platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.checksum:
              * platform/chromium-win/svg/transforms/text-with-pattern-with-svg-transform-expected.png:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      063abd9e
    • hclam@chromium.org's avatar
      Not reviewed. · cb43c105
      hclam@chromium.org authored
      Submitted for Kenji Imasaki <imasaki@chromium.org>.
      
      Update test expectations for Chromium to enable expectation analyzer for video.
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72945 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cb43c105
    • mitz@apple.com's avatar
      Added Leopard-specific results for editing/text-iterator/findString.html. In the Leopard version · 1bb131de
      mitz@apple.com authored
      of ICU, the full stop character is a word separator, so an at-word-starts search for "org" in
      "webkit.org" matches.
      
      * platform/mac-leopard/editing/text-iterator: Added.
      * platform/mac-leopard/editing/text-iterator/findString-expected.txt: Copied from LayoutTests/editing/text-iterator/findString-expected.txt.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1bb131de
    • vitalyr@chromium.org's avatar
      2010-11-30 Vitaly Repeshko <vitalyr@chromium.org> · dc2d08ca
      vitalyr@chromium.org authored
              Unreviewed.
      
              [chromium] Updating test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72942 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc2d08ca
    • mitz@apple.com's avatar
      WebKit2: Injected bundle support for <rdar://problem/8710645> WebKitTestRunner... · 941f96e1
      mitz@apple.com authored
      WebKit2: Injected bundle support for <rdar://problem/8710645> WebKitTestRunner needs layoutTestController.findString
      https://bugs.webkit.org/show_bug.cgi?id=50238
      
      Reviewed by Anders Carlsson.
      
      * Shared/API/c/WKFindOptions.h: Added. Moved the definition of WKFindOptions here from WKPage.h.
      * Shared/API/c/WKSharedAPICast.h:
      (WebKit::toFindOptions): Moved from WKAPICast.h.
      * UIProcess/API/C/WKAPICast.h:
      * UIProcess/API/C/WKPage.h:
      * WebKit2.xcodeproj/project.pbxproj: Added WKFindOptions.h.
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      (WKBundlePageFindString): Added.
      * WebProcess/InjectedBundle/API/c/WKBundlePage.h:
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::findStringFromInjectedBundle): Added.
      * WebProcess/WebPage/WebPage.h:
      
      WebKitTools: <rdar://problem/8710645> WebKitTestRunner needs layoutTestController.findString
      https://bugs.webkit.org/show_bug.cgi?id=50238
      
      Reviewed by Anders Carlsson.
      
      * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
      (WTR::LayoutTestController::findString): Added.
      * WebKitTestRunner/InjectedBundle/LayoutTestController.h:
      
      LayoutTests: <rdar://problem/8710645> WebKitTestRunner needs layoutTestController.findString
      https://bugs.webkit.org/show_bug.cgi?id=50238
      
      Reviewed by Anders Carlsson.
      
      * platform/mac-wk2/Skipped: Removed editing/text-iterator/findString.html.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      941f96e1
    • xji@chromium.org's avatar
      2010-11-30 Xiaomei Ji <xji@chromium.org> · 157f1a1d
      xji@chromium.org authored
              Reviewed by David Hyatt.
      
              Remove clampNegativeToZero in adjustScrollPositionWithinRange.
              https://bugs.webkit.org/show_bug.cgi?id=50203
      
              * platform/ScrollView.cpp:
              (WebCore::ScrollView::adjustScrollPositionWithinRange):
      2010-11-30  Xiaomei Ji  <xji@chromium.org>
      
              Reviewed by David Hyatt.
      
              Unskip fast/dom/horizontal-scrollbar-in-rtl.html and fast/dom/horizontal-scrollbar-when-dir-change.html in Chromium and Win7.
              Rebaseline after r72852.
              https://bugs.webkit.org/show_bug.cgi?id=50203
      
              * platform/chromium/test_expectations.txt:
              * platform/win/Skipped:
              * platform/win/fast/dom/horizontal-scrollbar-in-rtl-expected.txt: Added.
              * platform/win/fast/dom/horizontal-scrollbar-when-dir-change-expected.txt: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      157f1a1d
    • aroben@apple.com's avatar
      Try to fix timing-out tests on WebKit2 by skipping an earlier test · 8995e578
      aroben@apple.com authored
      I'll file a bug if this fixes the problem.
      
      * platform/mac-wk2/Skipped:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8995e578
    • mario@webkit.org's avatar
      2010-11-30 Mario Sanchez Prada <msanchez@igalia.com> · d93f6314
      mario@webkit.org authored
              Reviewed by Chris Fleizach.
      
              ASSERT failing for combo boxes when selection changes
              https://bugs.webkit.org/show_bug.cgi?id=50062
      
              * fast/forms/select-option-accesskey-crash-expected.txt: Added.
              * fast/forms/select-option-accesskey-crash.html: Added
      2010-11-30  Mario Sanchez Prada  <msanchez@igalia.com>
      
              Reviewed by Chris Fleizach.
      
              ASSERT failing for combo boxes when selection changes
              https://bugs.webkit.org/show_bug.cgi?id=50062
      
              Don't call listBoxOnChange for elements using menu lists.
      
              Test: fast/forms/select-option-accesskey-crash.html
      
              * dom/SelectElement.cpp:
              (WebCore::SelectElement::accessKeySetSelectedIndex): Extra check
              to decide whether to call menuListOnChange() or listBoxOnChange()
              instead of always calling listBoxOnChange().
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d93f6314
    • satish@chromium.org's avatar
      2010-11-30 Satish Sampath <satish@chromium.org> · 124f9f41
      satish@chromium.org authored
              Unreviewed, updating a speech input pixel test expectations with new baselines.
      
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.checksum:
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.png:
              * platform/chromium-linux/fast/speech/input-appearance-speechbutton-expected.txt:
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.checksum:
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.png:
              * platform/chromium-mac/fast/speech/input-appearance-speechbutton-expected.txt:
              * platform/chromium-win/fast/speech/input-appearance-speechbutton-expected.checksum:
              * platform/chromium-win/fast/speech/input-appearance-speechbutton-expected.png:
              * platform/chromium-win/fast/speech/input-appearance-speechbutton-expected.txt:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      124f9f41
    • ap@apple.com's avatar
      Reviewed by Darin Adler and Geoff Garen. · ffc6c121
      ap@apple.com authored
              https://bugs.webkit.org/show_bug.cgi?id=44152
              <rdar://problem/8324423> CSSOM should match DOM in discarding wrapper-less parents.
      
              We have existing behaviors where parent objects in detached subtrees are not preserved:
              - if a root of a node tree doesn't have a wrapper, it's immediately destroyed, making
              its children parentNode attribute null;
              - relationship between a <style> or <link> node and its stylesheet is immediately broken
              when the node is removed from document (in this case, regardless of wrapper existence).
      
              Both match Firefox. For consistency, CSSOM should do the same. In fact, it already partially
              does - CSSRule.parentRule gets zeroed out when the parent rule is destroyed.
      
              Tests: fast/dom/StyleSheet/detached-parent-rule-without-wrapper.html
                     fast/dom/StyleSheet/detached-stylesheet-without-wrapper.html
      
              * css/StyleSheet.cpp: (WebCore::StyleSheet::~StyleSheet): Clear out child rule parent.
      
              * svg/SVGFontFaceElement.cpp: (WebCore::SVGFontFaceElement::insertedIntoDocument): Keep
              the new assertion from firing. This function was adding a rule to style sheet, without
              telling the rule about it.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ffc6c121
    • ojan@chromium.org's avatar
      2010-11-30 Ojan Vafai <ojan@chromium.org> · 628e0350
      ojan@chromium.org authored
              [chromium] Rebaselines. Details below.
      
              * platform/chromium-linux/fast/overflow/overflow-update-transform-expected.checksum: Added.
              * platform/chromium-linux/fast/overflow/overflow-update-transform-expected.png: Added.
              Just scrollbar pixel differences.
      
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-30-t-expected.checksum:
              * platform/chromium-linux/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
              * platform/chromium-linux/svg/carto.net/selectionlist-expected.checksum:
              * platform/chromium-linux/svg/carto.net/selectionlist-expected.png:
              * platform/chromium-linux/svg/custom/image-small-width-height-expected.checksum:
              * platform/chromium-linux/svg/custom/image-small-width-height-expected.png:
              https://bugs.webkit.org/show_bug.cgi?id=50206
      
              * platform/chromium-mac/fast/block/basic/truncation-rtl-expected.checksum:
              * platform/chromium-mac/fast/block/basic/truncation-rtl-expected.png:
              * platform/chromium-mac/fast/block/basic/truncation-rtl-expected.txt: Added.
              Completes http://trac.webkit.org/changeset/72875/
      
              * platform/chromium-win/fast/overflow/overflow-update-transform-expected.checksum: Added.
              * platform/chromium-win/fast/overflow/overflow-update-transform-expected.png: Added.
              Just scrollbar pixel differences.
      
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-30-t-expected.checksum:
              * platform/chromium-win/svg/W3C-SVG-1.1/animate-elem-30-t-expected.png:
              * platform/chromium-win/svg/carto.net/selectionlist-expected.checksum:
              * platform/chromium-win/svg/carto.net/selectionlist-expected.png:
              * platform/chromium-win/svg/custom/image-small-width-height-expected.checksum:
              * platform/chromium-win/svg/custom/image-small-width-height-expected.png:
              https://bugs.webkit.org/show_bug.cgi?id=50206
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72922 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      628e0350
    • vitalyr@chromium.org's avatar
      2010-11-30 Vitaly Repeshko <vitalyr@chromium.org> · 56c56bcb
      vitalyr@chromium.org authored
              Unreviewed.
      
              [chromium] Updating test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@72920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56c56bcb