- 28 Apr, 2009 40 commits
-
-
eric@webkit.org authored
Add text repaint test to cover https://bugs.webkit.org/show_bug.cgi?id=16188 * platform/mac/svg/text/text-repaint-rects-expected.checksum: Added. * platform/mac/svg/text/text-repaint-rects-expected.png: Added. * platform/mac/svg/text/text-repaint-rects-expected.txt: Added. * svg/text/text-repaint-rects.xhtml: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42964 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
2009-04-28 Xan Lopez <xlopez@igalia.com> Unreviewed: fix distcheck build, add missing header to file list. * GNUmakefile.am: JavaScriptCore: 2009-04-28 Xan Lopez <xlopez@igalia.com> Unreviewed: fix distcheck build, add missing header to file list. * GNUmakefile.am: git-svn-id: svn://svn.chromium.org/blink/trunk@42963 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kov@webkit.org authored
Unreviewed. Update gtk-doc control and base sgml files for 1.1.6. * docs/webkitgtk-docs.sgml: * docs/webkitgtk-sections.txt: git-svn-id: svn://svn.chromium.org/blink/trunk@42962 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Fix foreignObject transform order https://bugs.webkit.org/show_bug.cgi?id=25433 Transforms were being applied in the wrong order. When mapping from local to parent, first apply the viewport transform then map from the viewport box to the parent box. * rendering/RenderForeignObject.cpp: (WebCore::RenderForeignObject::localToParentTransform): git-svn-id: svn://svn.chromium.org/blink/trunk@42961 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Simplify nodeAtPoint for SVG https://bugs.webkit.org/show_bug.cgi?id=25432 Added a new nodeAtFloatPoint method which takes a FloatPoint instead of the *super confusing* x/y tx/ty pairs that HTML uses. Mostly this is just lots of minus-lines as the new code is *much* simpler. I made all the SVG renderers use the new nodeAtFloatPoint and ASSERT_NOT_REACHED for the nodeAtPoint HTML/CSS int x/y version. Eventually the rest of CSS/HTML render objects will follow suit and move to nodeAtFloatPoint (possibly renamed back to nodeAtPoint), but changing them over was well outside the scope of this change. SVG hit testing is not actually floating point precise yet, since its still passed in an integer x/y. Certain transform hit-test edge cases are likely fixed by moving to FloatPoint here, but I didn't try to find one. This should not cause functional changes for common-case hit testing, thus no tests changed, nor should new tests be needed. * rendering/RenderForeignObject.cpp: (WebCore::RenderForeignObject::translationForAttributes): (WebCore::RenderForeignObject::paint): (WebCore::RenderForeignObject::computeRectForRepaint): (WebCore::RenderForeignObject::localToParentTransform): (WebCore::RenderForeignObject::layout): (WebCore::RenderForeignObject::nodeAtFloatPoint): * rendering/RenderForeignObject.h: * rendering/RenderObject.cpp: (WebCore::RenderObject::nodeAtFloatPoint): * rendering/RenderObject.h: * rendering/RenderPath.cpp: (WebCore::RenderPath::nodeAtFloatPoint): * rendering/RenderPath.h: * rendering/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::nodeAtFloatPoint): * rendering/RenderSVGContainer.h: (WebCore::RenderSVGContainer::pointIsInsideViewportClip): * rendering/RenderSVGHiddenContainer.cpp: (WebCore::RenderSVGHiddenContainer::nodeAtFloatPoint): * rendering/RenderSVGHiddenContainer.h: * rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::paint): (WebCore::RenderSVGImage::nodeAtFloatPoint): * rendering/RenderSVGImage.h: (WebCore::RenderSVGImage::localToParentTransform): (WebCore::RenderSVGImage::localTransform): * rendering/RenderSVGModelObject.cpp: (WebCore::RenderSVGModelObject::nodeAtFloatPoint): * rendering/RenderSVGModelObject.h: * rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::nodeAtFloatPoint): * rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::nodeAtFloatPoint): * rendering/RenderSVGText.h: * rendering/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::pointIsInsideViewportClip): * rendering/RenderSVGViewportContainer.h: git-svn-id: svn://svn.chromium.org/blink/trunk@42960 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
- fix the Tiger build * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::cacheMovieScale): git-svn-id: svn://svn.chromium.org/blink/trunk@42959 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
Reviewed by Beth Dakin. Consolidate ScheduleAction creation into ScheduledAction::create. Autogenerate JSWorkerContext.clearTimeout and clearInterval. * bindings/js/JSDOMWindowCustom.cpp: (WebCore::JSDOMWindow::setTimeout): (WebCore::JSDOMWindow::setInterval): * bindings/js/JSWorkerContextCustom.cpp: (WebCore::JSWorkerContext::setTimeout): (WebCore::JSWorkerContext::setInterval): * bindings/js/ScheduledAction.cpp: (WebCore::ScheduledAction::create): (WebCore::ScheduledAction::ScheduledAction): (WebCore::ScheduledAction::execute): * bindings/js/ScheduledAction.h: * workers/WorkerContext.cpp: (WebCore::DOMWindow::setTimeout): (WebCore::DOMWindow::clearTimeout): (WebCore::DOMWindow::setInterval): (WebCore::DOMWindow::clearInterval): * workers/WorkerContext.h: * workers/WorkerContext.idl: git-svn-id: svn://svn.chromium.org/blink/trunk@42958 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
DLL name vs. LIBRARY directive name. Reviewed by Jon Honeycutt. * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def: * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42957 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kov@webkit.org authored
Reviewed by Xan Lopez. Updated with news for the 1.1.6 release. * NEWS: git-svn-id: svn://svn.chromium.org/blink/trunk@42956 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
beidson@apple.com authored
2009-04-28 Brady Eidson <beidson@apple.com> Reviewed by Darin Adler <rdar://problem/6643219> Crashes after moving nodes between documents with Safari 4 Beta installed When moving Nodes between documents we weren't properly updating style declarations. Certain operations, such as creating webarchives, would tickle this bug. Tests: webarchive/adopt-attribute-styled-body-webarchive.html webarchive/adopt-attribute-styled-node-webarchive.html webarchive/adopt-inline-styled-node-webarchive.html * dom/Node.cpp: Add a debug-only mechanism to insure that anyone who overrides (did/will)MoveToNewOwnerDocument calls their parent-class implementation after they've done their own work. (WebCore::setWillMoveToNewOwnerDocumentWasCalled): (WebCore::setDidMoveToNewOwnerDocumentWasCalled): (WebCore::Node::setDocument): (WebCore::Node::willMoveToNewOwnerDocument): (WebCore::Node::didMoveToNewOwnerDocument): * dom/StyledElement.cpp: (WebCore::StyledElement::attributeChanged): Add a comment explaining why we don't need to walk the nameAttrMap to update style declarations. (WebCore::StyledElement::didMoveToNewOwnerDocument): Update the parent pointer for the inline style declaration. * dom/StyledElement.h: * html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::didMoveToNewOwnerDocument): Update the parent pointer for the link declaration. * html/HTMLBodyElement.h: LayoutTests: 2009-04-28 Brady Eidson <beidson@apple.com> Reviewed by Darin Adler <rdar://problem/6643219> Crashes after moving nodes between documents with Safari 4 Beta installed * webarchive/adopt-attribute-styled-body-webarchive-expected.webarchive: Added. * webarchive/adopt-attribute-styled-body-webarchive.html: Added. * webarchive/resources/adopt-attribute-styled-body-iframe.html: Added. * webarchive/resources/adopt-attribute-styled-body-second-window.html: Added. * webarchive/adopt-attribute-styled-node-webarchive-expected.webarchive: Added. * webarchive/adopt-attribute-styled-node-webarchive.html: Added. * webarchive/resources/adopt-attribute-styled-node-second-window.html: Added. * webarchive/adopt-inline-styled-node-webarchive-expected.webarchive: Added. * webarchive/adopt-inline-styled-node-webarchive.html: Added. * webarchive/resources/adopt-inline-styled-node-second-window.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42955 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
of ImageDiff and DumpRenderTree. Rubber stamped by Adam Roben. * DumpRenderTree/win/DumpRenderTree.vcproj: * DumpRenderTree/win/ImageDiff.vcproj: git-svn-id: svn://svn.chromium.org/blink/trunk@42953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Darin Adler. <rdar://problem/6834876> Don't use BlockExceptions macros until QTKit supports QTMoviePreferredTransformAttribute * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::cacheMovieScale): use @try and @catch instead of BEGIN_BLOCK_OBJC_EXCEPTIONS and END_BLOCK_OBJC_EXCEPTIONS for builds of QTKit that throw an exception on QTMovieCurrentSizeAttribute but don't support QTMoviePreferredTransformAttribute git-svn-id: svn://svn.chromium.org/blink/trunk@42952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
darin@apple.com authored
Reviewed by Sam Weinig. * rendering/RenderText.cpp: (WebCore::RenderText::RenderText): Streamline code path to avoid a bit of reference count churn and remove a strange unneeeded PassRefPtr typecast. Also added a comment. (WebCore::RenderText::setTextInternal): Ditto. git-svn-id: svn://svn.chromium.org/blink/trunk@42951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Simplify how SVG containers paint https://bugs.webkit.org/show_bug.cgi?id=25431 Moved filterBoundingBox() from RenderSVGModelObject to SVGRenderSupport to share with other classes. Gave RenderSVGText a modern clippedOverflowRectForRepaint and computeRectForRepaint. RenderSVGText now applies transforms at paint() time instead of during chunk draw time this should be much more efficient. Fixed the order in which RenderSVGViewportContainer applied transforms and clips. We now clip to the viewport first and apply all transforms at once. Also since the viewport logic is now only inside RenderSVGViewportContainer (instead of inside RenderSVGContainer) we always know we have a viewport. We now use only viewportSize instead of viewport() since RenderSVGViewportContainers can't have x/y offsets. We now correctly transform the PaintInfo::rect (damage rect) when applying transforms. This allowed us to apply the transform during text paint() instead of at chunk paint time. Previously we had to apply the transform during chunk paint time because RenderBlock (superclass of RenderSVGBlock) would check intersection with the damageRect before telling any of the inlines to draw. Now that we adjust the damage rect correctly we pass the intersection check correctly! (This probably fixed some <text> redraw bugs but since I still have a bunch of those to fix, I've not tried to write additional tests to cover these potential fixes yet.) SVGRootInlineBox no longer needs to deal with transforms at chunk paint time, yay! * rendering/RenderPath.cpp: (WebCore::RenderPath::repaintRectInLocalCoordinates): (WebCore::RenderPath::paint): * rendering/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::paint): (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates): * rendering/RenderSVGContainer.h: (WebCore::RenderSVGContainer::applyViewportClip): * rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::layout): (WebCore::RenderSVGImage::repaintRectInLocalCoordinates): (WebCore::RenderSVGImage::clippedOverflowRectForRepaint): (WebCore::RenderSVGImage::computeRectForRepaint): * rendering/RenderSVGImage.h: * rendering/RenderSVGModelObject.cpp: * rendering/RenderSVGModelObject.h: * rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::layout): (WebCore::RenderSVGRoot::selfWillPaint): (WebCore::RenderSVGRoot::paint): (WebCore::RenderSVGRoot::viewportSize): (WebCore::RenderSVGRoot::calcViewport): (WebCore::RenderSVGRoot::localToBorderBoxTransform): (WebCore::RenderSVGRoot::parentOriginToBorderBox): (WebCore::RenderSVGRoot::borderOriginToContentBox): (WebCore::RenderSVGRoot::localToRepaintContainerTransform): (WebCore::RenderSVGRoot::localToParentTransform): (WebCore::RenderSVGRoot::computeRectForRepaint): (WebCore::RenderSVGRoot::nodeAtPoint): * rendering/RenderSVGRoot.h: * rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::clippedOverflowRectForRepaint): (WebCore::RenderSVGText::computeRectForRepaint): (WebCore::RenderSVGText::paint): (WebCore::RenderSVGText::repaintRectInLocalCoordinates): * rendering/RenderSVGText.h: (WebCore::RenderSVGText::localToParentTransform): (WebCore::RenderSVGText::localTransform): * rendering/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::applyViewportClip): * rendering/RenderSVGViewportContainer.h: * rendering/SVGRenderSupport.cpp: (WebCore::filterBoundingBoxForRenderer): (WebCore::applyTransformToPaintInfo): * rendering/SVGRenderSupport.h: * rendering/SVGRootInlineBox.cpp: (WebCore::SVGRootInlineBoxPaintWalker::chunkStartCallback): (WebCore::SVGRootInlineBox::paint): git-svn-id: svn://svn.chromium.org/blink/trunk@42950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=25453 git-svn-id: svn://svn.chromium.org/blink/trunk@42949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=25452 git-svn-id: svn://svn.chromium.org/blink/trunk@42946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rdar://problem/6833240mrowe@apple.com authored
This removes the need for us to explicitly initialize all of the members, which have a tendency to change in meaning and number between versions of libxml2. Reviewed by Sam Weinig. * dom/XMLTokenizerLibxml2.cpp: (WebCore::): (WebCore::sharedXHTMLEntity): (WebCore::getXHTMLEntity): git-svn-id: svn://svn.chromium.org/blink/trunk@42945 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
Indirected definition through a UserMacro. Reviewed by Mark Rowe. * win/tools/vsprops/common.vsprops: git-svn-id: svn://svn.chromium.org/blink/trunk@42944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
Reviewed by Mark Rowe. * WebCore.vcproj/QTMovieWin.vcproj: git-svn-id: svn://svn.chromium.org/blink/trunk@42943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=25449 git-svn-id: svn://svn.chromium.org/blink/trunk@42942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
Indirected definition for __PRODUCTION__ through a UserMacro. Reviewed by Mark Rowe. * win/tools/vsprops/common.vsprops: git-svn-id: svn://svn.chromium.org/blink/trunk@42941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mitz@apple.com authored
- formatting cleanup * rendering/RenderBox.cpp: (WebCore::RenderBox::calcHeight): Corrected indentation and added braces around a multi-line "else" clause. git-svn-id: svn://svn.chromium.org/blink/trunk@42940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Adam Roben <rdar://problem/6769968> media/video-size-intrinsic-scale.html fails on Windows https://bugs.webkit.org/show_bug.cgi?id=25094 Display movies saved with a non-identity matrix at the correct size. * platform/graphics/win/QTMovieWin.cpp: (QTMovieWinPrivate::QTMovieWinPrivate): Initialize m_widthScaleFactor and m_heightScaleFactor. (QTMovieWinPrivate::cacheMovieScale): New, calculate difference between initial size and natural size so naturalSize() accounts for non-identity movie matrix. (QTMovieWinPrivate::task):Call cacheMovieScale when load state reaches kMovieLoadStateLoaded for the first time. kMovieLoadState -> QTMovieLoadState. (QTMovieWinPrivate::drawingComplete): kMovieLoadState -> QTMovieLoadState. (QTMovieWinPrivate::createGWorld): Don't bother creating gworld until load state reaches kMovieLoadStateLoaded because we do not try to draw it before that point. (QTMovieWinPrivate::setSize): Do not change movie box before reaching kMovieLoadStateLoaded because we need to get the movie's initial size in cacheMovieScale. (QTMovieWin::getNaturalSize): Multiply width and height by initial scale. 2009-04-28 Eric Carlson <eric.carlson@apple.com> Reviewed by Adam Roben <rdar://problem/6769968> media/video-size-intrinsic-scale.html fails on Windows https://bugs.webkit.org/show_bug.cgi?id=25094 * platform/win/Skipped: Re-enable video-size-intrinsic-scale.html. git-svn-id: svn://svn.chromium.org/blink/trunk@42939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
Reviewed by Dan Bernstein. Move timer code from JSDOMWindow to DOMWindow. clearTimeout and clearInterval can now be autogenerated. * bindings/js/JSDOMWindowBase.cpp: * bindings/js/JSDOMWindowBase.h: * bindings/js/JSDOMWindowCustom.cpp: (WebCore::createScheduledAction): (WebCore::JSDOMWindow::setTimeout): (WebCore::JSDOMWindow::setInterval): * page/DOMWindow.cpp: (WebCore::DOMWindow::setTimeout): (WebCore::DOMWindow::clearTimeout): (WebCore::DOMWindow::setInterval): (WebCore::DOMWindow::clearInterval): * page/DOMWindow.h: * page/DOMWindow.idl: git-svn-id: svn://svn.chromium.org/blink/trunk@42938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
Small optimization, don't get the widget's handle twice in one method. https://bugs.webkit.org/show_bug.cgi?id=25446 git-svn-id: svn://svn.chromium.org/blink/trunk@42937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mitz@apple.com authored
- fix <rdar://problem/6786360> Make PDF an insertable pasteboard type * WebCoreSupport/WebPasteboardHelper.mm: (WebPasteboardHelper::insertablePasteboardTypes): * WebView/WebHTMLView.mm: (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]): (+[WebHTMLView _insertablePasteboardTypes]): (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]): git-svn-id: svn://svn.chromium.org/blink/trunk@42936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
ScrollView copy and paste typo fix. https://bugs.webkit.org/show_bug.cgi?id=25445 git-svn-id: svn://svn.chromium.org/blink/trunk@42935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hausmann@webkit.org authored
Reviewed by Tor Arne Vestbø. QWebElement API changes after another round of API review: * Fix argument names of findAll/findFirst * Split up toXml into innerXml and outerXml * Removed confusing toggleClass overload * Fixed casing of namespaceUri to follow QXmlStreamReader * Removed tagName from firstChild/nextSibling/etc. * Renamed append/prepend/insertAfter/insertBefore to [append|prepend][Inside|Outside] * Renamed wrapWith() back to wrap() * Made clone() const * Renamed remove() to takeFromDocument(), added removeFromDocument() * Renamed clear() to removeChildren() * Renamed scriptsFunctions/callScriptFunction to functions()/callFunction() * Renamed scriptProperty to scriptableProperty git-svn-id: svn://svn.chromium.org/blink/trunk@42934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Unreviewed: bump versions in preparation for 1.1.6 release. * configure.ac: git-svn-id: svn://svn.chromium.org/blink/trunk@42933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. Leave a bit of space from the previous page when advacing a whole page. This matches the behavior of our scrollbar scrolling code and is just nicer in general. * webkit/webkitwebview.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@42932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
Add a function for resetting the zoom factor to 1.0. https://bugs.webkit.org/show_bug.cgi?id=25447 git-svn-id: svn://svn.chromium.org/blink/trunk@42931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sullivan@apple.com authored
<rdar://problem/6820221> REGRESSION: 2-byte character names of images are displayed as %-encoded ASCII Reviewed by Adam Roben * loader/ImageDocument.cpp: (WebCore::ImageTokenizer::finish): decode the filename before processing it as part of the image name that's passed to the client git-svn-id: svn://svn.chromium.org/blink/trunk@42930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hausmann@webkit.org authored
Reviewed by Tor Arne Vestbø. Fix some qdoc warnings. git-svn-id: svn://svn.chromium.org/blink/trunk@42929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mjs@apple.com authored
Not reviewed, build fix. - fix initialization order to match declaration order to fix release build * page/Settings.cpp: (WebCore::Settings::Settings): git-svn-id: svn://svn.chromium.org/blink/trunk@42928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Unreviewed: committed a few bits by mistake, remove them. * WebCoreSupport/EditorClientGtk.cpp: (WebKit::handleEditingKeyboardEvent): git-svn-id: svn://svn.chromium.org/blink/trunk@42927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. https://bugs.webkit.org/show_bug.cgi?id=16135 [GTK] Support caret browsing Refactor keyboard event handling to work properly under caret browsing mode. Most of the code comes from the Windows port. * WebCoreSupport/EditorClientGtk.cpp: (WebKit::): (WebKit::interpretKeyEvent): (WebKit::handleEditingKeyboardEvent): (WebKit::EditorClient::handleKeyboardEvent): git-svn-id: svn://svn.chromium.org/blink/trunk@42926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. https://bugs.webkit.org/show_bug.cgi?id=16135 [GTK] Support caret browsing Based on a patch by Alp Toker. Add enable-caret-browsing setting to WebKitWebView. * webkit/webkitwebsettings.cpp: (_WebKitWebSettingsPrivate::): (_WebKitWebSettingsPrivate::webkit_web_settings_class_init): (_WebKitWebSettingsPrivate::webkit_web_settings_set_property): (_WebKitWebSettingsPrivate::webkit_web_settings_get_property): (_WebKitWebSettingsPrivate::webkit_web_settings_copy): * webkit/webkitwebview.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@42925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Justin Garcia. https://bugs.webkit.org/show_bug.cgi?id=16135 [GTK] Support caret browsing Based on a patch by Alp Toker. Implement basic support for caret browsing, active only when the corresponding setting is enabled. * page/EventHandler.cpp: (WebCore::EventHandler::handleMouseReleaseEvent): * page/FocusController.cpp: (WebCore::FocusController::advanceFocus): (WebCore::clearSelectionIfNeeded): (WebCore::FocusController::setFocusedNode): * page/Frame.cpp: (WebCore::Frame::setFocusedNodeIfNeeded): (WebCore::Frame::setSelectionFromNone): (WebCore::Frame::respondToChangedSelection): * page/Settings.cpp: (WebCore::Settings::Settings): * page/Settings.h: * rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintCaret): git-svn-id: svn://svn.chromium.org/blink/trunk@42924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
barraclough@apple.com authored
Rubber stamped by Maciej "Henry Morgan" Stachowiak. Enable YARR. (Again.) * wtf/Platform.h: git-svn-id: svn://svn.chromium.org/blink/trunk@42923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
barraclough@apple.com authored
Reviewed by Maciej Stachowiak. Tweak a loop condition to keep GCC happy, some GCCs seem to be having issues with this. :-/ * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::breakTarget): * wtf/Platform.h: git-svn-id: svn://svn.chromium.org/blink/trunk@42922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-