-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt dynamicDowncast<>() more in html/
https://bugs.webkit.org/show_bug.cgi?id=265174 Reviewed by Jean-Yves Avenard and Tim Nguyen. * Source/WebCore/html/HTMLElement.h: (WebCore::Node::hasTagName const): (isType): * Source/WebCore/html/HTMLEmbedElement.cpp: (WebCore::findWidgetRenderer): (WebCore::HTMLEmbedElement::rendererIsNeeded): * Source/WebCore/html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::autofillMantle const): * Source/WebCore/html/HTMLFormControlElement.h: (isType): * Source/WebCore/html/HTMLFormElement.cpp: (WebCore::HTMLFormElement::submitImplicitly): (WebCore::HTMLFormElement::textFieldValues const): (WebCore::HTMLFormElement::findSubmitButton): (WebCore::HTMLFormElement::registerFormListedElement): (WebCore::HTMLFormElement::findSubmitter const): (WebCore::HTMLFormElement::defaultButton const): (WebCore::HTMLFormElement::constructEntryList): * Source/WebCore/html/HTMLFrameElementBase.h: (isType): * Source/WebCore/html/HTMLFrameOwnerElement.cpp: (WebCore::HTMLFrameOwnerElement::renderWidget const): * Source/WebCore/html/HTMLFrameSetElement.cpp: (WebCore::HTMLFrameSetElement::namedItem): * Source/WebCore/html/HTMLImageElement.cpp: (WebCore::HTMLImageElement::setBestFitURLAndDPRFromImageCandidate): (WebCore::HTMLImageElement::bestFitSourceFromPictureElement): (WebCore::HTMLImageElement::attributeChanged): (WebCore::HTMLImageElement::didAttachRenderers): (WebCore::HTMLImageElement::insertedIntoAncestor): (WebCore::HTMLImageElement::isSystemPreviewImage const): (WebCore::HTMLImageElement::cloneElementWithoutAttributesAndChildren): * Source/WebCore/html/HTMLImageLoader.cpp: (WebCore::HTMLImageLoader::notifyFinished): * Source/WebCore/html/HTMLInputElement.cpp: (WebCore::HTMLInputElement::willDispatchEvent): * Source/WebCore/html/HTMLLIElement.cpp: (WebCore::HTMLLIElement::didAttachRenderers): * Source/WebCore/html/HTMLLabelElement.cpp: (WebCore::HTMLLabelElement::isEventTargetedAtInteractiveDescendants const): (WebCore::HTMLLabelElement::defaultEventHandler): * Source/WebCore/html/HTMLLegendElement.cpp: (WebCore::HTMLLegendElement::form const): * Source/WebCore/html/HTMLMaybeFormAssociatedCustomElement.h: (isType): * Source/WebCore/html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::bestMediaElementForRemoteControls): (WebCore::HTMLMediaElement::updateActiveTextTrackCues): (WebCore::HTMLMediaElement::textTrackRemoveCue): (WebCore::HTMLMediaElement::setReadyState): (WebCore::HTMLMediaElement::mediaPlayerSizeChanged): (WebCore::HTMLMediaElement::mediaPlayerRenderingCanBeAccelerated): (WebCore::HTMLMediaElement::enterFullscreen): (WebCore::HTMLMediaElement::exitFullscreen): (WebCore::HTMLMediaElement::willBecomeFullscreenElement): (WebCore::HTMLMediaElement::mediaState const): (WebCore::HTMLMediaElement::isVideoTooSmallForInlinePlayback): * Source/WebCore/html/HTMLMediaElement.h: (isType): * Source/WebCore/html/HTMLMeterElement.cpp: (WebCore::HTMLMeterElement::renderMeter const): * Source/WebCore/html/HTMLNameCollection.cpp: (WebCore::isObjectElementForDocumentNameCollection): * Source/WebCore/html/HTMLObjectElement.cpp: (WebCore::preventsParentObjectFromExposure): (WebCore::HTMLObjectElement::updateExposedState): * Source/WebCore/html/HTMLOptionElement.cpp: (WebCore::HTMLOptionElement::ownerSelectElement const): (WebCore::HTMLOptionElement::isDisabledFormControl const): (WebCore::HTMLOptionElement::collectOptionInnerText const): * Source/WebCore/html/HTMLPictureElement.cpp: (WebCore::HTMLPictureElement::isSystemPreviewImage): * Source/WebCore/html/HTMLPlugInElement.cpp: (WebCore::HTMLPlugInElement::defaultEventHandler): (WebCore::HTMLPlugInElement::supportsFocus const): (WebCore::HTMLPlugInElement::setReplacement): (WebCore::HTMLPlugInElement::isReplacementObscured): * Source/WebCore/html/HTMLPlugInImageElement.cpp: (WebCore::HTMLPlugInImageElement::didAttachRenderers): * Source/WebCore/html/HTMLPlugInImageElement.h: (isType): * Source/WebCore/html/HTMLProgressElement.cpp: (WebCore::HTMLProgressElement::renderProgress const): * Source/WebCore/html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::optionToSelectFromChildChangeScope): (WebCore::HTMLSelectElement::setLength): (WebCore::HTMLSelectElement::nextSelectableListIndexPageAway const): (WebCore::HTMLSelectElement::saveLastSelection): (WebCore::HTMLSelectElement::setActiveSelectionAnchorIndex): (WebCore::HTMLSelectElement::updateListBoxSelection): (WebCore::HTMLSelectElement::listBoxOnChange): (WebCore::HTMLSelectElement::scrollToSelection): (WebCore::HTMLSelectElement::setOptionsChangedOnRenderer): (WebCore::HTMLSelectElement::recalcListItems const): (WebCore::HTMLSelectElement::selectedIndex const): (WebCore::HTMLSelectElement::selectOption): (WebCore::HTMLSelectElement::deselectItemsWithoutValidation): (WebCore::HTMLSelectElement::saveFormControlState const): (WebCore::HTMLSelectElement::searchOptionsForValue const): (WebCore::HTMLSelectElement::restoreFormControlState): (WebCore::HTMLSelectElement::appendFormData): (WebCore::HTMLSelectElement::reset): (WebCore::HTMLSelectElement::platformHandleKeydownEvent): (WebCore::HTMLSelectElement::menuListDefaultEventHandler): (WebCore::HTMLSelectElement::updateSelectedState): (WebCore::HTMLSelectElement::listBoxDefaultEventHandler): (WebCore::HTMLSelectElement::defaultEventHandler): (WebCore::HTMLSelectElement::lastSelectedListIndex const): (WebCore::HTMLSelectElement::optionAtIndex const): (WebCore::HTMLSelectElement::accessKeySetSelectedIndex): Canonical link: https://commits.webkit.org/271033@main
- Loading branch information
Showing
27 changed files
with
365 additions
and
345 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.