- 17 Nov, 2011 33 commits
-
-
mihnea@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=71900 Reviewed by Dean Jackson. Source/WebCore: Tests: fast/exclusions/wrap-margin-parsing.html fast/exclusions/wrap-padding-parsing.html * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSParser.cpp: (WebCore::isSimpleLengthPropertyID): (WebCore::CSSParser::parseValue): * css/CSSProperty.cpp: (WebCore::CSSProperty::isInheritedProperty): * css/CSSPropertyNames.in: * css/CSSStyleApplyProperty.cpp: (WebCore::CSSStyleApplyProperty::CSSStyleApplyProperty): * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): * rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::diff): * rendering/style/RenderStyle.h: (WebCore::InheritedFlags::wrapPadding): (WebCore::InheritedFlags::setWrapPadding): (WebCore::InheritedFlags::initialWrapPadding): (WebCore::InheritedFlags::wrapMargin): (WebCore::InheritedFlags::setWrapMargin): (WebCore::InheritedFlags::initialWrapMargin): * rendering/style/StyleRareNonInheritedData.cpp: (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): (WebCore::StyleRareNonInheritedData::operator==): * rendering/style/StyleRareNonInheritedData.h: LayoutTests: * fast/css/getComputedStyle/computed-style-expected.txt: * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: * fast/exclusions/script-tests/wrap-margin-parsing.js: Added. * fast/exclusions/script-tests/wrap-padding-parsing.js: Added. * fast/exclusions/wrap-margin-parsing-expected.txt: Added. * fast/exclusions/wrap-margin-parsing.html: Added. * fast/exclusions/wrap-padding-parsing-expected.txt: Added. * fast/exclusions/wrap-padding-parsing.html: Added. * platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt: * platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt: * svg/css/getComputedStyle-basic-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100604 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vestbo@webkit.org authored
Reviewed by Kenneth Rohde Christiansen. * UIProcess/API/qt/tests/qmltests/qmltests.pro: * UIProcess/API/qt/tests/qmltests/tst_qmltests.cpp: (main): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100603 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
vestbo@webkit.org authored
A new extension object has been added to QQuickWebView (the same approach should be used for other API classes that need experimental APIs). The QML extension mechanism is then built on top of the experimental object. https://bugs.webkit.org/show_bug.cgi?id=72522 Reviewed by Simon Hausmann. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100602 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
bashi@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=38701 Source/WebCore: Adds a new API for getting font family. For now, FontCacheLinux calls the new API, but don't use additional properties for compatibility. The old API will be removed when Chromium is ready to use new API. Reviewed by Tony Chang. No new tests. No behavior changes for now. * platform/chromium/PlatformSupport.h: Added FontFamily struct and changed the declaration of getFontFamilyForCharacters(). * platform/graphics/chromium/FontCacheLinux.cpp: (WebCore::FontCache::getFontDataForCharacters): Uses new PlatformSupport::getFontFamilyForCharacters(). * platform/graphics/chromium/FontPlatformDataLinux.h: (WebCore::FontPlatformData::setFakeBold): Added. (WebCore::FontPlatformData::setFakeItalic): Added. Source/WebKit/chromium: Reviewed by Tony Chang. Add new API for getFamilyForChars() so that keeping correct font mapping of the given characters. * public/linux/WebFontFamily.h: Added. * public/linux/WebFontInfo.h: Add a new API. * public/linux/WebSandboxSupport.h: (WebKit::WebSandboxSupport::getFontFamilyForCharacters): Ditto. * src/PlatformSupport.cpp: (WebCore::PlatformSupport::getFontFamilyForCharacters): Ditto. * src/linux/WebFontInfo.cpp: (WebKit::WebFontInfo::familyForChars): Modified to get weight and italic properties of the font. Old API uses new API internally. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100601 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
steveblock@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=72598 Update test expectations. Unreviewed gardening. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100600 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kenneth@webkit.org authored
* WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100599 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
steveblock@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=72487 Update test expectations. Unreviewed gardening. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mario@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72525 Reviewed by Xan Lopez. Source/WebCore: * accessibility/gtk/AccessibilityObjectWrapperAtk.cpp: (webkit_accessible_get_parent): Call to the implementation of atk_object_get_parent in AtkObject class to check whether a parent AtkObject has been previously set, before trying to find one. Source/WebKit/gtk: * tests/testatk.c: (testWebkitAtkSetParentForObject): New unit test to check that calls to atk_object_get_parent() over a WebKitGTK's accessibility wrapper object returns its parent AtkObject if previously set. (main): Added new test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100597 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mario@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72592 Reviewed by Philippe Normand. * tests/testatk.c: (testWebkitAtkParentForRootObject): Remove the offending line in the unit test, which is not actually required to test the new functionality and causes problems in some scenarios, due to the lazy creation mechanism of AtkObjects. * tests/testatkroles.c: (finish_loading): Reflect that the document frame object is no longer the root accessibility object (a scroll pane from now on), but the only child of that one. Thus, skip that root object. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100596 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
* inspector/front-end/SettingsScreen.js: (WebInspector.SettingsScreen.prototype._createUserAgentSelectRowElement.get const): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100595 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
kenneth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72511 Reviewed by Simon Hausmann. Source/WebCore: Always send a viewport update per page load as we depend on that, to reset all viewport handling before doing layout. * page/Page.cpp: (WebCore::Page::updateViewportArguments): Source/WebKit2: The code handling use-fixed-layout wasn't 100% reliable. The code was changed to make sure the value is always correct. It also doesn't set the value by looking at the previous FrameView, as that wouldn't work in cases, such as when the web process has crashes. * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): * WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::WebPage): (WebKit::WebPage::setResizesToContentsUsingLayoutSize): (WebKit::WebPage::setUseFixedLayout): * WebProcess/WebPage/WebPage.h: (WebKit::WebPage::useFixedLayout): Store the state as m_useFixedLayout so that it can be used from the WebFrameLoaderClient. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
steveblock@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=47925 Update test expectations. Unreviewed gardening. * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100593 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72590 Reviewed by Eric Seidel. Most of the lines of code in this file are wrong, but I've restrained myself and only changed a few of them to generalized this class to the common package. This is part of a series of patches to remove layout_package. * Scripts/webkitpy/common/net/file_uploader.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py. * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: * Scripts/webkitpy/layout_tests/layout_package/test_results_uploader.py: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100592 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
* Scripts/webkitpy/layout_tests/views/printing.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100591 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72508 Delay applying viewport properties on the viewport item until after the first visually non-empty layout finished. It enables the viewport to be intact until the new page is ready to be rendered. Patch by Zalan Bujtas <zbujtas@gmail.com> on 2011-11-17 Reviewed by Kenneth Rohde Christiansen. * UIProcess/API/qt/qquickwebview.cpp: (QQuickWebViewPrivate::QQuickWebViewPrivate): (QQuickWebViewPrivate::loadDidCommit): (QQuickWebViewPrivate::didFinishFirstNonEmptyLayout): (QQuickWebViewPrivate::didChangeContentsSize): (QQuickWebViewPrivate::didChangeViewportProperties): (QQuickWebViewPrivate::updateViewportSize): (QQuickWebViewPrivate::computeViewportConstraints): * UIProcess/API/qt/qquickwebview_p.h: (PostTransitionState::isTransitioningToNewPage): * UIProcess/qt/ClientImpl.cpp: (qt_wk_didFirstVisuallyNonEmptyLayoutForFrame): (setupPageLoaderClient): * UIProcess/qt/QtViewInterface.cpp: (WebKit::QtViewInterface::didFinishFirstNonEmptyLayout): (WebKit::QtViewInterface::didChangeContentsSize): (WebKit::QtViewInterface::didChangeViewportProperties): (WebKit::QtViewInterface::startDrag): * UIProcess/qt/QtViewInterface.h: * UIProcess/qt/QtViewportInteractionEngine.cpp: (WebKit::QtViewportInteractionEngine::reset): (WebKit::QtViewportInteractionEngine::applyConstraints): * UIProcess/qt/QtViewportInteractionEngine.h: * UIProcess/qt/QtWebPageProxy.cpp: (QtWebPageProxy::didFinishFirstNonEmptyLayout): (QtWebPageProxy::didChangeContentsSize): (QtWebPageProxy::didChangeViewportProperties): (QtWebPageProxy::startDrag): * UIProcess/qt/QtWebPageProxy.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100590 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72583 Reviewed by Eric Seidel. This patch just fixes some minor style issues as I work my way back into this code. * Scripts/webkitpy/layout_tests/run_webkit_tests.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100589 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
apavlov@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=72373 Source/WebCore: javascript: hrefs should never be linkified for security. Reviewed by Yury Semikhatsky. * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._buildAttributeDOM): * inspector/front-end/ResourceUtils.js: (WebInspector.completeURL): LayoutTests: Reviewed by Yury Semikhatsky. * inspector/styles/styles-url-linkify-expected.txt: * inspector/styles/styles-url-linkify.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72586 Rubber-stamped by Eric Seidel. This is part of a series of patches to remove layout_package. * Scripts/webkitpy/layout_tests/controllers/single_test_runner.py: * Scripts/webkitpy/layout_tests/controllers/test_result_writer.py: Copied from Tools/Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py. * Scripts/webkitpy/layout_tests/layout_package/test_result_writer.py: Removed. * Scripts/webkitpy/tool/commands/rebaseline.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100587 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
zimmermann@webkit.org authored
Not reviewed. Fix 32bit builds. * platform/ClockGeneric.cpp: (ClockGeneric::now): Use narrowPrecisionToFloat. * rendering/FilterEffectRenderer.cpp: (WebCore::FilterEffectRenderer::build): Use it correctly. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100586 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72579 Reviewed by Eric Seidel. The Source directory has existed for long enough that we don't need svn-apply to magically re-write old-style patches anymore. * Scripts/VCSUtils.pm: (parseGitDiffHeader): (parseSvnDiffHeader): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100585 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dmazzoni@google.com authored
https://bugs.webkit.org/show_bug.cgi?id=72239 Source/WebCore: When a document finishes loading, we were sending an AXLoadComplete if it was the top document. Now, if it's a document in an iframe, send an AXLayoutComplete on the iframe. Reviewed by Chris Fleizach. Test: accessibility/loading-iframe-sends-notification.html * dom/Document.cpp: (WebCore::Document::implicitClose): LayoutTests: Reviewed by Chris Fleizach. * accessibility/loading-iframe-sends-notification.html: Added. * platform/chromium/accessibility/loading-iframe-sends-notification-expected.txt: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
Reviewed by Martin Robinson. [WK2] Move gtk/BackingStoreGtk.cpp to cairo/BackingStoreCairo.cpp to share with EFL port. https://bugs.webkit.org/show_bug.cgi?id=62444 Rename gtk/BackingStoreGtk.cpp to cairo/BackingStoreCairo.cpp to share with EFL port. The gtk/BackingStoreGtk.cpp only has cairo dependency, so it can be shared with other port that uses cairo. * GNUmakefile.am: * UIProcess/BackingStore.h: * UIProcess/cairo/BackingStoreCairo.cpp: Renamed from Source/WebKit2/UIProcess/gtk/BackingStoreGtk.cpp. (WebKit::BackingStore::paint): (WebKit::BackingStore::incorporateUpdate): (WebKit::BackingStore::scroll): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100583 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
[Chromium] Introduce WebSecurityOrigin::isUnique in preparation for removing WebSecurityOrigin::isEmpty https://bugs.webkit.org/show_bug.cgi?id=72580 Reviewed by Darin Fisher. We've removed the concept of empty security origins from WebKit because it doesn't exist in the specs. Now it's time to remove it from the API. * public/WebSecurityOrigin.h: (WebKit::WebSecurityOrigin::isUnique): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100582 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
http://webkit.org/b/72574mrowe@apple.com authored
Reviewed by Andy Estes. * platform/audio/mac/AudioDestinationMac.cpp: (WebCore::AudioDestinationMac::AudioDestinationMac): Switch from using the Carbon Component Manager to using AudioUnit's own component interface. (WebCore::AudioDestinationMac::~AudioDestinationMac): Ditto. * platform/audio/mac/AudioFileReaderMac.cpp: (WebCore::AudioFileReader::AudioFileReader): Remove an unncessary trip through the Carbon File Manager when converting a char* path to a CFURLRef representing the same. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100581 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72468 Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-11-17 Reviewed by Martin Robinson. Add 'enable-private-browsing', 'enable-developer-extras, 'enable-resizable-text-areas' and 'enable-tabs-to-links' properties to WebKitSettings. * UIProcess/API/gtk/WebKitSettings.cpp: (webKitSettingsSetProperty): Add new set functions. (webKitSettingsGetProperty): Add new get functions. (webkit_settings_class_init): Add new properties. (webkit_settings_get_enable_private_browsing): Get 'enable-private-browsing' property. (webkit_settings_set_enable_private_browsing): Set 'enable-private-browsing' property. (webkit_settings_get_enable_developer_extras): Get 'enable-developer-extras' property. (webkit_settings_set_enable_developer_extras): Set 'enable-developer-extras' property. (webkit_settings_get_enable_resizable_text_areas): Get 'enable-resizable-text-areas' property. (webkit_settings_set_enable_resizable_text_areas): Set 'enable-resizable-text-areas' property. (webkit_settings_get_enable_tabs_to_links): Get 'enable-tabs-to-links' property. (webkit_settings_set_enable_tabs_to_links): Set 'enable-tabs-to-links' property. * UIProcess/API/gtk/WebKitSettings.h: New public APIs added. * UIProcess/API/gtk/docs/webkit2gtk-sections.txt: New APIs added. * UIProcess/API/gtk/tests/TestWebKitSettings.cpp: (testWebKitSettings): Add new tests. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100580 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
carlosgc@webkit.org authored
* WebProcess/Downloads/soup/DownloadSoup.cpp: (WebKit::DownloadClient::didReceiveResponse): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100579 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72469 Patch by Nayan Kumar K <nayankk@motorola.com> on 2011-11-17 Reviewed by Martin Robinson. * UIProcess/API/gtk/tests/TestWebKitSettings.cpp: (testWebKitSettings): Correct the test. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
abarth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=71958 Reviewed by Eric Seidel. Source/WebCore: "It's tested or it's broken." -- Adam Leventhal Test: http/tests/security/contentSecurityPolicy/report-only-from-header.php * loader/FrameLoader.cpp: (WebCore::FrameLoader::didBeginDocument): LayoutTests: Test that X-WebKit-CSP-Report-Only actually sends reports. * http/tests/security/contentSecurityPolicy/report-only-from-header-expected.txt: Added. * http/tests/security/contentSecurityPolicy/report-only-from-header.php: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100574 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
pfeldman@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=72393 Many of the Preferences that we have in Settings.js and override in DevTools.js are really not preferences, but capabilities. Protocol clients should have a way of figuring out whether some capability is present before using it. Reviewed by Yury Semikhatsky. Source/WebCore: * bindings/js/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::canSetScriptSource): * bindings/js/ScriptDebugServer.h: * bindings/v8/ScriptDebugServer.cpp: (WebCore::ScriptDebugServer::canSetScriptSource): * bindings/v8/ScriptDebugServer.h: * inspector/CodeGeneratorInspector.py: * inspector/Inspector.json: * inspector/InspectorDebuggerAgent.cpp: (WebCore::InspectorDebuggerAgent::getCapabilities): * inspector/InspectorDebuggerAgent.h: * inspector/front-end/DebuggerModel.js: (WebInspector.DebuggerModel): (WebInspector.DebuggerModel.prototype.enableDebugger): (WebInspector.DebuggerModel.prototype.canSetScriptSource): * inspector/front-end/DebuggerPresentationModel.js: (WebInspector.DebuggerPresentationModel.prototype.canEditScriptSource): * inspector/front-end/Settings.js: Source/WebKit/chromium: * src/js/DevTools.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100572 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mihnea@adobe.com authored
https://bugs.webkit.org/show_bug.cgi?id=71904 Reviewed by Dean Jackson. Source/WebCore: Tests: fast/exclusions/wrap-flow-parsing.html fast/exclusions/wrap-through-parsing.html * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::getPropertyCSSValue): * css/CSSParser.cpp: (WebCore::CSSParser::parseValue): * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): (WebCore::CSSPrimitiveValue::operator WrapFlow): (WebCore::CSSPrimitiveValue::operator WrapThrough): * css/CSSProperty.cpp: (WebCore::CSSProperty::isInheritedProperty): * css/CSSPropertyNames.in: * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::applyProperty): * css/CSSValueKeywords.in: * rendering/style/RenderStyle.cpp: (WebCore::RenderStyle::diff): * rendering/style/RenderStyle.h: (WebCore::InheritedFlags::wrapFlow): (WebCore::InheritedFlags::wrapThrough): (WebCore::InheritedFlags::setWrapFlow): (WebCore::InheritedFlags::setWrapThrough): (WebCore::InheritedFlags::initialWrapFlow): (WebCore::InheritedFlags::initialWrapThrough): * rendering/style/RenderStyleConstants.h: * rendering/style/StyleRareNonInheritedData.cpp: (WebCore::StyleRareNonInheritedData::StyleRareNonInheritedData): (WebCore::StyleRareNonInheritedData::operator==): * rendering/style/StyleRareNonInheritedData.h: LayoutTests: * fast/css/getComputedStyle/computed-style-expected.txt: * fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: * fast/exclusions/script-tests/wrap-flow-parsing.js: Added. * fast/exclusions/script-tests/wrap-through-parsing.js: Added. * fast/exclusions/wrap-flow-parsing-expected.txt: Added. * fast/exclusions/wrap-flow-parsing.html: Added. * fast/exclusions/wrap-through-parsing-expected.txt: Added. * fast/exclusions/wrap-through-parsing.html: Added. * platform/chromium-win/fast/css/getComputedStyle/computed-style-expected.txt: * platform/chromium-win/fast/css/getComputedStyle/computed-style-without-renderer-expected.txt: * platform/chromium-win/svg/css/getComputedStyle-basic-expected.txt: * svg/css/getComputedStyle-basic-expected.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100570 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
carlosgc@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72500 Reviewed by Philippe Normand. * WebProcess/Downloads/soup/DownloadSoup.cpp: (WebKit::DownloadClient::didReceiveResponse): Use g_file_new_for_uri() instad of g_file_new_for_path(). Also use adoptGRef to fix a memory leak. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100569 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dino@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=68475 Reviewed by Simon Fraser. Source/WebCore: Implement the shorthand functions for filter effects. This includes grayscale, sepia, invert, hue-rotate, saturate, opacity, gamma, drop-shadow and blur. At the moment sharpen and url are not supported. CSSParser needed to be updated because it was mistakenly clamping saturation values to [0,1]. Any positive number is allowed so you can produce super-saturated images. The biggest change was the API to FilterEffectRenderer. It now builds a list of effects and applies the filter itself. Note that the drop-shadow and blur operations don't yet provide accurate results because they produce an output image that is larger than the input. See https://bugs.webkit.org/show_bug.cgi?id=71929 https://bugs.webkit.org/show_bug.cgi?id=71930 While I was there, I fixed a small style issue in CustomFilterOperation. Tests: css3/filters/effect-blur.html css3/filters/effect-combined.html css3/filters/effect-drop-shadow.html css3/filters/effect-gamma.html css3/filters/effect-grayscale.html css3/filters/effect-hue-rotate.html css3/filters/effect-invert.html css3/filters/effect-opacity.html css3/filters/effect-saturate.html css3/filters/effect-sepia.html * WebCore.xcodeproj/project.pbxproj: Add StyleShader.h to the project (missing from earlier commit). * css/CSSParser.cpp: (WebCore::CSSParser::isValidFilterArgument): Don't clamp saturate to [0,1] * platform/graphics/filters/CustomFilterOperation.h: * rendering/FilterEffectRenderer.cpp: (WebCore::endMatrixRow): (WebCore::lastMatrixRow): (WebCore::FilterEffectRenderer::FilterEffectRenderer): (WebCore::FilterEffectRenderer::inputContext): (WebCore::FilterEffectRenderer::build): (WebCore::FilterEffectRenderer::prepare): (WebCore::FilterEffectRenderer::apply): * rendering/FilterEffectRenderer.h: (WebCore::FilterEffectRenderer::setSourceImageRect): (WebCore::FilterEffectRenderer::output): (WebCore::FilterEffectRenderer::setMaxEffectRects): (WebCore::FilterEffectRenderer::lastEffect): * rendering/RenderLayer.cpp: (WebCore::RenderLayer::paintLayer): (WebCore::RenderLayer::updateOrRemoveFilterEffect): (WebCore::RenderLayer::updateFilterBackingStore): LayoutTests: Test the shorthand functions for filter effects. This includes grayscale, sepia, invert, hue-rotate, saturate, opacity, gamma, drop-shadow and blur. At the moment sharpen and url are not supported. Note that the drop-shadow and blur operations don't yet provide accurate results because they produce an output image that is larger than the input. See https://bugs.webkit.org/show_bug.cgi?id=71929 https://bugs.webkit.org/show_bug.cgi?id=71930 * css3/filters/effect-blur-expected.png: Added. * css3/filters/effect-blur-expected.txt: Added. * css3/filters/effect-blur.html: Added. * css3/filters/effect-combined-expected.png: Added. * css3/filters/effect-combined-expected.txt: Added. * css3/filters/effect-combined.html: Added. * css3/filters/effect-drop-shadow-expected.png: Added. * css3/filters/effect-drop-shadow-expected.txt: Added. * css3/filters/effect-drop-shadow.html: Added. * css3/filters/effect-gamma-expected.png: Added. * css3/filters/effect-gamma-expected.txt: Added. * css3/filters/effect-gamma.html: Added. * css3/filters/effect-grayscale-expected.png: Added. * css3/filters/effect-grayscale-expected.txt: Added. * css3/filters/effect-grayscale.html: Added. * css3/filters/effect-hue-rotate-expected.png: Added. * css3/filters/effect-hue-rotate-expected.txt: Added. * css3/filters/effect-hue-rotate.html: Added. * css3/filters/effect-invert-expected.png: Added. * css3/filters/effect-invert-expected.txt: Added. * css3/filters/effect-invert.html: Added. * css3/filters/effect-opacity-expected.png: Added. * css3/filters/effect-opacity-expected.txt: Added. * css3/filters/effect-opacity.html: Added. * css3/filters/effect-saturate-expected.png: Added. * css3/filters/effect-saturate-expected.txt: Added. * css3/filters/effect-saturate.html: Added. * css3/filters/effect-sepia-expected.png: Added. * css3/filters/effect-sepia-expected.txt: Added. * css3/filters/effect-sepia.html: Added. * css3/filters/resources/reference.png: Added. * css3/filters/script-tests/filter-property-parsing-invalid.js: * css3/filters/script-tests/filter-property-parsing.js: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100565 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
haraken@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=72577 Reviewed by Adam Barth. - Makes CodeGeneratorJS.pm generate Event constructors if [ConstructorTemplate=Event] IDL is specified. - Removes EventConstructors.h and JSEventConstructors.cpp. - Replaces all JSC custom constructors of Events with the generated code by [ConstructorTemplate=Event] IDL. Tests: fast/events/constructors/before-load-event-constructor.html fast/events/constructors/close-event-constructor.html fast/events/constructors/custom-event-constructor.html fast/events/constructors/error-event-constructor.html fast/events/constructors/event-constructors.html fast/events/constructors/hash-change-event-constructor.html fast/events/constructors/message-event-constructor.html fast/events/constructors/overflow-event-constructor.html fast/events/constructors/page-transition-event-constructor.html fast/events/constructors/pop-state-event-constructor.html fast/events/constructors/progress-event-constructor.html fast/events/constructors/track-event-constructor.html fast/events/constructors/webkit-animation-event-constructor.html fast/events/constructors/webkit-transition-event-constructor.html * bindings/generic/EventConstructors.h: Removed. This is what we wanted to do in this patch. * bindings/js/JSEventConstructors.cpp: Ditto. * GNUmakefile.list.am: Removed EventConstructors.h and JSEventConstructors.cpp. * Target.pri: Ditto. * UseJSC.cmake: Ditto. * WebCore.gypi: Ditto. * WebCore.vcproj/WebCore.vcproj: Ditto. * WebCore.xcodeproj/project.pbxproj: Ditto. * bindings/js/JSBindingsAllInOne.cpp: Ditto. * bindings/scripts/CodeGeneratorJS.pm: (GenerateHeader): Added JSDictionary.h. (GenerateConstructorDeclaration): Added a header for fillXXXXEventInit(...). (GenerateConstructorDefinition): Generates an Event constructor. The generated code is the same as the code that had been written in JSEventConstructors.cpp. (IsConstructable): Judges if a given interface is constructable. (IsConstructorTemplate): Judges if a given interface has a given template, e.g. judges if an interface has [ConstructorTemplate=Event]. * bindings/scripts/test/TestEventConstructor.idl: Changed 'CustomConstructor=Event' to 'ConstructorTemplate=Event'. We should have changed this in r100108. * bindings/scripts/test/JS/JSTestEventConstructor.cpp: Updated a run-bindings-tests result. (WebCore::JSTestEventConstructorConstructor::constructJSTestEventConstructor): (WebCore::fillTestEventConstructorInit): * bindings/scripts/test/JS/JSTestEventConstructor.h: Ditto. * bindings/scripts/test/V8/V8TestEventConstructor.cpp: Ditto. (WebCore::V8TestEventConstructor::constructorCallback): (WebCore::fillTestEventConstructorInit): * bindings/scripts/test/V8/V8TestEventConstructor.h: Ditto. * dom/BeforeLoadEvent.idl: In essence, replaced [JSCustomConstructor] IDL with [JSConstructorTemplate=Event] IDL. * dom/CustomEvent.idl: Ditto. * dom/ErrorEvent.idl: Ditto. * dom/Event.idl: Ditto. * dom/HashChangeEvent.idl: Ditto. * dom/MessageEvent.idl: Ditto. * dom/OverflowEvent.idl: Ditto. * dom/PageTransitionEvent.idl: Ditto. * dom/PopStateEvent.idl: Ditto. * dom/ProgressEvent.idl: Ditto. * dom/WebKitAnimationEvent.idl: Ditto. * dom/WebKitTransitionEvent.idl: Ditto. * html/track/TrackEvent.idl: Ditto. * websockets/CloseEvent.idl: Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100564 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Nov, 2011 7 commits
-
-
dino@apple.com authored
When I removed the violating header file it lost the reference to Color. No review. * platform/graphics/filters/FilterOperation.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100563 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72566 Reviewed by Eric Seidel. Added ContributionAreas class. * Scripts/webkitpy/common/config/contributionareas.py: Added. * Scripts/webkitpy/common/config/contributionareas_unittest.py: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
rniwa@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72572 Reviewed by Eric Seidel. Refactored the test code by introduing two helper functions. * Scripts/webkitpy/common/checkout/changelog_unittest.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100561 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
dino@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=72544 Reviewed by Simon Fraser. Move ShadowData properties into the DropShadowFilterOperation to avoid depending on something outside platform. * css/CSSComputedStyleDeclaration.cpp: (WebCore::CSSComputedStyleDeclaration::valueForFilter): * css/CSSStyleSelector.cpp: (WebCore::CSSStyleSelector::createFilterOperations): * platform/graphics/filters/FilterOperation.h: (WebCore::DropShadowFilterOperation::create): (WebCore::DropShadowFilterOperation::x): (WebCore::DropShadowFilterOperation::y): (WebCore::DropShadowFilterOperation::stdDeviation): (WebCore::DropShadowFilterOperation::color): (WebCore::DropShadowFilterOperation::operator==): (WebCore::DropShadowFilterOperation::DropShadowFilterOperation): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100560 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
* platform/chromium-cg-mac-snowleopard/fast/repaint/block-selection-gap-in-composited-layer-expected.png: Added. * platform/chromium-linux/fast/repaint/block-selection-gap-in-composited-layer-expected.png: * platform/chromium-mac-leopard/fast/repaint/block-selection-gap-in-composited-layer-expected.png: Added. * platform/chromium-mac-snowleopard/fast/repaint/block-selection-gap-in-composited-layer-expected.png: Added. * platform/chromium-win/fast/repaint/block-selection-gap-in-composited-layer-expected.png: * platform/chromium/test_expectations.txt: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100559 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
eric@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=72247 Reviewed by Adam Barth. I think SCM detection may eventually be rolled into Checkout, but this patch at least makes it possible to mock code-paths which rely on scm detection. In the process of replacing callers of these free-functions I found that one of the functions was no longer used, and that one of the callers could instead just use the SCM object it already had access to through port.host.scm(). I also discovered that I was not calling Host._initialize_scm() and thus host.scm() was always returning None! * Scripts/check-webkit-style: * Scripts/webkitpy/common/checkout/checkout_unittest.py: * Scripts/webkitpy/common/checkout/deps.py: * Scripts/webkitpy/common/checkout/scm/__init__.py: * Scripts/webkitpy/common/checkout/scm/detection.py: * Scripts/webkitpy/common/checkout/scm/git.py: * Scripts/webkitpy/common/checkout/scm/scm_unittest.py: * Scripts/webkitpy/common/checkout/scm/svn.py: * Scripts/webkitpy/common/host.py: * Scripts/webkitpy/common/host_mock.py: * Scripts/webkitpy/layout_tests/controllers/manager.py: * Scripts/webkitpy/layout_tests/controllers/manager_worker_broker.py: * Scripts/webkitpy/layout_tests/port/base.py: * Scripts/webkitpy/layout_tests/port/mock_drt.py: * Scripts/webkitpy/layout_tests/run_webkit_tests.py: * Scripts/webkitpy/to_be_moved/rebaseline_chromium_webkit_tests.py: * Scripts/webkitpy/tool/servers/rebaselineserver.py: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100558 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
jamesr@google.com authored
* platform/chromium-cg-mac-leopard/compositing/geometry/clipped-video-controller-expected.png: Added. * platform/chromium-cg-mac-leopard/compositing/geometry/video-fixed-scrolling-expected.png: Added. * platform/chromium-cg-mac-leopard/compositing/geometry/video-opacity-overlay-expected.png: Added. * platform/chromium-cg-mac-leopard/compositing/layers-inside-overflow-scroll-expected.png: Added. * platform/chromium-cg-mac-leopard/compositing/overflow/overflow-compositing-descendant-expected.png: Added. * platform/chromium-cg-mac-leopard/compositing/overflow/scroll-ancestor-update-expected.png: Added. * platform/chromium-cg-mac-leopard/compositing/self-painting-layers-expected.png: Added. * platform/chromium-cg-mac-snowleopard/compositing/geometry/clipped-video-controller-expected.png: Added. * platform/chromium-cg-mac-snowleopard/compositing/geometry/video-fixed-scrolling-expected.png: Added. * platform/chromium-cg-mac-snowleopard/compositing/geometry/video-opacity-overlay-expected.png: Added. * platform/chromium-cg-mac-snowleopard/compositing/layers-inside-overflow-scroll-expected.png: * platform/chromium-cg-mac/compositing/geometry/clipped-video-controller-expected.png: Removed. * platform/chromium-cg-mac/compositing/geometry/video-opacity-overlay-expected.png: Removed. * platform/chromium-gpu-cg-mac/compositing/geometry/clipped-video-controller-expected.png: Added. * platform/chromium-gpu-cg-mac/compositing/geometry/video-fixed-scrolling-expected.png: Renamed from LayoutTests/platform/chromium-cg-mac/compositing/geometry/video-fixed-scrolling-expected.png. * platform/chromium-gpu-cg-mac/compositing/geometry/video-opacity-overlay-expected.png: Added. * platform/chromium-gpu-cg-mac/compositing/layers-inside-overflow-scroll-expected.png: Added. * platform/chromium-gpu-cg-mac/compositing/overflow/overflow-compositing-descendant-expected.png: Added. * platform/chromium-gpu-cg-mac/compositing/overflow/scroll-ancestor-update-expected.png: Added. * platform/chromium-gpu-cg-mac/compositing/self-painting-layers-expected.png: Added. * platform/chromium-linux/compositing/layers-inside-overflow-scroll-expected.png: * platform/chromium-linux/compositing/overflow/overflow-compositing-descendant-expected.png: * platform/chromium-linux/compositing/overflow/scroll-ancestor-update-expected.png: * platform/chromium-linux/compositing/self-painting-layers-expected.png: * platform/chromium-mac-leopard/compositing/geometry/clipped-video-controller-expected.png: Added. * platform/chromium-mac-leopard/compositing/geometry/video-fixed-scrolling-expected.png: Added. * platform/chromium-mac-leopard/compositing/geometry/video-opacity-overlay-expected.png: Added. * platform/chromium-mac-leopard/compositing/layers-inside-overflow-scroll-expected.png: Added. * platform/chromium-mac-leopard/compositing/overflow/overflow-compositing-descendant-expected.png: Added. * platform/chromium-mac-leopard/compositing/overflow/scroll-ancestor-update-expected.png: Added. * platform/chromium-mac-leopard/compositing/self-painting-layers-expected.png: Added. * platform/chromium-mac-snowleopard/compositing/geometry/clipped-video-controller-expected.png: Added. * platform/chromium-mac-snowleopard/compositing/geometry/video-fixed-scrolling-expected.png: Added. * platform/chromium-mac-snowleopard/compositing/geometry/video-opacity-overlay-expected.png: Added. * platform/chromium-mac-snowleopard/compositing/layers-inside-overflow-scroll-expected.png: * platform/chromium-mac/compositing/geometry/clipped-video-controller-expected.png: Removed. * platform/chromium-mac/compositing/geometry/video-fixed-scrolling-expected.png: Removed. * platform/chromium-mac/compositing/geometry/video-opacity-overlay-expected.png: Removed. * platform/chromium-mac/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Removed. * platform/chromium-win/compositing/layers-inside-overflow-scroll-expected.png: * platform/chromium-win/compositing/overflow/overflow-compositing-descendant-expected.png: * platform/chromium-win/compositing/overflow/scroll-ancestor-update-expected.png: * platform/chromium-win/compositing/self-painting-layers-expected.png: * platform/chromium/compositing/overflow/overflow-compositing-descendant-expected.png: * platform/chromium/compositing/overflow/scroll-ancestor-update-expected.png: * platform/chromium/compositing/self-painting-layers-expected.png: * platform/chromium/compositing/video-page-visibility-expected.png: Added. * platform/chromium/test_expectations.txt: * platform/mac-lion/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Renamed from LayoutTests/platform/mac-snowleopard/compositing/layer-creation/spanOverlapsCanvas-expected.txt. * platform/win/compositing/layer-creation/spanOverlapsCanvas-expected.txt: Removed. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@100557 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-