- 18 Jan, 2011 20 commits
-
-
commit-queue@webkit.org authored
Reviewed by Simon Fraser. Support background-clip: content-box https://bugs.webkit.org/show_bug.cgi?id=48771 Addded content-box as a valid background-clip value. * WebCore/css/CSSParser.cpp: (WebCore::parseBackgroundClip): 2011-01-18 Krithigassree Sambamurthy <krithigassree.sambamurthy@nokia.com> Reviewed by Simon Fraser. Support background-clip: content-box https://bugs.webkit.org/show_bug.cgi?id=48771 Added test cases to check the various valid background-clip values. * fast/css/background-clip-text-expected.txt: * fast/css/background-clip-values-expected.checksum: Added. * fast/css/background-clip-values-expected.txt: Added. * fast/css/background-clip-values.html: Added. * fast/css/script-tests/background-clip-text.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=52324 Reviewed by Darin Adler. Source/WebCore: Fallout from recent change to make WebCore return its own scroll view. 1) There were two scroll views in the hierarchy, one which no needed to be ignored. 2) Hit tests for sub frames needed to be offset. 3) The check for whether an attachment is ignored must happen earlier than using the helpText to determine if an element should be ignored. Test: platform/mac/accessibility/iframe-with-title-correct-hierarchy.html * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::elementAccessibilityHitTest): * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::accessibilityIsIgnored): * accessibility/mac/AccessibilityObjectWrapper.mm: (-[AccessibilityObjectWrapper scrollViewParent]): Source/WebKit/mac: * WebView/WebDynamicScrollBarsView.mm: (-[WebDynamicScrollBarsView accessibilityIsIgnored]): LayoutTests: * platform/mac/accessibility/iframe-with-title-correct-hierarchy-expected.txt: Added. * platform/mac/accessibility/iframe-with-title-correct-hierarchy.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76044 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Reviewed by Eric Seidel. [GTK] Filenames are converted to URLs during edit drags https://bugs.webkit.org/show_bug.cgi?id=52096 * platform/gtk/Skipped: Unskip passing test. Fix a misspelled drag and drop test on the list as well. 2011-01-18 Martin Robinson <mrobinson@igalia.com> Reviewed by Eric Seidel. [GTK] Filenames are converted to URLs during edit drags https://bugs.webkit.org/show_bug.cgi?id=52096 * platform/gtk/DragDataGtk.cpp: Only advertise and deliver filenames as URLs if the conversion policy allows it. (WebCore::DragData::containsURL): Ditto. (WebCore::DragData::asURL): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76039 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jorlow@chromium.org authored
[Chromium] Create baselines for svg/css/text-gradient-shadow.svg https://bugs.webkit.org/show_bug.cgi?id=52640 * platform/chromium-linux/svg/css/text-gradient-shadow-expected.checksum: Added. * platform/chromium-linux/svg/css/text-gradient-shadow-expected.png: Added. * platform/chromium-mac/svg/css/text-gradient-shadow-expected.checksum: Added. * platform/chromium-win/svg/css/text-gradient-shadow-expected.checksum: Added. * platform/chromium-win/svg/css/text-gradient-shadow-expected.png: Added. * platform/chromium-win/svg/css/text-gradient-shadow-expected.txt: Added. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76038 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
Skip two tests which were incorrectly passing before GTK+ had support for beginDragWithFiles. * platform/gtk/Skipped: Skip failing tests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jknotten@chromium.org authored
Reviewed by Jeremy Orlow. [Chromium] Adjust test expectations fast/files/revoke-blob-url.html is flaky on linux. https://bugs.webkit.org/show_bug.cgi?id=52633 Combine test expectations for the test into one line. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76035 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] Incorrect shadow alpha with semi-transparent solid fillStyle https://bugs.webkit.org/show_bug.cgi?id=52611 This is related to bug 52559. The shadow color alpha must be multiplied by the context brush alpha. New test to ensure correct behavior of canvas with fillPath using a semi-transparent fillStyle color and a shadow. * fast/canvas/canvas-fillPath-alpha-shadow-expected.txt: Added. * fast/canvas/canvas-fillPath-alpha-shadow.html: Added. * fast/canvas/script-tests/canvas-fillPath-alpha-shadow.js: Added. 2011-01-18 Helder Correia <helder@sencha.com> Reviewed by Kenneth Rohde Christiansen. [Qt] Incorrect shadow alpha with semi-transparent solid fillStyle https://bugs.webkit.org/show_bug.cgi?id=52611 This is related to bug 52559. The shadow color alpha must be multiplied by the context brush alpha. Test: fast/canvas/canvas-fillPath-alpha-shadow.html * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::fillPath): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76033 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jknotten@chromium.org authored
Unreviewed; updated chromium test expectations. [Chromium] Adjust test expectations fast/files/revoke-blob-url.html is flaky on linux. https://bugs.webkit.org/show_bug.cgi?id=52633 * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76032 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mrobinson@webkit.org authored
2011-01-18 Adam Bergkvist <adam.bergkvist@ericsson.com> and Martin Robinson <mrobinson@igalia.com> Reviewed by Gustavo Noronha Silva. [GTK] The GTK+ EventSender needs support for beginDragWithFiles https://bugs.webkit.org/show_bug.cgi?id=40833 Unskip passing tests, add in a GTK+-specific result and one more result which is necessary because GTK+ tests run in Xvfb. * platform/gtk/Skipped: Unskip tests that are now passing and organize the remaining skipped tests. * platform/gtk/fast/forms/input-file-re-render-expected.txt: Added. * platform/gtk/http/tests/security/clipboard/clipboard-file-access-expected.txt: Added. 2011-01-18 Adam Bergkvist <adam.bergkvist@ericsson.com> and Martin Robinson <mrobinson@igalia.com> Reviewed by Gustavo Noronha Silva. [GTK] The GTK+ EventSender needs support for beginDragWithFiles https://bugs.webkit.org/show_bug.cgi?id=40833 * DumpRenderTree/gtk/EventSender.cpp: Add a beginDragWithFiles implementation for the GTK+ event sender. (dragWithFilesDragDataGetCallback): Added. (dragWithFilesDragEndCallback): Added. (beginDragWithFilesCallback): Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
caseq@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: fail resource.requestContent() immediately for WebSocket resources Remove webInspector.resources.Types from test expectations. https://bugs.webkit.org/show_bug.cgi?id=52628 * inspector/extensions-api-expected.txt: 2011-01-18 Andrey Kosyakov <caseq@chromium.org> Reviewed by Yury Semikhatsky. Web Inspector: fail resource.requestContent() immediately for WebSocket resources https://bugs.webkit.org/show_bug.cgi?id=52628 * English.lproj/localizedStrings.js: Rename WebSocket -> WebSockets in resource catetegories (rest are in plural, too) * inspector/front-end/ExtensionServer.js: Do not expose webInspector.resources.Types in extensions API (obsolete) (WebInspector.ExtensionServer.prototype._buildExtensionAPIInjectedScript): * inspector/front-end/Resource.js: (WebInspector.Resource.Type.toUIString): Remove ResourceType.Media as it's not used. (WebInspector.Resource.Type.toString): ditto. (WebInspector.Resource.prototype.requestContent): Fail immediately for WebSocket resources. * inspector/front-end/inspector.js: Rename WebSocket -> WebSockets in resource catetegories (rest are in plural, too) git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76030 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Dirk Schulze. REGRESSION(75139): SVG gradients are not applied to texts https://bugs.webkit.org/show_bug.cgi?id=52531 r75139 caused a problem with filling and stroking text with a gradient fill in SVG. The order of CGContextConcatCTM and CGContextClipToRect was mixed up. * platform/mac/svg/css/text-gradient-shadow-expected.checksum: Added. * platform/mac/svg/css/text-gradient-shadow-expected.png: Added. * platform/mac/svg/css/text-gradient-shadow-expected.txt: Added. * svg/css/text-gradient-shadow.svg: Added. 2011-01-18 Helder Correia <helder@sencha.com> Reviewed by Dirk Schulze. REGRESSION(75139): SVG gradients are not applied to texts https://bugs.webkit.org/show_bug.cgi?id=52531 r75139 caused a problem with filling and stroking text with a gradient fill in SVG. The order of CGContextConcatCTM and CGContextClipToRect was mixed up. Test: svg/css/text-gradient-shadow.svg * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::GraphicsContext::fillRect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76029 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jknotten@chromium.org authored
Reviewed by Jeremy Orlow. Add pixel test baseline for svg/custom/use-inherit-style.svg https://bugs.webkit.org/show_bug.cgi?id=52630 * svg/custom/use-inherit-style-expected.checksum: Added. * svg/custom/use-inherit-style-expected.png: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76028 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Nikolas Zimmermann. Unable to indirectly animate visibility of SVGUseElement https://bugs.webkit.org/show_bug.cgi?id=50240 Test case to verify if SVGUseElement inherits parent's style change. * svg/custom/use-inherit-style-expected.txt: Added. * svg/custom/use-inherit-style.svg: Added. 2011-01-18 Leo Yang <leo.yang@torchmobile.com.cn> Reviewed by Nikolas Zimmermann. Unable to indirectly animate visibility of SVGUseElement https://bugs.webkit.org/show_bug.cgi?id=50240 SVGUseElement::recalcStyle should take care of its shadow tree's style recalculation when it is called with change >= Inherit or when childNeedsStyleRecalc() is true because in these two cases needStyleRecalc() may not be true. Test: svg/custom/use-inherit-style.svg * svg/SVGUseElement.cpp: (WebCore::SVGUseElement::recalcStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
podivilov@chromium.org authored
Unreviewed, remove wrong chromium expectation for console-xhr-logging test. * platform/chromium/http/tests/inspector/console-xhr-logging-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76025 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
podivilov@chromium.org authored
Unreviewed, test fix for r76019. * http/tests/inspector-enabled/console-log-before-frame-navigation-expected.txt: * http/tests/inspector-enabled/console-log-before-frame-navigation.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76023 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
podivilov@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: fix flaky debugger tests. https://bugs.webkit.org/show_bug.cgi?id=51320 * http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.setBreakpoint): (initialize_DebuggerTest.InspectorTest.showScriptSource): (initialize_DebuggerTest.InspectorTest._showScriptSource): * inspector/debugger-pause-on-breakpoint-expected.txt: * inspector/debugger-pause-on-breakpoint.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
antti@apple.com authored
Reviewed by Dave Hyatt. https://bugs.webkit.org/show_bug.cgi?id=52370 <rdar://problem/8856808> Style sharing optimization no longer works on major web sites The code in CSSStyleSelector::locateSharedStyle() that tries to share style information between element has been defeated by widespread use of certain CSS selectors (:first-child pseudo class and similar). The current implementation disables the sharing optimization for the whole page if one of these constructs is seen in any style sheet used by the page. This patch gets the style sharing back to 25-40% range on most web sites. * css/CSSMutableStyleDeclaration.h: (WebCore::CSSMutableStyleDeclaration::propertiesEqual): Needed to improve equality checking in NamedNodeMap::mappedMapsEquivalent. * css/CSSSelector.h: (WebCore::CSSSelector::isSiblingSelector): Test for selectors that are affected by the sibling elements. * css/CSSStyleSelector.cpp: (WebCore::elementCanUseSimpleDefaultStyle): (WebCore::collectSiblingRulesInDefaultStyle): (WebCore::assertNoSiblingRulesInDefaultStyle): Extract sibling rules from the MathML default stylesheet. Assert that no other default stylesheet has them. (WebCore::CSSStyleSelector::CSSStyleSelector): (WebCore::CSSStyleSelector::locateCousinList): (WebCore::CSSStyleSelector::matchesSiblingRules): (WebCore::CSSStyleSelector::canShareStyleWithElement): (WebCore::CSSStyleSelector::locateSharedStyle): (WebCore::CSSStyleSelector::styleForElement): (WebCore::collectIdsAndSiblingRulesFromList): (WebCore::CSSRuleSet::collectIdsAndSiblingRules): Track sibling rules and ids used in the stylesheets to allow much more fine-grained rejection of cases where style sharing can't be used. * css/CSSStyleSelector.h: * dom/NamedNodeMap.cpp: (WebCore::NamedNodeMap::mappedMapsEquivalent): Check also for CSSValue mutation from DOM. * mathml/MathMLMathElement.cpp: (WebCore::MathMLMathElement::insertedIntoDocument): * mathml/MathMLMathElement.h: MathML default style sheet has sibling rules which don't get noticed by the normal document stylesheet parsing. * rendering/style/RenderStyle.h: (WebCore::InheritedFlags::setFirstChildState): (WebCore::InheritedFlags::setLastChildState): (WebCore::InheritedFlags::setChildIndex): These all make style non-shareable (unique). LayoutTests: https://bugs.webkit.org/show_bug.cgi?id=52370 Style sharing optimization no longer works on major web sites Reviewed by Dave Hyatt. These are progressions (with no noticable visual change). MathML code was improperly sharing style. * platform/mac/mathml/presentation/fractions-vertical-alignment-expected.txt: * platform/mac/mathml/presentation/subsup-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
philn@webkit.org authored
Unreviewed, rolling out r76002. http://trac.webkit.org/changeset/76002 https://bugs.webkit.org/show_bug.cgi?id=49790 breaks a bunch of fast/forms tests on mac and GTK * fast/forms/select-option-background-color-change.html: Removed. * fast/forms/select-option-color-change.html: Removed. * fast/forms/select-option-visibility-change.html: Removed. * platform/mac/fast/forms/select-option-background-color-change-expected.checksum: Removed. * platform/mac/fast/forms/select-option-background-color-change-expected.png: Removed. * platform/mac/fast/forms/select-option-background-color-change-expected.txt: Removed. * platform/mac/fast/forms/select-option-color-change-expected.checksum: Removed. * platform/mac/fast/forms/select-option-color-change-expected.png: Removed. * platform/mac/fast/forms/select-option-color-change-expected.txt: Removed. * platform/mac/fast/forms/select-option-visibility-change-expected.checksum: Removed. * platform/mac/fast/forms/select-option-visibility-change-expected.png: Removed. * platform/mac/fast/forms/select-option-visibility-change-expected.txt: Removed. 2011-01-18 Philippe Normand <pnormand@igalia.com> Unreviewed, rolling out r76002. http://trac.webkit.org/changeset/76002 https://bugs.webkit.org/show_bug.cgi?id=49790 breaks a bunch of fast/forms tests on mac and GTK * html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::setRenderStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76006 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
[Qt] Fix LoadHTMLStringItem::invoke() after r75966 https://bugs.webkit.org/show_bug.cgi?id=52614 * platform/qt/Skipped: http/tests/navigation/go-back-to-error-page.html added until fix. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76003 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rwlbuis@webkit.org authored
Reviewed by Kent Tamura. Color changes to option elements in a select multiple aren't drawn immediately https://bugs.webkit.org/show_bug.cgi?id=49790 Redirect style changes on <option> element to the owner <select> element. Tests: fast/forms/select-option-background-color-change.html fast/forms/select-option-color-change.html fast/forms/select-option-visibility-change.html * html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::setRenderStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@76002 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Jan, 2011 20 commits
-
-
commit-queue@webkit.org authored
Reviewed by David Levin. Rebaseline media/video-zoom-controls for chromium. https://bugs.webkit.org/show_bug.cgi?id=52415 * platform/chromium-linux/media/video-zoom-controls-expected.checksum: Added. * platform/chromium-linux/media/video-zoom-controls-expected.png: Added. * platform/chromium-mac/media/video-zoom-controls-expected.checksum: Added. * platform/chromium-mac/media/video-zoom-controls-expected.png: Added. * platform/chromium-mac/media/video-zoom-controls-expected.txt: Added. * platform/chromium-win/media/video-zoom-controls-expected.checksum: Added. * platform/chromium-win/media/video-zoom-controls-expected.png: Added. * platform/chromium-win/media/video-zoom-controls-expected.txt: Added. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dimich@chromium.org authored
Added TIMEOUT to fast/canvas/canvas-fillPath-pattern-shadow.html * platform/chromium-gpu/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
msaboff@apple.com authored
Reviewed by Oliver Hunt. [regexfuzz] Crash running regex with lookahead https://bugs.webkit.org/show_bug.cgi?id=52548 Eliminated agressive chaining of backtracks. This code was overwriting already valid backtrack information. * yarr/YarrJIT.cpp: (JSC::Yarr::YarrGenerator::ParenthesesTail::processBacktracks): 2011-01-17 Michael Saboff <msaboff@apple.com> Reviewed by Oliver Hunt. [regexfuzz] Crash running regex with lookahead https://bugs.webkit.org/show_bug.cgi?id=52548 New tests from regex fuzzer. * fast/regex/parentheses-expected.txt: * fast/regex/script-tests/parentheses.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dimich@chromium.org authored
Same as previous patch, now for -gpu file. * platform/chromium-gpu/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dimich@chromium.org authored
fast/canvas/canvas-fillPath-pattern-shadow.html fails on Win and Linux. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75989 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
aroben@apple.com authored
There might be a secret extra sublayer (the tile parent layer) that PlatformCALayer doesn't know about. When PlatformCALayer would encounter this, it would try to use the tile parent layer's PlatformCALayer wrapper, which was null, and then would crash. We now ask PlatformCALayerWinInternal for the sublayer list, since that class knows about the tile parent layer and can exclude it from the sublayer list. Covered by compositing/tiling/huge-layer-resize.html. Fixes <http://webkit.org/b/52597> Crash beneath PlatformCALayer::adoptSublayers when switching out of tiling mode (null-dereference of a PlatformCALayer) Reviewed by Darin Adler and Chris Marrin. LayoutTests: Make compositing/tiling/huge-layer-resize.html faster, more reliable, and more crashy (when there's a WebKit bug) This test was trying to cause a layout/paint to happen by returning to the event loop for a certain amount of time via setTimeout. But this didn't always result in a layout/paint (at least on Windows). We now force the layout/paint explicitly, which also lets us speed up the test by removing the setTimeouts. * compositing/tiling/huge-layer-resize.html: (testOnLoad): Changed to use recordLayerTree, which forces a layout/paint, instead of hoping that setTimeout will do the trick. (recordLayerTree): Forces a layout/paint, then dumps the layer tree. Source/WebCore: * platform/graphics/ca/win/PlatformCALayerWin.cpp: (PlatformCALayer::adoptSublayers): (printLayer): Changed to use PlatformCALayerWinInternal::getSublayers. * platform/graphics/ca/win/PlatformCALayerWinInternal.cpp: (PlatformCALayerWinInternal::getSublayers): Added. Retrieves the list of PlatformCALayers that represent our sublayers. Significantly, this code knows about the tile parent layer and can thus exclude it. * platform/graphics/ca/win/PlatformCALayerWinInternal.h: Added getSublayers. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75985 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mitz@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=52598 Reviewed by Darin Adler. Source/WebCore: Test: fast/css/font-face-zero-hash-key.html * css/CSSFontFaceSource.cpp: (WebCore::CSSFontFaceSource::getFontData): Add 1 to the font size to avoid a 0 hash key. * css/CSSSegmentedFontFace.cpp: (WebCore::CSSSegmentedFontFace::getFontData): Ditto. LayoutTests: * fast/css/font-face-zero-hash-key-expected.txt: Added. * fast/css/font-face-zero-hash-key.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75975 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Andreas Kling. [Qt] Incorrect shadow alpha with pattern fillStyle https://bugs.webkit.org/show_bug.cgi?id=52559 The shadow color opacity needs to be set on the shadow painter. This is related to bug 52556. * fast/canvas/canvas-fillPath-pattern-shadow-expected.txt: Added. * fast/canvas/canvas-fillPath-pattern-shadow.html: Added. * fast/canvas/script-tests/canvas-fillPath-pattern-shadow.js: Added. 2011-01-17 Helder Correia <helder@sencha.com> Reviewed by Andreas Kling. [Qt] Incorrect shadow alpha with pattern fillStyle https://bugs.webkit.org/show_bug.cgi?id=52559 The shadow color opacity needs to be set on the shadow painter. This is related to bug 52556. Test: fast/canvas/canvas-fillPath-pattern-shadow.html * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::fillPath): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75973 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ddkilzer@apple.com authored
<http://webkit.org/b/52524> fast/dom/Range/range-clone-contents.html fails only on Windows Reviewed by Alexey Proskuryakov. * platform/win/Skipped: Removed fast/dom/Range/range-clone-contents.html. It appears the Windows buildbots need a clean build. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75970 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jberlin@webkit.org authored
navigating back to an unreachable URL https://bugs.webkit.org/show_bug.cgi?id=52388 Reviewed by Anders Carlsson. Source/WebCore: Test: http/tests/navigation/go-back-to-error-page.html * history/PageCache.cpp: (WebCore::PageCache::canCachePageContainingThisFrame): Do not cache any error pages (which we can recognize as having substitute data and/or an unreachableURL). Tools: Add a third parameter (unreachableURL) to queueLoadHTMLString. * DumpRenderTree/LayoutTestController.cpp: (queueLoadHTMLStringCallback): (LayoutTestController::queueLoadHTMLString): (LayoutTestController::queueLoadAlternateHTMLString): * DumpRenderTree/LayoutTestController.h: * DumpRenderTree/WorkQueueItem.h: (LoadHTMLStringItem::LoadHTMLStringItem): * DumpRenderTree/chromium/LayoutTestController.cpp: (WorkItemLoadHTMLString::WorkItemLoadHTMLString): (WorkItemLoadHTMLString::run): (LayoutTestController::queueLoadHTMLString): * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: (LoadHTMLStringItem::invoke): * DumpRenderTree/mac/WorkQueueItemMac.mm: (LoadHTMLStringItem::invoke): * DumpRenderTree/win/WorkQueueItemWin.cpp: (LoadHTMLStringItem::invoke): LayoutTests: Add a test that loads an alternate HTML String for an "unreachable" URL, loads another page, and then goes back to the "unreachable" URL, which is now reachable. This tests two things: 1) No assertion failure when going back to an unreachable URL. 2) There is no page cached for the unreachable URL. * http/tests/navigation/go-back-to-error-page-expected.txt: Added. * http/tests/navigation/go-back-to-error-page.html: Added. * http/tests/navigation/resources/page-to-go-back-from.html: Added. * http/tests/navigation/resources/page-treated-as-unreachable.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75966 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Not reviewed: skip flaky inspector test (will look at it tomorrow). * platform/mac-leopard/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75954 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
caseq@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: [Extensions API] webInspector.resources.onFinished is not fired for redirected resources Make resource start/finish hanlding more consistent. https://bugs.webkit.org/show_bug.cgi?id=52452 * inspector/front-end/AuditLauncherView.js: Ignore WebSocket resources when displaying progress indicator (WebInspector.AuditLauncherView.prototype._resetResourceCount): (WebInspector.AuditLauncherView.prototype.resourceStarted): (WebInspector.AuditLauncherView.prototype.resourceFinished): * inspector/front-end/NetworkManager.js: (WebInspector.NetworkManager): Factor out resource start/finish logic to _startResource()/_finishResource() (WebInspector.NetworkManager.prototype.identifierForInitialRequest): (WebInspector.NetworkManager.prototype.willSendRequest): (WebInspector.NetworkManager.prototype.markResourceAsCached): (WebInspector.NetworkManager.prototype.didReceiveResponse): (WebInspector.NetworkManager.prototype.didReceiveContentLength): (WebInspector.NetworkManager.prototype.didFinishLoading): (WebInspector.NetworkManager.prototype.didFailLoading): (WebInspector.NetworkManager.prototype.didLoadResourceFromMemoryCache): (WebInspector.NetworkManager.prototype.didCreateWebSocket): (WebInspector.NetworkManager.prototype.willSendWebSocketHandshakeRequest): (WebInspector.NetworkManager.prototype.didReceiveWebSocketHandshakeResponse): (WebInspector.NetworkManager.prototype.didCloseWebSocket): (WebInspector.NetworkManager.prototype._appendRedirect): (WebInspector.NetworkManager.prototype._startResource): (WebInspector.NetworkManager.prototype._finishResource): 2011-01-17 Andrey Kosyakov <caseq@chromium.org> Reviewed by Pavel Feldman. Web Inspector: [Extensions API] webInspector.resources.onFinished is not fired for redirected resources Added test for finished event being sent for redirected resources. https://bugs.webkit.org/show_bug.cgi?id=52452 * http/tests/inspector/extensions-resources-redirect-expected.txt: * http/tests/inspector/extensions-resources-redirect.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75950 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
Not reviewed: first timeline-network-resource flakiness. * inspector/timeline-network-resource.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75947 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
podivilov@chromium.org authored
Reviewed by Yury Semikhatsky. Web Inspector: fix flaky debugger tests. https://bugs.webkit.org/show_bug.cgi?id=51320 * http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.setBreakpoint): * inspector/debugger-breakpoints-not-activated-on-reload.html: * inspector/debugger-pause-on-breakpoint-expected.txt: * inspector/debugger-pause-on-breakpoint.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
ossy@webkit.org authored
Add Qt specific expected results for passing CSS tests. Compared to Mac png files and Mac expected files. * platform/qt/Skipped: Unskip passing tests. * platform/qt/css1/[...]: Added. * platform/qt/css2.1/[...]: Added. * platform/qt/css3/[...]: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rik@webkit.org authored
Reviewed by Kent Tamura. [HTML5] Revert display:none on datalist https://bugs.webkit.org/show_bug.cgi?id=52214 * fast/forms/datalist-expected.txt: * fast/forms/datalist-nonoption-child-expected.txt: * fast/forms/datalist.html: 2011-01-17 Anthony Ricaud <rik@webkit.org> Reviewed by Kent Tamura. [HTML5] Revert display:none on datalist https://bugs.webkit.org/show_bug.cgi?id=52214 * css/html.css: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75940 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
podivilov@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: refactoring: encapsulate lazy initialization of SourceFrame. https://bugs.webkit.org/show_bug.cgi?id=51738 * http/tests/inspector/debugger-test2.js: (initialize_DebuggerTest.InspectorTest.showScriptSource): (initialize_DebuggerTest.InspectorTest._showScriptSource): * inspector/debugger-pause-in-eval-script-expected.txt: * inspector/debugger-pause-in-eval-script.html: 2011-01-17 Pavel Podivilov <podivilov@chromium.org> Reviewed by Pavel Feldman. Web Inspector: refactoring: encapsulate lazy initialization of SourceFrame. https://bugs.webkit.org/show_bug.cgi?id=51738 Extract content loading logic from SourceView and ScriptView to ContentProvider implementations. Pass ContentProvider in SourceFrame constructor to allow SourceFrame manage it's lazy initialization. * inspector/front-end/ScriptView.js: (WebInspector.ScriptView): (WebInspector.SourceFrameContentProviderForScript): (WebInspector.SourceFrameContentProviderForScript.prototype.requestContent.didRequestSource): (WebInspector.SourceFrameContentProviderForScript.prototype.requestContent): (WebInspector.SourceFrameContentProviderForScript.prototype.scripts): * inspector/front-end/ScriptsPanel.js: (WebInspector.ScriptsPanel.prototype._addScript): (WebInspector.ScriptsPanel.prototype.sourceFrameForScript): (WebInspector.ScriptsPanel.prototype._sourceFrameForResource): * inspector/front-end/SourceFrame.js: (WebInspector.SourceFrame): (WebInspector.SourceFrame.prototype.set visible): (WebInspector.SourceFrame.prototype._createTextViewer): (WebInspector.SourceFrame.prototype._breakpointAdded): (WebInspector.SourceFrame.prototype._breakpoints): (WebInspector.SourceFrame.prototype._sourceIDForLine): (WebInspector.SourceFrame.prototype._sourceIDSet): (WebInspector.SourceFrameContentProvider): (WebInspector.SourceFrameContentProvider.prototype.requestContent): (WebInspector.SourceFrameContentProvider.prototype.scripts): * inspector/front-end/SourceView.js: (WebInspector.SourceView): (WebInspector.SourceView.prototype.show): (WebInspector.SourceView.prototype.resize): (WebInspector.SourceView.prototype.performSearch.didFindSearchMatches): (WebInspector.SourceView.prototype.performSearch): (WebInspector.SourceView.prototype.revealLine): (WebInspector.SourceView.prototype.highlightLine): (WebInspector.SourceView.prototype._jumpToSearchResult): (WebInspector.SourceFrameContentProviderForResource): (WebInspector.SourceFrameContentProviderForResource.prototype.requestContent): (WebInspector.SourceFrameContentProviderForResource.prototype.scripts): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75937 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jknotten@chromium.org authored
Reviewed by Jeremy Orlow. GeolocationController should call stopUpdating on destruction https://bugs.webkit.org/show_bug.cgi?id=52216 fast/dom/window-close-crash.html tests that we do not fail the assertion in the mock GeolocationClient that the GeolocationClient is not updating when the GeolocationController is destroyed. * fast/dom/Geolocation/resources/window-close-popup.html: Added. * fast/dom/Geolocation/script-tests/window-close-crash.js: Added. (gotPosition): (waitForWindowToClose): (failedToCreateWatch): * fast/dom/Geolocation/window-close-crash-expected.txt: Added. * fast/dom/Geolocation/window-close-crash.html: Added. * platform/gtk/Skipped: * platform/mac-wk2/Skipped: * platform/qt-wk2/Skipped: 2011-01-17 John Knottenbelt <jknotten@chromium.org> Reviewed by Jeremy Orlow. GeolocationController should call stopUpdating on destruction https://bugs.webkit.org/show_bug.cgi?id=52216 Test: fast/dom/Geolocation/window-close-crash.html * page/GeolocationController.cpp: (WebCore::GeolocationController::~GeolocationController): 2011-01-17 John Knottenbelt <jknotten@chromium.org> Reviewed by Jeremy Orlow. GeolocationController should call stopUpdating on destruction https://bugs.webkit.org/show_bug.cgi?id=52216 fast/dom/Geolocation/window-close-crash.html requires that a Geolocation watch be started in a secondary window. Consequently, we need to allow geolocation permission and provide a mock geolocation position for the secondary window's GeolocationClientMock. * DumpRenderTree/chromium/LayoutTestController.cpp: (LayoutTestController::setGeolocationPermission): (LayoutTestController::setMockGeolocationPosition): (LayoutTestController::setMockGeolocationError): * DumpRenderTree/chromium/TestShell.h: (TestShell::windowList): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75934 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
loislo@chromium.org authored
Reviewed by Pavel Feldman. Web Inspector: Enable inspector's tests for chromium Linux. https://bugs.webkit.org/show_bug.cgi?id=52445 * platform/chromium/inspector/timeline-network-resource-expected.txt: * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75930 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. [Qt] fast/canvas/canvas-fillPath-gradient-shadow.html does not pass https://bugs.webkit.org/show_bug.cgi?id=52556 The shadow color opacity needs to be set on the shadow painter. Additionally, the gradient brush should be transformed. * platform/qt/Skipped: Remove test from skipped list. 2011-01-17 Helder Correia <helder@sencha.com> Reviewed by Kenneth Rohde Christiansen. [Qt] fast/canvas/canvas-fillPath-gradient-shadow.html does not pass https://bugs.webkit.org/show_bug.cgi?id=52556 The shadow color opacity needs to be set on the shadow painter. Additionally, the gradient brush should be transformed. * platform/graphics/qt/GraphicsContextQt.cpp: (WebCore::GraphicsContext::fillPath): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-