- 04 Apr, 2013 1 commit
-
-
commit-queue@webkit.org authored
[BlackBerry] DOMSupport::isFixedPositionOrHasFixedPositionAncestor stops traversing render tree when it hits an iframe element https://bugs.webkit.org/show_bug.cgi?id=113944 Patch by Andrew Lo <anlo@rim.com> on 2013-04-04 Reviewed by Rob Buis. Internally reviewed by Mike Fenton. Internal PR 320732. When checking whether a RenderObject is fixed position or has a fixed position ancestor, we traverse the render tree upwards. When we reach the root of the tree, check whether the root is an iframe and has an element owner. If so, we also need to continue iterating up the tree from the owner to see if the iframe is a descendant of a fixed position element. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isFixedPositionOrHasFixedPositionAncestor): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 28 Mar, 2013 1 commit
-
-
falken@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=113273 Reviewed by Kent Tamura. Element::disabled is about form controls and Element::isEnabledFormControl is redundant with it, so replace them with a single function Element::isDisabledFormControl. Source/WebCore: No new tests, there should be no behavior change. * accessibility/AccessibilityListBox.cpp: (WebCore::AccessibilityListBox::canSetSelectedChildrenAttribute): * accessibility/AccessibilityListBoxOption.cpp: (WebCore::AccessibilityListBoxOption::canSetSelectedAttribute): * accessibility/AccessibilityMenuList.cpp: (WebCore::AccessibilityMenuList::canSetFocusAttribute): * accessibility/AccessibilityMenuListOption.cpp: (WebCore::AccessibilityMenuListOption::isEnabled): * accessibility/AccessibilityNodeObject.cpp: (WebCore::AccessibilityNodeObject::isEnabled): (WebCore::AccessibilityNodeObject::actionElement): (WebCore::AccessibilityNodeObject::canSetFocusAttribute): * css/SelectorChecker.cpp: (WebCore::SelectorChecker::checkOne): * css/StyleResolver.cpp: (WebCore::StyleResolver::canShareStyleWithControl): * dom/Element.cpp: (WebCore::Element::isDisabledFormControl): * dom/Element.h: (Element): (WebCore::isDisabledFormControl): Add helper function for convenience. (WebCore): * dom/EventDispatcher.cpp: (WebCore::EventDispatcher::dispatchSimulatedClick): * dom/GestureEvent.cpp: (WebCore::GestureEventDispatchMediator::dispatchEvent): * dom/MouseEvent.cpp: (WebCore::MouseEventDispatchMediator::dispatchEvent): * dom/Node.cpp: (WebCore::Node::handleLocalEvents): (WebCore::Node::willRespondToMouseMoveEvents): (WebCore::Node::willRespondToMouseClickEvents): (WebCore::Node::willRespondToTouchEvents): * html/BaseMultipleFieldsDateAndTimeInputType.cpp: (WebCore::BaseMultipleFieldsDateAndTimeInputType::isEditControlOwnerDisabled): * html/DOMFormData.cpp: (WebCore::DOMFormData::DOMFormData): * html/FileInputType.cpp: (WebCore::FileInputType::handleDOMActivateEvent): (WebCore::FileInputType::disabledAttributeChanged): * html/HTMLButtonElement.cpp: (WebCore::HTMLButtonElement::defaultEventHandler): (WebCore::HTMLButtonElement::willRespondToMouseClickEvents): (WebCore::HTMLButtonElement::isSuccessfulSubmitButton): * html/HTMLCollection.cpp: (WebCore::isMatchingElement): * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::updateAncestorDisabledState): (WebCore::HTMLFormControlElement::isDisabledFormControl): (WebCore::HTMLFormControlElement::supportsFocus): * html/HTMLFormControlElement.h: (HTMLFormControlElement): (WebCore::HTMLFormControlElement::isDisabledOrReadOnly): * html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::isSuccessfulSubmitButton): (WebCore::HTMLInputElement::willRespondToMouseClickEvents): * html/HTMLOptGroupElement.cpp: (WebCore::HTMLOptGroupElement::isDisabledFormControl): * html/HTMLOptGroupElement.h: (HTMLOptGroupElement): * html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::isDisabledFormControl): * html/HTMLOptionElement.h: (HTMLOptionElement): * html/HTMLPlugInElement.cpp: (WebCore::HTMLPlugInElement::willRespondToMouseClickEvents): * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::nextValidIndex): (WebCore::HTMLSelectElement::updateListBoxSelection): (WebCore::HTMLSelectElement::recalcListItems): (WebCore::HTMLSelectElement::appendFormData): (WebCore::HTMLSelectElement::updateSelectedState): (WebCore::HTMLSelectElement::listBoxDefaultEventHandler): (WebCore::HTMLSelectElement::defaultEventHandler): (WebCore::HTMLSelectElement::optionAtIndex): * html/ImageInputType.cpp: (WebCore::ImageInputType::handleDOMActivateEvent): * html/ResetInputType.cpp: (WebCore::ResetInputType::handleDOMActivateEvent): * html/SubmitInputType.cpp: (WebCore::SubmitInputType::handleDOMActivateEvent): * html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::isDisabledFormControl): (WebCore::SliderThumbElement::defaultEventHandler): (WebCore::SliderThumbElement::willRespondToMouseMoveEvents): (WebCore::SliderThumbElement::willRespondToMouseClickEvents): * html/shadow/SliderThumbElement.h: (SliderThumbElement): * html/shadow/SpinButtonElement.h: * html/shadow/TextFieldDecorationElement.cpp: (WebCore::TextFieldDecorationElement::updateImage): * loader/FormSubmission.cpp: (WebCore::FormSubmission::create): * page/DragController.cpp: (WebCore::DragController::tryDocumentDrag): (WebCore::DragController::concludeEditDrag): * rendering/RenderListBox.cpp: (WebCore::RenderListBox::addFocusRingRects): (WebCore::RenderListBox::paintItemForeground): * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::itemIsEnabled): * rendering/RenderTextControl.cpp: (WebCore::updateUserModifyProperty): * rendering/RenderTheme.cpp: (WebCore::RenderTheme::isEnabled): * rendering/RenderThemeMac.mm: (WebCore::getMediaUIPartStateFlags): * rendering/RenderThemeMacShared.mm: (WebCore::RenderThemeMacShared::adjustMenuListStyle): (WebCore::RenderThemeMacShared::paintSearchFieldCancelButton): * rendering/RenderThemeSafari.cpp: (WebCore::RenderThemeSafari::adjustMenuListStyle): Source/WebKit/blackberry: * WebCoreSupport/CredentialTransformData.cpp: (WebCore::CredentialTransformData::findPasswordFormFields): * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement): * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::openSelectPopup): Source/WebKit/chromium: * src/WebFormControlElement.cpp: (WebKit::WebFormControlElement::isEnabled): * src/WebOptionElement.cpp: (WebKit::WebOptionElement::isEnabled): * src/WebPasswordFormUtils.cpp: (WebKit::findPasswordFormFields): * src/WebSearchableFormData.cpp: (HTMLNames::findSuitableSearchInputElement): (HTMLNames::buildSearchString): Source/WebKit/win: * DOMHTMLClasses.cpp: (DOMHTMLInputElement::disabled): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147135 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Mar, 2013 1 commit
-
-
inferno@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=112296 Reviewed by Kentaro Hara. to* helper functions are preferred over static_cast calls since they help to catch bad casts easily on the testing infrastructure. Source/WebCore: * accessibility/AXObjectCache.cpp: (WebCore::nodeHasRole): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::hasAttribute): (WebCore::AccessibilityObject::getAttribute): * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::anchorElement): (WebCore::AccessibilityRenderObject::helpText): (WebCore::AccessibilityRenderObject::checkboxOrRadioRect): (WebCore::AccessibilityRenderObject::titleUIElement): (WebCore::AccessibilityRenderObject::computeAccessibilityIsIgnored): (WebCore::AccessibilityRenderObject::accessKey): (WebCore::AccessibilityRenderObject::setElementAttributeValue): (WebCore::AccessibilityRenderObject::setValue): (WebCore::AccessibilityRenderObject::activeDescendant): (WebCore::AccessibilityRenderObject::handleActiveDescendantChanged): (WebCore::AccessibilityRenderObject::correspondingLabelForControlElement): (WebCore::AccessibilityRenderObject::inheritsPresentationalRole): (WebCore::AccessibilityRenderObject::setAccessibleName): (WebCore::AccessibilityRenderObject::stringRoleForMSAA): * bindings/gobject/WebKitDOMBinding.cpp: (WebKit::createWrapper): * bindings/js/JSClipboardCustom.cpp: (WebCore::JSClipboard::setDragImage): * bindings/js/JSElementCustom.cpp: (WebCore::toJSNewlyCreated): * bindings/js/JSNodeCustom.cpp: (WebCore::createWrapperInline): * bindings/v8/custom/V8ClipboardCustom.cpp: (WebCore::V8Clipboard::setDragImageMethodCustom): * bindings/v8/custom/V8ElementCustom.cpp: (WebCore::wrap): * bindings/v8/custom/V8NodeCustom.cpp: (WebCore::wrap): * dom/Document.cpp: (WebCore::Document::importNode): (WebCore::Document::recalcStyle): (WebCore::Document::setFocusedNode): (WebCore::Document::updateFocusAppearanceTimerFired): * dom/DocumentStyleSheetCollection.cpp: (WebCore::DocumentStyleSheetCollection::collectActiveStyleSheets): * dom/Element.cpp: (WebCore::Element::offsetParent): (WebCore::Element::boundsInRootViewSpace): (WebCore::Element::getBoundingClientRect): (WebCore::Element::recalcStyle): (WebCore::Element::computeInheritedLanguage): (WebCore::Element::lastElementChild): * dom/LiveNodeList.cpp: (WebCore::LiveNodeList::namedItem): * dom/Node.cpp: (WebCore::Node::dumpStatistics): (WebCore::Node::normalize): (WebCore::Node::rootEditableElement): (WebCore::Node::isDefaultNamespace): (WebCore::Node::ancestorElement): (WebCore::appendAttributeDesc): * dom/Position.cpp: (WebCore::Position::element): * dom/Range.cpp: (WebCore::Range::getBorderAndTextQuads): * dom/SelectorQuery.cpp: (WebCore::SelectorDataList::queryFirst): (WebCore::SelectorDataList::execute): * dom/ShadowRoot.cpp: (WebCore::ShadowRoot::recalcStyle): * dom/StaticHashSetNodeList.cpp: (WebCore::StaticHashSetNodeList::namedItem): * editing/ApplyStyleCommand.cpp: (WebCore::ApplyStyleCommand::splitAncestorsWithUnicodeBidi): (WebCore::ApplyStyleCommand::pushDownInlineStyleAroundNode): (WebCore::ApplyStyleCommand::mergeStartWithPreviousIfIdentical): (WebCore::ApplyStyleCommand::surroundNodeRangeWithElement): * editing/Editor.cpp: (WebCore::Editor::applyEditingStyleToBodyElement): * editing/FrameSelection.cpp: (WebCore::removingNodeRemovesPosition): * editing/IndentOutdentCommand.cpp: (WebCore::IndentOutdentCommand::outdentParagraph): * editing/MarkupAccumulator.cpp: (WebCore::MarkupAccumulator::entityMaskForText): (WebCore::MarkupAccumulator::appendStartMarkup): (WebCore::MarkupAccumulator::appendEndMarkup): * editing/ModifySelectionListLevel.cpp: (WebCore::IncreaseSelectionListLevelCommand::doApply): * editing/ReplaceSelectionCommand.cpp: (WebCore::haveSameTagName): (WebCore::handleStyleSpansBeforeInsertion): (WebCore::ReplaceSelectionCommand::doApply): * editing/SplitTextNodeContainingElementCommand.cpp: (WebCore::SplitTextNodeContainingElementCommand::doApply): * editing/TextIterator.cpp: (WebCore::TextIterator::advance): * editing/htmlediting.cpp: (WebCore::unsplittableElementForPosition): (WebCore::enclosingTableCell): * editing/markup.cpp: (WebCore::StyledMarkupAccumulator::wrapWithNode): (WebCore::createMarkupInternal): (WebCore::createFragmentFromMarkupWithContext): (WebCore::isPlainTextMarkup): (WebCore::createFragmentFromText): * html/HTMLElement.cpp: (WebCore::HTMLElement::insertAdjacentElement): (WebCore::contextElementForInsertion): * html/HTMLFormControlElement.cpp: (WebCore::focusPostAttach): (WebCore::updateFromElementCallback): * html/HTMLFormElement.cpp: (WebCore::submitElementFromEvent): * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::updateDocNamedItem): * html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::updateSnapshotInfo): * html/HTMLViewSourceDocument.cpp: (WebCore::HTMLViewSourceDocument::addRange): * html/parser/HTMLTreeBuilder.cpp: (WebCore::closestFormAncestor): * html/shadow/MediaControlElementTypes.cpp: (WebCore::toParentMediaElement): * html/shadow/TextFieldDecorationElement.h: (WebCore::toTextFieldDecorationElement): * inspector/DOMPatchSupport.cpp: (WebCore::DOMPatchSupport::createDigest): * inspector/InspectorDOMAgent.cpp: (WebCore::InspectorDOMAgent::buildObjectForNode): (WebCore::InspectorDOMAgent::didInvalidateStyleAttr): * inspector/InspectorStyleSheet.cpp: (WebCore::InspectorStyleSheet::inlineStyleSheetText): * mathml/MathMLElement.h: (WebCore::toMathMLElement): * page/ContextMenuController.cpp: (WebCore::ContextMenuController::populate): * page/DragController.cpp: (WebCore::elementUnderMouse): (WebCore::DragController::startDrag): * page/FocusController.cpp: (WebCore::FocusController::advanceFocusInDocumentOrder): * page/Frame.cpp: (WebCore::Frame::searchForLabelsBeforeElement): * page/FrameView.cpp: (WebCore::FrameView::updateWidget): * page/SpatialNavigation.cpp: (WebCore::rectToAbsoluteCoordinates): * page/animation/ImplicitAnimation.cpp: (WebCore::ImplicitAnimation::sendTransitionEvent): * page/animation/KeyframeAnimation.cpp: (WebCore::KeyframeAnimation::KeyframeAnimation): (WebCore::KeyframeAnimation::sendAnimationEvent): * platform/efl/RenderThemeEfl.cpp: (WebCore::RenderThemeEfl::paintMediaFullscreenButton): (WebCore::RenderThemeEfl::paintMediaMuteButton): * rendering/FilterEffectRenderer.cpp: (WebCore::FilterEffectRenderer::buildReferenceFilter): * rendering/svg/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::calcViewport): * svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::getElementById): * svg/SVGUseElement.cpp: (WebCore::isDisallowedElement): * svg/animation/SVGSMILElement.cpp: (WebCore::SVGSMILElement::buildPendingResource): * xml/XPathStep.cpp: (WebCore::XPath::nodeMatchesBasicTest): * xml/parser/XMLDocumentParserQt.cpp: (WebCore::XMLDocumentParser::XMLDocumentParser): (WebCore::XMLDocumentParser::parseEndElement): Source/WebKit/blackberry: * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::webContext): (BlackBerry::WebKit::WebPagePrivate::handleMouseEvent): (BlackBerry::WebKit::WebPage::setNodeFocus): (BlackBerry::WebKit::WebPagePrivate::adjustFullScreenElementDimensionsIfNeeded): * WebCoreSupport/EditorClientBlackBerry.cpp: (WebCore::EditorClientBlackBerry::shouldSpellCheckFocusedField): (WebCore::EditorClientBlackBerry::shouldChangeSelectedRange): * WebKitSupport/BackingStoreClient.cpp: (BlackBerry::WebKit::BackingStoreClient::absoluteRect): * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::toTextControlElement): (BlackBerry::WebKit::DOMSupport::selectionContainerElement): * WebKitSupport/FatFingers.cpp: (BlackBerry::WebKit::FatFingers::getRelevantInfoFromCachedHitTest): (BlackBerry::WebKit::FatFingers::setSuccessfulFatFingersResult): * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::focusedNodeChanged): (BlackBerry::WebKit::InputHandler::willOpenPopupForNode): * WebKitSupport/SelectionHandler.cpp: (BlackBerry::WebKit::SelectionHandler::inputNodeOverridesTouch): * WebKitSupport/TouchEventHandler.cpp: (BlackBerry::WebKit::elementForTapHighlight): Source/WebKit/chromium: * src/WebDocument.cpp: (WebKit::WebDocument::images): * src/WebElement.cpp: (WebKit::WebElement::operator PassRefPtr<Element>): * src/WebPageSerializer.cpp: (WebCore::retrieveResourcesForFrame): * src/WebViewImpl.cpp: (WebKit::WebViewImpl::setFocus): (WebKit::WebViewImpl::clearFocusedNode): (WebKit::WebViewImpl::scrollFocusedNodeIntoView): (WebKit::WebViewImpl::scrollFocusedNodeIntoRect): Source/WebKit/gtk: * webkit/webkitwebview.cpp: (webkit_web_view_query_tooltip): Source/WebKit/mac: * WebCoreSupport/WebFrameLoaderClient.mm: (applyAppleDictionaryApplicationQuirkNonInlinePart): * WebView/WebHTMLRepresentation.mm: (searchForLabelsBeforeElement): Source/WebKit/qt: * Api/qwebelement.cpp: (QWebElement::firstChild): (QWebElement::lastChild): (QWebElement::nextSibling): (QWebElement::previousSibling): (QWebElementCollection::at): (QWebElementCollection::toList): * WebCoreSupport/QWebFrameAdapter.cpp: (QWebHitTestResultPrivate::elementForInnerNode): Source/WebKit/win: * WebView.cpp: (WebView::enterFullscreenForNode): Source/WebKit2: * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp: (WebKit::InjectedBundleNodeHandle::elementBounds): * WebProcess/WebPage/WebFrame.cpp: (WebKit::WebFrame::containsAnyFormElements): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145818 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Mar, 2013 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=112131 Patch by Alberto Garcia <agarcia@igalia.com> on 2013-03-12 Reviewed by Carlos Garcia Campos. This file was renamed to VisibleUnits.h in r144911. * WebKitSupport/DOMSupport.cpp: * WebKitSupport/InputHandler.cpp: * WebKitSupport/SelectionHandler.cpp: * WebKitSupport/SpellingHandler.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@145529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Feb, 2013 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=110467 Patch by Xan Lopez <xlopez@rim.com> on 2013-02-22 Reviewed by Antonio Gomes. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::visibleTextQuads): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143697 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Feb, 2013 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=110235 Patch by Yongxin Dai <yodai@rim.com> on 2013-02-20 Reviewed by Yong Li. PR #257207. Read "data-blackberry-text-selection-handle-position" attribute from element and pass it along with notifySelectionDetailsChanged(). If "data-blackberry-text-selection-handle-position" attribute is specified in the element, the selection handle is always flipped to the required position. along with selected text within element. Reviewed Internally by Mike Fenton. * Api/WebPageClient.h: * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::selectionContainerElement): (DOMSupport): (BlackBerry::WebKit::DOMSupport::elementHandlePositionAttribute): * WebKitSupport/DOMSupport.h: * WebKitSupport/SelectionHandler.cpp: (BlackBerry::WebKit::SelectionHandler::requestedSelectionHandlePosition): (WebKit): (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged): * WebKitSupport/SelectionHandler.h: (SelectionHandler): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143461 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Feb, 2013 1 commit
-
-
nghanavatian@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=110253 Reviewed by Rob Buis. PR286001 Since we traverse through text by visual lines instead of blocks, word wrapping causes some bad behavior. Changing the way we traverse text to jump by words instead of lines. This will mean it takes longer to finish spellchecking, but the removal of any loops allows webkit processing to continue. This gives priority to user actions while still completing a large paragraph in a reasonable amount of time. Internally reviewed by Mike Fenton * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::requestCheckingOfString): * WebKitSupport/SpellingHandler.cpp: (BlackBerry::WebKit::SpellingHandler::createSpellCheckRequest): (BlackBerry::WebKit::SpellingHandler::parseBlockForSpellChecking): (BlackBerry::WebKit::SpellingHandler::getRangeForSpellCheckWithFineGranularity): (BlackBerry::WebKit::SpellingHandler::startOfNextWord): (WebKit): (BlackBerry::WebKit::SpellingHandler::incrementByWord): (BlackBerry::WebKit::SpellingHandler::doesWordWrap): * WebKitSupport/SpellingHandler.h: (SpellingHandler): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@143391 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 24 Jan, 2013 1 commit
-
-
nghanavatian@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=107842 Reviewed by Rob Buis. If we have an empty range or one with all spaces, we can simply return 0 instead of still creating a range. Putting in a null check after trimming to catch this case which was causing the crash in some DRT tests. Internally reviewed by Mike Fenton. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::trimWhitespaceFromRange): * WebKitSupport/SpellingHandler.cpp: (BlackBerry::WebKit::SpellingHandler::createSpellCheckRequest): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140708 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 23 Jan, 2013 1 commit
-
-
nghanavatian@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=107707 Reviewed by Rob Buis. PR233604 Instead of taking chunks one line at a time, coalesce them together to fire off messages as close to our character limit as possible. This should dramatically reduce the total number of messages in email giving us a little performance bump. Internally reviewed by Mike Fenton and Gen Mak. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::trimWhitespaceFromRange): (DOMSupport): * WebKitSupport/DOMSupport.h: * WebKitSupport/InputHandler.cpp: * WebKitSupport/InputHandler.h: (InputHandler): * WebKitSupport/SpellingHandler.cpp: (BlackBerry::WebKit::SpellingHandler::spellCheckTextBlock): (BlackBerry::WebKit::SpellingHandler::createSpellCheckRequest): (BlackBerry::WebKit::SpellingHandler::parseBlockForSpellChecking): (BlackBerry::WebKit::SpellingHandler::getRangeForSpellCheckWithFineGranularity): * WebKitSupport/SpellingHandler.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140562 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 18 Jan, 2013 1 commit
-
-
nghanavatian@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=107169 Reviewed by Rob Buis. PR265815 We set this value based on the global settings page. The spellcheck-on-focus codepath did not hit this, so focusing a field would not uphold the setting. Internally reviewed by Mike Fenton and Gen Mak. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::elementHasContinuousSpellCheckingEnabled): (DOMSupport): * WebKitSupport/DOMSupport.h: * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@140161 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Dec, 2012 2 commits
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=105198 Reviewed by Rob Buis. PR 258038. Improve closest word matching by giving preference to the left when distances are equal. Also enforce container matching to avoid selecting the paragraph marker if a CE div is followed immediately by a CE paragraph. Minor refactor - don't calculate the distance if the selection isn't on a word. Reviewed Internally by Gen Mak and Nima Ghanavatian. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::visibleSelectionForClosestActualWordStart): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137931 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=105129 Patch by Anthony Scian <ascian@rim.com> on 2012-12-17 Reviewed by Rob Buis. Source/WebCore: - alloca can return NULL, recoded to just use a temp var * plugins/blackberry/PluginViewBlackBerry.cpp: (WebCore::PluginView::updateBuffer): Source/WebKit/blackberry: - disable copy/op= in BackingStore - cache and check intermediate values in parentLayer - disable copy/op= in InRegionScroller - disable copy/op= in WebPageGroupLoadDeferrer - disable copy/op= in WebSettings - disable copy/op= in WebViewportArguments - disable copy/op= in BackingStoreClient - disable copy/op= in TileBuffer - if stopNode is not NULL, loop could iterate past NULL; added NULL check to loop to make the code more robust * Api/BackingStore.h: * Api/InRegionScroller.cpp: (BlackBerry::WebKit::InRegionScrollerPrivate::calculateInRegionScrollableAreasForPoint): (BlackBerry::WebKit::parentLayer): * Api/InRegionScroller.h: * Api/WebPageGroupLoadDeferrer.h: * Api/WebSettings.h: * Api/WebViewportArguments.h: * WebKitSupport/BackingStoreClient.h: (BackingStoreClient): * WebKitSupport/BackingStoreTile.h: (TileBuffer): * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::visibleTextQuads): Tools: Added null checks for fopen calls, no recovery attempted; access fault prevention only. * DumpRenderTree/blackberry/DumpRenderTree.cpp: (BlackBerry::WebKit::createFile): (BlackBerry::WebKit::DumpRenderTree::runTest): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137908 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Dec, 2012 1 commit
-
-
mifenton@rim.com authored
[BlackBerry] Fix word matching algorithm to account for adjacent divs with no whitespace between them. https://bugs.webkit.org/show_bug.cgi?id=104837 Reviewed by Rob Buis. PR 258038. Fix selection at the end of content editable text block. The next character may be in the next block bypassing the distance comparison logic we have, remove the check for next character being whitespace Reviewed Internally by Nima Ghanavatian. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::visibleSelectionForClosestActualWordStart): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@137513 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 21 Nov, 2012 1 commit
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=102962 Reviewed by Rob Buis. PR 247270. Switch from using VisiblePosition to determine if we are in a node to a comparison of the field bounds. This fixes the case where there is no node before the target node to match. Reviewed Internally by Gen Mak. * WebKitSupport/DOMSupport.cpp: * WebKitSupport/DOMSupport.h: * WebKitSupport/SelectionHandler.cpp: (BlackBerry::WebKit::SelectionHandler::setCaretPosition): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@135422 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Oct, 2012 1 commit
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=99833 Reviewed by Antonio Gomes. PR 195024. Don't attempt to scroll fixed position elements. Reviewed Internally by Arvid Nilsson. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isFixedPositionOrHasFixedPositionAncestor): (DOMSupport): * WebKitSupport/DOMSupport.h: (WebCore): * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::ensureFocusTextElementVisible): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131912 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Oct, 2012 1 commit
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=98926 Reviewed by Rob Buis. PR 220628. Guard against detached nodes when generating selection rect. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::visibleTextQuads): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 Sep, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=97575 Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-09-25 Reviewed by Rob Buis. PR211670 Need specific handling in the case where we have multiple consecutive whitespaces which exceeds our character limit. This breaks some of the functionality employed with the visible_units methods used here to tranverse the text. Internally reviewed by Mike Fenton. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::trimWhitespaceFromRange): (DOMSupport): (BlackBerry::WebKit::DOMSupport::isEmptyRangeOrAllSpaces): * WebKitSupport/DOMSupport.h: (WebCore): * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::spellCheckBlock): (BlackBerry::WebKit::InputHandler::getRangeForSpellCheckWithFineGranularity): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Sep, 2012 1 commit
-
-
rwlbuis@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96926 Reviewed by Antonio Gomes. This code is slightly out of date and so will not compile, fix it. * WebCoreSupport/BatteryClientBlackBerry.cpp: (WebCore::BatteryClientBlackBerry::BatteryClientBlackBerry): * WebCoreSupport/BatteryClientBlackBerry.h: (WebKit): * WebCoreSupport/CredentialTransformData.h: * WebCoreSupport/DeviceOrientationClientBlackBerry.cpp: (DeviceOrientationClientBlackBerry::onOrientation): * WebCoreSupport/InspectorClientBlackBerry.h: * WebCoreSupport/PagePopupBlackBerry.cpp: * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isDateTimeInputField): (BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement): * WebKitSupport/DumpRenderTreeSupport.cpp: (DumpRenderTreeSupport::numberOfPendingGeolocationPermissionRequests): * WebKitSupport/InPageSearchManager.cpp: (BlackBerry::WebKit::InPageSearchManager::scopeStringMatches): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128767 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 10 Sep, 2012 1 commit
-
-
commit-queue@webkit.org authored
because not all webworks apps are blackberry apps. https://bugs.webkit.org/show_bug.cgi?id=96297 Patch by Genevieve Mak <gmak@rim.com> on 2012-09-10 Reviewed by Antonio Gomes. PR #193726 Rubber Stamped interally by Mike Fenton. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::webWorksContext): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@128106 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 06 Sep, 2012 1 commit
-
-
commit-queue@webkit.org authored
getting context. https://bugs.webkit.org/show_bug.cgi?id=95993 Patch by Genevieve Mak <gmak@rim.com> on 2012-09-06 Reviewed by Antonio Gomes. PR #193726 Reviewed Internally by Mike Fenton. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::webContext): - Check for custom WebWorks context and add it if there. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::webWorksContext): (DOMSupport): * WebKitSupport/DOMSupport.h: - Add a method that checks a given element for the data-webworks-context attribute and returns its value if present. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127782 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 29 Aug, 2012 1 commit
-
-
rwlbuis@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=95368 Reviewed by Yong Li. Switch to #include <wtf/...> like the other ports. Source/WebCore: * platform/graphics/blackberry/LayerFilterRenderer.h: Source/WebKit/blackberry: * Api/BlackBerryGlobal.cpp: * Api/WebPage.cpp: * WebCoreSupport/ChromeClientBlackBerry.cpp: * WebCoreSupport/GeolocationControllerClientBlackBerry.h: * WebCoreSupport/SelectPopupClient.h: * WebKitSupport/AboutData.cpp: * WebKitSupport/DOMSupport.cpp: * WebKitSupport/GLES2Context.cpp: * WebKitSupport/InPageSearchManager.h: * WebKitSupport/InputHandler.cpp: Tools: * DumpRenderTree/blackberry/DumpRenderTree.cpp: * DumpRenderTree/blackberry/PNGImageEncoder.cpp: * DumpRenderTree/blackberry/PNGImageEncoder.h: * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.cpp: * DumpRenderTree/blackberry/PixelDumpSupportBlackBerry.h: * DumpRenderTree/blackberry/WorkQueueItemBlackBerry.cpp: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@127040 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 14 Aug, 2012 3 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=93866 Patch by Nima Ghanavatian <nghanavatian@rim.com> on 2012-08-14 Reviewed by Rob Buis. PR184196 Making spellcheck a little more granular so as to work around the limitations of the inputservice. Also, spellcheck the entire field on focus only if spellcheck="on" is explicitly set. Internally reviewed by Mike Fenton. * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::requestCheckingOfString): (BlackBerry::WebKit::InputHandler::spellCheckingRequestProcessed): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125598 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mifenton@rim.com authored
[BlackBerry] Use Form helper functions to determine state in DOMSupport::isTextBasedContentEditableElement https://bugs.webkit.org/show_bug.cgi?id=93992 Reviewed by Antonio Gomes. Use form control helper functions to determine the editable state of the input field. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125588 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=93994 Reviewed by Antonio Gomes. Regex comparison should use string instead of char comparison. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::elementPatternMatches): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@125584 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Jul, 2012 1 commit
-
-
yosin@chromium.org authored
https://bugs.webkit.org/show_bug.cgi?id=92612 Reviewed by Kent Tamura. Source/WebCore: This patch replaces Element::isReadOnlyFormControl() not related to CSS selector matching to HTMLFormControlElement::readOnly() for preparation of introducing Element::shouldMatchReadWriteSelector(), bug 92602. No new tests. This patch doesn't change behavior. * html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::defaultEventHandler): Changed isReadOnlyFormControl() to readOnly(). * html/shadow/TextControlInnerElements.cpp: (WebCore::SearchFieldCancelButtonElement::defaultEventHandler): Changed isReadOnlyFormControl() to readOnly(). (WebCore::SpinButtonElement::defaultEventHandler): ditto. (WebCore::SpinButtonElement::step): ditto. (WebCore::InputFieldSpeechButtonElement::defaultEventHandler): ditto. (WebCore::InputFieldSpeechButtonElement::setRecognitionResult): ditto. * rendering/RenderTextControl.cpp: (updateUserModifyProperty): Changed isReadOnlyFormControl() to readOnly(). * rendering/RenderThemeMac.mm: (WebCore::RenderThemeMac::paintSearchFieldCancelButton): Changed isReadOnlyFormControl() to readOnly(). Source/WebKit/blackberry: This patch replaces Element::isReadOnlyFormControl() to HTMLFormControlElement::readOnly() for preparation of introducing Element::shouldMatchReadWriteSelector(), bug 92602. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement): Replaced isReadOnlyFormControl() by HTMLTextFormControlElement::readOnly(). git-svn-id: http://svn.webkit.org/repository/webkit/trunk@124146 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 25 Jun, 2012 1 commit
-
-
rwlbuis@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=89876 Reviewed by Yong Li. After bug 58837 got in, children of <fieldset> now can inherit the disabled state of the fieldset. When trying for instance fast/forms/fieldset/fieldset-disabled.html, it can be seen that when they are visually disabled, the input handling can still be triggered. So add an extra check to isTextBasedContentEditableElement that the element is enabled. Reviewed internally by Mike Fenton. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isTextBasedContentEditableElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@121155 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Apr, 2012 1 commit
-
-
benjamin@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=85154 Reviewed by Darin Adler. Source/WebCore: Update WebCore to use the simpler startsWith() and endsWith() taking a UChar. * css/CSSParser.cpp: (WebCore::CSSParser::markPropertyEnd): * css/WebKitCSSKeyframeRule.cpp: (WebCore::StyleKeyframe::parseKeyString): * editing/markup.cpp: (WebCore::createFragmentFromText): * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::addSubresourceAttributeURLs): * html/HTMLTextFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::setInnerTextValue): * inspector/ContentSearchUtils.cpp: (WebCore::ContentSearchUtils::getRegularExpressionMatchesByLines): * inspector/InspectorCSSAgent.cpp: (WebCore::InspectorCSSAgent::SetPropertyTextAction::redo): * loader/MainResourceLoader.cpp: (WebCore::MainResourceLoader::substituteMIMETypeFromPluginDatabase): * loader/appcache/ManifestParser.cpp: (WebCore::parseManifest): * platform/blackberry/CookieManager.cpp: (WebCore::CookieManager::shouldRejectForSecurityReason): * platform/posix/FileSystemPOSIX.cpp: (WebCore::pathByAppendingComponent): * plugins/PluginDatabase.cpp: (WebCore::PluginDatabase::findPlugin): * svg/SVGStopElement.cpp: (WebCore::SVGStopElement::parseAttribute): * svg/animation/SVGSMILElement.cpp: (WebCore::SVGSMILElement::parseOffsetValue): (WebCore::SVGSMILElement::parseCondition): Source/WebKit/blackberry: * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::elementPatternMatches): Source/WebKit2: Update WebKit2 to use String::endsWith(UChar). * UIProcess/Plugins/PluginInfoStore.cpp: (WebKit::pathExtension): Source/WTF: When invoking StringImpl::startsWidth() or StringImpl::endsWith() with a string literal, a new String was constructed implicitly, allocating a new StringImpl and copying the characters for the operation. This patch adds a version of those methods for single characters and string literals. This allows us to avoid allocating memory and use the characters in place, and it permits some extra shortcuts in the implementation. * wtf/text/AtomicString.h: (WTF::AtomicString::startsWith): (AtomicString): (WTF::AtomicString::endsWith): * wtf/text/StringImpl.cpp: (WTF::equalInner): (WTF): (WTF::StringImpl::startsWith): (WTF::StringImpl::endsWith): * wtf/text/StringImpl.h: (WTF::StringImpl::startsWith): (StringImpl): (WTF::StringImpl::endsWith): * wtf/text/WTFString.h: (WTF::String::startsWith): (String): (WTF::String::endsWith): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@115669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 17 Apr, 2012 1 commit
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=84152 Reviewed by Antonio Gomes. PR 148906. Add pattern matching for number based on [0-9] to trigger input help matching number fields. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::elementPatternIndicatesNumber): (DOMSupport): (BlackBerry::WebKit::DOMSupport::elementPatternIndicatesHexadecimal): (BlackBerry::WebKit::DOMSupport::elementPatternMatches): * WebKitSupport/DOMSupport.h: * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::convertInputType): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@114380 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 12 Apr, 2012 1 commit
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=83779 Reviewed by Rob Buis. Update pattern matching check to allow wildcard for number of characters allowed. PR 148907. Reviewed Internally by Gen Mak. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::elementPatternIndicatesHexadecimal): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@113980 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 30 Mar, 2012 2 commits
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=82766 Reviewed by Rob Buis. PR 136593. Refactor generation of Selection IntRectRegion to avoid the need for IntRectRegion's helper functions which were not available when using it as a container without unioning the rects. This greatly speeds up rendering by maintaining the distinct rects as the union operation was length with large numbers of rects. Reviewed Internally by Gen Mak, Mike Lattanzio and Tyler Abbott. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::visibleTextQuads): (DOMSupport): * WebKitSupport/DOMSupport.h: * WebKitSupport/SelectionHandler.cpp: (BlackBerry::WebKit::SelectionHandler::clippingRectForVisibleContent): (BlackBerry::WebKit::SelectionHandler::regionForTextQuads): (BlackBerry::WebKit::SelectionHandler::setSelection): (WebKit): (BlackBerry::WebKit::regionRectListContainsPoint): (BlackBerry::WebKit::SelectionHandler::selectionPositionChanged): (BlackBerry::WebKit::SelectionHandler::caretPositionChanged): * WebKitSupport/SelectionHandler.h: (WebCore): (SelectionHandler): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
keishi@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=80972 Reviewed by Kent Tamura. .: * Source/cmake/OptionsBlackBerry.cmake: * configure.ac: Source/JavaScriptCore: * Configurations/FeatureDefines.xcconfig: Source/WebCore: * CMakeLists.txt: * Configurations/FeatureDefines.xcconfig: * GNUmakefile.am: * WebCore.exp.in: * css/html.css: * html/ColorInputType.cpp: * html/ColorInputType.h: * html/HTMLInputElement.cpp: (WebCore): * html/HTMLInputElement.h: (HTMLInputElement): * html/InputType.cpp: (WebCore::createInputTypeFactoryMap): (WebCore): (InputTypeNames): * html/InputType.h: (InputType): (InputTypeNames): * loader/EmptyClients.h: (EmptyChromeClient): * page/Chrome.cpp: (WebCore): * page/Chrome.h: (WebCore): (Chrome): * page/ChromeClient.h: (WebCore): (ChromeClient): * platform/ColorChooser.h: * platform/ColorChooserClient.h: * testing/InternalSettings.cpp: * testing/Internals.cpp: (WebCore): * testing/Internals.h: (Internals): * testing/Internals.idl: Source/WebKit/blackberry: * WebCoreSupport/AboutDataEnableFeatures.in: * WebCoreSupport/ChromeClientBlackBerry.h: (ChromeClientBlackBerry): * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isColorInputField): * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::convertInputType): Source/WebKit/chromium: * features.gypi: * src/ChromeClientImpl.cpp: (WebKit): * src/ChromeClientImpl.h: (WebCore): (ChromeClientImpl): * src/ColorChooserProxy.cpp: * src/ColorChooserProxy.h: * src/WebColorChooserClientImpl.cpp: * src/WebColorChooserClientImpl.h: Source/WebKit/mac: * Configurations/FeatureDefines.xcconfig: Source/WebKit2: * Configurations/FeatureDefines.xcconfig: Tools: * Scripts/build-webkit: * qmake/mkspecs/features/features.prf: WebKitLibraries: * win/tools/vsprops/FeatureDefines.vsprops: * win/tools/vsprops/FeatureDefinesCairo.vsprops: LayoutTests: * platform/efl/Skipped: * platform/qt/Skipped: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112658 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 22 Mar, 2012 3 commits
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=81944 Reviewed by Rob Buis. PR 98504. Add mapping of patterns matching hexadecimal input to a specialized type and provide input styling based on that format. Reviewed Internally by Gen Mak. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::elementPatternIndicatesHexadecimal): (DOMSupport): * WebKitSupport/DOMSupport.h: * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::convertInputType): (BlackBerry::WebKit::inputStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=81929 Reviewed by Rob Buis. Make suggested style clean up and move int offset = 0 directly above is actual usage. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isPositionInNode): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111757 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=81929 Reviewed by Rob Buis. Add early returns in isPositionInNode when either node or the position node is null. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::isPositionInNode): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111726 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 20 Mar, 2012 1 commit
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=81654 Reviewed by Rob Buis. PR 144505. The position did not have a valid container node and was causing a crash. Validate the node pointer before using it. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::DOMContainerNodeForPosition): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111390 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 19 Mar, 2012 1 commit
-
-
mifenton@rim.com authored
https://bugs.webkit.org/show_bug.cgi?id=81364 Reviewed by Rob Buis. Be less aggressive on matching url, and update as suggested by Rob. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::matchesReservedStringUrl): * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::inputStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111206 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 16 Mar, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=81364 Patch by Mike Fenton <mifenton@rim.com> on 2012-03-16 Reviewed by Rob Buis. Treat fields that have name/id's that match url or email as url or email fields providing the appropriate keyboard. PR 137259. Reviewed Internally by Gen Mak and Nima Ghanavatian. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::matchesReservedStringEmail): (DOMSupport): (BlackBerry::WebKit::DOMSupport::matchesReservedStringUrl): (BlackBerry::WebKit::DOMSupport::elementIdOrNameIndicatesEmail): (BlackBerry::WebKit::DOMSupport::elementIdOrNameIndicatesUrl): (BlackBerry::WebKit::DOMSupport::matchesReservedStringPreventingAutocomplete): * WebKitSupport/DOMSupport.h: (WebCore): * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::convertInputType): (BlackBerry::WebKit::inputStyle): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@111037 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 05 Mar, 2012 1 commit
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=80274 Patch by George Staikos <gstaikos@rim.com> on 2012-03-05 Reviewed by Antonio Gomes. A null range can be returned so we should not blindly deref it. Reviewed Internally by Mike Fenton. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::visibleSelectionForRangeInputElement): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109747 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
- 01 Mar, 2012 2 commits
-
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=79820 Patch by Andy Chen <andchen@rim.com> on 2012-03-01 Reviewed by Antonio Gomes. - Make it be able to search text around the whole page instead of single frame. - Make it be able to start new search from active selection and last active match. No new tests as this patch doesn't change behavior. * Api/WebPage.cpp: (BlackBerry::WebKit::WebPagePrivate::frameUnloaded): * Api/WebPage_p.h: * WebCoreSupport/FrameLoaderClientBlackBerry.cpp: (WebCore::FrameLoaderClientBlackBerry::dispatchWillClose): (WebCore::FrameLoaderClientBlackBerry::detachedFromParent2): * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::incrementFrame): * WebKitSupport/DOMSupport.h: * WebKitSupport/InPageSearchManager.cpp: (BlackBerry::WebKit::InPageSearchManager::findNextString): (BlackBerry::WebKit::InPageSearchManager::shouldSearchForText): (BlackBerry::WebKit::InPageSearchManager::findAndMarkText): (BlackBerry::WebKit::InPageSearchManager::setMarkerActive): (BlackBerry::WebKit::InPageSearchManager::frameUnloaded): * WebKitSupport/InPageSearchManager.h: * WebKitSupport/InputHandler.cpp: (BlackBerry::WebKit::InputHandler::frameUnloaded): * WebKitSupport/InputHandler.h: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109506 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=79929 Patch by Mike Fenton <mifenton@rim.com> on 2012-03-01 Reviewed by Antonio Gomes. Add local static Qualified name for autocorrect attribute. * WebKitSupport/DOMSupport.cpp: (BlackBerry::WebKit::DOMSupport::elementSupportsAutocorrect): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@109430 268f45cc-cd09-0410-ab3c-d52691b4dbfc
-