- 08 Feb, 2010 6 commits
-
-
xan@webkit.org authored
Try to do some clean-up in our Skipped list. * platform/gtk/Skipped: git-svn-id: svn://svn.chromium.org/blink/trunk@54480 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. Generate new results for this test. * platform/gtk/editing/execCommand/indent-paragraphs-expected.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@54479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Adler. Convert editing/execCommand/indent-paragraphs.html to use dumpAsText. The test copies HTML to the text output, so it doesn't really need to dump the render tree. The test was added in r49985, but didn't include pixel results. https://bugs.webkit.org/show_bug.cgi?id=34625 * platform/mac/editing/execCommand/indent-paragraphs-expected.txt: Modified. git-svn-id: svn://svn.chromium.org/blink/trunk@54478 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Adler. Fixes: https://bugs.webkit.org/show_bug.cgi?id=34637 Corrects the newline inserted into WebKitOutputDir, and WebKitLibrariesDir Windows environemnt variables when there is a space in the user's /home path. * Scripts/webkitdirs.pm: - Added missing quotes around $sourceDir in argument list of cygpath in determineWindowsSourceDir(). git-svn-id: svn://svn.chromium.org/blink/trunk@54477 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hausmann@webkit.org authored
Similar to r54391, don't import the cmath functions from std:: for RVCT. * wtf/MathExtras.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54476 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
tony@chromium.org authored
Reviewed by Darin Adler. Fix 2 pixel test baselines that are incorrect but passing the fuzzy image diff. editing/deleting/5390681.html should show a cursor, but doesn't. In r42549, whitespace collapsing was changed but editing/pasteboard/5387578.html's result wasn't updated to reflect the collapsed whitespace. https://bugs.webkit.org/show_bug.cgi?id=34632 * platform/mac/editing/deleting/5390681-2-expected.checksum: * platform/mac/editing/deleting/5390681-2-expected.png: * platform/mac/editing/pasteboard/5387578-expected.checksum: * platform/mac/editing/pasteboard/5387578-expected.png: git-svn-id: svn://svn.chromium.org/blink/trunk@54475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 07 Feb, 2010 7 commits
-
-
dbates@webkit.org authored
Unreviewed, fix Tiger layout test failure. https://bugs.webkit.org/show_bug.cgi?id=34402 Adds expected layout test results for Tiger build. * platform/mac-tiger/fast/lists/w3-css3-list-styles-numeric-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54474 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dbates@webkit.org authored
Unreviewed, fix layout test bots. https://bugs.webkit.org/show_bug.cgi?id=34402 Adds expected layout test results for Leopard, Windows, and Qt ports. * platform/mac-leopard/fast/lists: Added. * platform/mac-leopard/fast/lists/w3-css3-list-styles-numeric-expected.txt: Added. * platform/qt/fast/lists/w3-css3-list-styles-numeric-expected.txt: Added. * platform/win/fast/lists/w3-css3-list-styles-numeric-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54473 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dbates@webkit.org authored
Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=34402 Implements all of the numeric CSS3 list-style-types as per section 4.3 of the CSS3 Lists module <http://www.w3.org/TR/css3-lists/#numeric>. Test: fast/lists/w3-css3-list-styles-numeric.html * css/CSSPrimitiveValueMappings.h: (WebCore::CSSPrimitiveValue::CSSPrimitiveValue): * css/CSSValueKeywords.in: * inspector/front-end/SourceCSSTokenizer.re2js: * platform/text/CharacterNames.h: Added constant hyphenMinus. * rendering/RenderListMarker.cpp: (WebCore::): Defined enum SequenceType. (WebCore::toAlphabeticOrNumeric): Added. (WebCore::toAlphabetic): Modified to call WebCore::toAlphabeticOrNumeric. (WebCore::toNumeric): Added. (WebCore::listMarkerSuffix): (WebCore::listMarkerText): (WebCore::RenderListMarker::paint): (WebCore::RenderListMarker::calcPrefWidths): (WebCore::RenderListMarker::getRelativeMarkerRect): * rendering/style/RenderStyle.h: (WebCore::): * rendering/style/RenderStyleConstants.h: Added numeric list style types and fixed indent level for the enum values. (WebCore::): 2010-02-07 Daniel Bates <dbates@webkit.org> Reviewed by Darin Adler. https://bugs.webkit.org/show_bug.cgi?id=34402 Tests that all of the numeric CSS3 list-style-types are supported. * fast/lists/w3-css3-list-styles-numeric.html: Added. * platform/mac/fast/lists/w3-css3-list-styles-numeric-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54472 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Adler. Include wtf/StringExtras.h for strdup definition, which is needed for WinCE. * bridge/IdentifierRep.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54471 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Timothy Hatcher. Web Inspector: Fragment-held Elements Not Shown in Inspector. https://bugs.webkit.org/show_bug.cgi?id=34680 * inspector/console-dirxml-expected.txt: * inspector/console-dirxml.html: 2010-02-07 Pavel Feldman <pfeldman@chromium.org> Reviewed by Timothy Hatcher. Web Inspector: Fragment-held Elements Not Shown in Inspector. https://bugs.webkit.org/show_bug.cgi?id=34680 * inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::pushChildNodesToFrontend): (WebCore::InspectorDOMAgent::buildObjectForNode): * inspector/front-end/ElementsTreeOutline.js: (WebInspector.ElementsTreeElement.prototype._nodeTitleInfo): git-svn-id: svn://svn.chromium.org/blink/trunk@54470 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Fisher. [chromium] Change chromium interface to handle DownloadURL format. https://bugs.webkit.org/show_bug.cgi?id=34655 * platform/chromium/ChromiumDataObject.cpp: (WebCore::ChromiumDataObject::clear): (WebCore::ChromiumDataObject::hasData): (WebCore::ChromiumDataObject::ChromiumDataObject): * platform/chromium/ChromiumDataObject.h: * platform/chromium/ClipboardChromium.cpp: (WebCore::ClipboardChromium::setData): 2010-02-07 Jian Li <jianli@chromium.org> Reviewed by Darin Fisher. [chromium] Change chromium interface to handle DownloadURL format. https://bugs.webkit.org/show_bug.cgi?id=34655 * public/WebDragData.h: * src/WebDragData.cpp: (WebKit::WebDragData::downloadMetadata): (WebKit::WebDragData::setDownloadMetadata): git-svn-id: svn://svn.chromium.org/blink/trunk@54469 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
[Qt] Missing fast/frames/flattening/resources/frameset-flattening-subframe-resize.html https://bugs.webkit.org/show_bug.cgi?id=34662 Missing file added from the original bug: https://bugs.webkit.org/show_bug.cgi?id=32717 * fast/frames/flattening/resources: Added. * fast/frames/flattening/resources/frameset-flattening-subframe-resize.html: Added. * platform/qt/Skipped: frameset-flattening-subframe-resize.html unskipped. git-svn-id: svn://svn.chromium.org/blink/trunk@54468 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 06 Feb, 2010 14 commits
-
-
dglazkov@chromium.org authored
No review, rolling out r54364. http://trac.webkit.org/changeset/54364 https://bugs.webkit.org/show_bug.cgi?id=34464 Introduced asserts in layout tests, needs more testing locally. * accessibility/chromium/AXObjectCacheChromium.cpp: (WebCore::AXObjectCache::postPlatformNotification): * page/chromium/ChromeClientChromium.h: 2010-02-06 Dimitri Glazkov <dglazkov@chromium.org> No review, rolling out r54364. http://trac.webkit.org/changeset/54364 https://bugs.webkit.org/show_bug.cgi?id=34464 Introduced asserts in layout tests, needs more testing locally. * public/WebViewClient.h: * src/ChromeClientImpl.cpp: * src/ChromeClientImpl.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54466 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
Reviewed by Adam Barth. Using inlines and function-level statics don't mix, according to gcc. https://bugs.webkit.org/show_bug.cgi?id=34663 De-inline deviceRGBColorSpaceRef to avoid gcc-bug landmines. It appears that the initialization check, generated by gcc doesn't account for a possibility that the function may be inlined, resulting in lazy initialization failure for more than one inlined instance of the function. No behavior change, so no new tests. * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::deviceRGBColorSpaceRef): * platform/graphics/cg/GraphicsContextPlatformPrivateCG.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54465 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
barraclough@apple.com authored
rather than returning a null string (which will behave like a zero-length string if used). Reviewed by Geoff Garen. Also move createRep function from UString to become new overloaded UStringImpl::create methods. In doing so, bring their behaviour closer to being in line with WebCore::StringImpl, in removing the behaviour that they can be used to produce null UStrings (ASSERT the char* provided is non-null). This behaviour of converting null C-strings to null UStrings is inefficient (cmompared to just using UString::null()), incompatible with WebCore::StringImpl's behaviour, and may generate unexpected behaviour, since in many cases a null UString can be used like an empty string. With these changes UStringImpl need not have a concept of null impls, we can start transitioning this to become an implementation detail of UString, that internally it chooses to use a null-object rather than an actually zero impl pointer. * JavaScriptCore.exp: * debugger/Debugger.cpp: (JSC::Debugger::recompileAllJSFunctions): * debugger/DebuggerCallFrame.cpp: (JSC::DebuggerCallFrame::calculatedFunctionName): * parser/Parser.cpp: (JSC::Parser::parse): * profiler/Profile.cpp: (JSC::Profile::Profile): * profiler/ProfileGenerator.cpp: (JSC::ProfileGenerator::stopProfiling): * runtime/Error.cpp: (JSC::Error::create): (JSC::throwError): * runtime/ExceptionHelpers.cpp: (JSC::createError): * runtime/Identifier.cpp: (JSC::Identifier::add): * runtime/PropertyNameArray.cpp: (JSC::PropertyNameArray::add): * runtime/UString.cpp: (JSC::initializeUString): (JSC::UString::UString): (JSC::UString::operator=): * runtime/UString.h: (JSC::UString::isNull): (JSC::UString::null): (JSC::UString::rep): (JSC::UString::UString): * runtime/UStringImpl.cpp: (JSC::UStringImpl::create): * runtime/UStringImpl.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54464 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=34670 TestNetscapePlugin should work with Firefox * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: (NPP_New): Default to Carbon if browser doesn't tell what it supports. git-svn-id: svn://svn.chromium.org/blink/trunk@54463 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hamaji@chromium.org authored
Reviewed by Gustavo Noronha Silva. [Gtk] Implement layoutTestController.pageNumberForElementById https://bugs.webkit.org/show_bug.cgi?id=34572 * platform/gtk/Skipped: 2010-02-05 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Gustavo Noronha Silva. [Gtk] Implement layoutTestController.pageNumberForElementById https://bugs.webkit.org/show_bug.cgi?id=34572 * webkit/webkitprivate.h: * webkit/webkitwebframe.cpp: (webkit_web_frame_page_number_for_element_by_id): 2010-02-05 Shinichiro Hamaji <hamaji@chromium.org> Reviewed by Gustavo Noronha Silva. [Gtk] Implement layoutTestController.pageNumberForElementById https://bugs.webkit.org/show_bug.cgi?id=34572 * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: (LayoutTestController::pageNumberForElementById): git-svn-id: svn://svn.chromium.org/blink/trunk@54461 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ggaren@apple.com authored
Reviewed by Dan Bernstein. In theory, if malloc allocated a UChar buffer directly after a StringImpl, the StringImpl might incorrecly assume that the UChar buffer was inline, and fail to delete it. This ASSERT is somewhat academic, since we don't use the same allocator in debug builds, but oh well. * platform/text/StringImpl.cpp: (WebCore::StringImpl::StringImpl): (WebCore::StringImpl::createUninitialized): * platform/text/StringImpl.h: Separated the inline buffer StringImpl constructor from the out-of-line buffer StringImpl constructor. Made the former ASSERT that its buffer was indeed inline, and the latter ASSERT that its buffer was indeed not inline. git-svn-id: svn://svn.chromium.org/blink/trunk@54460 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ggaren@apple.com authored
incorrect behavior, fixed by a recent patch of mine. Reviewed by Beth Dakin. * platform/win/fast/events/mouse-drag-from-frame-to-other-frame-expected.txt: Removed. git-svn-id: svn://svn.chromium.org/blink/trunk@54459 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Levin. [Chromium] Rename autocomplete* to suggestions* to prepare for the refactoring of AutocompletePopupMenuClient. https://bugs.webkit.org/show_bug.cgi?id=34664 * public/WebView.h: * src/AutocompletePopupMenuClient.cpp: (WebKit::AutocompletePopupMenuClient::popupDidHide): * src/EditorClientImpl.cpp: (WebKit::EditorClientImpl::textFieldDidEndEditing): (WebKit::EditorClientImpl::doAutofill): * src/WebViewImpl.cpp: (WebKit::): (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::mouseDown): (WebKit::WebViewImpl::autocompleteHandleKeyEvent): (WebKit::WebViewImpl::setFocus): (WebKit::WebViewImpl::applyAutofillSuggestions): (WebKit::WebViewImpl::hideAutofillPopup): (WebKit::WebViewImpl::hideSuggestionsPopup): (WebKit::WebViewImpl::refreshSuggestionsPopup): * src/WebViewImpl.h: (WebKit::WebViewImpl::suggestionsPopupDidHide): git-svn-id: svn://svn.chromium.org/blink/trunk@54458 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Eric Seidel. [BREWMP] Define SYSTEM_MALLOC 1 https://bugs.webkit.org/show_bug.cgi?id=34640 Make BREWMP use system malloc because FastMalloc is not ported. * wtf/Platform.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54457 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Unreviewed revert of r54454, until I can generate new results * media/video-loop-expected.txt: * media/video-loop.html: git-svn-id: svn://svn.chromium.org/blink/trunk@54456 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cmarrin@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=34348 The correct virtual function in GraphicsLayerCACF is now being called. We also fixed an issue in QTMovieWin where the size of the movie was not being set correctly because the call order was changed. I also changed the order of a couple of calls in QTMovieWin to account for changed calling order from the logic above. git-svn-id: svn://svn.chromium.org/blink/trunk@54455 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Oliver Hunt. https://bugs.webkit.org/show_bug.cgi?id=33671 [GTK] media/video-loop.html fails intermittently on Gtk Bots Rewrite test to make it less timing dependent. * media/video-loop-expected.txt: * media/video-loop.html: git-svn-id: svn://svn.chromium.org/blink/trunk@54454 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dpranke@chromium.org authored
Reviewed by Eric Seidel. Add a simple test implementation and the WebKit Mac implementation for the layout_tests/port package. Also add a simple test driver of that interface. https://bugs.webkit.org/show_bug.cgi?id=34511 * Scripts/webkitpy/layout_tests/driver_test.py: Added. * Scripts/webkitpy/layout_tests/port/__init__.py: * Scripts/webkitpy/layout_tests/port/mac.py: Added. * Scripts/webkitpy/layout_tests/port/test.py: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54452 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dpranke@chromium.org authored
Reviewed by Eric Siedel. Refactor the port package into an object-oriented style and merge path_utils into it. We add a 'base' and a 'chromium' object to the port package; this will allow us to easily add new ports (like WebKit Mac). https://bugs.webkit.org/show_bug.cgi?id=34511 * Scripts/rebaseline-chromium-webkit-tests: * Scripts/run-chromium-webkit-tests: * Scripts/webkitpy/layout_tests/layout_package/json_layout_results_generator.py: * Scripts/webkitpy/layout_tests/layout_package/json_results_generator.py: * Scripts/webkitpy/layout_tests/layout_package/test_expectations.py: * Scripts/webkitpy/layout_tests/layout_package/test_files.py: * Scripts/webkitpy/layout_tests/layout_package/test_shell_thread.py: * Scripts/webkitpy/layout_tests/port/__init__.py: * Scripts/webkitpy/layout_tests/port/apache_http_server.py: * Scripts/webkitpy/layout_tests/port/base.py: Added. * Scripts/webkitpy/layout_tests/port/chromium.py: Added. * Scripts/webkitpy/layout_tests/port/chromium_linux.py: * Scripts/webkitpy/layout_tests/port/chromium_mac.py: * Scripts/webkitpy/layout_tests/port/chromium_win.py: * Scripts/webkitpy/layout_tests/port/http_server.py: * Scripts/webkitpy/layout_tests/port/http_server_base.py: * Scripts/webkitpy/layout_tests/port/path_utils.py: Removed. * Scripts/webkitpy/layout_tests/port/websocket_server.py: * Scripts/webkitpy/layout_tests/rebaseline_chromium_webkit_tests.py: * Scripts/webkitpy/layout_tests/run_chromium_webkit_tests.py: * Scripts/webkitpy/layout_tests/test_types/fuzzy_image_diff.py: * Scripts/webkitpy/layout_tests/test_types/image_diff.py: * Scripts/webkitpy/layout_tests/test_types/test_type_base.py: * Scripts/webkitpy/layout_tests/test_types/text_diff.py: git-svn-id: svn://svn.chromium.org/blink/trunk@54449 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 05 Feb, 2010 13 commits
-
-
eric@webkit.org authored
Reviewed by David Levin. [Chromium] Remove an unused forward declaration in WebKitClient.h. https://bugs.webkit.org/show_bug.cgi?id=34622 * public/WebKitClient.h: git-svn-id: svn://svn.chromium.org/blink/trunk@54448 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kdecker@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=34661 <rdar://problem/7614067> REGRESSION (Safari 4.0-> Safari 4.0.4): NPP_SetWindow no longer sets a clipRect of (0,0,0,0) when it becomes hidden * Plugins/Hosted/WebHostedNetscapePluginView.mm: (-[WebHostedNetscapePluginView updateAndSetWindow]): When clipping out NPDrawingModelCoreAnimation plug-ins, provide a zero'd out clipRect. * Plugins/WebBaseNetscapePluginView.h: Moved superviewsHaveSuperviews to the base class. * Plugins/WebBaseNetscapePluginView.mm: (-[WebBaseNetscapePluginView superviewsHaveSuperviews]): Added to the base class; extracted from WebNetscapePluginView. (-[WebBaseNetscapePluginView shouldClipOutPlugin]): Added new method with code extracted from WebNetscapePluginView. * Plugins/WebNetscapePluginView.mm: (-[WebNetscapePluginView saveAndSetNewPortStateForUpdate:]): When clipping out NPDrawingModelCoreAnimation plug-ins, provide a zero'd out clipRect. git-svn-id: svn://svn.chromium.org/blink/trunk@54447 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
enrica@apple.com authored
<rdar://problem/7556121> https://bugs.webkit.org/show_bug.cgi?id=33848 Reviewed by Simon Fraser. Added a manual test. * manual-tests/win: Added. * manual-tests/win/horizontal-scroll-composited.html: Added. * platform/graphics/win/WKCACFLayerRenderer.cpp: (WebCore::WKCACFLayerRenderer::setScrollFrame): (WebCore::WKCACFLayerRenderer::setRootChildLayer): git-svn-id: svn://svn.chromium.org/blink/trunk@54446 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
[Qt] Missing fast/frames/flattening/resources/frameset-flattening-subframe-resize.html https://bugs.webkit.org/show_bug.cgi?id=34662 * platform/qt/Skipped: fast/frames/flattening/frameset-flattening-subframe-resize.html skipped until fix. git-svn-id: svn://svn.chromium.org/blink/trunk@54445 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
ossy@webkit.org authored
Update expected results after r54441 to make buildbot happy. * platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Updated. * platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Updated. git-svn-id: svn://svn.chromium.org/blink/trunk@54444 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by Darin Fisher. Implement WebInputElement::isActivatedSubmit(). https://bugs.webkit.org/show_bug.cgi?id=34623 * public/WebInputElement.h: * src/WebInputElement.cpp: (WebKit::WebInputElement::isActivatedSubmit): git-svn-id: svn://svn.chromium.org/blink/trunk@54443 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Reviewed by David Levin. Implementation of GlyphPage::fill() for Haiku port. https://bugs.webkit.org/show_bug.cgi?id=34527 Covered by existing tests. * platform/graphics/haiku/GlyphPageTreeNodeHaiku.cpp git-svn-id: svn://svn.chromium.org/blink/trunk@54442 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kenneth@webkit.org authored
Add expected frame flattening results for Qt. * platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Added. * platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.txt: Added. * platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.txt: Added. * platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt: Added. * platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54441 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kenneth@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=32717 Reviewed by Dave Hyatt. WebCore: The following patch, builds ontop of Antti Koivisto's frameset flattening code from the iPhone source, which itself is based on the old Nokia Series 60 source. Layout tests have been added to test the functionality and the original code which has then been fixed to make these pass, as well as support frameset grids. Tests: fast/frames/flattening/frameset-flattening-advanced.html fast/frames/flattening/frameset-flattening-grid.html fast/frames/flattening/frameset-flattening-simple.html fast/frames/flattening/frameset-flattening-subframe-resize.html fast/frames/flattening/frameset-flattening-subframesets.html * page/FrameView.cpp: (WebCore::FrameView::layout): (WebCore::FrameView::scheduleRelayout): * page/Settings.cpp: (WebCore::Settings::Settings): (WebCore::Settings::setFrameSetFlatteningEnabled): * page/Settings.h: (WebCore::Settings::frameSetFlatteningEnabled): * rendering/RenderFrame.cpp: (WebCore::RenderFrame::layoutWithFlattening): * rendering/RenderFrame.h: * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::layout): (WebCore::RenderFrameSet::positionFramesWithFlattening): (WebCore::RenderFrameSet::flattenFrameSet): (WebCore::RenderFrameSet::userResize): * rendering/RenderFrameSet.h: WebKit/qt: Privately export the setFrameSetFlatteningEnabled setting for use with the Qt DRT. * Api/qwebpage.cpp: (qt_drt_setFrameSetFlatteningEnabled): (QWebPagePrivate::core): * Api/qwebpage_p.h: WebKitTools: Add support for testing frame flattening with the Qt DRT * DumpRenderTree/qt/LayoutTestControllerQt.cpp: (LayoutTestController::setFrameSetFlatteningEnabled): * DumpRenderTree/qt/LayoutTestControllerQt.h: LayoutTests: Frameset flattening layout test, plus expected result for Qt. * fast/frames/flattening/frameset-flattening-advanced.html: Added. * fast/frames/flattening/frameset-flattening-grid.html: Added. * fast/frames/flattening/frameset-flattening-simple.html: Added. * fast/frames/flattening/frameset-flattening-subframe-resize.html: Added. * fast/frames/flattening/frameset-flattening-subframesets.html: Added. * fast/frames/flattening/resources/frameset-flattening-subframe-resize.html: Added. * platform/qt/fast/frames/flattening/frameset-flattening-advanced-expected.txt: Added. * platform/qt/fast/frames/flattening/frameset-flattening-grid-expected.txt: Added. * platform/qt/fast/frames/flattening/frameset-flattening-simple-expected.txt: Added. * platform/qt/fast/frames/flattening/frameset-flattening-subframe-resize-expected.txt: Added. * platform/qt/fast/frames/flattening/frameset-flattening-subframesets-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@54440 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cjerdonek@webkit.org authored
on a per file or folder basis, via a configuration variable. Reviewed by Shinichiro Hamaji. https://bugs.webkit.org/show_bug.cgi?id=33684 * Scripts/webkitpy/style/checker.py: - Added _PATH_RULES_SPECIFIER configuration variable. - In ProcessorOptions class-- - Changed the CategoryFilter attribute to FilterConfiguration. - Added path parameter to is_reportable(). - Renamed ArgumentDefaults filter_rules attribute to base_filter_rules. - Updated ArgumentPrinter class. - Added filter rule validation to ArgumentParser (instead of in CategoryFilter constructor). * Scripts/webkitpy/style/checker_unittest.py: - Updated unit tests as necessary. - Added unit tests for PATH_RULES_SPECIFIER. * Scripts/webkitpy/style/error_handlers.py: - Updated DefaultStyleErrorHandler to use file path when calling is_reportable(). * Scripts/webkitpy/style/error_handlers_unittest.py: - Updated unit tests as necessary. * Scripts/webkitpy/style/filter.py: - Marked CategoryFilter internal with an underscore. - Removed argument validation from CategoryFilter. - Added FilterConfiguration class. * Scripts/webkitpy/style/filter_unittest.py: - Updated CategoryFilterTest class. - Added FilterConfigurationTest unit tests. * Scripts/webkitpy/style/processors/cpp.py: - Removed _is_test_filename() code. - Removed hard-coded path checks from check_include_line(). * Scripts/webkitpy/style/processors/cpp_unittest.py: - Removed three unit tests related to exempted files. git-svn-id: svn://svn.chromium.org/blink/trunk@54439 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simon.fraser@apple.com authored
Reviewed by Dan Bernstein. Changing display type of parent of input on focus causes input field to not receive key events https://bugs.webkit.org/show_bug.cgi?id=34620 <rdar://problem/7584572> When layout affects a text input, the RenderTextControl gets destroyed and recreated, which in turn makes a new innerTextElement. However, if the text field was focused, the VisibleSelection is left pointing to the old innerTextElement, so text input no longer works. The fix is to call updateFocusAppearanceSoon() when attaching the input element, which will update the selection if necessary. Test: fast/forms/restore-selection-after-layout.html * dom/Document.h: Add a paramter to updateFocusAppearanceSoon() and a member variable, m_updateFocusAppearanceRestoresSelection, to store its value until the timer fires. * dom/Document.cpp: (WebCore::Document::Document): Initialize m_updateFocusAppearanceRestoresSelection (WebCore::Document::updateFocusAppearanceSoon): New restorePreviousSelection parameter. (WebCore::Document::updateFocusAppearanceTimerFired): Pass m_updateFocusAppearanceRestoresSelection down. * dom/Element.cpp: (WebCore::Element::attach): Call updateFocusAppearanceSoon() with false. * dom/Element.h: The updateFocusAppearanceSoonAfterAttach() was undefined. * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::attach): Call document()->updateFocusAppearanceSoon() with true. git-svn-id: svn://svn.chromium.org/blink/trunk@54438 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kenneth@webkit.org authored
Reviewed by Ariya Hidayat. * QtLauncher/main.cpp: (LauncherWindow::LauncherWindow): (requiresGraphicsView): (LauncherApplication::handleUserOptions): * QtLauncher/webview.h: (WebViewGraphicsBased::setItemCacheMode): git-svn-id: svn://svn.chromium.org/blink/trunk@54437 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
pfeldman@chromium.org authored
Reviewed by Timothy Hatcher. Web Inspector: simplify cookies view, introduce DataGrid::autoSizeColumns. https://bugs.webkit.org/show_bug.cgi?id=34646 * inspector/front-end/CookieItemsView.js: (WebInspector.CookieItemsView): (WebInspector.CookieItemsView.prototype.show): (WebInspector.CookieItemsView.prototype._update): (WebInspector.CookieItemsView.prototype._updateWithCookies): (WebInspector.CookieItemsView.prototype._filterCookiesForDomain): (WebInspector.CookieItemsView.prototype._createDataGrid): (WebInspector.CookieItemsView.prototype._populateDataGrid.expiresCompare): (WebInspector.CookieItemsView.prototype._populateDataGrid): (WebInspector.CookieItemsView.prototype._createSimpleDataGrid): (WebInspector.CookieItemsView.prototype._populateSimpleDataGrid): (WebInspector.CookieItemsView.prototype._deleteCookieCallback): (WebInspector.CookieItemsView.prototype._refreshButtonClicked): * inspector/front-end/DOMStorageItemsView.js: (WebInspector.DOMStorageItemsView.prototype._showDOMStorageEntries): (WebInspector.DOMStorageItemsView.prototype._dataGridForDOMStorageEntries): * inspector/front-end/DataGrid.js: (WebInspector.DataGrid): (WebInspector.DataGrid.prototype.autoSizeColumns): * inspector/front-end/DatabaseQueryView.js: (WebInspector.DatabaseQueryView.prototype._queryFinished): * inspector/front-end/DatabaseTableView.js: (WebInspector.DatabaseTableView.prototype._queryFinished): * inspector/front-end/StoragePanel.js: (WebInspector.StoragePanel.prototype.dataGridForResult): git-svn-id: svn://svn.chromium.org/blink/trunk@54436 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-