element 279 Source/bindings/v8/CustomElementConstructorBuilder.cpp RefPtr<Element> element = document->createElementNS(namespaceURI, tagName, maybeType->IsNull() ? nullAtom : type, exceptionState); element 282 Source/bindings/v8/CustomElementConstructorBuilder.cpp v8SetReturnValueFast(info, element.release(), document); element 52 Source/bindings/v8/CustomElementWrapper.cpp v8::Handle<v8::Object> createDirectWrapper<HTMLElement>(HTMLElement* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) element 54 Source/bindings/v8/CustomElementWrapper.cpp return createV8HTMLDirectWrapper(element, creationContext, isolate); element 58 Source/bindings/v8/CustomElementWrapper.cpp v8::Handle<v8::Object> createDirectWrapper<SVGElement>(SVGElement* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) element 60 Source/bindings/v8/CustomElementWrapper.cpp return createV8SVGDirectWrapper(element, creationContext, isolate); element 67 Source/bindings/v8/CustomElementWrapper.cpp v8::Handle<v8::Object> createFallbackWrapper<HTMLElement>(HTMLElement* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) element 69 Source/bindings/v8/CustomElementWrapper.cpp return createV8HTMLFallbackWrapper(toHTMLUnknownElement(element), creationContext, isolate); element 73 Source/bindings/v8/CustomElementWrapper.cpp v8::Handle<v8::Object> createFallbackWrapper<SVGElement>(SVGElement* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate) element 75 Source/bindings/v8/CustomElementWrapper.cpp return createV8SVGFallbackWrapper(element, creationContext, isolate); element 79 Source/bindings/v8/CustomElementWrapper.cpp v8::Handle<v8::Object> createUpgradeCandidateWrapper(ElementType* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate, v8::Handle<v8::Object> (*createSpecificWrapper)(ElementType* element, v8::Handle<v8::Object> creationContext, v8::Isolate*)) element 81 Source/bindings/v8/CustomElementWrapper.cpp if (CustomElement::isValidName(element->localName())) element 82 Source/bindings/v8/CustomElementWrapper.cpp return createDirectWrapper(element, creationContext, isolate); element 84 Source/bindings/v8/CustomElementWrapper.cpp return createSpecificWrapper(element, creationContext, isolate); element 85 Source/bindings/v8/CustomElementWrapper.cpp return createFallbackWrapper(element, creationContext, isolate); element 89 Source/bindings/v8/CustomElementWrapper.cpp v8::Handle<v8::Object> CustomElementWrapper<ElementType, WrapperType>::wrap(PassRefPtr<ElementType> element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate, v8::Handle<v8::Object> (*createSpecificWrapper)(ElementType* element, v8::Handle<v8::Object> creationContext, v8::Isolate*)) element 91 Source/bindings/v8/CustomElementWrapper.cpp ASSERT(DOMDataStore::getWrapper<V8Element>(element.get(), isolate).IsEmpty()); element 98 Source/bindings/v8/CustomElementWrapper.cpp if (!element->isUpgradedCustomElement() || DOMWrapperWorld::world(context).isIsolatedWorld()) element 99 Source/bindings/v8/CustomElementWrapper.cpp return createUpgradeCandidateWrapper(element.get(), creationContext, isolate, createSpecificWrapper); element 105 Source/bindings/v8/CustomElementWrapper.cpp CustomElementBinding* binding = perContextData->customElementBinding(element->customElementDefinition()); element 106 Source/bindings/v8/CustomElementWrapper.cpp v8::Handle<v8::Object> wrapper = V8DOMWrapper::createWrapper(creationContext, binding->wrapperType(), element.get(), isolate); element 112 Source/bindings/v8/CustomElementWrapper.cpp V8DOMWrapper::associateObjectWithWrapper<WrapperType>(element, binding->wrapperType(), wrapper, isolate, WrapperConfiguration::Dependent); element 50 Source/bindings/v8/CustomElementWrapper.h static v8::Handle<v8::Object> wrap(PassRefPtr<ElementType>, v8::Handle<v8::Object> creationContext, v8::Isolate*, v8::Handle<v8::Object> (*createSpecificWrapper)(ElementType* element, v8::Handle<v8::Object> creationContext, v8::Isolate*)); element 92 Source/bindings/v8/ScriptValue.cpp RefPtr<JSONValue> element = v8ToJSONValue(value, maxDepth, isolate); element 93 Source/bindings/v8/ScriptValue.cpp if (!element) element 95 Source/bindings/v8/ScriptValue.cpp inspectorArray->pushValue(element); element 2464 Source/bindings/v8/SerializedScriptValue.cpp v8::Handle<v8::Value> result = scope.Escape(element(0)); element 2486 Source/bindings/v8/SerializedScriptValue.cpp *object = element(stackDepth() - 1); element 2548 Source/bindings/v8/SerializedScriptValue.cpp v8::Local<v8::Value> elem = element(stackPos); element 2609 Source/bindings/v8/SerializedScriptValue.cpp v8::Local<v8::Value> propertyName = element(i); element 2610 Source/bindings/v8/SerializedScriptValue.cpp v8::Local<v8::Value> propertyValue = element(i + 1); element 500 Source/bindings/v8/V8Binding.h v8::Handle<v8::Value> element = object->Get(i); element 501 Source/bindings/v8/V8Binding.h if (V8T::hasInstance(element, isolate)) { element 502 Source/bindings/v8/V8Binding.h v8::Handle<v8::Object> elementObject = v8::Handle<v8::Object>::Cast(element); element 567 Source/bindings/v8/V8Binding.h v8::Handle<v8::Value> element = object->Get(i); element 568 Source/bindings/v8/V8Binding.h if (V8T::hasInstance(element, isolate)) { element 569 Source/bindings/v8/V8Binding.h v8::Handle<v8::Object> elementObject = v8::Handle<v8::Object>::Cast(element); element 151 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp void V8CustomElementLifecycleCallbacks::created(Element* element) element 159 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp element->setCustomElementState(Element::Upgraded); element 169 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Object> receiver = DOMDataStore::current(isolate).get<V8Element>(element, isolate); element 185 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp receiver = toV8(element, context->Global(), isolate).As<v8::Object>(); element 189 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp InspectorInstrumentation::willExecuteCustomElementCallback(element); element 196 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp void V8CustomElementLifecycleCallbacks::attached(Element* element) element 198 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp call(m_attached, element); element 201 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp void V8CustomElementLifecycleCallbacks::detached(Element* element) element 203 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp call(m_detached, element); element 206 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp void V8CustomElementLifecycleCallbacks::attributeChanged(Element* element, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue) element 222 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Object> receiver = toV8(element, context->Global(), isolate).As<v8::Object>(); element 235 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp InspectorInstrumentation::willExecuteCustomElementCallback(element); element 242 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp void V8CustomElementLifecycleCallbacks::call(const ScopedPersistent<v8::Function>& weakCallback, Element* element) element 262 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp v8::Handle<v8::Object> receiver = toV8(element, context->Global(), isolate).As<v8::Object>(); element 265 Source/bindings/v8/V8CustomElementLifecycleCallbacks.cpp InspectorInstrumentation::willExecuteCustomElementCallback(element); element 75 Source/bindings/v8/V8NPObject.cpp HTMLPlugInElement* element = V8HTMLAppletElement::toNativeWithTypeCheck(isolate, info.Holder()); element 76 Source/bindings/v8/V8NPObject.cpp if (!element) { element 77 Source/bindings/v8/V8NPObject.cpp element = V8HTMLEmbedElement::toNativeWithTypeCheck(isolate, info.Holder()); element 78 Source/bindings/v8/V8NPObject.cpp if (!element) { element 79 Source/bindings/v8/V8NPObject.cpp element = V8HTMLObjectElement::toNativeWithTypeCheck(isolate, info.Holder()); element 82 Source/bindings/v8/V8NPObject.cpp if (element) { element 83 Source/bindings/v8/V8NPObject.cpp if (RefPtr<SharedPersistent<v8::Object> > wrapper = element->pluginWrapper()) { element 434 Source/bindings/v8/V8WindowShell.cpp Element* element = items->item(0); element 435 Source/bindings/v8/V8WindowShell.cpp ASSERT(element); element 437 Source/bindings/v8/V8WindowShell.cpp if (isHTMLIFrameElement(*element) && (frame = toHTMLIFrameElement(*element).contentFrame())) element 439 Source/bindings/v8/V8WindowShell.cpp return toV8(element, creationContext, isolate); element 46 Source/core/accessibility/AXImageMapLink.h void setHTMLAreaElement(HTMLAreaElement* element) { m_areaElement = element; } element 49 Source/core/accessibility/AXImageMapLink.h void setHTMLMapElement(HTMLMapElement* element) { m_mapElement = element; } element 125 Source/core/accessibility/AXListBox.cpp AXObject* AXListBox::listBoxOptionAXObject(HTMLElement* element) const element 128 Source/core/accessibility/AXListBox.cpp if (!element || isHTMLHRElement(*element)) element 132 Source/core/accessibility/AXListBox.cpp toAXListBoxOption(listBoxObject)->setHTMLElement(element); element 51 Source/core/accessibility/AXListBoxOption.h void setHTMLElement(HTMLElement* element) { m_optionElement = element; } element 214 Source/core/accessibility/AXMediaControls.cpp MediaControlTimeDisplayElement* element = static_cast<MediaControlTimeDisplayElement*>(m_renderer->node()); element 216 Source/core/accessibility/AXMediaControls.cpp return isHTMLVideoElement(toParentMediaElement(element)); element 295 Source/core/accessibility/AXMediaControls.cpp MediaControlTimeDisplayElement* element = static_cast<MediaControlTimeDisplayElement*>(m_renderer->node()); element 296 Source/core/accessibility/AXMediaControls.cpp float time = element->currentValue(); element 39 Source/core/accessibility/AXMenuListOption.cpp void AXMenuListOption::setElement(HTMLElement* element) element 41 Source/core/accessibility/AXMenuListOption.cpp ASSERT_ARG(element, isHTMLOptionElement(element)); element 42 Source/core/accessibility/AXMenuListOption.cpp m_element = element; element 67 Source/core/accessibility/AXMenuListPopup.cpp AXMenuListOption* AXMenuListPopup::menuListOptionAXObject(HTMLElement* element) const element 69 Source/core/accessibility/AXMenuListPopup.cpp ASSERT(element); element 70 Source/core/accessibility/AXMenuListPopup.cpp if (!isHTMLOptionElement(*element)) element 77 Source/core/accessibility/AXMenuListPopup.cpp option->setElement(element); element 337 Source/core/accessibility/AXNodeObject.cpp HTMLLabelElement* AXNodeObject::labelForElement(Element* element) const element 339 Source/core/accessibility/AXNodeObject.cpp if (!element->isHTMLElement() || !toHTMLElement(element)->isLabelable()) element 342 Source/core/accessibility/AXNodeObject.cpp const AtomicString& id = element->getIdAttribute(); element 344 Source/core/accessibility/AXNodeObject.cpp if (HTMLLabelElement* label = element->treeScope().labelElementForId(id)) element 348 Source/core/accessibility/AXNodeObject.cpp for (Element* parent = element->parentElement(); parent; parent = parent->parentElement()) { element 406 Source/core/accessibility/AXNodeObject.cpp for (Element* element = toElement(node); element; element = element->parentElement()) { element 407 Source/core/accessibility/AXNodeObject.cpp if (element->getAttributeEventListener(EventTypeNames::click) || element->getAttributeEventListener(EventTypeNames::mousedown) || element->getAttributeEventListener(EventTypeNames::mouseup)) element 408 Source/core/accessibility/AXNodeObject.cpp return element; element 836 Source/core/accessibility/AXNodeObject.cpp Element* element = toElement(node); element 837 Source/core/accessibility/AXNodeObject.cpp String ariaLevel = element->getAttribute(aria_levelAttr); element 632 Source/core/accessibility/AXObject.cpp Element* element = toElement(elementNode); element 633 Source/core/accessibility/AXObject.cpp return element->fastHasAttribute(attribute); element 645 Source/core/accessibility/AXObject.cpp Element* element = toElement(elementNode); element 646 Source/core/accessibility/AXObject.cpp return element->fastGetAttribute(attribute); element 221 Source/core/accessibility/AXObject.h AccessibilityText(const String& t, const AccessibilityTextSource& s, const RefPtr<AXObject> element) element 224 Source/core/accessibility/AXObject.h , textElement(element) element 842 Source/core/accessibility/AXObjectCache.cpp void AXObjectCache::handleAttributeChanged(const QualifiedName& attrName, Element* element) element 845 Source/core/accessibility/AXObjectCache.cpp handleAriaRoleChanged(element); element 847 Source/core/accessibility/AXObjectCache.cpp textChanged(element); element 848 Source/core/accessibility/AXObjectCache.cpp else if (attrName == forAttr && isHTMLLabelElement(*element)) element 849 Source/core/accessibility/AXObjectCache.cpp labelChanged(element); element 855 Source/core/accessibility/AXObjectCache.cpp handleActiveDescendantChanged(element); element 857 Source/core/accessibility/AXObjectCache.cpp postNotification(element, AXObjectCache::AXValueChanged, true); element 859 Source/core/accessibility/AXObjectCache.cpp textChanged(element); element 861 Source/core/accessibility/AXObjectCache.cpp checkedStateChanged(element); element 863 Source/core/accessibility/AXObjectCache.cpp selectedChildrenChanged(element); element 865 Source/core/accessibility/AXObjectCache.cpp handleAriaExpandedChange(element); element 867 Source/core/accessibility/AXObjectCache.cpp childrenChanged(element->parentNode()); element 869 Source/core/accessibility/AXObjectCache.cpp postNotification(element, AXObjectCache::AXInvalidStatusChanged, true); element 871 Source/core/accessibility/AXObjectCache.cpp postNotification(element, AXObjectCache::AXAriaAttributeChanged, true); element 874 Source/core/accessibility/AXObjectCache.cpp void AXObjectCache::labelChanged(Element* element) element 876 Source/core/accessibility/AXObjectCache.cpp textChanged(toHTMLLabelElement(element)->control()); element 970 Source/core/accessibility/AXObjectCache.cpp const Element* element = node->isElementNode() ? toElement(node) : node->parentElement(); element 972 Source/core/accessibility/AXObjectCache.cpp for (; element; element = element->parentElement()) { element 973 Source/core/accessibility/AXObjectCache.cpp if (nodeIsTextControl(element)) element 974 Source/core/accessibility/AXObjectCache.cpp result = element; element 52 Source/core/accessibility/AXProgressIndicator.cpp if (element()->position() >= 0) element 53 Source/core/accessibility/AXProgressIndicator.cpp return narrowPrecisionToFloat(element()->value()); element 63 Source/core/accessibility/AXProgressIndicator.cpp return narrowPrecisionToFloat(element()->max()); element 46 Source/core/accessibility/AXProgressIndicator.h HTMLProgressElement* element() const; element 942 Source/core/accessibility/AXRenderObject.cpp Element* element = toElement(m_renderer->node()); element 943 Source/core/accessibility/AXRenderObject.cpp if (!element) element 946 Source/core/accessibility/AXRenderObject.cpp const AtomicString& activeDescendantAttrStr = element->getAttribute(aria_activedescendantAttr); element 950 Source/core/accessibility/AXRenderObject.cpp Element* target = element->treeScope().getElementById(activeDescendantAttrStr); element 971 Source/core/accessibility/AXRenderObject.cpp Element* element = elements[k]; element 972 Source/core/accessibility/AXRenderObject.cpp AXObject* child = cache->getOrCreate(element); element 1652 Source/core/accessibility/AXRenderObject.cpp Element* element = toElement(renderer()->node()); element 1653 Source/core/accessibility/AXRenderObject.cpp if (!element) element 1656 Source/core/accessibility/AXRenderObject.cpp if (!doc.frame()->selection().isFocusedAndActive() || doc.focusedElement() != element) element 1909 Source/core/accessibility/AXRenderObject.cpp Element* element = elements[k]; element 1910 Source/core/accessibility/AXRenderObject.cpp AXObject* tabPanel = axObjectCache()->getOrCreate(element); element 1930 Source/core/accessibility/AXRenderObject.cpp Element* element = anchorElement(); element 1932 Source/core/accessibility/AXRenderObject.cpp if (!isHTMLAnchorElement(element)) element 1934 Source/core/accessibility/AXRenderObject.cpp HTMLAnchorElement& anchor = toHTMLAnchorElement(*element); element 101 Source/core/accessibility/AXSlider.cpp return element()->getAttribute(attribute); element 117 Source/core/accessibility/AXSlider.cpp HTMLInputElement* input = element(); element 49 Source/core/accessibility/AXSlider.h HTMLInputElement* element() const; element 43 Source/core/animation/ActiveAnimations.cpp const Element* element = toElement(renderer.node()); element 44 Source/core/animation/ActiveAnimations.cpp if (const ActiveAnimations* activeAnimations = element->activeAnimations()) { element 59 Source/core/animation/ActiveAnimations.cpp const Element* element = toElement(renderer.node()); element 60 Source/core/animation/ActiveAnimations.cpp if (const ActiveAnimations* activeAnimations = element->activeAnimations()) element 71 Source/core/animation/ActiveAnimations.cpp const Element* element = toElement(renderer.node()); element 72 Source/core/animation/ActiveAnimations.cpp if (const ActiveAnimations* activeAnimations = element->activeAnimations()) element 54 Source/core/animation/Animation.cpp PassRefPtr<Animation> Animation::create(Element* element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Dictionary& timingInputDictionary) element 57 Source/core/animation/Animation.cpp return create(element, effect, TimingInput::convert(timingInputDictionary)); element 59 Source/core/animation/Animation.cpp PassRefPtr<Animation> Animation::create(Element* element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, double duration) element 62 Source/core/animation/Animation.cpp return create(element, effect, TimingInput::convert(duration)); element 64 Source/core/animation/Animation.cpp PassRefPtr<Animation> Animation::create(Element* element, PassRefPtrWillBeRawPtr<AnimationEffect> effect) element 67 Source/core/animation/Animation.cpp return create(element, effect, Timing()); element 69 Source/core/animation/Animation.cpp PassRefPtr<Animation> Animation::create(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, const Dictionary& timingInputDictionary, ExceptionState& exceptionState) element 72 Source/core/animation/Animation.cpp UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectObjectTiming); element 73 Source/core/animation/Animation.cpp return create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), TimingInput::convert(timingInputDictionary)); element 75 Source/core/animation/Animation.cpp PassRefPtr<Animation> Animation::create(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, double duration, ExceptionState& exceptionState) element 78 Source/core/animation/Animation.cpp UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectDoubleTiming); element 79 Source/core/animation/Animation.cpp return create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), TimingInput::convert(duration)); element 81 Source/core/animation/Animation.cpp PassRefPtr<Animation> Animation::create(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState) element 84 Source/core/animation/Animation.cpp UseCounter::count(element->document(), UseCounter::AnimationConstructorKeyframeListEffectNoTiming); element 85 Source/core/animation/Animation.cpp return create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState), Timing()); element 111 Source/core/animation/Animation.cpp static AnimationStack& ensureAnimationStack(Element* element) element 113 Source/core/animation/Animation.cpp return element->ensureActiveAnimations().defaultStack(); element 683 Source/core/animation/AnimationPlayerTest.cpp RefPtr<Element> element = document->createElement("foo", ASSERT_NO_EXCEPTION); element 686 Source/core/animation/AnimationPlayerTest.cpp RefPtr<Animation> animation = Animation::create(element, nullptr, timing); element 689 Source/core/animation/AnimationPlayerTest.cpp EXPECT_EQ(1U, element->activeAnimations()->players().find(player.get())->value); element 692 Source/core/animation/AnimationPlayerTest.cpp EXPECT_TRUE(element->activeAnimations()->players().isEmpty()); element 27 Source/core/animation/AnimationStackTest.cpp element = document->createElement("foo", ASSERT_NO_EXCEPTION); element 61 Source/core/animation/AnimationStackTest.cpp return Animation::create(element, effect, timing); element 71 Source/core/animation/AnimationStackTest.cpp RefPtr<Element> element; element 79 Source/core/animation/AnimationStackTest.cpp WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation> > result = AnimationStack::activeInterpolations(&element->activeAnimations()->defaultStack(), 0, 0, Animation::DefaultPriority, 0); element 93 Source/core/animation/AnimationStackTest.cpp WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation> > result = AnimationStack::activeInterpolations(&element->activeAnimations()->defaultStack(), &newAnimations, 0, Animation::DefaultPriority, 10); element 104 Source/core/animation/AnimationStackTest.cpp WillBeHeapHashMap<CSSPropertyID, RefPtrWillBeMember<Interpolation> > result = AnimationStack::activeInterpolations(&element->activeAnimations()->defaultStack(), 0, &cancelledAnimationPlayers, Animation::DefaultPriority, 0); element 34 Source/core/animation/AnimationTest.cpp RefPtr<Element> element; element 47 Source/core/animation/AnimationTest.cpp static PassRefPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyframeDictionaryVector, T timingInput, ExceptionState& exceptionState) element 49 Source/core/animation/AnimationTest.cpp return Animation::create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState, true), timingInput); element 51 Source/core/animation/AnimationTest.cpp static PassRefPtr<Animation> createAnimation(Element* element, Vector<Dictionary> keyframeDictionaryVector, ExceptionState& exceptionState) element 53 Source/core/animation/AnimationTest.cpp return Animation::create(element, EffectInput::convert(element, keyframeDictionaryVector, exceptionState, true)); element 86 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState); element 89 Source/core/animation/AnimationTest.cpp EXPECT_EQ(*element.get(), *target); element 116 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, duration, exceptionState); element 124 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, exceptionState); element 131 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, -2, exceptionState); element 152 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState); element 172 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState); element 192 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState); element 212 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, 0, exceptionState); element 233 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, timingInputDictionary, exceptionState); element 254 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animationWithDuration = createAnimation(element.get(), jsKeyframes, timingInputDictionaryWithDuration, exceptionState); element 271 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animationNoDuration = createAnimation(element.get(), jsKeyframes, timingInputDictionaryNoDuration, exceptionState); element 290 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, timingInputDictionary, exceptionState); element 332 Source/core/animation/AnimationTest.cpp RefPtr<Animation> animation = createAnimation(element.get(), jsKeyframes, timingInputDictionary, exceptionState); element 225 Source/core/animation/CompositorAnimations.cpp bool CompositorAnimations::canStartAnimationOnCompositor(const Element& element) element 227 Source/core/animation/CompositorAnimations.cpp return element.renderer() && element.renderer()->compositingState() == PaintsIntoOwnBacking; element 230 Source/core/animation/CompositorAnimations.cpp bool CompositorAnimations::startAnimationOnCompositor(const Element& element, const Timing& timing, const AnimationEffect& effect, Vector<int>& startedAnimationIds) element 234 Source/core/animation/CompositorAnimations.cpp ASSERT(canStartAnimationOnCompositor(element)); element 238 Source/core/animation/CompositorAnimations.cpp RenderLayer* layer = toRenderBoxModelObject(element.renderer())->layer(); element 249 Source/core/animation/CompositorAnimations.cpp cancelAnimationOnCompositor(element, startedAnimationIds[j]); element 259 Source/core/animation/CompositorAnimations.cpp void CompositorAnimations::cancelAnimationOnCompositor(const Element& element, int id) element 261 Source/core/animation/CompositorAnimations.cpp if (!canStartAnimationOnCompositor(element)) { element 269 Source/core/animation/CompositorAnimations.cpp toRenderBoxModelObject(element.renderer())->layer()->compositedLayerMapping()->mainGraphicsLayer()->removeAnimation(id); element 272 Source/core/animation/CompositorAnimations.cpp void CompositorAnimations::pauseAnimationForTestingOnCompositor(const Element& element, int id, double pauseTime) element 278 Source/core/animation/CompositorAnimations.cpp if (!canStartAnimationOnCompositor(element)) { element 282 Source/core/animation/CompositorAnimations.cpp toRenderBoxModelObject(element.renderer())->layer()->compositedLayerMapping()->mainGraphicsLayer()->pauseAnimation(id, pauseTime); element 74 Source/core/animation/DocumentAnimations.cpp const Element& element = toElement(node); element 75 Source/core/animation/DocumentAnimations.cpp if (element.document().timeline().hasOutdatedAnimationPlayer()) { element 76 Source/core/animation/DocumentAnimations.cpp updateAnimationTiming(element.document(), AnimationPlayer::UpdateOnDemand); element 79 Source/core/animation/DocumentAnimations.cpp if (const ActiveAnimations* activeAnimations = element.activeAnimations()) { element 81 Source/core/animation/DocumentAnimations.cpp updateAnimationTiming(element.document(), AnimationPlayer::UpdateOnDemand); element 88 Source/core/animation/DocumentTimelineTest.cpp element = Element::create(nullQName() , document.get()); element 99 Source/core/animation/DocumentTimelineTest.cpp element.release(); element 109 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Element> element; element 136 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim = Animation::create(element.get(), effect, timing); element 154 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim = Animation::create(element.get(), effect, timing); element 196 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim1 = Animation::create(element.get(), AnimatableValueKeyframeEffectModel::create(AnimatableValueKeyframeVector()), timing); element 197 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim2 = Animation::create(element.get(), AnimatableValueKeyframeEffectModel::create(AnimatableValueKeyframeVector()), timing); element 229 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim1 = Animation::create(element.get(), AnimatableValueKeyframeEffectModel::create(AnimatableValueKeyframeVector()), timingForwardFill); element 230 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim2 = Animation::create(element.get(), AnimatableValueKeyframeEffectModel::create(AnimatableValueKeyframeVector()), timingNoFill); element 231 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim3 = Animation::create(element.get(), AnimatableValueKeyframeEffectModel::create(AnimatableValueKeyframeVector()), timingBackwardFillDelay); element 232 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim4 = Animation::create(element.get(), AnimatableValueKeyframeEffectModel::create(AnimatableValueKeyframeVector()), timingNoFillDelay); element 233 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim5 = Animation::create(element.get(), AnimatableValueKeyframeEffectModel::create(AnimatableValueKeyframeVector()), timingAutoFill); element 260 Source/core/animation/DocumentTimelineTest.cpp RefPtr<Animation> anim = Animation::create(element.get(), nullptr, timing); element 284 Source/core/animation/DocumentTimelineTest.cpp element = nullptr; element 43 Source/core/animation/EffectInput.cpp static bool checkDocumentAndRenderer(Element* element) element 45 Source/core/animation/EffectInput.cpp if (!element->inActiveDocument()) element 47 Source/core/animation/EffectInput.cpp element->document().updateRenderTreeIfNeeded(); element 48 Source/core/animation/EffectInput.cpp return element->renderer(); element 51 Source/core/animation/EffectInput.cpp PassRefPtrWillBeRawPtr<AnimationEffect> EffectInput::convert(Element* element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState, bool unsafe) element 55 Source/core/animation/EffectInput.cpp if (!unsafe && !checkDocumentAndRenderer(element)) element 58 Source/core/animation/EffectInput.cpp StyleSheetContents* styleSheetContents = element->document().elementSheet().contents(); element 109 Source/core/animation/EffectInput.cpp RefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> keyframeEffectModel = StyleResolver::createKeyframeEffectModel(*element, propertySetVector, keyframes); element 47 Source/core/animation/ElementAnimation.h static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Dictionary& timingInputDictionary) element 49 Source/core/animation/ElementAnimation.h return animateInternal(element, effect, TimingInput::convert(timingInputDictionary)); element 52 Source/core/animation/ElementAnimation.h static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, double duration) element 54 Source/core/animation/ElementAnimation.h return animateInternal(element, effect, TimingInput::convert(duration)); element 57 Source/core/animation/ElementAnimation.h static AnimationPlayer* animate(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect) element 59 Source/core/animation/ElementAnimation.h return animateInternal(element, effect, Timing()); element 62 Source/core/animation/ElementAnimation.h static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, const Dictionary& timingInputDictionary, ExceptionState& exceptionState) element 64 Source/core/animation/ElementAnimation.h return animateInternal(element, EffectInput::convert(&element, keyframeDictionaryVector, exceptionState), TimingInput::convert(timingInputDictionary)); element 67 Source/core/animation/ElementAnimation.h static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, double duration, ExceptionState& exceptionState) element 69 Source/core/animation/ElementAnimation.h return animateInternal(element, EffectInput::convert(&element, keyframeDictionaryVector, exceptionState), TimingInput::convert(duration)); element 72 Source/core/animation/ElementAnimation.h static AnimationPlayer* animate(Element& element, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState& exceptionState) element 74 Source/core/animation/ElementAnimation.h return animateInternal(element, EffectInput::convert(&element, keyframeDictionaryVector, exceptionState), Timing()); element 78 Source/core/animation/ElementAnimation.h static AnimationPlayer* animateInternal(Element& element, PassRefPtrWillBeRawPtr<AnimationEffect> effect, const Timing& timing) element 81 Source/core/animation/ElementAnimation.h RefPtr<Animation> animation = Animation::create(&element, effect, timing); element 82 Source/core/animation/ElementAnimation.h return element.document().timeline().play(animation.get()); element 99 Source/core/animation/css/CSSAnimations.cpp static void resolveKeyframes(StyleResolver* resolver, Element* element, const Element& parentElement, const RenderStyle& style, RenderStyle* parentStyle, const AtomicString& name, TimingFunction* defaultTimingFunction, element 103 Source/core/animation/css/CSSAnimations.cpp const Element* elementForScoping = element ? element : &parentElement; element 117 Source/core/animation/css/CSSAnimations.cpp RefPtr<RenderStyle> keyframeStyle = resolver->styleForKeyframe(element, style, parentStyle, styleKeyframe, name); element 271 Source/core/animation/css/CSSAnimations.cpp const StyleRuleKeyframes* CSSAnimations::matchScopedKeyframesRule(StyleResolver* resolver, const Element* element, const StringImpl* animationName) element 277 Source/core/animation/css/CSSAnimations.cpp resolver->styleTreeResolveScopedKeyframesRules(element, stack); element 288 Source/core/animation/css/CSSAnimations.cpp PassOwnPtrWillBeRawPtr<CSSAnimationUpdate> CSSAnimations::calculateUpdate(Element* element, const Element& parentElement, const RenderStyle& style, RenderStyle* parentStyle, StyleResolver* resolver) element 291 Source/core/animation/css/CSSAnimations.cpp calculateAnimationUpdate(update.get(), element, parentElement, style, parentStyle, resolver); element 292 Source/core/animation/css/CSSAnimations.cpp calculateAnimationActiveInterpolations(update.get(), element, parentElement.document().timeline().currentTime()); element 293 Source/core/animation/css/CSSAnimations.cpp calculateTransitionUpdate(update.get(), element, style); element 294 Source/core/animation/css/CSSAnimations.cpp calculateTransitionActiveInterpolations(update.get(), element, parentElement.document().transitionTimeline().currentTime()); element 298 Source/core/animation/css/CSSAnimations.cpp void CSSAnimations::calculateAnimationUpdate(CSSAnimationUpdate* update, Element* element, const Element& parentElement, const RenderStyle& style, RenderStyle* parentStyle, StyleResolver* resolver) element 300 Source/core/animation/css/CSSAnimations.cpp const ActiveAnimations* activeAnimations = element ? element->activeAnimations() : 0; element 345 Source/core/animation/css/CSSAnimations.cpp resolveKeyframes(resolver, element, parentElement, style, parentStyle, animationName, keyframeTimingFunction.get(), resolvedKeyframes); element 360 Source/core/animation/css/CSSAnimations.cpp void CSSAnimations::maybeApplyPendingUpdate(Element* element) element 390 Source/core/animation/css/CSSAnimations.cpp OwnPtr<AnimationEventDelegate> eventDelegate = adoptPtr(new AnimationEventDelegate(element, iter->name)); element 391 Source/core/animation/css/CSSAnimations.cpp RefPtr<Animation> animation = Animation::create(element, inertAnimation->effect(), inertAnimation->specifiedTiming(), Animation::DefaultPriority, eventDelegate.release()); element 392 Source/core/animation/css/CSSAnimations.cpp RefPtr<AnimationPlayer> player = element->document().timeline().createAnimationPlayer(animation.get()); element 395 Source/core/animation/css/CSSAnimations.cpp element->document().cssPendingAnimations().add(player.get()); element 406 Source/core/animation/css/CSSAnimations.cpp const ActiveAnimations* activeAnimations = element->activeAnimations(); element 425 Source/core/animation/css/CSSAnimations.cpp OwnPtr<TransitionEventDelegate> eventDelegate = adoptPtr(new TransitionEventDelegate(element, newTransition.eventId)); element 433 Source/core/animation/css/CSSAnimations.cpp double inheritedTime = isNull(oldStartTime) ? 0 : element->document().transitionTimeline().currentTime() - oldStartTime; element 446 Source/core/animation/css/CSSAnimations.cpp RefPtr<Animation> transition = Animation::create(element, effect, inertAnimation->specifiedTiming(), Animation::TransitionPriority, eventDelegate.release()); element 447 Source/core/animation/css/CSSAnimations.cpp RefPtr<AnimationPlayer> player = element->document().transitionTimeline().createAnimationPlayer(transition.get()); element 449 Source/core/animation/css/CSSAnimations.cpp element->document().cssPendingAnimations().add(player.get()); element 457 Source/core/animation/css/CSSAnimations.cpp void CSSAnimations::calculateTransitionUpdateForProperty(CSSPropertyID id, const CSSAnimationData* anim, const RenderStyle& oldStyle, const RenderStyle& style, const TransitionMap* activeTransitions, CSSAnimationUpdate* update, const Element* element) element 468 Source/core/animation/css/CSSAnimations.cpp ASSERT(!element->activeAnimations() || !element->activeAnimations()->isAnimationStyleChange()); element 510 Source/core/animation/css/CSSAnimations.cpp ASSERT(!element->activeAnimations() || !element->activeAnimations()->isAnimationStyleChange()); element 513 Source/core/animation/css/CSSAnimations.cpp void CSSAnimations::calculateTransitionUpdate(CSSAnimationUpdate* update, const Element* element, const RenderStyle& style) element 515 Source/core/animation/css/CSSAnimations.cpp if (!element) element 518 Source/core/animation/css/CSSAnimations.cpp ActiveAnimations* activeAnimations = element->activeAnimations(); element 531 Source/core/animation/css/CSSAnimations.cpp const RenderObject* renderer = element->renderer(); element 562 Source/core/animation/css/CSSAnimations.cpp calculateTransitionUpdateForProperty(id, anim, oldStyle, style, activeTransitions, update, element); element 593 Source/core/animation/css/CSSAnimations.cpp void CSSAnimations::calculateAnimationActiveInterpolations(CSSAnimationUpdate* update, const Element* element, double timelineCurrentTime) element 595 Source/core/animation/css/CSSAnimations.cpp ActiveAnimations* activeAnimations = element ? element->activeAnimations() : 0; element 612 Source/core/animation/css/CSSAnimations.cpp void CSSAnimations::calculateTransitionActiveInterpolations(CSSAnimationUpdate* update, const Element* element, double timelineCurrentTime) element 614 Source/core/animation/css/CSSAnimations.cpp ActiveAnimations* activeAnimations = element ? element->activeAnimations() : 0; element 255 Source/core/clipboard/Clipboard.cpp static ImageResource* getImageResource(Element* element) element 258 Source/core/clipboard/Clipboard.cpp ASSERT(element); element 259 Source/core/clipboard/Clipboard.cpp RenderObject* renderer = element->renderer(); element 270 Source/core/clipboard/Clipboard.cpp static void writeImageToDataObject(DataObject* dataObject, Element* element, const KURL& url) element 273 Source/core/clipboard/Clipboard.cpp ImageResource* cachedImage = getImageResource(element); element 274 Source/core/clipboard/Clipboard.cpp if (!cachedImage || !cachedImage->imageForRenderer(element->renderer()) || !cachedImage->isLoaded()) element 277 Source/core/clipboard/Clipboard.cpp SharedBuffer* imageBuffer = cachedImage->imageForRenderer(element->renderer())->data(); element 291 Source/core/clipboard/Clipboard.cpp filename = element->getAttribute(HTMLNames::altAttr); element 315 Source/core/clipboard/Clipboard.cpp void Clipboard::declareAndWriteDragImage(Element* element, const KURL& url, const String& title) element 323 Source/core/clipboard/Clipboard.cpp writeImageToDataObject(m_dataObject.get(), element, url); element 326 Source/core/clipboard/Clipboard.cpp m_dataObject->setData(mimeTypeTextHTML, createMarkup(element, IncludeNode, 0, ResolveAllURLs)); element 64 Source/core/css/CSSCanvasValue.cpp void CSSCanvasValue::canvasDestroyed(HTMLCanvasElement* element) element 66 Source/core/css/CSSCanvasValue.cpp ASSERT_UNUSED(element, element == m_element); element 72 Source/core/css/CSSCanvasValue.cpp if (HTMLCanvasElement* elt = element(&renderer->document())) element 89 Source/core/css/CSSCanvasValue.cpp HTMLCanvasElement* elt = element(&renderer->document()); element 92 Source/core/css/CSSCanvasValue.h HTMLCanvasElement* element(Document*); element 1542 Source/core/css/CSSComputedStyleDeclaration.cpp if (PseudoElement* element = toElement(m_node)->pseudoElement(m_pseudoElementSpecifier)) element 1543 Source/core/css/CSSComputedStyleDeclaration.cpp return element; element 44 Source/core/css/CSSCursorImageValue.cpp Element* element = SVGURIReference::targetElementFromIRIString(url, document); element 45 Source/core/css/CSSCursorImageValue.cpp return isSVGCursorElement(element) ? toSVGCursorElement(element) : 0; element 87 Source/core/css/CSSCursorImageValue.cpp bool CSSCursorImageValue::updateIfSVGCursorIsUsed(Element* element) element 89 Source/core/css/CSSCursorImageValue.cpp if (!element || !element->isSVGElement()) element 96 Source/core/css/CSSCursorImageValue.cpp if (SVGCursorElement* cursorElement = resourceReferencedByCursorElement(url, element->document())) { element 106 Source/core/css/CSSCursorImageValue.cpp if (cachedImageURL() != element->document().completeURL(cursorElement->href()->currentValue()->value())) element 109 Source/core/css/CSSCursorImageValue.cpp SVGElement* svgElement = toSVGElement(element); element 185 Source/core/css/CSSCursorImageValue.cpp void CSSCursorImageValue::removeReferencedElement(SVGElement* element) element 187 Source/core/css/CSSCursorImageValue.cpp m_referencedElements.remove(element); element 142 Source/core/css/CSSDefaultStyleSheets.cpp void CSSDefaultStyleSheets::ensureDefaultStyleSheetsForElement(Element* element, bool& changedDefaultStyle) element 145 Source/core/css/CSSDefaultStyleSheets.cpp if (element->isSVGElement() && !m_svgStyleSheet) { element 153 Source/core/css/CSSDefaultStyleSheets.cpp if (element->namespaceURI() == MathMLNames::mathmlNamespaceURI element 163 Source/core/css/CSSDefaultStyleSheets.cpp if (!m_mediaControlsStyleSheet && (isHTMLVideoElement(*element) || isHTMLAudioElement(*element))) { element 173 Source/core/css/CSSDefaultStyleSheets.cpp if (!m_fullscreenStyleSheet && FullscreenElementStack::isFullScreen(element->document())) { element 63 Source/core/css/CSSFontFaceSrcValue.h void setSVGFontFaceElement(SVGFontFaceElement* element) { m_svgFontFaceElement = element; } element 438 Source/core/css/CSSSelector.cpp bool element = false; // pseudo-element element 462 Source/core/css/CSSSelector.cpp element = true; element 537 Source/core/css/CSSSelector.cpp else if (m_match == PseudoClass && element) { element 542 Source/core/css/CSSSelector.cpp } else if (m_match == PseudoElement && !element) element 119 Source/core/css/ElementRuleCollector.cpp static bool rulesApplicableInCurrentTreeScope(const Element* element, const ContainerNode* scopingNode, SelectorChecker::BehaviorAtBoundary behaviorAtBoundary, bool elementApplyAuthorStyles) element 121 Source/core/css/ElementRuleCollector.cpp TreeScope& treeScope = element->treeScope(); element 131 Source/core/css/ElementRuleCollector.cpp if (element->isInShadowTree() && (behaviorAtBoundary & SelectorChecker::ScopeIsShadowHost) && scopingNode == element->containingShadowRoot()->host()) element 139 Source/core/css/ElementRuleCollector.cpp ASSERT(m_context.element()); element 141 Source/core/css/ElementRuleCollector.cpp Element& element = *m_context.element(); element 142 Source/core/css/ElementRuleCollector.cpp const AtomicString& pseudoId = element.shadowPseudoId(); element 144 Source/core/css/ElementRuleCollector.cpp ASSERT(element.isStyledElement()); element 148 Source/core/css/ElementRuleCollector.cpp if (element.isVTTElement()) element 157 Source/core/css/ElementRuleCollector.cpp if (!m_matchingUARules && !rulesApplicableInCurrentTreeScope(&element, matchRequest.scope, behaviorAtBoundary, matchRequest.elementApplyAuthorStyles)) element 162 Source/core/css/ElementRuleCollector.cpp if (element.hasID()) element 163 Source/core/css/ElementRuleCollector.cpp collectMatchingRulesForList(matchRequest.ruleSet->idRules(element.idForStyleResolution()), behaviorAtBoundary, cascadeScope, cascadeOrder, matchRequest, ruleRange); element 164 Source/core/css/ElementRuleCollector.cpp if (element.isStyledElement() && element.hasClass()) { element 165 Source/core/css/ElementRuleCollector.cpp for (size_t i = 0; i < element.classNames().size(); ++i) element 166 Source/core/css/ElementRuleCollector.cpp collectMatchingRulesForList(matchRequest.ruleSet->classRules(element.classNames()[i]), behaviorAtBoundary, cascadeScope, cascadeOrder, matchRequest, ruleRange); element 169 Source/core/css/ElementRuleCollector.cpp if (element.isLink()) element 171 Source/core/css/ElementRuleCollector.cpp if (SelectorChecker::matchesFocusPseudoClass(element)) element 173 Source/core/css/ElementRuleCollector.cpp collectMatchingRulesForList(matchRequest.ruleSet->tagRules(element.localName()), behaviorAtBoundary, cascadeScope, cascadeOrder, matchRequest, ruleRange); element 260 Source/core/css/ElementRuleCollector.cpp SelectorChecker selectorChecker(m_context.element()->document(), m_mode); element 261 Source/core/css/ElementRuleCollector.cpp SelectorChecker::SelectorCheckingContext context(ruleData.selector(), m_context.element(), SelectorChecker::VisitedMatchEnabled); element 366 Source/core/css/RuleFeature.cpp void RuleFeatureSet::scheduleStyleInvalidationForClassChange(const SpaceSplitString& changedClasses, Element& element) element 370 Source/core/css/RuleFeature.cpp addClassToInvalidationSet(changedClasses[i], element); element 374 Source/core/css/RuleFeature.cpp void RuleFeatureSet::scheduleStyleInvalidationForClassChange(const SpaceSplitString& oldClasses, const SpaceSplitString& newClasses, Element& element) element 377 Source/core/css/RuleFeature.cpp scheduleStyleInvalidationForClassChange(newClasses, element); element 396 Source/core/css/RuleFeature.cpp addClassToInvalidationSet(newClasses[i], element); element 403 Source/core/css/RuleFeature.cpp addClassToInvalidationSet(oldClasses[i], element); element 407 Source/core/css/RuleFeature.cpp void RuleFeatureSet::scheduleStyleInvalidationForAttributeChange(const QualifiedName& attributeName, Element& element) element 410 Source/core/css/RuleFeature.cpp m_styleInvalidator.scheduleInvalidation(invalidationSet, element); element 413 Source/core/css/RuleFeature.cpp void RuleFeatureSet::scheduleStyleInvalidationForIdChange(const AtomicString& oldId, const AtomicString& newId, Element& element) element 417 Source/core/css/RuleFeature.cpp m_styleInvalidator.scheduleInvalidation(invalidationSet, element); element 421 Source/core/css/RuleFeature.cpp m_styleInvalidator.scheduleInvalidation(invalidationSet, element); element 425 Source/core/css/RuleFeature.cpp void RuleFeatureSet::addClassToInvalidationSet(const AtomicString& className, Element& element) element 428 Source/core/css/RuleFeature.cpp m_styleInvalidator.scheduleInvalidation(invalidationSet, element); element 68 Source/core/css/SelectorChecker.cpp static bool matchesCustomPseudoElement(const Element* element, const CSSSelector& selector) element 70 Source/core/css/SelectorChecker.cpp ShadowRoot* root = element->containingShadowRoot(); element 74 Source/core/css/SelectorChecker.cpp if (element->shadowPseudoId() != selector.value()) element 84 Source/core/css/SelectorChecker.cpp return context.element->parentOrShadowHostElement(); element 88 Source/core/css/SelectorChecker.cpp return context.element->parentOrShadowHostElement(); element 91 Source/core/css/SelectorChecker.cpp return context.element->parentElement(); element 97 Source/core/css/SelectorChecker.cpp if (context.scope && context.scope->treeScope() == context.element->treeScope()) element 98 Source/core/css/SelectorChecker.cpp return context.element->parentOrShadowHostElement(); element 100 Source/core/css/SelectorChecker.cpp return context.element->parentElement(); element 111 Source/core/css/SelectorChecker.cpp return context.scope->contains(context.element); element 114 Source/core/css/SelectorChecker.cpp if (context.element == context.scope) element 117 Source/core/css/SelectorChecker.cpp ShadowRoot* root = context.element->containingShadowRoot(); element 128 Source/core/css/SelectorChecker.cpp return context.element == context.scope; element 131 Source/core/css/SelectorChecker.cpp return context.element == context.scope->containingShadowRoot()->host(); element 151 Source/core/css/SelectorChecker.cpp if (!matchesCustomPseudoElement(context.element, *context.selector)) element 154 Source/core/css/SelectorChecker.cpp if (!context.element->isInShadowTree() || !context.element->isInsertionPoint()) element 157 Source/core/css/SelectorChecker.cpp if (!context.element->isInShadowTree()) element 165 Source/core/css/SelectorChecker.cpp context.element->document().styleEngine()->setUsesFirstLetterRules(true); element 262 Source/core/css/SelectorChecker.cpp if (!context.isSubSelector && (context.element->isLink() || (relation != CSSSelector::Descendant && relation != CSSSelector::Child))) element 270 Source/core/css/SelectorChecker.cpp for (Element* element = context.element; element; element = element->parentElement()) { element 271 Source/core/css/SelectorChecker.cpp if (matchForShadowDistributed(element, siblingTraversalStrategy, nextContext, result) == SelectorMatches) element 280 Source/core/css/SelectorChecker.cpp return matchForPseudoShadow(context.element->containingShadowRoot(), nextContext, siblingTraversalStrategy, result); element 282 Source/core/css/SelectorChecker.cpp for (nextContext.element = parentElement(context); nextContext.element; nextContext.element = parentElement(nextContext)) { element 293 Source/core/css/SelectorChecker.cpp return matchForShadowDistributed(context.element, siblingTraversalStrategy, nextContext, result); element 299 Source/core/css/SelectorChecker.cpp return matchForPseudoShadow(context.element->parentNode(), nextContext, siblingTraversalStrategy, result); element 301 Source/core/css/SelectorChecker.cpp nextContext.element = parentElement(context); element 302 Source/core/css/SelectorChecker.cpp if (!nextContext.element) element 308 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = context.element->parentElementOrShadowRoot()) element 311 Source/core/css/SelectorChecker.cpp nextContext.element = ElementTraversal::previousSibling(*context.element); element 312 Source/core/css/SelectorChecker.cpp if (!nextContext.element) element 320 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = context.element->parentElementOrShadowRoot()) element 323 Source/core/css/SelectorChecker.cpp nextContext.element = ElementTraversal::previousSibling(*context.element); element 326 Source/core/css/SelectorChecker.cpp for (; nextContext.element; nextContext.element = ElementTraversal::previousSibling(*nextContext.element)) { element 336 Source/core/css/SelectorChecker.cpp if (context.scope && context.scope->treeScope() == context.element->treeScope() && (context.behaviorAtBoundary & BoundaryBehaviorMask) != StaysWithinTreeScope) element 339 Source/core/css/SelectorChecker.cpp Element* shadowHost = context.element->shadowHost(); element 342 Source/core/css/SelectorChecker.cpp nextContext.element = shadowHost; element 352 Source/core/css/SelectorChecker.cpp for (nextContext.element = parentElement(context, true); nextContext.element; nextContext.element = parentElement(nextContext, true)) { element 371 Source/core/css/SelectorChecker.cpp SelectorChecker::Match SelectorChecker::matchForShadowDistributed(const Element* element, const SiblingTraversalStrategy& siblingTraversalStrategy, SelectorCheckingContext& nextContext, MatchResult* result) const element 373 Source/core/css/SelectorChecker.cpp ASSERT(element); element 379 Source/core/css/SelectorChecker.cpp collectDestinationInsertionPoints(*element, insertionPoints); element 381 Source/core/css/SelectorChecker.cpp nextContext.element = insertionPoints[i]; element 472 Source/core/css/SelectorChecker.cpp static bool anyAttributeMatches(Element& element, CSSSelector::Match match, const CSSSelector& selector) element 479 Source/core/css/SelectorChecker.cpp element.synchronizeAttribute(selectorAttr.localName()); element 481 Source/core/css/SelectorChecker.cpp if (!element.hasAttributesWithoutUpdate()) element 486 Source/core/css/SelectorChecker.cpp unsigned attributeCount = element.attributeCount(); element 488 Source/core/css/SelectorChecker.cpp const Attribute& attributeItem = element.attributeItem(i); element 498 Source/core/css/SelectorChecker.cpp bool caseSensitive = !element.document().isHTMLDocument() || HTMLDocument::isCaseSensitiveAttribute(selectorAttr); element 503 Source/core/css/SelectorChecker.cpp UseCounter::count(element.document(), UseCounter::CaseInsensitiveAttrSelectorMatch); element 514 Source/core/css/SelectorChecker.cpp ASSERT(context.element); element 515 Source/core/css/SelectorChecker.cpp Element& element = *context.element; element 519 Source/core/css/SelectorChecker.cpp bool elementIsHostInItsShadowTree = isHostInItsShadowTree(element, context.behaviorAtBoundary, context.scope); element 526 Source/core/css/SelectorChecker.cpp return SelectorChecker::tagMatches(element, selector.tagQName()); element 529 Source/core/css/SelectorChecker.cpp return element.hasClass() && element.classNames().contains(selector.value()); element 532 Source/core/css/SelectorChecker.cpp return element.hasID() && element.idForStyleResolution() == selector.value(); element 535 Source/core/css/SelectorChecker.cpp if (!anyAttributeMatches(element, static_cast<CSSSelector::Match>(selector.m_match), selector)) element 563 Source/core/css/SelectorChecker.cpp return checkScrollbarPseudoClass(context, &element.document(), selector); element 566 Source/core/css/SelectorChecker.cpp return !element.document().page()->focusController().isActive(); element 577 Source/core/css/SelectorChecker.cpp for (Node* n = element.firstChild(); n; n = n->nextSibling()) { element 591 Source/core/css/SelectorChecker.cpp element.setStyleAffectedByEmpty(); element 594 Source/core/css/SelectorChecker.cpp else if (element.renderStyle() && (element.document().styleEngine()->usesSiblingRules() || element.renderStyle()->unique())) element 595 Source/core/css/SelectorChecker.cpp element.renderStyle()->setEmptyState(result); element 601 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 602 Source/core/css/SelectorChecker.cpp bool result = siblingTraversalStrategy.isFirstChild(element); element 604 Source/core/css/SelectorChecker.cpp RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); element 614 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 615 Source/core/css/SelectorChecker.cpp bool result = siblingTraversalStrategy.isFirstOfType(element, element.tagQName()); element 623 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 624 Source/core/css/SelectorChecker.cpp bool result = parent->isFinishedParsingChildren() && siblingTraversalStrategy.isLastChild(element); element 626 Source/core/css/SelectorChecker.cpp RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); element 636 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 641 Source/core/css/SelectorChecker.cpp return siblingTraversalStrategy.isLastOfType(element, element.tagQName()); element 645 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 646 Source/core/css/SelectorChecker.cpp bool firstChild = siblingTraversalStrategy.isFirstChild(element); element 647 Source/core/css/SelectorChecker.cpp bool onlyChild = firstChild && parent->isFinishedParsingChildren() && siblingTraversalStrategy.isLastChild(element); element 649 Source/core/css/SelectorChecker.cpp RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); element 662 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 669 Source/core/css/SelectorChecker.cpp return siblingTraversalStrategy.isFirstOfType(element, element.tagQName()) && siblingTraversalStrategy.isLastOfType(element, element.tagQName()); element 675 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 676 Source/core/css/SelectorChecker.cpp int count = 1 + siblingTraversalStrategy.countElementsBefore(element); element 678 Source/core/css/SelectorChecker.cpp RenderStyle* childStyle = context.elementStyle ? context.elementStyle : element.renderStyle(); element 679 Source/core/css/SelectorChecker.cpp element.setChildIndex(count); element 692 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 693 Source/core/css/SelectorChecker.cpp int count = 1 + siblingTraversalStrategy.countElementsOfTypeBefore(element, element.tagQName()); element 704 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 709 Source/core/css/SelectorChecker.cpp int count = 1 + siblingTraversalStrategy.countElementsAfter(element); element 717 Source/core/css/SelectorChecker.cpp if (ContainerNode* parent = element.parentElementOrShadowRoot()) { element 723 Source/core/css/SelectorChecker.cpp int count = 1 + siblingTraversalStrategy.countElementsOfTypeAfter(element, element.tagQName()); element 729 Source/core/css/SelectorChecker.cpp if (element == element.document().cssTarget()) element 744 Source/core/css/SelectorChecker.cpp if (!element.isFormControlElement()) element 746 Source/core/css/SelectorChecker.cpp return toHTMLFormControlElement(element).isAutofilled(); element 750 Source/core/css/SelectorChecker.cpp return element.isLink(); element 753 Source/core/css/SelectorChecker.cpp return element.isLink() && context.visitedMatchType == VisitedMatchEnabled; element 759 Source/core/css/SelectorChecker.cpp element.setChildrenAffectedByDrag(); element 761 Source/core/css/SelectorChecker.cpp if (element.renderer() && element.renderer()->isDragging()) element 769 Source/core/css/SelectorChecker.cpp element.setChildrenAffectedByFocus(); element 771 Source/core/css/SelectorChecker.cpp return matchesFocusPseudoClass(element); element 775 Source/core/css/SelectorChecker.cpp if (m_strictParsing || context.isSubSelector || (selector.m_match == CSSSelector::Tag && selector.tagQName() != anyQName() && !isHTMLAnchorElement(element)) || element.isLink()) { element 780 Source/core/css/SelectorChecker.cpp element.setChildrenAffectedByHover(); element 782 Source/core/css/SelectorChecker.cpp if (element.hovered() || InspectorInstrumentation::forcePseudoState(&element, CSSSelector::PseudoHover)) element 789 Source/core/css/SelectorChecker.cpp if (m_strictParsing || context.isSubSelector || (selector.m_match == CSSSelector::Tag && selector.tagQName() != anyQName() && !isHTMLAnchorElement(element)) || element.isLink()) { element 794 Source/core/css/SelectorChecker.cpp element.setChildrenAffectedByActive(); element 796 Source/core/css/SelectorChecker.cpp if (element.active() || InspectorInstrumentation::forcePseudoState(&element, CSSSelector::PseudoActive)) element 801 Source/core/css/SelectorChecker.cpp if (element.isFormControlElement() || isHTMLOptionElement(element) || isHTMLOptGroupElement(element)) element 802 Source/core/css/SelectorChecker.cpp return !element.isDisabledFormControl(); element 805 Source/core/css/SelectorChecker.cpp return element.document().isMediaDocument(); element 808 Source/core/css/SelectorChecker.cpp return element.isDefaultButtonForForm(); element 810 Source/core/css/SelectorChecker.cpp if (element.isFormControlElement() || isHTMLOptionElement(element) || isHTMLOptGroupElement(element)) element 811 Source/core/css/SelectorChecker.cpp return element.isDisabledFormControl(); element 814 Source/core/css/SelectorChecker.cpp return element.matchesReadOnlyPseudoClass(); element 816 Source/core/css/SelectorChecker.cpp return element.matchesReadWritePseudoClass(); element 818 Source/core/css/SelectorChecker.cpp return element.isOptionalFormControl(); element 820 Source/core/css/SelectorChecker.cpp return element.isRequiredFormControl(); element 822 Source/core/css/SelectorChecker.cpp element.document().setContainsValidityStyleRules(); element 823 Source/core/css/SelectorChecker.cpp return element.willValidate() && element.isValidFormControlElement(); element 825 Source/core/css/SelectorChecker.cpp element.document().setContainsValidityStyleRules(); element 826 Source/core/css/SelectorChecker.cpp return element.willValidate() && !element.isValidFormControlElement(); element 829 Source/core/css/SelectorChecker.cpp if (isHTMLInputElement(element)) { element 830 Source/core/css/SelectorChecker.cpp HTMLInputElement& inputElement = toHTMLInputElement(element); element 838 Source/core/css/SelectorChecker.cpp } else if (isHTMLOptionElement(element) && toHTMLOptionElement(element).selected()) element 843 Source/core/css/SelectorChecker.cpp return element.shouldAppearIndeterminate(); element 845 Source/core/css/SelectorChecker.cpp if (element == element.document().documentElement()) element 851 Source/core/css/SelectorChecker.cpp if (element.isVTTElement()) element 852 Source/core/css/SelectorChecker.cpp value = toVTTElement(element).language(); element 854 Source/core/css/SelectorChecker.cpp value = element.computeInheritedLanguage(); element 867 Source/core/css/SelectorChecker.cpp if (isHTMLFrameElementBase(element) && element.containsFullScreenElement()) element 869 Source/core/css/SelectorChecker.cpp if (FullscreenElementStack* fullscreen = FullscreenElementStack::fromIfExists(element.document())) { element 872 Source/core/css/SelectorChecker.cpp return element == fullscreen->webkitCurrentFullScreenElement(); element 876 Source/core/css/SelectorChecker.cpp return element.containsFullScreenElement(); element 880 Source/core/css/SelectorChecker.cpp if (!FullscreenElementStack::isFullScreen(element.document())) element 884 Source/core/css/SelectorChecker.cpp element.document().setContainsValidityStyleRules(); element 885 Source/core/css/SelectorChecker.cpp return element.isInRange(); element 887 Source/core/css/SelectorChecker.cpp element.document().setContainsValidityStyleRules(); element 888 Source/core/css/SelectorChecker.cpp return element.isOutOfRange(); element 890 Source/core/css/SelectorChecker.cpp return (element.isVTTElement() && !toVTTElement(element).isPastNode()); element 892 Source/core/css/SelectorChecker.cpp return (element.isVTTElement() && toVTTElement(element).isPastNode()); element 898 Source/core/css/SelectorChecker.cpp const Node* contextualReferenceNode = !context.scope ? element.document().documentElement() : context.scope; element 899 Source/core/css/SelectorChecker.cpp if (element == contextualReferenceNode) element 905 Source/core/css/SelectorChecker.cpp if (element.isUnresolvedCustomElement()) element 918 Source/core/css/SelectorChecker.cpp if (!shadowHost || shadowHost != element) element 920 Source/core/css/SelectorChecker.cpp ASSERT(element.shadow()); element 937 Source/core/css/SelectorChecker.cpp Element* nextElement = &element; element 941 Source/core/css/SelectorChecker.cpp hostContext.element = nextElement; element 1125 Source/core/css/SelectorChecker.cpp bool SelectorChecker::isFrameFocused(const Element& element) element 1127 Source/core/css/SelectorChecker.cpp return element.document().frame() && element.document().frame()->selection().isFocusedAndActive(); element 1130 Source/core/css/SelectorChecker.cpp bool SelectorChecker::matchesFocusPseudoClass(const Element& element) element 1132 Source/core/css/SelectorChecker.cpp if (InspectorInstrumentation::forcePseudoState(const_cast<Element*>(&element), CSSSelector::PseudoFocus)) element 1134 Source/core/css/SelectorChecker.cpp return element.focused() && isFrameFocused(element); element 64 Source/core/css/SelectorChecker.h SelectorCheckingContext(const CSSSelector& selector, Element* element, VisitedMatchType visitedMatchType) element 66 Source/core/css/SelectorChecker.h , element(element) element 80 Source/core/css/SelectorChecker.h Element* element; element 154 Source/core/css/SelectorChecker.h inline bool SelectorChecker::tagMatches(const Element& element, const QualifiedName& tagQName) element 159 Source/core/css/SelectorChecker.h if (localName != starAtom && localName != element.localName()) element 162 Source/core/css/SelectorChecker.h return namespaceURI == starAtom || namespaceURI == element.namespaceURI(); element 165 Source/core/css/SelectorChecker.h inline bool SelectorChecker::checkExactAttribute(const Element& element, const QualifiedName& selectorAttributeName, const StringImpl* value) element 167 Source/core/css/SelectorChecker.h if (!element.hasAttributesWithoutUpdate()) element 169 Source/core/css/SelectorChecker.h unsigned size = element.attributeCount(); element 171 Source/core/css/SelectorChecker.h const Attribute& attribute = element.attributeItem(i); element 178 Source/core/css/SelectorChecker.h inline bool SelectorChecker::isHostInItsShadowTree(const Element& element, BehaviorAtBoundary behaviorAtBoundary, const ContainerNode* scope) element 181 Source/core/css/SelectorChecker.h return scope == element; element 183 Source/core/css/SelectorChecker.h return scope->shadowHost() == element; element 39 Source/core/css/SelectorFilter.cpp static inline void collectElementIdentifierHashes(const Element& element, Vector<unsigned, 4>& identifierHashes) element 41 Source/core/css/SelectorFilter.cpp identifierHashes.append(element.localName().impl()->existingHash() * TagNameSalt); element 42 Source/core/css/SelectorFilter.cpp if (element.hasID()) element 43 Source/core/css/SelectorFilter.cpp identifierHashes.append(element.idForStyleResolution().impl()->existingHash() * IdAttributeSalt); element 44 Source/core/css/SelectorFilter.cpp if (element.isStyledElement() && element.hasClass()) { element 45 Source/core/css/SelectorFilter.cpp const SpaceSplitString& classNames = element.classNames(); element 55 Source/core/css/SelectorFilter.cpp ASSERT(m_parentStack.isEmpty() || m_parentStack.last().element == parent.parentOrShadowHostElement()); element 106 Source/core/css/SelectorFilter.cpp if (m_parentStack.last().element != parent.parentOrShadowHostElement()) element 49 Source/core/css/SelectorFilter.h bool parentStackIsConsistent(const ContainerNode* parentNode) const { return !m_parentStack.isEmpty() && m_parentStack.last().element == parentNode; } element 57 Source/core/css/SelectorFilter.h ParentStackFrame() : element(0) { } element 58 Source/core/css/SelectorFilter.h ParentStackFrame(Element& element) : element(&element) { } element 59 Source/core/css/SelectorFilter.h Element* element; element 50 Source/core/css/SiblingTraversalStrategies.h inline bool DOMSiblingTraversalStrategy::isFirstChild(Element& element) const element 52 Source/core/css/SiblingTraversalStrategies.h return !ElementTraversal::previousSibling(element); element 55 Source/core/css/SiblingTraversalStrategies.h inline bool DOMSiblingTraversalStrategy::isLastChild(Element& element) const element 57 Source/core/css/SiblingTraversalStrategies.h return !ElementTraversal::nextSibling(element); element 60 Source/core/css/SiblingTraversalStrategies.h inline bool DOMSiblingTraversalStrategy::isFirstOfType(Element& element, const QualifiedName& type) const element 62 Source/core/css/SiblingTraversalStrategies.h for (const Element* sibling = ElementTraversal::previousSibling(element); sibling; sibling = ElementTraversal::previousSibling(*sibling)) { element 69 Source/core/css/SiblingTraversalStrategies.h inline bool DOMSiblingTraversalStrategy::isLastOfType(Element& element, const QualifiedName& type) const element 71 Source/core/css/SiblingTraversalStrategies.h for (const Element* sibling = ElementTraversal::nextSibling(element); sibling; sibling = ElementTraversal::nextSibling(*sibling)) { element 78 Source/core/css/SiblingTraversalStrategies.h inline int DOMSiblingTraversalStrategy::countElementsBefore(Element& element) const element 81 Source/core/css/SiblingTraversalStrategies.h for (const Element* sibling = ElementTraversal::previousSibling(element); sibling; sibling = ElementTraversal::previousSibling(*sibling)) element 87 Source/core/css/SiblingTraversalStrategies.h inline int DOMSiblingTraversalStrategy::countElementsOfTypeBefore(Element& element, const QualifiedName& type) const element 90 Source/core/css/SiblingTraversalStrategies.h for (const Element* sibling = ElementTraversal::previousSibling(element); sibling; sibling = ElementTraversal::previousSibling(*sibling)) { element 98 Source/core/css/SiblingTraversalStrategies.h inline int DOMSiblingTraversalStrategy::countElementsAfter(Element& element) const element 101 Source/core/css/SiblingTraversalStrategies.h for (const Element* sibling = ElementTraversal::nextSibling(element); sibling; sibling = ElementTraversal::nextSibling(*sibling)) element 107 Source/core/css/SiblingTraversalStrategies.h inline int DOMSiblingTraversalStrategy::countElementsOfTypeAfter(Element& element, const QualifiedName& type) const element 110 Source/core/css/SiblingTraversalStrategies.h for (const Element* sibling = ElementTraversal::nextSibling(element); sibling; sibling = ElementTraversal::nextSibling(*sibling)) { element 140 Source/core/css/SiblingTraversalStrategies.h inline bool ShadowDOMSiblingTraversalStrategy::isFirstChild(Element& element) const element 142 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); element 152 Source/core/css/SiblingTraversalStrategies.h inline bool ShadowDOMSiblingTraversalStrategy::isLastChild(Element& element) const element 154 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); element 164 Source/core/css/SiblingTraversalStrategies.h inline bool ShadowDOMSiblingTraversalStrategy::isFirstOfType(Element& element, const QualifiedName& type) const element 166 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); element 176 Source/core/css/SiblingTraversalStrategies.h inline bool ShadowDOMSiblingTraversalStrategy::isLastOfType(Element& element, const QualifiedName& type) const element 178 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); element 188 Source/core/css/SiblingTraversalStrategies.h inline int ShadowDOMSiblingTraversalStrategy::countElementsBefore(Element& element) const element 190 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); element 201 Source/core/css/SiblingTraversalStrategies.h inline int ShadowDOMSiblingTraversalStrategy::countElementsAfter(Element& element) const element 203 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); element 214 Source/core/css/SiblingTraversalStrategies.h inline int ShadowDOMSiblingTraversalStrategy::countElementsOfTypeBefore(Element& element, const QualifiedName& type) const element 216 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); element 227 Source/core/css/SiblingTraversalStrategies.h inline int ShadowDOMSiblingTraversalStrategy::countElementsOfTypeAfter(Element& element, const QualifiedName& type) const element 229 Source/core/css/SiblingTraversalStrategies.h ASSERT(element == toElement(m_siblings[m_nth])); element 83 Source/core/css/StyleSheetList.cpp Element* element = m_treeScope->getElementById(name); element 84 Source/core/css/StyleSheetList.cpp return isHTMLStyleElement(element) ? toHTMLStyleElement(element) : 0; element 28 Source/core/css/invalidation/StyleInvalidator.cpp void StyleInvalidator::scheduleInvalidation(PassRefPtr<DescendantInvalidationSet> invalidationSet, Element& element) element 30 Source/core/css/invalidation/StyleInvalidator.cpp ensurePendingInvalidationList(element).append(invalidationSet); element 31 Source/core/css/invalidation/StyleInvalidator.cpp element.setNeedsStyleInvalidation(); element 34 Source/core/css/invalidation/StyleInvalidator.cpp StyleInvalidator::InvalidationList& StyleInvalidator::ensurePendingInvalidationList(Element& element) element 36 Source/core/css/invalidation/StyleInvalidator.cpp PendingInvalidationMap::AddResult addResult = m_pendingInvalidationMap.add(&element, nullptr); element 68 Source/core/css/invalidation/StyleInvalidator.cpp bool StyleInvalidator::RecursionData::matchesCurrentInvalidationSets(Element& element) element 70 Source/core/css/invalidation/StyleInvalidator.cpp if (element.hasClass()) { element 71 Source/core/css/invalidation/StyleInvalidator.cpp const SpaceSplitString& classNames = element.classNames(); element 77 Source/core/css/invalidation/StyleInvalidator.cpp if (element.hasAttributes()) { element 79 Source/core/css/invalidation/StyleInvalidator.cpp if (element.hasAttribute(*it)) element 83 Source/core/css/invalidation/StyleInvalidator.cpp if (element.hasID()) { element 84 Source/core/css/invalidation/StyleInvalidator.cpp const AtomicString& id = element.idForStyleResolution(); element 88 Source/core/css/invalidation/StyleInvalidator.cpp if (!m_invalidationTagNames.isEmpty() && m_invalidationTagNames.contains(element.tagQName().localName())) element 90 Source/core/css/invalidation/StyleInvalidator.cpp if (m_invalidateCustomPseudo && element.shadowPseudoId() != nullAtom) element 96 Source/core/css/invalidation/StyleInvalidator.cpp bool StyleInvalidator::checkInvalidationSetsAgainstElement(Element& element) element 99 Source/core/css/invalidation/StyleInvalidator.cpp if (element.needsStyleInvalidation()) { element 100 Source/core/css/invalidation/StyleInvalidator.cpp if (InvalidationList* invalidationList = m_pendingInvalidationMap.get(&element)) { element 106 Source/core/css/invalidation/StyleInvalidator.cpp element.setNeedsStyleRecalc(SubtreeStyleChange); element 117 Source/core/css/invalidation/StyleInvalidator.cpp thisElementNeedsStyleRecalc = m_recursionData.matchesCurrentInvalidationSets(element); element 121 Source/core/css/invalidation/StyleInvalidator.cpp bool StyleInvalidator::invalidateChildren(Element& element) element 124 Source/core/css/invalidation/StyleInvalidator.cpp for (ShadowRoot* root = element.youngestShadowRoot(); root; root = root->olderShadowRoot()) { element 132 Source/core/css/invalidation/StyleInvalidator.cpp for (Element* child = ElementTraversal::firstWithin(element); child; child = ElementTraversal::nextSibling(*child)) { element 139 Source/core/css/invalidation/StyleInvalidator.cpp bool StyleInvalidator::invalidate(Element& element) element 143 Source/core/css/invalidation/StyleInvalidator.cpp bool thisElementNeedsStyleRecalc = checkInvalidationSetsAgainstElement(element); element 148 Source/core/css/invalidation/StyleInvalidator.cpp if (m_recursionData.foundInvalidationSet() || element.childNeedsStyleInvalidation()) element 149 Source/core/css/invalidation/StyleInvalidator.cpp someChildrenNeedStyleRecalc = invalidateChildren(element); element 152 Source/core/css/invalidation/StyleInvalidator.cpp element.setNeedsStyleRecalc(LocalStyleChange); element 155 Source/core/css/invalidation/StyleInvalidator.cpp if (RenderObject* renderer = element.renderer()) { element 159 Source/core/css/invalidation/StyleInvalidator.cpp element.setNeedsStyleRecalc(LocalStyleChange); element 163 Source/core/css/invalidation/StyleInvalidator.cpp element.clearChildNeedsStyleInvalidation(); element 164 Source/core/css/invalidation/StyleInvalidator.cpp element.clearNeedsStyleInvalidation(); element 184 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp static bool elementMatchesSelectorScopes(const Element* element, const HashSet<StringImpl*>& idScopes, const HashSet<StringImpl*>& classScopes) element 186 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp if (!idScopes.isEmpty() && element->hasID() && idScopes.contains(element->idForStyleResolution().impl())) element 188 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp if (classScopes.isEmpty() || !element->hasClass()) element 190 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp const SpaceSplitString& classNames = element->classNames(); element 209 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp Element* element = ElementTraversal::firstWithin(document); element 210 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp while (element) { element 211 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp if (elementMatchesSelectorScopes(element, m_idScopes, m_classScopes)) { element 212 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp element->setNeedsStyleRecalc(SubtreeStyleChange); element 214 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp element = ElementTraversal::nextSkippingChildren(*element); element 217 Source/core/css/invalidation/StyleSheetInvalidationAnalysis.cpp element = ElementTraversal::next(*element); element 1153 Source/core/css/parser/BisonCSSParser-in.cpp PassRefPtr<ImmutableStylePropertySet> BisonCSSParser::parseInlineStyleDeclaration(const String& string, Element* element) element 1155 Source/core/css/parser/BisonCSSParser-in.cpp Document& document = element->document(); element 1157 Source/core/css/parser/BisonCSSParser-in.cpp context.setMode((element->isHTMLElement() && !document.inQuirksMode()) ? HTMLStandardMode : HTMLQuirksMode); element 32 Source/core/css/resolver/ElementResolveContext.cpp ElementResolveContext::ElementResolveContext(Element& element) element 33 Source/core/css/resolver/ElementResolveContext.cpp : m_element(&element) element 34 Source/core/css/resolver/ElementResolveContext.cpp , m_elementLinkState(element.document().visitedLinkState().determineLinkState(element)) element 38 Source/core/css/resolver/ElementResolveContext.cpp m_parentNode = NodeRenderingTraversal::parent(&element, &parentDetails); element 41 Source/core/css/resolver/ElementResolveContext.cpp const Document& document = element.document(); element 44 Source/core/css/resolver/ElementResolveContext.cpp m_rootElementStyle = documentElement && element != documentElement ? documentElement->renderStyle() : documentStyle; element 50 Source/core/css/resolver/ElementResolveContext.h Element* element() const { return m_element; } element 148 Source/core/css/resolver/MatchedPropertiesCache.cpp bool MatchedPropertiesCache::isCacheable(const Element* element, const RenderStyle* style, const RenderStyle* parentStyle) element 151 Source/core/css/resolver/MatchedPropertiesCache.cpp if (element == element->document().documentElement() && element->document().writingModeSetOnDocumentElement()) element 114 Source/core/css/resolver/ScopedStyleTree.cpp void ScopedStyleTree::resolveScopedStyles(const Element* element, Vector<ScopedStyleResolver*, 8>& resolvers) element 116 Source/core/css/resolver/ScopedStyleTree.cpp for (ScopedStyleResolver* scopedResolver = scopedResolverFor(element); scopedResolver; scopedResolver = scopedResolver->parent()) element 120 Source/core/css/resolver/ScopedStyleTree.cpp void ScopedStyleTree::collectScopedResolversForHostedShadowTrees(const Element* element, Vector<ScopedStyleResolver*, 8>& resolvers) element 122 Source/core/css/resolver/ScopedStyleTree.cpp ElementShadow* shadow = element->shadow(); element 135 Source/core/css/resolver/ScopedStyleTree.cpp void ScopedStyleTree::resolveScopedKeyframesRules(const Element* element, Vector<ScopedStyleResolver*, 8>& resolvers) element 137 Source/core/css/resolver/ScopedStyleTree.cpp Document& document = element->document(); element 138 Source/core/css/resolver/ScopedStyleTree.cpp TreeScope& treeScope = element->treeScope(); element 142 Source/core/css/resolver/ScopedStyleTree.cpp collectScopedResolversForHostedShadowTrees(element, resolvers); element 145 Source/core/css/resolver/ScopedStyleTree.cpp for (ScopedStyleResolver* scopedResolver = scopedResolverFor(element); scopedResolver; scopedResolver = scopedResolver->parent()) { element 98 Source/core/css/resolver/ScopedStyleTree.h inline ScopedStyleResolver* ScopedStyleTree::scopedResolverFor(const Element* element) element 100 Source/core/css/resolver/ScopedStyleTree.h if (!cacheIsValid(element)) element 101 Source/core/css/resolver/ScopedStyleTree.h resolveStyleCache(element); element 61 Source/core/css/resolver/SharedStyleFinder.cpp if (!isHTMLInputElement(candidate) || !isHTMLInputElement(element())) element 65 Source/core/css/resolver/SharedStyleFinder.cpp HTMLInputElement& thisInput = toHTMLInputElement(element()); element 76 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.isDisabledFormControl() != element().isDisabledFormControl()) element 79 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.isDefaultButtonForForm() != element().isDefaultButtonForForm()) element 85 Source/core/css/resolver/SharedStyleFinder.cpp if (willValidate != element().willValidate()) element 88 Source/core/css/resolver/SharedStyleFinder.cpp if (willValidate && (candidate.isValidFormControlElement() != element().isValidFormControlElement())) element 91 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.isInRange() != element().isInRange()) element 94 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.isOutOfRange() != element().isOutOfRange()) element 111 Source/core/css/resolver/SharedStyleFinder.cpp static inline const AtomicString& typeAttributeValue(const Element& element) element 114 Source/core/css/resolver/SharedStyleFinder.cpp return element.isSVGElement() ? element.getAttribute(typeAttr) : element.fastGetAttribute(typeAttr); element 119 Source/core/css/resolver/SharedStyleFinder.cpp if (element().elementData() == candidate.elementData()) element 121 Source/core/css/resolver/SharedStyleFinder.cpp if (element().fastGetAttribute(XMLNames::langAttr) != candidate.fastGetAttribute(XMLNames::langAttr)) element 123 Source/core/css/resolver/SharedStyleFinder.cpp if (element().fastGetAttribute(langAttr) != candidate.fastGetAttribute(langAttr)) element 128 Source/core/css/resolver/SharedStyleFinder.cpp if (typeAttributeValue(element()) != typeAttributeValue(candidate)) element 130 Source/core/css/resolver/SharedStyleFinder.cpp if (element().fastGetAttribute(readonlyAttr) != candidate.fastGetAttribute(readonlyAttr)) element 138 Source/core/css/resolver/SharedStyleFinder.cpp if (element().isSVGElement()) { element 139 Source/core/css/resolver/SharedStyleFinder.cpp if (element().getAttribute(classAttr) != candidate.getAttribute(classAttr)) element 141 Source/core/css/resolver/SharedStyleFinder.cpp } else if (element().classNames() != candidate.classNames()) { element 148 Source/core/css/resolver/SharedStyleFinder.cpp if (element().presentationAttributeStyle() != candidate.presentationAttributeStyle()) element 154 Source/core/css/resolver/SharedStyleFinder.cpp if (isHTMLProgressElement(element())) { element 155 Source/core/css/resolver/SharedStyleFinder.cpp if (element().shouldAppearIndeterminate() != candidate.shouldAppearIndeterminate()) element 159 Source/core/css/resolver/SharedStyleFinder.cpp if (isHTMLOptGroupElement(element()) || isHTMLOptionElement(element())) { element 160 Source/core/css/resolver/SharedStyleFinder.cpp if (element().isDisabledFormControl() != candidate.isDisabledFormControl()) element 162 Source/core/css/resolver/SharedStyleFinder.cpp if (isHTMLOptionElement(element()) && toHTMLOptionElement(element()).selected() != toHTMLOptionElement(candidate).selected()) element 171 Source/core/css/resolver/SharedStyleFinder.cpp if (!element().shadow() || !element().shadow()->containsActiveStyles()) element 174 Source/core/css/resolver/SharedStyleFinder.cpp return element().shadow()->hasSameStyles(candidate.shadow()); element 180 Source/core/css/resolver/SharedStyleFinder.cpp collectDestinationInsertionPoints(element(), insertionPoints); element 193 Source/core/css/resolver/SharedStyleFinder.cpp if (element() == candidate) element 203 Source/core/css/resolver/SharedStyleFinder.cpp if (element().parentOrShadowHostElement()->renderStyle() != parent->renderStyle()) element 205 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.tagQName() != element().tagQName()) element 213 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.isLink() != element().isLink()) element 215 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.shadowPseudoId() != element().shadowPseudoId()) element 219 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.additionalPresentationAttributeStyle() != element().additionalPresentationAttributeStyle()) element 229 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.isInTopLayer() != element().isInTopLayer()) element 234 Source/core/css/resolver/SharedStyleFinder.cpp if (isControl != element().isFormControlElement()) element 247 Source/core/css/resolver/SharedStyleFinder.cpp if (candidate.isUnresolvedCustomElement() != element().isUnresolvedCustomElement()) element 250 Source/core/css/resolver/SharedStyleFinder.cpp if (element().parentOrShadowHostElement() != parent) { element 270 Source/core/css/resolver/SharedStyleFinder.cpp for (Element* element = document().documentElement(); element; element = ElementTraversal::next(*element)) { element 271 Source/core/css/resolver/SharedStyleFinder.cpp if (element->supportsStyleSharing() && canShareStyleWithElement(*element)) element 291 Source/core/css/resolver/SharedStyleFinder.cpp m_styleResolver.addToStyleSharingList(element()); element 307 Source/core/css/resolver/SharedStyleFinder.cpp if (!element().supportsStyleSharing()) element 311 Source/core/css/resolver/SharedStyleFinder.cpp m_elementAffectedByClassRules = element().hasClass() && classNamesAffectedByRules(element().classNames()); element 334 Source/core/css/resolver/SharedStyleFinder.cpp if (!element().parentElementOrShadowRoot()->childrenSupportStyleSharing()) { element 71 Source/core/css/resolver/SharedStyleFinder.h Element& element() const { return *m_context.element(); } element 72 Source/core/css/resolver/SharedStyleFinder.h Document& document() const { return element().document(); } element 59 Source/core/css/resolver/StyleAdjuster.cpp static inline bool isAtShadowBoundary(const Element* element) element 61 Source/core/css/resolver/StyleAdjuster.cpp if (!element) element 63 Source/core/css/resolver/StyleAdjuster.cpp ContainerNode* parentNode = element->parentNode(); element 145 Source/core/css/resolver/StyleAdjuster.cpp static bool isInTopLayer(const Element* element, const RenderStyle* style) element 147 Source/core/css/resolver/StyleAdjuster.cpp return (element && element->isInTopLayer()) || (style && style->styleType() == BACKDROP); element 296 Source/core/css/resolver/StyleAdjuster.cpp void StyleAdjuster::adjustStyleForTagName(RenderStyle* style, RenderStyle* parentStyle, Element& element) element 299 Source/core/css/resolver/StyleAdjuster.cpp if (isHTMLDivElement(element) || isHTMLSpanElement(element)) element 302 Source/core/css/resolver/StyleAdjuster.cpp if (isHTMLTableCellElement(element)) { element 305 Source/core/css/resolver/StyleAdjuster.cpp if (element.hasTagName(tdTag) && m_useQuirksModeStyles) { element 311 Source/core/css/resolver/StyleAdjuster.cpp if (element.hasTagName(thTag) && style->textAlign() == TASTART) element 325 Source/core/css/resolver/StyleAdjuster.cpp if (isHTMLTableElement(element)) { element 336 Source/core/css/resolver/StyleAdjuster.cpp if (isHTMLFrameElement(element) || isHTMLFrameSetElement(element)) { element 344 Source/core/css/resolver/StyleAdjuster.cpp if (isHTMLRTElement(element)) { element 351 Source/core/css/resolver/StyleAdjuster.cpp if (isHTMLLegendElement(element)) { element 356 Source/core/css/resolver/StyleAdjuster.cpp if (isHTMLMarqueeElement(element)) { element 363 Source/core/css/resolver/StyleAdjuster.cpp if (element.isFormControlElement()) { element 364 Source/core/css/resolver/StyleAdjuster.cpp if (isHTMLTextAreaElement(element)) { element 375 Source/core/css/resolver/StyleAdjuster.cpp if (style->fontSize() >= 11 && (!isHTMLInputElement(element) || !toHTMLInputElement(element).isImageButton())) element 381 Source/core/css/resolver/StyleAdjuster.cpp void StyleAdjuster::adjustOverflow(RenderStyle* style, Element* element) element 412 Source/core/css/resolver/StyleAdjuster.cpp if (element && element->isSVGElement()) { element 184 Source/core/css/resolver/StyleBuilderCustom.cpp if (image->updateIfSVGCursorIsUsed(state.element())) // Elements with SVG cursors are not allowed to share style. element 203 Source/core/css/resolver/StyleBuilderCustom.cpp Element* element = state.element(); element 204 Source/core/css/resolver/StyleBuilderCustom.cpp if (element && element == element->document().documentElement()) element 205 Source/core/css/resolver/StyleBuilderCustom.cpp element->document().setDirectionSetOnDocumentElement(true); element 210 Source/core/css/resolver/StyleBuilderCustom.cpp if (state.element() && state.element()->isSVGElement() && state.style()->styleType() == NOPSEUDO) element 1346 Source/core/css/resolver/StyleBuilderCustom.cpp const AtomicString& value = state.element()->getAttribute(attr); element 1657 Source/core/css/resolver/StyleBuilderCustom.cpp if (state.element() && state.element() == state.document().documentElement()) element 92 Source/core/css/resolver/StyleResolver.cpp void setAnimationUpdateIfNeeded(StyleResolverState& state, Element& element) element 97 Source/core/css/resolver/StyleResolver.cpp element.ensureActiveAnimations().cssAnimations().setPendingUpdate(state.takeAnimationUpdate()); element 337 Source/core/css/resolver/StyleResolver.cpp void StyleResolver::addToStyleSharingList(Element& element) element 346 Source/core/css/resolver/StyleResolver.cpp m_styleSharingList.prepend(&element); element 403 Source/core/css/resolver/StyleResolver.cpp inline void StyleResolver::collectTreeBoundaryCrossingRules(Element* element, ElementRuleCollector& collector, bool includeEmptyRules) element 417 Source/core/css/resolver/StyleResolver.cpp bool isInnerTreeScope = element->treeScope().isInclusiveAncestorOf(scopingNode->treeScope()); element 422 Source/core/css/resolver/StyleResolver.cpp if (element->isInDescendantTreeOf(toShadowRoot(scopingNode)->host())) element 434 Source/core/css/resolver/StyleResolver.cpp static inline bool applyAuthorStylesOf(const Element* element) element 436 Source/core/css/resolver/StyleResolver.cpp return element->treeScope().applyAuthorStyles() || (element->shadow() && element->shadow()->applyAuthorStyles()); element 439 Source/core/css/resolver/StyleResolver.cpp void StyleResolver::matchAuthorRulesForShadowHost(Element* element, ElementRuleCollector& collector, bool includeEmptyRules, Vector<ScopedStyleResolver*, 8>& resolvers, Vector<ScopedStyleResolver*, 8>& resolversInShadowTree) element 446 Source/core/css/resolver/StyleResolver.cpp bool applyAuthorStyles = applyAuthorStylesOf(element); element 451 Source/core/css/resolver/StyleResolver.cpp if (resolvers.isEmpty() || resolvers.first()->treeScope() != element->treeScope()) element 457 Source/core/css/resolver/StyleResolver.cpp collectTreeBoundaryCrossingRules(element, collector, includeEmptyRules); element 461 Source/core/css/resolver/StyleResolver.cpp void StyleResolver::matchAuthorRules(Element* element, ElementRuleCollector& collector, bool includeEmptyRules) element 466 Source/core/css/resolver/StyleResolver.cpp bool applyAuthorStyles = applyAuthorStylesOf(element); element 469 Source/core/css/resolver/StyleResolver.cpp collectTreeBoundaryCrossingRules(element, collector, includeEmptyRules); element 475 Source/core/css/resolver/StyleResolver.cpp m_styleTree.resolveScopedStyles(element, resolvers); element 478 Source/core/css/resolver/StyleResolver.cpp m_styleTree.collectScopedResolversForHostedShadowTrees(element, resolversInShadowTree); element 480 Source/core/css/resolver/StyleResolver.cpp matchAuthorRulesForShadowHost(element, collector, includeEmptyRules, resolvers, resolversInShadowTree); element 492 Source/core/css/resolver/StyleResolver.cpp resolver->collectMatchingAuthorRules(collector, includeEmptyRules, applyAuthorStyles, cascadeScope++, resolver->treeScope() == element->treeScope() && resolver->scopingNode().isShadowRoot() ? 0 : cascadeOrder); element 495 Source/core/css/resolver/StyleResolver.cpp collectTreeBoundaryCrossingRules(element, collector, includeEmptyRules); element 547 Source/core/css/resolver/StyleResolver.cpp if (state.element()->isStyledElement()) { element 548 Source/core/css/resolver/StyleResolver.cpp collector.addElementStyleProperties(state.element()->presentationAttributeStyle()); element 553 Source/core/css/resolver/StyleResolver.cpp collector.addElementStyleProperties(state.element()->additionalPresentationAttributeStyle()); element 555 Source/core/css/resolver/StyleResolver.cpp if (state.element()->isHTMLElement()) { element 557 Source/core/css/resolver/StyleResolver.cpp TextDirection textDirection = toHTMLElement(state.element())->directionalityIfhasDirAutoAttribute(isAuto); element 563 Source/core/css/resolver/StyleResolver.cpp matchAuthorRules(state.element(), collector, false); element 565 Source/core/css/resolver/StyleResolver.cpp if (state.element()->isStyledElement()) { element 566 Source/core/css/resolver/StyleResolver.cpp if (state.element()->inlineStyle()) { element 568 Source/core/css/resolver/StyleResolver.cpp bool isInlineStyleCacheable = !state.element()->inlineStyle()->isMutable(); element 569 Source/core/css/resolver/StyleResolver.cpp collector.addElementStyleProperties(state.element()->inlineStyle(), isInlineStyleCacheable); element 573 Source/core/css/resolver/StyleResolver.cpp if (includeSMILProperties && state.element()->isSVGElement()) element 574 Source/core/css/resolver/StyleResolver.cpp collector.addElementStyleProperties(toSVGElement(state.element())->animatedSMILStyleProperties(), false /* isCacheable */); element 598 Source/core/css/resolver/StyleResolver.cpp static inline bool isAtShadowBoundary(const Element* element) element 600 Source/core/css/resolver/StyleResolver.cpp if (!element) element 602 Source/core/css/resolver/StyleResolver.cpp ContainerNode* parentNode = element->parentNode(); element 625 Source/core/css/resolver/StyleResolver.cpp PassRefPtr<RenderStyle> StyleResolver::styleForElement(Element* element, RenderStyle* defaultParent, StyleSharingBehavior sharingBehavior, element 635 Source/core/css/resolver/StyleResolver.cpp if (sharingBehavior == AllowStyleSharing && !element->document().haveStylesheetsLoaded() && !element->renderer()) { element 641 Source/core/css/resolver/StyleResolver.cpp element->document().setHasNodesWithPlaceholderStyle(); element 649 Source/core/css/resolver/StyleResolver.cpp if (element == document().documentElement()) element 651 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element, defaultParent); element 661 Source/core/css/resolver/StyleResolver.cpp state.style()->inheritFrom(state.parentStyle(), isAtShadowBoundary(element) ? RenderStyle::AtShadowBoundary : RenderStyle::NotAtShadowBoundary); element 669 Source/core/css/resolver/StyleResolver.cpp if (Element* parent = element->parentElement()) { element 677 Source/core/css/resolver/StyleResolver.cpp if (element->isLink()) { element 681 Source/core/css/resolver/StyleResolver.cpp bool forceVisited = InspectorInstrumentation::forcePseudoState(element, CSSSelector::PseudoVisited); element 689 Source/core/css/resolver/StyleResolver.cpp CSSDefaultStyleSheets::instance().ensureDefaultStyleSheetsForElement(element, needsCollection); element 707 Source/core/css/resolver/StyleResolver.cpp adjuster.adjustRenderStyle(state.style(), state.parentStyle(), element); element 713 Source/core/css/resolver/StyleResolver.cpp applyAnimatedProperties(state, element); element 716 Source/core/css/resolver/StyleResolver.cpp if (isHTMLBodyElement(*element)) element 719 Source/core/css/resolver/StyleResolver.cpp setAnimationUpdateIfNeeded(state, *element); element 728 Source/core/css/resolver/StyleResolver.cpp PassRefPtr<RenderStyle> StyleResolver::styleForKeyframe(Element* element, const RenderStyle& elementStyle, RenderStyle* parentStyle, const StyleKeyframe* keyframe, const AtomicString& animationName) element 734 Source/core/css/resolver/StyleResolver.cpp if (element == document().documentElement()) element 736 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element, parentStyle); element 790 Source/core/css/resolver/StyleResolver.cpp PassRefPtrWillBeRawPtr<AnimatableValueKeyframeEffectModel> StyleResolver::createKeyframeEffectModel(Element& element, const WillBeHeapVector<RefPtrWillBeMember<MutableStylePropertySet> >& propertySetVector, AnimatableValueKeyframeVector& keyframes) element 794 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(element.document(), &element); element 848 Source/core/css/resolver/StyleResolver.cpp bool StyleResolver::pseudoStyleForElementInternal(Element& element, const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle, StyleResolverState& state) element 875 Source/core/css/resolver/StyleResolver.cpp matchAuthorRules(state.element(), collector, false); element 896 Source/core/css/resolver/StyleResolver.cpp applyAnimatedProperties(state, element.pseudoElement(pseudoStyleRequest.pseudoId)); element 906 Source/core/css/resolver/StyleResolver.cpp PassRefPtr<RenderStyle> StyleResolver::pseudoStyleForElement(Element* element, const PseudoStyleRequest& pseudoStyleRequest, RenderStyle* parentStyle) element 909 Source/core/css/resolver/StyleResolver.cpp if (!element) element 912 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element, parentStyle); element 913 Source/core/css/resolver/StyleResolver.cpp if (!pseudoStyleForElementInternal(*element, pseudoStyleRequest, parentStyle, state)) element 916 Source/core/css/resolver/StyleResolver.cpp if (PseudoElement* pseudoElement = element->pseudoElement(pseudoStyleRequest.pseudoId)) element 1015 Source/core/css/resolver/StyleResolver.cpp PassRefPtrWillBeRawPtr<StyleRuleList> StyleResolver::styleRulesForElement(Element* element, unsigned rulesToInclude) element 1017 Source/core/css/resolver/StyleResolver.cpp ASSERT(element); element 1018 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element); element 1021 Source/core/css/resolver/StyleResolver.cpp collectPseudoRulesForElement(element, collector, NOPSEUDO, rulesToInclude); element 1025 Source/core/css/resolver/StyleResolver.cpp PassRefPtrWillBeRawPtr<CSSRuleList> StyleResolver::pseudoCSSRulesForElement(Element* element, PseudoId pseudoId, unsigned rulesToInclude) element 1027 Source/core/css/resolver/StyleResolver.cpp ASSERT(element); element 1028 Source/core/css/resolver/StyleResolver.cpp StyleResolverState state(document(), element); element 1031 Source/core/css/resolver/StyleResolver.cpp collectPseudoRulesForElement(element, collector, pseudoId, rulesToInclude); element 1035 Source/core/css/resolver/StyleResolver.cpp PassRefPtrWillBeRawPtr<CSSRuleList> StyleResolver::cssRulesForElement(Element* element, unsigned rulesToInclude) element 1037 Source/core/css/resolver/StyleResolver.cpp return pseudoCSSRulesForElement(element, NOPSEUDO, rulesToInclude); element 1040 Source/core/css/resolver/StyleResolver.cpp void StyleResolver::collectPseudoRulesForElement(Element* element, ElementRuleCollector& collector, PseudoId pseudoId, unsigned rulesToInclude) element 1049 Source/core/css/resolver/StyleResolver.cpp matchAuthorRules(element, collector, rulesToInclude & EmptyCSSRules); element 1058 Source/core/css/resolver/StyleResolver.cpp const Element* element = state.element(); element 1059 Source/core/css/resolver/StyleResolver.cpp ASSERT(element); element 1064 Source/core/css/resolver/StyleResolver.cpp ASSERT(animatingElement == element || !animatingElement || animatingElement->parentOrShadowHostElement() == element); element 1071 Source/core/css/resolver/StyleResolver.cpp state.setAnimationUpdate(CSSAnimations::calculateUpdate(animatingElement, *element, *state.style(), state.parentStyle(), this)); element 1252 Source/core/css/resolver/StyleResolver.cpp const Element* element = state.element(); element 1253 Source/core/css/resolver/StyleResolver.cpp ASSERT(element); element 1262 Source/core/css/resolver/StyleResolver.cpp && MatchedPropertiesCache::isCacheable(element, state.style(), state.parentStyle())) { element 1268 Source/core/css/resolver/StyleResolver.cpp if (state.parentStyle()->inheritedDataShared(cachedMatchedProperties->parentRenderStyle.get()) && !isAtShadowBoundary(element) element 1336 Source/core/css/resolver/StyleResolver.cpp if (!cachedMatchedProperties && cacheHash && MatchedPropertiesCache::isCacheable(element, state.style(), state.parentStyle())) { element 166 Source/core/css/resolver/StyleResolver.h void styleTreeResolveScopedKeyframesRules(const Element* element, Vector<ScopedStyleResolver*, 8>& resolvers) element 168 Source/core/css/resolver/StyleResolver.h m_styleTree.resolveScopedKeyframesRules(element, resolvers); element 32 Source/core/css/resolver/StyleResolverState.cpp StyleResolverState::StyleResolverState(Document& document, Element* element, RenderStyle* parentStyle) element 33 Source/core/css/resolver/StyleResolverState.cpp : m_elementContext(element ? ElementResolveContext(*element) : ElementResolveContext()) element 55 Source/core/css/resolver/StyleResolverState.h Element* element() const { return m_elementContext.element(); } element 139 Source/core/css/resolver/StyleResolverState.h bool useSVGZoomRules() const { return element() && element()->isSVGElement(); } element 39 Source/core/dom/Attr.cpp Attr::Attr(Element& element, const QualifiedName& name) element 40 Source/core/dom/Attr.cpp : ContainerNode(&element.document()) element 41 Source/core/dom/Attr.cpp , m_element(&element) element 58 Source/core/dom/Attr.cpp PassRefPtr<Attr> Attr::create(Element& element, const QualifiedName& name) element 60 Source/core/dom/Attr.cpp RefPtr<Attr> attr = adoptRef(new Attr(element, name)); element 199 Source/core/dom/Attr.cpp void Attr::attachToElement(Element* element) element 202 Source/core/dom/Attr.cpp m_element = element; element 1036 Source/core/dom/ContainerNode.cpp Element* element = toElement(child); element 1037 Source/core/dom/ContainerNode.cpp bool childRulesChanged = element->needsStyleRecalc() && element->styleChangeType() >= SubtreeStyleChange; element 1040 Source/core/dom/ContainerNode.cpp element->setNeedsStyleRecalc(SubtreeStyleChange); element 82 Source/core/dom/DOMStringMap.h virtual Element* element() = 0; element 62 Source/core/dom/DOMTokenList.h virtual Element* element() { return 0; } element 39 Source/core/dom/DatasetDOMStringMap.h static PassOwnPtr<DatasetDOMStringMap> create(Element* element) element 41 Source/core/dom/DatasetDOMStringMap.h return adoptPtr(new DatasetDOMStringMap(element)); element 53 Source/core/dom/DatasetDOMStringMap.h virtual Element* element() OVERRIDE { return m_element; } element 56 Source/core/dom/DatasetDOMStringMap.h explicit DatasetDOMStringMap(Element* element) element 57 Source/core/dom/DatasetDOMStringMap.h : m_element(element) element 304 Source/core/dom/Document.cpp static bool acceptsEditingFocus(const Element& element) element 306 Source/core/dom/Document.cpp ASSERT(element.rendererIsEditable()); element 308 Source/core/dom/Document.cpp return element.document().frame() && element.rootEditableElement(); element 363 Source/core/dom/Document.cpp if (RefPtr<Element> element = document->autofocusElement()) { element 365 Source/core/dom/Document.cpp element->focus(); element 728 Source/core/dom/Document.cpp RefPtr<Element> element; element 731 Source/core/dom/Document.cpp element = registrationContext()->createCustomTagElement(*this, QualifiedName(nullAtom, localName, xhtmlNamespaceURI)); element 733 Source/core/dom/Document.cpp element = createElement(localName, exceptionState); element 739 Source/core/dom/Document.cpp CustomElementRegistrationContext::setIsAttributeAndTypeExtension(element.get(), typeExtension); element 741 Source/core/dom/Document.cpp return element; element 774 Source/core/dom/Document.cpp RefPtr<Element> element; element 776 Source/core/dom/Document.cpp element = registrationContext()->createCustomTagElement(*this, qName); element 778 Source/core/dom/Document.cpp element = createElement(qName, false); element 781 Source/core/dom/Document.cpp CustomElementRegistrationContext::setIsAttributeAndTypeExtension(element.get(), typeExtension); element 783 Source/core/dom/Document.cpp return element; element 1659 Source/core/dom/Document.cpp if (Element* element = viewportDefiningElement(documentElementStyle.get())) { element 1660 Source/core/dom/Document.cpp if (element == body) { element 1663 Source/core/dom/Document.cpp ASSERT(element == documentElement()); element 1943 Source/core/dom/Document.cpp PassRefPtr<RenderStyle> Document::styleForElementIgnoringPendingStylesheets(Element* element) element 1945 Source/core/dom/Document.cpp ASSERT_ARG(element, element->document() == this); element 1947 Source/core/dom/Document.cpp return ensureStyleResolver().styleForElement(element, element->parentNode() ? element->parentNode()->computedStyle() : 0); element 2019 Source/core/dom/Document.cpp void Document::scheduleLayerUpdate(Element& element) element 2021 Source/core/dom/Document.cpp if (element.styleChangeType() == NeedsReattachStyleChange) element 2023 Source/core/dom/Document.cpp element.setNeedsLayerUpdate(); element 2024 Source/core/dom/Document.cpp m_layerUpdateElements.add(&element); element 2028 Source/core/dom/Document.cpp void Document::unscheduleLayerUpdate(Element& element) element 2030 Source/core/dom/Document.cpp element.clearNeedsLayerUpdate(); element 2031 Source/core/dom/Document.cpp m_layerUpdateElements.remove(&element); element 2034 Source/core/dom/Document.cpp void Document::scheduleUseShadowTreeUpdate(SVGUseElement& element) element 2036 Source/core/dom/Document.cpp m_useElementsNeedingUpdate.add(&element); element 2040 Source/core/dom/Document.cpp void Document::unscheduleUseShadowTreeUpdate(SVGUseElement& element) element 2042 Source/core/dom/Document.cpp m_useElementsNeedingUpdate.remove(&element); element 4342 Source/core/dom/Document.cpp Element* element; element 4343 Source/core/dom/Document.cpp while ((element = doc->ownerElement())) element 4344 Source/core/dom/Document.cpp doc = &element->document(); element 4734 Source/core/dom/Document.cpp Element* element = focusedElement(); element 4735 Source/core/dom/Document.cpp if (!element) element 4738 Source/core/dom/Document.cpp if (element->isFocusable()) element 4739 Source/core/dom/Document.cpp element->updateFocusAppearance(m_updateFocusAppearanceRestoresSelection); element 4757 Source/core/dom/Document.cpp HTMLCanvasElement& element = getCSSCanvasElement(name); element 4758 Source/core/dom/Document.cpp element.setSize(IntSize(width, height)); element 4759 Source/core/dom/Document.cpp CanvasRenderingContext* context = element.getContext(type); element 4774 Source/core/dom/Document.cpp RefPtr<HTMLCanvasElement>& element = m_cssCanvasElements.add(name, nullptr).storedValue->value; element 4775 Source/core/dom/Document.cpp if (!element) { element 4776 Source/core/dom/Document.cpp element = HTMLCanvasElement::create(*this); element 4777 Source/core/dom/Document.cpp element->setAccelerationDisabled(true); element 4779 Source/core/dom/Document.cpp return *element; element 4898 Source/core/dom/Document.cpp void Document::addToTopLayer(Element* element, const Element* before) element 4900 Source/core/dom/Document.cpp if (element->isInTopLayer()) element 4903 Source/core/dom/Document.cpp ASSERT(!m_topLayerElements.contains(element)); element 4907 Source/core/dom/Document.cpp m_topLayerElements.insert(beforePosition, element); element 4909 Source/core/dom/Document.cpp m_topLayerElements.append(element); element 4911 Source/core/dom/Document.cpp element->setIsInTopLayer(true); element 4914 Source/core/dom/Document.cpp void Document::removeFromTopLayer(Element* element) element 4916 Source/core/dom/Document.cpp if (!element->isInTopLayer()) element 4918 Source/core/dom/Document.cpp size_t position = m_topLayerElements.find(element); element 4921 Source/core/dom/Document.cpp element->setIsInTopLayer(false); element 4935 Source/core/dom/Document.cpp if (Element* target = page()->pointerLockController().element()) { element 4946 Source/core/dom/Document.cpp if (Element* element = page()->pointerLockController().element()) { element 4947 Source/core/dom/Document.cpp if (element->document() == this) element 4948 Source/core/dom/Document.cpp return element; element 5376 Source/core/dom/Document.cpp void Document::didAssociateFormControl(Element* element) element 5380 Source/core/dom/Document.cpp m_associatedFormControls.add(element); element 5447 Source/core/dom/Document.cpp void Document::setAutofocusElement(Element* element) element 5449 Source/core/dom/Document.cpp if (!element) { element 5457 Source/core/dom/Document.cpp m_autofocusElement = element; element 5463 Source/core/dom/Document.cpp if (Element* element = treeScope().adjustedFocusedElement()) element 5464 Source/core/dom/Document.cpp return element; element 44 Source/core/dom/DocumentOrderedMap.cpp inline bool keyMatchesId(StringImpl* key, Element& element) element 46 Source/core/dom/DocumentOrderedMap.cpp return element.getIdAttribute().impl() == key; element 49 Source/core/dom/DocumentOrderedMap.cpp inline bool keyMatchesMapName(StringImpl* key, Element& element) element 51 Source/core/dom/DocumentOrderedMap.cpp return isHTMLMapElement(element) && toHTMLMapElement(element).getName().impl() == key; element 54 Source/core/dom/DocumentOrderedMap.cpp inline bool keyMatchesLowercasedMapName(StringImpl* key, Element& element) element 56 Source/core/dom/DocumentOrderedMap.cpp return isHTMLMapElement(element) && toHTMLMapElement(element).getName().lower().impl() == key; element 59 Source/core/dom/DocumentOrderedMap.cpp inline bool keyMatchesLabelForAttribute(StringImpl* key, Element& element) element 61 Source/core/dom/DocumentOrderedMap.cpp return isHTMLLabelElement(element) && element.getAttribute(forAttr).impl() == key; element 64 Source/core/dom/DocumentOrderedMap.cpp void DocumentOrderedMap::add(StringImpl* key, Element* element) element 67 Source/core/dom/DocumentOrderedMap.cpp ASSERT(element); element 69 Source/core/dom/DocumentOrderedMap.cpp Map::AddResult addResult = m_map.add(key, adoptPtr(new MapEntry(element))); element 75 Source/core/dom/DocumentOrderedMap.cpp entry->element = 0; element 80 Source/core/dom/DocumentOrderedMap.cpp void DocumentOrderedMap::remove(StringImpl* key, Element* element) element 83 Source/core/dom/DocumentOrderedMap.cpp ASSERT(element); element 92 Source/core/dom/DocumentOrderedMap.cpp ASSERT(!entry->element || entry->element == element); element 95 Source/core/dom/DocumentOrderedMap.cpp if (entry->element == element) { element 96 Source/core/dom/DocumentOrderedMap.cpp ASSERT(entry->orderedList.isEmpty() || entry->orderedList.first() == element); element 97 Source/core/dom/DocumentOrderedMap.cpp entry->element = entry->orderedList.size() > 1 ? entry->orderedList[1] : 0; element 115 Source/core/dom/DocumentOrderedMap.cpp if (entry->element) element 116 Source/core/dom/DocumentOrderedMap.cpp return entry->element; element 119 Source/core/dom/DocumentOrderedMap.cpp for (Element* element = ElementTraversal::firstWithin(scope->rootNode()); element; element = ElementTraversal::next(*element)) { element 120 Source/core/dom/DocumentOrderedMap.cpp if (!keyMatches(key, *element)) element 122 Source/core/dom/DocumentOrderedMap.cpp entry->element = element; element 123 Source/core/dom/DocumentOrderedMap.cpp return element; element 149 Source/core/dom/DocumentOrderedMap.cpp for (Element* element = entry->element ? entry->element : ElementTraversal::firstWithin(scope->rootNode()); entry->orderedList.size() < entry->count; element = ElementTraversal::next(*element)) { element 150 Source/core/dom/DocumentOrderedMap.cpp ASSERT(element); element 151 Source/core/dom/DocumentOrderedMap.cpp if (!keyMatchesId(key, *element)) element 153 Source/core/dom/DocumentOrderedMap.cpp entry->orderedList.uncheckedAppend(element); element 155 Source/core/dom/DocumentOrderedMap.cpp if (!entry->element) element 156 Source/core/dom/DocumentOrderedMap.cpp entry->element = entry->orderedList.first(); element 62 Source/core/dom/DocumentOrderedMap.h : element(firstElement) element 66 Source/core/dom/DocumentOrderedMap.h Element* element; element 122 Source/core/dom/Element.cpp static AttrNodeList* attrNodeListForElement(Element* element) element 124 Source/core/dom/Element.cpp if (!element->hasSyntheticAttrChildNodes()) element 126 Source/core/dom/Element.cpp ASSERT(attrNodeListMap().contains(element)); element 127 Source/core/dom/Element.cpp return attrNodeListMap().get(element); element 130 Source/core/dom/Element.cpp static AttrNodeList& ensureAttrNodeListForElement(Element* element) element 132 Source/core/dom/Element.cpp if (element->hasSyntheticAttrChildNodes()) { element 133 Source/core/dom/Element.cpp ASSERT(attrNodeListMap().contains(element)); element 134 Source/core/dom/Element.cpp return *attrNodeListMap().get(element); element 136 Source/core/dom/Element.cpp ASSERT(!attrNodeListMap().contains(element)); element 137 Source/core/dom/Element.cpp element->setHasSyntheticAttrChildNodes(true); element 138 Source/core/dom/Element.cpp AttrNodeListMap::AddResult result = attrNodeListMap().add(element, adoptPtr(new AttrNodeList)); element 142 Source/core/dom/Element.cpp static void removeAttrNodeListForElement(Element* element) element 144 Source/core/dom/Element.cpp ASSERT(element->hasSyntheticAttrChildNodes()); element 145 Source/core/dom/Element.cpp ASSERT(attrNodeListMap().contains(element)); element 146 Source/core/dom/Element.cpp attrNodeListMap().remove(element); element 147 Source/core/dom/Element.cpp element->setHasSyntheticAttrChildNodes(false); element 577 Source/core/dom/Element.cpp Element* element = offsetParent(); element 578 Source/core/dom/Element.cpp if (!element || !element->isInShadowTree()) element 579 Source/core/dom/Element.cpp return element; element 580 Source/core/dom/Element.cpp return element->containingShadowRoot()->shouldExposeToBindings() ? element : 0; element 1643 Source/core/dom/Element.cpp Element* element = toElement(child); element 1644 Source/core/dom/Element.cpp if (element->shouldCallRecalcStyle(change)) element 1645 Source/core/dom/Element.cpp element->recalcStyle(change, lastTextNode); element 1646 Source/core/dom/Element.cpp else if (element->supportsStyleSharing()) element 1647 Source/core/dom/Element.cpp styleResolver.addToStyleSharingList(*element); element 1648 Source/core/dom/Element.cpp if (element->renderer()) element 2319 Source/core/dom/Element.cpp static Element* contextElementForInsertion(const String& where, Element* element, ExceptionState& exceptionState) element 2322 Source/core/dom/Element.cpp ContainerNode* parent = element->parentNode(); element 2330 Source/core/dom/Element.cpp return element; element 2470 Source/core/dom/Element.cpp if (PseudoElement* element = pseudoElement(pseudoElementSpecifier)) element 2471 Source/core/dom/Element.cpp return element->computedStyle(); element 2562 Source/core/dom/Element.cpp PseudoElement* element = pseudoElement(pseudoId); element 2563 Source/core/dom/Element.cpp if (element && (change == UpdatePseudoElements || element->shouldCallRecalcStyle(change))) { element 2567 Source/core/dom/Element.cpp if (element->needsStyleRecalc()) element 2573 Source/core/dom/Element.cpp element->recalcStyle(change == UpdatePseudoElements ? Force : change); element 2593 Source/core/dom/Element.cpp RefPtr<PseudoElement> element = engine->ensureResolver().createPseudoElementIfNeeded(*this, pseudoId); element 2594 Source/core/dom/Element.cpp if (!element) element 2598 Source/core/dom/Element.cpp document().addToTopLayer(element.get(), this); element 2599 Source/core/dom/Element.cpp element->insertedInto(this); element 2600 Source/core/dom/Element.cpp element->attach(); element 2602 Source/core/dom/Element.cpp InspectorInstrumentation::pseudoElementCreated(element.get()); element 2604 Source/core/dom/Element.cpp ensureElementRareData().setPseudoElement(pseudoId, element.release()); element 2614 Source/core/dom/Element.cpp if (PseudoElement* element = pseudoElement(pseudoId)) element 2615 Source/core/dom/Element.cpp return element->renderer(); element 2719 Source/core/dom/Element.cpp static Element* parentCrossingFrameBoundaries(Element* element) element 2721 Source/core/dom/Element.cpp ASSERT(element); element 2722 Source/core/dom/Element.cpp return element->parentElement() ? element->parentElement() : element->document().ownerElement(); element 2727 Source/core/dom/Element.cpp Element* element = this; element 2728 Source/core/dom/Element.cpp while ((element = parentCrossingFrameBoundaries(element))) element 2729 Source/core/dom/Element.cpp element->setContainsFullScreenElement(flag); element 2764 Source/core/dom/Element.cpp for (const Element* element = this; element; element = element->parentOrShadowHostElement()) { element 2765 Source/core/dom/Element.cpp switch (element->spellcheckAttributeState()) { element 2898 Source/core/dom/Element.cpp static bool needsURLResolutionForInlineStyle(const Element& element, const Document& oldDocument, const Document& newDocument) element 2904 Source/core/dom/Element.cpp const StylePropertySet* style = element.inlineStyle(); element 873 Source/core/dom/Element.h inline bool isShadowHost(const Element* element) element 875 Source/core/dom/Element.h return element && element->shadow(); element 881 Source/core/dom/Element.h template <> inline bool isElementOfType<const thisType>(const Element& element) { return element.predicate; } \ element 885 Source/core/dom/Element.h template <> inline bool isElementOfType<const thisType>(const Element& element) { return is##thisType(element); } \ element 112 Source/core/dom/ElementRareData.h InputMethodContext& ensureInputMethodContext(HTMLElement* element) element 115 Source/core/dom/ElementRareData.h m_inputMethodContext = InputMethodContext::create(element); element 183 Source/core/dom/ElementRareData.h inline void ElementRareData::setPseudoElement(PseudoId pseudoId, PassRefPtr<PseudoElement> element) element 189 Source/core/dom/ElementRareData.h m_generatedBefore = element; element 194 Source/core/dom/ElementRareData.h m_generatedAfter = element; element 199 Source/core/dom/ElementRareData.h m_backdrop = element; element 208 Source/core/dom/ElementTraversal.h Element* element = Traversal<Element>::firstWithin(current); element 209 Source/core/dom/ElementTraversal.h while (element && !isElementOfType<const ElementType>(*element)) element 210 Source/core/dom/ElementTraversal.h element = Traversal<Element>::next(*element, ¤t); element 211 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); element 218 Source/core/dom/ElementTraversal.h Element* element = Traversal<Element>::lastWithin(current); element 219 Source/core/dom/ElementTraversal.h while (element && !isElementOfType<const ElementType>(*element)) element 220 Source/core/dom/ElementTraversal.h element = Traversal<Element>::previous(element, ¤t); element 221 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); element 228 Source/core/dom/ElementTraversal.h Element* element = Traversal<Element>::next(current); element 229 Source/core/dom/ElementTraversal.h while (element && !isElementOfType<const ElementType>(*element)) element 230 Source/core/dom/ElementTraversal.h element = Traversal<Element>::next(*element); element 231 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); element 238 Source/core/dom/ElementTraversal.h Element* element = Traversal<Element>::next(current, stayWithin); element 239 Source/core/dom/ElementTraversal.h while (element && !isElementOfType<const ElementType>(*element)) element 240 Source/core/dom/ElementTraversal.h element = Traversal<Element>::next(*element, stayWithin); element 241 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); element 248 Source/core/dom/ElementTraversal.h Element* element = Traversal<Element>::previous(current); element 249 Source/core/dom/ElementTraversal.h while (element && !isElementOfType<const ElementType>(*element)) element 250 Source/core/dom/ElementTraversal.h element = Traversal<Element>::previous(*element); element 251 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); element 258 Source/core/dom/ElementTraversal.h Element* element = Traversal<Element>::previous(current, stayWithin); element 259 Source/core/dom/ElementTraversal.h while (element && !isElementOfType<const ElementType>(*element)) element 260 Source/core/dom/ElementTraversal.h element = Traversal<Element>::previous(*element, stayWithin); element 261 Source/core/dom/ElementTraversal.h return toElement<ElementType>(element); element 138 Source/core/dom/FullscreenElementStack.cpp bool FullscreenElementStack::fullScreenIsAllowedForElement(Element* element) const element 140 Source/core/dom/FullscreenElementStack.cpp ASSERT(element); element 141 Source/core/dom/FullscreenElementStack.cpp return fullscreenIsAllowedForAllOwners(element->document()); element 144 Source/core/dom/FullscreenElementStack.cpp void FullscreenElementStack::requestFullScreenForElement(Element* element, unsigned short flags, FullScreenCheckType checkType) element 155 Source/core/dom/FullscreenElementStack.cpp if (!element) element 156 Source/core/dom/FullscreenElementStack.cpp element = document()->documentElement(); element 163 Source/core/dom/FullscreenElementStack.cpp if (!element->inDocument()) element 168 Source/core/dom/FullscreenElementStack.cpp if (checkType == EnforceIFrameAllowFullScreenRequirement && !fullScreenIsAllowedForElement(element)) element 176 Source/core/dom/FullscreenElementStack.cpp if (lastElementOnStack == element || !lastElementOnStack->contains(element)) element 227 Source/core/dom/FullscreenElementStack.cpp from(*currentDoc).pushFullscreenElementStack(element); element 250 Source/core/dom/FullscreenElementStack.cpp document()->frameHost()->chrome().client().enterFullScreenForElement(element); element 256 Source/core/dom/FullscreenElementStack.cpp m_fullScreenErrorEventTargetQueue.append(element ? element : document()->documentElement()); element 366 Source/core/dom/FullscreenElementStack.cpp void FullscreenElementStack::webkitWillEnterFullScreenForElement(Element* element) element 368 Source/core/dom/FullscreenElementStack.cpp ASSERT(element); element 375 Source/core/dom/FullscreenElementStack.cpp m_fullScreenElement = element; element 556 Source/core/dom/FullscreenElementStack.cpp void FullscreenElementStack::pushFullscreenElementStack(Element* element) element 558 Source/core/dom/FullscreenElementStack.cpp m_fullScreenElementStack.append(element); element 119 Source/core/dom/FullscreenElementStack.h inline bool FullscreenElementStack::isActiveFullScreenElement(const Element* element) element 121 Source/core/dom/FullscreenElementStack.h FullscreenElementStack* controller = fromIfExists(element->document()); element 124 Source/core/dom/FullscreenElementStack.h return controller->webkitIsFullScreen() && controller->webkitCurrentFullScreenElement() == element; element 28 Source/core/dom/LiveNodeList.cpp static inline bool isMatchingElement(const LiveNodeList& nodeList, const Element& element) element 30 Source/core/dom/LiveNodeList.cpp return nodeList.elementMatches(element); element 180 Source/core/dom/LiveNodeListBase.h Element* element = ElementTraversal::firstWithin(root); element 181 Source/core/dom/LiveNodeListBase.h while (element && !isMatchingElement(nodeList, *element)) element 182 Source/core/dom/LiveNodeListBase.h element = ElementTraversal::next(*element, &root); element 183 Source/core/dom/LiveNodeListBase.h return element; element 45 Source/core/dom/NameNodeList.cpp bool NameNodeList::elementMatches(const Element& element) const element 47 Source/core/dom/NameNodeList.cpp return element.getNameAttribute() == m_name; element 43 Source/core/dom/NamedNodeMap.h static PassOwnPtr<NamedNodeMap> create(Element* element) element 45 Source/core/dom/NamedNodeMap.h return adoptPtr(new NamedNodeMap(element)); element 65 Source/core/dom/NamedNodeMap.h Element* element() const { return m_element; } element 68 Source/core/dom/NamedNodeMap.h explicit NamedNodeMap(Element* element) element 69 Source/core/dom/NamedNodeMap.h : m_element(element) element 160 Source/core/dom/Node.cpp Element* element = toElement(node); element 161 Source/core/dom/Node.cpp HashMap<String, size_t>::AddResult result = perTagCount.add(element->tagName(), 1); element 165 Source/core/dom/Node.cpp if (ElementData* elementData = element->elementData()) { element 1763 Source/core/dom/Node.cpp const Element* element = toElement(node); element 1764 Source/core/dom/Node.cpp const AtomicString& idattr = element->getIdAttribute(); element 244 Source/core/dom/NodeRenderingTraversal.cpp RenderObject* nextInTopLayer(const Element* element) element 246 Source/core/dom/NodeRenderingTraversal.cpp if (!element->isInTopLayer()) element 248 Source/core/dom/NodeRenderingTraversal.cpp const Vector<RefPtr<Element> >& topLayerElements = element->document().topLayerElements(); element 249 Source/core/dom/NodeRenderingTraversal.cpp size_t position = topLayerElements.find(element); element 54 Source/core/dom/PendingScript.h PendingScript(Element* element, ScriptResource* resource) element 56 Source/core/dom/PendingScript.h , m_element(element) element 91 Source/core/dom/PendingScript.h Element* element() const { return m_element.get(); } element 92 Source/core/dom/PendingScript.h void setElement(Element* element) { m_element = element; } element 290 Source/core/dom/Position.cpp Element* elem = element(); element 147 Source/core/dom/Position.h Element* element() const; element 118 Source/core/dom/PresentationAttributeStyle.cpp static void makePresentationAttributeCacheKey(Element& element, PresentationAttributeCacheKey& result) element 121 Source/core/dom/PresentationAttributeStyle.cpp if (!element.isHTMLElement()) element 124 Source/core/dom/PresentationAttributeStyle.cpp if (isHTMLInputElement(element)) element 126 Source/core/dom/PresentationAttributeStyle.cpp unsigned size = element.attributeCount(); element 128 Source/core/dom/PresentationAttributeStyle.cpp const Attribute& attribute = element.attributeItem(i); element 129 Source/core/dom/PresentationAttributeStyle.cpp if (!element.isPresentationAttribute(attribute.name())) element 143 Source/core/dom/PresentationAttributeStyle.cpp result.tagName = element.localName().impl(); element 155 Source/core/dom/PresentationAttributeStyle.cpp PassRefPtr<StylePropertySet> computePresentationAttributeStyle(Element& element) element 159 Source/core/dom/PresentationAttributeStyle.cpp ASSERT(element.isStyledElement()); element 162 Source/core/dom/PresentationAttributeStyle.cpp makePresentationAttributeCacheKey(element, cacheKey); element 180 Source/core/dom/PresentationAttributeStyle.cpp style = MutableStylePropertySet::create(element.isSVGElement() ? SVGAttributeMode : HTMLAttributeMode); element 181 Source/core/dom/PresentationAttributeStyle.cpp unsigned size = element.attributeCount(); element 183 Source/core/dom/PresentationAttributeStyle.cpp const Attribute& attribute = element.attributeItem(i); element 184 Source/core/dom/PresentationAttributeStyle.cpp element.collectStyleForPresentationAttribute(attribute.name(), attribute.value(), toMutableStylePropertySet(style)); element 1107 Source/core/dom/Range.cpp Node* element = m_start.container()->isElementNode() ? m_start.container() : m_start.container()->parentNode(); element 1108 Source/core/dom/Range.cpp if (!element || !element->isHTMLElement()) { element 1113 Source/core/dom/Range.cpp RefPtr<DocumentFragment> fragment = WebCore::createContextualFragment(markup, toHTMLElement(element), AllowScriptingContentAndDoNotMarkAlreadyStarted, exceptionState); element 48 Source/core/dom/RenderTreeBuilder.cpp Element* element = m_node->isElementNode() ? toElement(m_node) : 0; element 50 Source/core/dom/RenderTreeBuilder.cpp if (element && element->isInTopLayer()) element 51 Source/core/dom/RenderTreeBuilder.cpp return NodeRenderingTraversal::nextInTopLayer(element); element 64 Source/core/dom/RenderTreeBuilder.cpp Element* element = m_node->isElementNode() ? toElement(m_node) : 0; element 66 Source/core/dom/RenderTreeBuilder.cpp if (element && m_renderingParent->renderer()) { element 70 Source/core/dom/RenderTreeBuilder.cpp if (element->isInTopLayer()) element 111 Source/core/dom/RenderTreeBuilder.cpp Element* element = toElement(m_node); element 118 Source/core/dom/RenderTreeBuilder.cpp if (!element->rendererIsNeeded(style)) element 121 Source/core/dom/RenderTreeBuilder.cpp RenderObject* newRenderer = element->createRenderer(&style); element 137 Source/core/dom/RenderTreeBuilder.cpp element->setRenderer(newRenderer); element 140 Source/core/dom/RenderTreeBuilder.cpp if (FullscreenElementStack::isActiveFullScreenElement(element)) { element 141 Source/core/dom/RenderTreeBuilder.cpp newRenderer = RenderFullScreen::wrapRenderer(newRenderer, parentRenderer, &element->document()); element 55 Source/core/dom/ScriptLoader.cpp ScriptLoader::ScriptLoader(Element* element, bool parserInserted, bool alreadyStarted) element 56 Source/core/dom/ScriptLoader.cpp : m_element(element) element 70 Source/core/dom/ScriptLoader.cpp if (parserInserted && element->document().scriptableDocumentParser() && !element->document().isInDocumentWrite()) element 71 Source/core/dom/ScriptLoader.cpp m_startLineNumber = element->document().scriptableDocumentParser()->lineNumber(); element 280 Source/core/dom/ScriptLoader.cpp bool isHTMLScriptLoader(Element* element) element 282 Source/core/dom/ScriptLoader.cpp ASSERT(element); element 283 Source/core/dom/ScriptLoader.cpp return isHTMLScriptElement(*element); element 286 Source/core/dom/ScriptLoader.cpp bool isSVGScriptLoader(Element* element) element 288 Source/core/dom/ScriptLoader.cpp ASSERT(element); element 289 Source/core/dom/ScriptLoader.cpp return isSVGScriptElement(*element); element 397 Source/core/dom/ScriptLoader.cpp return m_alreadyStarted || m_isExternalScript || m_parserInserted || !element() || !element()->inDocument(); element 433 Source/core/dom/ScriptLoader.cpp ScriptLoader* toScriptLoaderIfPossible(Element* element) element 435 Source/core/dom/ScriptLoader.cpp if (isHTMLScriptLoader(element)) element 436 Source/core/dom/ScriptLoader.cpp return toHTMLScriptElement(element)->loader(); element 438 Source/core/dom/ScriptLoader.cpp if (isSVGScriptLoader(element)) element 439 Source/core/dom/ScriptLoader.cpp return toSVGScriptElement(element)->loader(); element 43 Source/core/dom/ScriptLoader.h Element* element() const { return m_element; } element 107 Source/core/dom/ScriptLoader.h inline PassOwnPtr<ScriptLoader> ScriptLoader::create(Element* element, bool createdByParser, bool isEvaluated) element 109 Source/core/dom/ScriptLoader.h return adoptPtr(new ScriptLoader(element, createdByParser, isEvaluated)); element 59 Source/core/dom/ScriptRunner.cpp Element* element = scriptLoader->element(); element 60 Source/core/dom/ScriptRunner.cpp ASSERT(element); element 61 Source/core/dom/ScriptRunner.cpp ASSERT(element->inDocument()); element 67 Source/core/dom/ScriptRunner.cpp m_pendingAsyncScripts.add(scriptLoader, PendingScript(element, resource.get())); element 71 Source/core/dom/ScriptRunner.cpp m_scriptsToExecuteInOrder.append(PendingScript(element, resource.get())); element 135 Source/core/dom/ScriptRunner.cpp RefPtr<Element> element = scripts[i].releaseElementAndClear(); element 136 Source/core/dom/ScriptRunner.cpp toScriptLoaderIfPossible(element.get())->execute(resource); element 46 Source/core/dom/SelectorQuery.cpp ALWAYS_INLINE static void appendElement(OutputType& output, Element& element) element 49 Source/core/dom/SelectorQuery.cpp output = &element; element 56 Source/core/dom/SelectorQuery.cpp ALWAYS_INLINE static void appendElement(OutputType& output, Node& element) element 58 Source/core/dom/SelectorQuery.cpp output.append(RefPtr<Node>(element)); element 86 Source/core/dom/SelectorQuery.cpp Element* nextInternal(Element* element) element 88 Source/core/dom/SelectorQuery.cpp for (; element; element = ElementTraversal::next(*element, &m_rootNode)) { element 89 Source/core/dom/SelectorQuery.cpp if (element->hasClass() && element->classNames().contains(m_className)) element 90 Source/core/dom/SelectorQuery.cpp return element; element 117 Source/core/dom/SelectorQuery.cpp inline bool SelectorDataList::selectorMatches(const CSSSelector& selector, Element& element, const ContainerNode& rootNode) const element 119 Source/core/dom/SelectorQuery.cpp SelectorChecker selectorChecker(element.document(), SelectorChecker::QueryingRules); element 120 Source/core/dom/SelectorQuery.cpp SelectorChecker::SelectorCheckingContext selectorCheckingContext(selector, &element, SelectorChecker::VisitedMatchDisabled); element 154 Source/core/dom/SelectorQuery.cpp for (Element* element = ElementTraversal::firstWithin(rootNode); element; element = ElementTraversal::next(*element, &rootNode)) { element 155 Source/core/dom/SelectorQuery.cpp if (element->hasClass() && element->classNames().contains(className)) { element 156 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, *element); element 166 Source/core/dom/SelectorQuery.cpp for (Element* element = ElementTraversal::firstWithin(rootNode); element; element = ElementTraversal::next(*element, &rootNode)) { element 167 Source/core/dom/SelectorQuery.cpp if (SelectorChecker::tagMatches(*element, tagName)) { element 168 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, *element); element 185 Source/core/dom/SelectorQuery.cpp for (Element* element = &toElement(rootNode); element; element = element->parentElement()) { element 186 Source/core/dom/SelectorQuery.cpp if (element->hasClass() && element->classNames().contains(className)) element 212 Source/core/dom/SelectorQuery.cpp Element* element = rootNode.treeScope().getElementById(selector->value()); element 214 Source/core/dom/SelectorQuery.cpp if (element && (isTreeScopeRoot(rootNode) || element->isDescendantOf(&rootNode))) element 215 Source/core/dom/SelectorQuery.cpp adjustedNode = element; element 216 Source/core/dom/SelectorQuery.cpp else if (!element || isRightmostSelector) element 273 Source/core/dom/SelectorQuery.cpp for (Element* element = ElementTraversal::firstWithin(*traverseRoot); element; element = ElementTraversal::next(*element, traverseRoot)) { element 274 Source/core/dom/SelectorQuery.cpp if (selectorMatches(selector, *element, rootNode)) { element 275 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, *element); element 290 Source/core/dom/SelectorQuery.cpp Element& element = *traverseRoots.next(); element 291 Source/core/dom/SelectorQuery.cpp if (selectorMatches(selector, element, rootNode)) { element 292 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, element); element 302 Source/core/dom/SelectorQuery.cpp for (Element* element = ElementTraversal::firstWithin(traverseRoot); element; element = ElementTraversal::next(*element, &traverseRoot)) { element 303 Source/core/dom/SelectorQuery.cpp if (selectorMatches(selector, *element, rootNode)) { element 304 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, *element); element 313 Source/core/dom/SelectorQuery.cpp bool SelectorDataList::selectorListMatches(ContainerNode& rootNode, Element& element, typename SelectorQueryTrait::OutputType& output) const element 316 Source/core/dom/SelectorQuery.cpp if (selectorMatches(*m_selectors[i], element, rootNode)) { element 317 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, element); element 327 Source/core/dom/SelectorQuery.cpp for (Element* element = ElementTraversal::firstWithin(rootNode); element; element = ElementTraversal::next(*element, &rootNode)) { element 328 Source/core/dom/SelectorQuery.cpp if (selectorListMatches<SelectorQueryTrait>(rootNode, *element, output) && SelectorQueryTrait::shouldOnlyMatchFirstElement) element 385 Source/core/dom/SelectorQuery.cpp Element* element = toElement(node); element 386 Source/core/dom/SelectorQuery.cpp if (selectorListMatches<SelectorQueryTrait>(rootNode, *element, output) && SelectorQueryTrait::shouldOnlyMatchFirstElement) element 425 Source/core/dom/SelectorQuery.cpp Element& element = *elements[i]; element 426 Source/core/dom/SelectorQuery.cpp if (!(isTreeScopeRoot(rootNode) || element.isDescendantOf(&rootNode))) element 428 Source/core/dom/SelectorQuery.cpp if (selectorMatches(selector, element, rootNode)) { element 429 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, element); element 436 Source/core/dom/SelectorQuery.cpp Element* element = rootNode.treeScope().getElementById(idToMatch); element 437 Source/core/dom/SelectorQuery.cpp if (!element || !(isTreeScopeRoot(rootNode) || element->isDescendantOf(&rootNode))) element 439 Source/core/dom/SelectorQuery.cpp if (selectorMatches(selector, *element, rootNode)) element 440 Source/core/dom/SelectorQuery.cpp SelectorQueryTrait::appendElement(output, *element); element 467 Source/core/dom/SelectorQuery.cpp bool SelectorQuery::matches(Element& element) const element 469 Source/core/dom/SelectorQuery.cpp return m_selectors.matches(element); element 59 Source/core/dom/ShadowTreeStyleSheetCollection.cpp HTMLStyleElement* element = toHTMLStyleElement(node); element 60 Source/core/dom/ShadowTreeStyleSheetCollection.cpp const AtomicString& title = element->fastGetAttribute(titleAttr); element 63 Source/core/dom/ShadowTreeStyleSheetCollection.cpp sheet = element->sheet(); element 79 Source/core/dom/ShadowTreeStyleSheetCollection.cpp const AtomicString& rel = element->fastGetAttribute(relAttr); element 38 Source/core/dom/StyleElement.cpp static bool isCSS(Element* element, const AtomicString& type) element 40 Source/core/dom/StyleElement.cpp return type.isEmpty() || (element->isHTMLElement() ? equalIgnoringCase(type, "text/css") : (type == "text/css")); element 59 Source/core/dom/StyleElement.cpp void StyleElement::processStyleSheet(Document& document, Element* element) element 62 Source/core/dom/StyleElement.cpp ASSERT(element); element 63 Source/core/dom/StyleElement.cpp ASSERT(element->inDocument()); element 66 Source/core/dom/StyleElement.cpp document.styleEngine()->addStyleSheetCandidateNode(element, m_createdByParser); element 70 Source/core/dom/StyleElement.cpp process(element); element 73 Source/core/dom/StyleElement.cpp void StyleElement::removedFromDocument(Document& document, Element* element) element 75 Source/core/dom/StyleElement.cpp removedFromDocument(document, element, 0, document); element 78 Source/core/dom/StyleElement.cpp void StyleElement::removedFromDocument(Document& document, Element* element, ContainerNode* scopingNode, TreeScope& treeScope) element 80 Source/core/dom/StyleElement.cpp ASSERT(element); element 83 Source/core/dom/StyleElement.cpp document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope); element 90 Source/core/dom/StyleElement.cpp clearSheet(element); element 95 Source/core/dom/StyleElement.cpp void StyleElement::clearDocumentData(Document& document, Element* element) element 100 Source/core/dom/StyleElement.cpp if (element->inDocument()) { element 101 Source/core/dom/StyleElement.cpp ContainerNode* scopingNode = isHTMLStyleElement(element) ? toHTMLStyleElement(element)->scopingNode() : 0; element 102 Source/core/dom/StyleElement.cpp TreeScope& treeScope = scopingNode ? scopingNode->treeScope() : element->treeScope(); element 103 Source/core/dom/StyleElement.cpp document.styleEngine()->removeStyleSheetCandidateNode(element, scopingNode, treeScope); element 107 Source/core/dom/StyleElement.cpp void StyleElement::childrenChanged(Element* element) element 109 Source/core/dom/StyleElement.cpp ASSERT(element); element 113 Source/core/dom/StyleElement.cpp process(element); element 116 Source/core/dom/StyleElement.cpp void StyleElement::finishParsingChildren(Element* element) element 118 Source/core/dom/StyleElement.cpp ASSERT(element); element 119 Source/core/dom/StyleElement.cpp process(element); element 123 Source/core/dom/StyleElement.cpp void StyleElement::process(Element* element) element 125 Source/core/dom/StyleElement.cpp if (!element || !element->inDocument()) element 127 Source/core/dom/StyleElement.cpp createSheet(element, element->textFromChildren()); element 155 Source/core/dom/TreeScope.cpp void TreeScope::addElementById(const AtomicString& elementId, Element* element) element 159 Source/core/dom/TreeScope.cpp m_elementsById->add(elementId.impl(), element); element 163 Source/core/dom/TreeScope.cpp void TreeScope::removeElementById(const AtomicString& elementId, Element* element) element 167 Source/core/dom/TreeScope.cpp m_elementsById->remove(elementId.impl(), element); element 255 Source/core/dom/TreeScope.cpp void TreeScope::addLabel(const AtomicString& forAttributeValue, HTMLLabelElement* element) element 258 Source/core/dom/TreeScope.cpp m_labelsByForAttribute->add(forAttributeValue.impl(), element); element 261 Source/core/dom/TreeScope.cpp void TreeScope::removeLabel(const AtomicString& forAttributeValue, HTMLLabelElement* element) element 264 Source/core/dom/TreeScope.cpp m_labelsByForAttribute->remove(forAttributeValue.impl(), element); element 304 Source/core/dom/TreeScope.cpp if (Element* element = getElementById(AtomicString(name))) element 305 Source/core/dom/TreeScope.cpp return element; element 347 Source/core/dom/TreeScope.cpp Element* element = document.focusedElement(); element 350 Source/core/dom/TreeScope.cpp if (!element && document.page()) element 351 Source/core/dom/TreeScope.cpp element = focusedFrameOwnerElement(toLocalFrameTemporary(document.page()->focusController().focusedFrame()), document.frame()); element 352 Source/core/dom/TreeScope.cpp if (!element) element 355 Source/core/dom/TreeScope.cpp EventPath eventPath(element); element 476 Source/core/dom/TreeScope.cpp for (Element* element = ElementTraversal::firstWithin(root); element; element = ElementTraversal::next(*element, &root)) { element 477 Source/core/dom/TreeScope.cpp if (equalIgnoringCase(element->fastGetAttribute(accesskeyAttr), key)) element 478 Source/core/dom/TreeScope.cpp result = element; element 479 Source/core/dom/TreeScope.cpp for (ShadowRoot* shadowRoot = element->youngestShadowRoot(); shadowRoot; shadowRoot = shadowRoot->olderShadowRoot()) { element 489 Source/core/dom/TreeScope.cpp for (Element* element = ElementTraversal::firstWithin(rootNode()); element; element = ElementTraversal::nextIncludingPseudo(*element)) { element 490 Source/core/dom/TreeScope.cpp for (ShadowRoot* root = element->youngestShadowRoot(); root; root = root->olderShadowRoot()) element 492 Source/core/dom/TreeScope.cpp RenderStyle* style = element->renderStyle(); element 494 Source/core/dom/TreeScope.cpp element->setNeedsStyleRecalc(LocalStyleChange); element 74 Source/core/dom/UserActionElementSet.cpp inline bool UserActionElementSet::hasFlags(const Element* element, unsigned flags) const element 76 Source/core/dom/UserActionElementSet.cpp ASSERT(element->isUserActionElement()); element 77 Source/core/dom/UserActionElementSet.cpp ElementFlagMap::const_iterator found = m_elements.find(const_cast<Element*>(element)); element 83 Source/core/dom/UserActionElementSet.cpp inline void UserActionElementSet::clearFlags(Element* element, unsigned flags) element 85 Source/core/dom/UserActionElementSet.cpp if (!element->isUserActionElement()) { element 86 Source/core/dom/UserActionElementSet.cpp ASSERT(m_elements.end() == m_elements.find(element)); element 90 Source/core/dom/UserActionElementSet.cpp ElementFlagMap::iterator found = m_elements.find(element); element 92 Source/core/dom/UserActionElementSet.cpp element->setUserActionElement(false); element 98 Source/core/dom/UserActionElementSet.cpp element->setUserActionElement(false); element 106 Source/core/dom/UserActionElementSet.cpp inline void UserActionElementSet::setFlags(Element* element, unsigned flags) element 108 Source/core/dom/UserActionElementSet.cpp ElementFlagMap::iterator result = m_elements.find(element); element 110 Source/core/dom/UserActionElementSet.cpp ASSERT(element->isUserActionElement()); element 115 Source/core/dom/UserActionElementSet.cpp element->setUserActionElement(true); element 116 Source/core/dom/UserActionElementSet.cpp m_elements.add(element, flags); element 40 Source/core/dom/VisitedLinkState.cpp static inline const AtomicString& linkAttribute(const Element& element) element 42 Source/core/dom/VisitedLinkState.cpp ASSERT(element.isLink()); element 43 Source/core/dom/VisitedLinkState.cpp if (element.isHTMLElement()) element 44 Source/core/dom/VisitedLinkState.cpp return element.fastGetAttribute(HTMLNames::hrefAttr); element 45 Source/core/dom/VisitedLinkState.cpp ASSERT(element.isSVGElement()); element 46 Source/core/dom/VisitedLinkState.cpp return element.getAttribute(XLinkNames::hrefAttr); element 49 Source/core/dom/VisitedLinkState.cpp static inline LinkHash linkHashForElement(const Element& element, const AtomicString& attribute = AtomicString()) element 51 Source/core/dom/VisitedLinkState.cpp ASSERT(attribute.isNull() || linkAttribute(element) == attribute); element 52 Source/core/dom/VisitedLinkState.cpp if (isHTMLAnchorElement(element)) element 53 Source/core/dom/VisitedLinkState.cpp return toHTMLAnchorElement(element).visitedLinkHash(); element 54 Source/core/dom/VisitedLinkState.cpp return visitedLinkHash(element.document().baseURL(), attribute.isNull() ? linkAttribute(element) : attribute); element 66 Source/core/dom/VisitedLinkState.cpp for (Element* element = ElementTraversal::firstWithin(m_document); element; element = ElementTraversal::next(*element)) { element 67 Source/core/dom/VisitedLinkState.cpp if (element->isLink()) element 68 Source/core/dom/VisitedLinkState.cpp element->setNeedsStyleRecalc(SubtreeStyleChange); element 76 Source/core/dom/VisitedLinkState.cpp for (Element* element = ElementTraversal::firstWithin(m_document); element; element = ElementTraversal::next(*element)) { element 77 Source/core/dom/VisitedLinkState.cpp if (element->isLink() && linkHashForElement(*element) == linkHash) element 78 Source/core/dom/VisitedLinkState.cpp element->setNeedsStyleRecalc(SubtreeStyleChange); element 82 Source/core/dom/VisitedLinkState.cpp EInsideLink VisitedLinkState::determineLinkStateSlowCase(const Element& element) element 84 Source/core/dom/VisitedLinkState.cpp ASSERT(element.isLink()); element 86 Source/core/dom/VisitedLinkState.cpp ASSERT(m_document == element.document()); element 88 Source/core/dom/VisitedLinkState.cpp const AtomicString& attribute = linkAttribute(element); element 100 Source/core/dom/VisitedLinkState.cpp if (LinkHash hash = linkHashForElement(element, attribute)) { element 52 Source/core/dom/VisitedLinkState.h EInsideLink determineLinkState(const Element& element) element 54 Source/core/dom/VisitedLinkState.h if (element.isLink()) element 55 Source/core/dom/VisitedLinkState.h return determineLinkStateSlowCase(element); element 89 Source/core/dom/custom/CustomElement.cpp void CustomElement::define(Element* element, PassRefPtr<CustomElementDefinition> passDefinition) element 93 Source/core/dom/custom/CustomElement.cpp switch (element->customElementState()) { element 100 Source/core/dom/custom/CustomElement.cpp element->setCustomElementDefinition(definition); element 101 Source/core/dom/custom/CustomElement.cpp CustomElementScheduler::scheduleCallback(definition->callbacks(), element, CustomElementLifecycleCallbacks::Created); element 106 Source/core/dom/custom/CustomElement.cpp void CustomElement::attributeDidChange(Element* element, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue) element 108 Source/core/dom/custom/CustomElement.cpp ASSERT(element->customElementState() == Element::Upgraded); element 109 Source/core/dom/custom/CustomElement.cpp CustomElementScheduler::scheduleAttributeChangedCallback(element->customElementDefinition()->callbacks(), element, name, oldValue, newValue); element 112 Source/core/dom/custom/CustomElement.cpp void CustomElement::didEnterDocument(Element* element, const Document& document) element 114 Source/core/dom/custom/CustomElement.cpp ASSERT(element->customElementState() == Element::Upgraded); element 117 Source/core/dom/custom/CustomElement.cpp CustomElementScheduler::scheduleCallback(element->customElementDefinition()->callbacks(), element, CustomElementLifecycleCallbacks::Attached); element 120 Source/core/dom/custom/CustomElement.cpp void CustomElement::didLeaveDocument(Element* element, const Document& document) element 122 Source/core/dom/custom/CustomElement.cpp ASSERT(element->customElementState() == Element::Upgraded); element 125 Source/core/dom/custom/CustomElement.cpp CustomElementScheduler::scheduleCallback(element->customElementDefinition()->callbacks(), element, CustomElementLifecycleCallbacks::Detached); element 128 Source/core/dom/custom/CustomElement.cpp void CustomElement::wasDestroyed(Element* element) element 130 Source/core/dom/custom/CustomElement.cpp switch (element->customElementState()) { element 137 Source/core/dom/custom/CustomElement.cpp CustomElementObserver::notifyElementWasDestroyed(element); element 56 Source/core/dom/custom/CustomElementCallbackInvocation.cpp void AttachedDetachedInvocation::dispatch(Element* element) element 60 Source/core/dom/custom/CustomElementCallbackInvocation.cpp callbacks()->attached(element); element 63 Source/core/dom/custom/CustomElementCallbackInvocation.cpp callbacks()->detached(element); element 90 Source/core/dom/custom/CustomElementCallbackInvocation.cpp void AttributeChangedInvocation::dispatch(Element* element) element 92 Source/core/dom/custom/CustomElementCallbackInvocation.cpp callbacks()->attributeChanged(element, m_name, m_oldValue, m_newValue); element 107 Source/core/dom/custom/CustomElementCallbackInvocation.cpp void CreatedInvocation::dispatch(Element* element) element 109 Source/core/dom/custom/CustomElementCallbackInvocation.cpp if (element->inDocument() && element->document().domWindow()) element 110 Source/core/dom/custom/CustomElementCallbackInvocation.cpp CustomElementScheduler::scheduleCallback(callbacks(), element, CustomElementLifecycleCallbacks::Attached); element 111 Source/core/dom/custom/CustomElementCallbackInvocation.cpp callbacks()->created(element); element 36 Source/core/dom/custom/CustomElementCallbackQueue.cpp PassOwnPtr<CustomElementCallbackQueue> CustomElementCallbackQueue::create(PassRefPtr<Element> element) element 38 Source/core/dom/custom/CustomElementCallbackQueue.cpp return adoptPtr(new CustomElementCallbackQueue(element)); element 41 Source/core/dom/custom/CustomElementCallbackQueue.cpp CustomElementCallbackQueue::CustomElementCallbackQueue(PassRefPtr<Element> element) element 42 Source/core/dom/custom/CustomElementCallbackQueue.cpp : m_element(element) element 39 Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp PassOwnPtr<CustomElementMicrotaskResolutionStep> CustomElementMicrotaskResolutionStep::create(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor) element 41 Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp return adoptPtr(new CustomElementMicrotaskResolutionStep(context, element, descriptor)); element 44 Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp CustomElementMicrotaskResolutionStep::CustomElementMicrotaskResolutionStep(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor) element 46 Source/core/dom/custom/CustomElementMicrotaskResolutionStep.cpp , m_element(element) element 42 Source/core/dom/custom/CustomElementObserver.cpp void CustomElementObserver::notifyElementDidFinishParsingChildren(Element* element) element 44 Source/core/dom/custom/CustomElementObserver.cpp ElementObserverMap::iterator it = elementObservers().find(element); element 47 Source/core/dom/custom/CustomElementObserver.cpp it->value->elementDidFinishParsingChildren(element); element 50 Source/core/dom/custom/CustomElementObserver.cpp void CustomElementObserver::notifyElementWasDestroyed(Element* element) element 52 Source/core/dom/custom/CustomElementObserver.cpp ElementObserverMap::iterator it = elementObservers().find(element); element 55 Source/core/dom/custom/CustomElementObserver.cpp it->value->elementWasDestroyed(element); element 58 Source/core/dom/custom/CustomElementObserver.cpp void CustomElementObserver::observe(Element* element) element 60 Source/core/dom/custom/CustomElementObserver.cpp ElementObserverMap::AddResult result = elementObservers().add(element, this); element 64 Source/core/dom/custom/CustomElementObserver.cpp void CustomElementObserver::unobserve(Element* element) element 66 Source/core/dom/custom/CustomElementObserver.cpp CustomElementObserver* observer = elementObservers().take(element); element 55 Source/core/dom/custom/CustomElementObserver.h virtual void elementWasDestroyed(Element* element) { unobserve(element); } element 65 Source/core/dom/custom/CustomElementRegistrationContext.cpp RefPtr<Element> element; element 68 Source/core/dom/custom/CustomElementRegistrationContext.cpp element = HTMLElement::create(tagName, document); element 70 Source/core/dom/custom/CustomElementRegistrationContext.cpp element = SVGUnknownElement::create(tagName, document); element 76 Source/core/dom/custom/CustomElementRegistrationContext.cpp element->setCustomElementState(Element::WaitingForUpgrade); element 77 Source/core/dom/custom/CustomElementRegistrationContext.cpp resolveOrScheduleResolution(element.get(), nullAtom); element 78 Source/core/dom/custom/CustomElementRegistrationContext.cpp return element.release(); element 81 Source/core/dom/custom/CustomElementRegistrationContext.cpp void CustomElementRegistrationContext::didGiveTypeExtension(Element* element, const AtomicString& type) element 83 Source/core/dom/custom/CustomElementRegistrationContext.cpp resolveOrScheduleResolution(element, type); element 86 Source/core/dom/custom/CustomElementRegistrationContext.cpp void CustomElementRegistrationContext::resolveOrScheduleResolution(Element* element, const AtomicString& typeExtension) element 90 Source/core/dom/custom/CustomElementRegistrationContext.cpp const AtomicString& type = CustomElement::isValidName(element->localName()) element 91 Source/core/dom/custom/CustomElementRegistrationContext.cpp ? element->localName() element 95 Source/core/dom/custom/CustomElementRegistrationContext.cpp CustomElementDescriptor descriptor(type, element->namespaceURI(), element->localName()); element 96 Source/core/dom/custom/CustomElementRegistrationContext.cpp ASSERT(element->customElementState() == Element::WaitingForUpgrade); element 98 Source/core/dom/custom/CustomElementRegistrationContext.cpp CustomElementScheduler::resolveOrScheduleResolution(this, element, descriptor); element 101 Source/core/dom/custom/CustomElementRegistrationContext.cpp void CustomElementRegistrationContext::resolve(Element* element, const CustomElementDescriptor& descriptor) element 105 Source/core/dom/custom/CustomElementRegistrationContext.cpp CustomElement::define(element, definition); element 107 Source/core/dom/custom/CustomElementRegistrationContext.cpp ASSERT(element->customElementState() == Element::WaitingForUpgrade); element 108 Source/core/dom/custom/CustomElementRegistrationContext.cpp m_candidates.add(descriptor, element); element 117 Source/core/dom/custom/CustomElementRegistrationContext.cpp void CustomElementRegistrationContext::setIsAttributeAndTypeExtension(Element* element, const AtomicString& type) element 119 Source/core/dom/custom/CustomElementRegistrationContext.cpp ASSERT(element); element 121 Source/core/dom/custom/CustomElementRegistrationContext.cpp element->setAttribute(HTMLNames::isAttr, type); element 122 Source/core/dom/custom/CustomElementRegistrationContext.cpp setTypeExtension(element, type); element 125 Source/core/dom/custom/CustomElementRegistrationContext.cpp void CustomElementRegistrationContext::setTypeExtension(Element* element, const AtomicString& type) element 127 Source/core/dom/custom/CustomElementRegistrationContext.cpp if (!element->isHTMLElement() && !element->isSVGElement()) element 130 Source/core/dom/custom/CustomElementRegistrationContext.cpp if (element->isCustomElement()) { element 140 Source/core/dom/custom/CustomElementRegistrationContext.cpp ASSERT(!CustomElement::isValidName(element->localName())); element 142 Source/core/dom/custom/CustomElementRegistrationContext.cpp element->setCustomElementState(Element::WaitingForUpgrade); element 144 Source/core/dom/custom/CustomElementRegistrationContext.cpp if (CustomElementRegistrationContext* context = element->document().registrationContext()) element 145 Source/core/dom/custom/CustomElementRegistrationContext.cpp context->didGiveTypeExtension(element, type); element 49 Source/core/dom/custom/CustomElementScheduler.cpp void CustomElementScheduler::scheduleCallback(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, PassRefPtr<Element> element, CustomElementLifecycleCallbacks::CallbackType type) element 56 Source/core/dom/custom/CustomElementScheduler.cpp CustomElementCallbackQueue& queue = instance().schedule(element); element 60 Source/core/dom/custom/CustomElementScheduler.cpp void CustomElementScheduler::scheduleAttributeChangedCallback(PassRefPtr<CustomElementLifecycleCallbacks> callbacks, PassRefPtr<Element> element, const AtomicString& name, const AtomicString& oldValue, const AtomicString& newValue) element 65 Source/core/dom/custom/CustomElementScheduler.cpp CustomElementCallbackQueue& queue = instance().schedule(element); element 69 Source/core/dom/custom/CustomElementScheduler.cpp void CustomElementScheduler::resolveOrScheduleResolution(PassRefPtr<CustomElementRegistrationContext> context, PassRefPtr<Element> element, const CustomElementDescriptor& descriptor) element 72 Source/core/dom/custom/CustomElementScheduler.cpp context->resolve(element.get(), descriptor); element 76 Source/core/dom/custom/CustomElementScheduler.cpp HTMLImport* import = element->document().import(); element 77 Source/core/dom/custom/CustomElementScheduler.cpp OwnPtr<CustomElementMicrotaskResolutionStep> step = CustomElementMicrotaskResolutionStep::create(context, element, descriptor); element 102 Source/core/dom/custom/CustomElementScheduler.cpp CustomElementCallbackQueue& CustomElementScheduler::ensureCallbackQueue(PassRefPtr<Element> element) element 104 Source/core/dom/custom/CustomElementScheduler.cpp ElementCallbackQueueMap::ValueType* it = m_elementCallbackQueueMap.add(element.get(), nullptr).storedValue; element 106 Source/core/dom/custom/CustomElementScheduler.cpp it->value = CustomElementCallbackQueue::create(element); element 131 Source/core/dom/custom/CustomElementScheduler.cpp RefPtr<Element> element(passElement); element 133 Source/core/dom/custom/CustomElementScheduler.cpp CustomElementCallbackQueue& callbackQueue = ensureCallbackQueue(element); element 45 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp void CustomElementUpgradeCandidateMap::add(const CustomElementDescriptor& descriptor, Element* element) element 47 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp observe(element); element 49 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp UpgradeCandidateMap::AddResult result = m_upgradeCandidates.add(element, descriptor); element 58 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp elements->add(element); element 61 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp void CustomElementUpgradeCandidateMap::remove(Element* element) element 63 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp unobserve(element); element 64 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp removeCommon(element); element 67 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp void CustomElementUpgradeCandidateMap::elementWasDestroyed(Element* element) element 69 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp CustomElementObserver::elementWasDestroyed(element); element 70 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp removeCommon(element); element 73 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp void CustomElementUpgradeCandidateMap::removeCommon(Element* element) element 75 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp UpgradeCandidateMap::iterator candidate = m_upgradeCandidates.find(element); element 80 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp elements->value.remove(element); element 84 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp void CustomElementUpgradeCandidateMap::elementDidFinishParsingChildren(Element* element) element 88 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp moveToEnd(element); element 91 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp void CustomElementUpgradeCandidateMap::moveToEnd(Element* element) element 93 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp UpgradeCandidateMap::iterator candidate = m_upgradeCandidates.find(element); element 98 Source/core/dom/custom/CustomElementUpgradeCandidateMap.cpp elements->value.appendOrMoveToLast(element); element 358 Source/core/dom/shadow/ElementShadow.cpp for (Element* element = ElementTraversal::firstWithin(root); element; element = ElementTraversal::next(*element, &root)) { element 359 Source/core/dom/shadow/ElementShadow.cpp if (ElementShadow* shadow = element->shadow()) element 361 Source/core/dom/shadow/ElementShadow.cpp if (!isHTMLContentElement(*element)) element 363 Source/core/dom/shadow/ElementShadow.cpp const CSSSelectorList& list = toHTMLContentElement(*element).selectorList(); element 349 Source/core/dom/shadow/ShadowRoot.cpp for (Element* element = ElementTraversal::firstWithin(*this); element; element = ElementTraversal::next(*element, this)) { element 350 Source/core/dom/shadow/ShadowRoot.cpp if (element->isInsertionPoint()) element 351 Source/core/dom/shadow/ShadowRoot.cpp insertionPoints.append(toInsertionPoint(element)); element 281 Source/core/editing/ApplyBlockElementCommand.cpp RefPtr<Element> element = createHTMLElement(document(), m_tagName); element 283 Source/core/editing/ApplyBlockElementCommand.cpp element->setAttribute(styleAttr, m_inlineStyle); element 284 Source/core/editing/ApplyBlockElementCommand.cpp return element.release(); element 71 Source/core/editing/ApplyStyleCommand.cpp static bool hasNoAttributeOrOnlyStyleAttribute(const Element* element, ShouldStyleAttributeBeEmpty shouldStyleAttributeBeEmpty) element 73 Source/core/editing/ApplyStyleCommand.cpp if (!element->hasAttributes()) element 77 Source/core/editing/ApplyStyleCommand.cpp if (element->getAttribute(classAttr) == styleSpanClassString()) element 79 Source/core/editing/ApplyStyleCommand.cpp if (element->hasAttribute(styleAttr) && (shouldStyleAttributeBeEmpty == AllowNonEmptyStyleAttribute element 80 Source/core/editing/ApplyStyleCommand.cpp || !element->inlineStyle() || element->inlineStyle()->isEmpty())) element 83 Source/core/editing/ApplyStyleCommand.cpp ASSERT(matchedAttributes <= element->attributeCount()); element 84 Source/core/editing/ApplyStyleCommand.cpp return matchedAttributes == element->attributeCount(); element 87 Source/core/editing/ApplyStyleCommand.cpp bool isStyleSpanOrSpanWithOnlyStyleAttribute(const Element* element) element 89 Source/core/editing/ApplyStyleCommand.cpp if (!isHTMLSpanElement(element)) element 91 Source/core/editing/ApplyStyleCommand.cpp return hasNoAttributeOrOnlyStyleAttribute(toHTMLElement(element), AllowNonEmptyStyleAttribute); element 101 Source/core/editing/ApplyStyleCommand.cpp bool isEmptyFontTag(const Element* element, ShouldStyleAttributeBeEmpty shouldStyleAttributeBeEmpty) element 103 Source/core/editing/ApplyStyleCommand.cpp if (!isHTMLFontElement(element)) element 106 Source/core/editing/ApplyStyleCommand.cpp return hasNoAttributeOrOnlyStyleAttribute(toHTMLElement(element), shouldStyleAttributeBeEmpty); element 149 Source/core/editing/ApplyStyleCommand.cpp ApplyStyleCommand::ApplyStyleCommand(PassRefPtr<Element> element, bool removeOnly, EditAction editingAction) element 150 Source/core/editing/ApplyStyleCommand.cpp : CompositeEditCommand(element->document()) element 157 Source/core/editing/ApplyStyleCommand.cpp , m_styledInlineElement(element) element 387 Source/core/editing/ApplyStyleCommand.cpp RefPtr<HTMLElement> element; element 392 Source/core/editing/ApplyStyleCommand.cpp element = toHTMLElement(node); element 398 Source/core/editing/ApplyStyleCommand.cpp element = span.release(); element 405 Source/core/editing/ApplyStyleCommand.cpp RefPtrWillBeRawPtr<MutableStylePropertySet> inlineStyle = copyStyleOrCreateEmpty(element->inlineStyle()); element 410 Source/core/editing/ApplyStyleCommand.cpp element->removeInlineStyleProperty(CSSPropertyFontSize); element 415 Source/core/editing/ApplyStyleCommand.cpp setNodeAttribute(element.get(), styleAttr, AtomicString(inlineStyle->asText())); element 418 Source/core/editing/ApplyStyleCommand.cpp removeNodeAttribute(element.get(), styleAttr); element 419 Source/core/editing/ApplyStyleCommand.cpp if (isSpanWithoutAttributesOrUnstyledStyleSpan(element.get())) element 420 Source/core/editing/ApplyStyleCommand.cpp unstyledSpans.append(element.release()); element 515 Source/core/editing/ApplyStyleCommand.cpp Element* element = toElement(n); element 516 Source/core/editing/ApplyStyleCommand.cpp int unicodeBidi = getIdentifierValue(CSSComputedStyleDeclaration::create(element).get(), CSSPropertyUnicodeBidi); element 524 Source/core/editing/ApplyStyleCommand.cpp if (element->hasAttribute(dirAttr)) { element 527 Source/core/editing/ApplyStyleCommand.cpp removeNodeAttribute(element, dirAttr); element 529 Source/core/editing/ApplyStyleCommand.cpp RefPtrWillBeRawPtr<MutableStylePropertySet> inlineStyle = copyStyleOrCreateEmpty(element->inlineStyle()); element 532 Source/core/editing/ApplyStyleCommand.cpp setNodeAttribute(element, styleAttr, AtomicString(inlineStyle->asText())); element 533 Source/core/editing/ApplyStyleCommand.cpp if (isSpanWithoutAttributesOrUnstyledStyleSpan(element)) element 534 Source/core/editing/ApplyStyleCommand.cpp removeNodePreservingChildren(element); element 773 Source/core/editing/ApplyStyleCommand.cpp HTMLElement* element = toHTMLElement(node); element 777 Source/core/editing/ApplyStyleCommand.cpp RefPtrWillBeRawPtr<MutableStylePropertySet> inlineStyle = copyStyleOrCreateEmpty(element->inlineStyle()); element 779 Source/core/editing/ApplyStyleCommand.cpp setNodeAttribute(element, styleAttr, AtomicString(inlineStyle->asText())); element 836 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::isStyledInlineElementToRemove(Element* element) const element 838 Source/core/editing/ApplyStyleCommand.cpp return (m_styledInlineElement && element->hasTagName(m_styledInlineElement->tagQName())) element 839 Source/core/editing/ApplyStyleCommand.cpp || (m_isInlineElementToRemoveFunction && m_isInlineElementToRemoveFunction(element)); element 886 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::removeInlineStyleFromElement(EditingStyle* style, PassRefPtr<HTMLElement> element, InlineStyleRemovalMode mode, EditingStyle* extractedStyle) element 888 Source/core/editing/ApplyStyleCommand.cpp ASSERT(element); element 890 Source/core/editing/ApplyStyleCommand.cpp if (!element->parentNode() || !element->parentNode()->isContentEditable(Node::UserSelectAllIsAlwaysNonEditable)) element 893 Source/core/editing/ApplyStyleCommand.cpp if (isStyledInlineElementToRemove(element.get())) { element 897 Source/core/editing/ApplyStyleCommand.cpp extractedStyle->mergeInlineStyleOfElement(element.get(), EditingStyle::OverrideValues); element 898 Source/core/editing/ApplyStyleCommand.cpp removeNodePreservingChildren(element); element 903 Source/core/editing/ApplyStyleCommand.cpp if (removeImplicitlyStyledElement(style, element.get(), mode, extractedStyle)) element 906 Source/core/editing/ApplyStyleCommand.cpp if (!element->inDocument()) element 911 Source/core/editing/ApplyStyleCommand.cpp if (removeCSSStyle(style, element.get(), mode, extractedStyle)) element 925 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::removeImplicitlyStyledElement(EditingStyle* style, HTMLElement* element, InlineStyleRemovalMode mode, EditingStyle* extractedStyle) element 930 Source/core/editing/ApplyStyleCommand.cpp return style->conflictsWithImplicitStyleOfElement(element) || style->conflictsWithImplicitStyleOfAttributes(element); element 934 Source/core/editing/ApplyStyleCommand.cpp if (style->conflictsWithImplicitStyleOfElement(element, extractedStyle, mode == RemoveAlways ? EditingStyle::ExtractMatchingStyle : EditingStyle::DoNotExtractMatchingStyle)) { element 935 Source/core/editing/ApplyStyleCommand.cpp replaceWithSpanOrRemoveIfWithoutAttributes(element); element 941 Source/core/editing/ApplyStyleCommand.cpp if (!style->extractConflictingImplicitStyleOfAttributes(element, extractedStyle ? EditingStyle::PreserveWritingDirection : EditingStyle::DoNotPreserveWritingDirection, element 946 Source/core/editing/ApplyStyleCommand.cpp removeNodeAttribute(element, attributes[i]); element 948 Source/core/editing/ApplyStyleCommand.cpp if (isEmptyFontTag(element) || isSpanWithoutAttributesOrUnstyledStyleSpan(element)) element 949 Source/core/editing/ApplyStyleCommand.cpp removeNodePreservingChildren(element); element 954 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::removeCSSStyle(EditingStyle* style, HTMLElement* element, InlineStyleRemovalMode mode, EditingStyle* extractedStyle) element 957 Source/core/editing/ApplyStyleCommand.cpp ASSERT(element); element 960 Source/core/editing/ApplyStyleCommand.cpp return style->conflictsWithInlineStyleOfElement(element); element 963 Source/core/editing/ApplyStyleCommand.cpp if (!style->conflictsWithInlineStyleOfElement(element, extractedStyle, properties)) element 968 Source/core/editing/ApplyStyleCommand.cpp removeCSSProperty(element, properties[i]); element 970 Source/core/editing/ApplyStyleCommand.cpp if (isSpanWithoutAttributesOrUnstyledStyleSpan(element)) element 971 Source/core/editing/ApplyStyleCommand.cpp removeNodePreservingChildren(element); element 1238 Source/core/editing/ApplyStyleCommand.cpp bool ApplyStyleCommand::shouldSplitTextElement(Element* element, EditingStyle* style) element 1240 Source/core/editing/ApplyStyleCommand.cpp if (!element || !element->isHTMLElement()) element 1243 Source/core/editing/ApplyStyleCommand.cpp return shouldRemoveInlineStyleFromElement(style, toHTMLElement(element)); element 1278 Source/core/editing/ApplyStyleCommand.cpp Element* element = toElement(startNode); element 1279 Source/core/editing/ApplyStyleCommand.cpp Node* startChild = element->firstChild(); element 1281 Source/core/editing/ApplyStyleCommand.cpp mergeIdenticalElements(previousElement, element); element 1314 Source/core/editing/ApplyStyleCommand.cpp Element* element = toElement(endNode); element 1317 Source/core/editing/ApplyStyleCommand.cpp mergeIdenticalElements(element, nextElement); element 1335 Source/core/editing/ApplyStyleCommand.cpp RefPtr<Element> element = elementToInsert; element 1337 Source/core/editing/ApplyStyleCommand.cpp insertNodeBefore(element, node); element 1343 Source/core/editing/ApplyStyleCommand.cpp appendNode(node, element); element 1350 Source/core/editing/ApplyStyleCommand.cpp RefPtr<Node> nextSibling = element->nextSibling(); element 1351 Source/core/editing/ApplyStyleCommand.cpp RefPtr<Node> previousSibling = element->previousSibling(); element 1353 Source/core/editing/ApplyStyleCommand.cpp && areIdenticalElements(element.get(), toElement(nextSibling))) element 1354 Source/core/editing/ApplyStyleCommand.cpp mergeIdenticalElements(element.get(), toElement(nextSibling)); element 59 Source/core/editing/ApplyStyleCommand.h static PassRefPtr<ApplyStyleCommand> create(PassRefPtr<Element> element, bool removeOnly = false, EditAction action = EditActionChangeAttributes) element 61 Source/core/editing/ApplyStyleCommand.h return adoptRef(new ApplyStyleCommand(element, removeOnly, action)); element 82 Source/core/editing/ApplyStyleCommand.h inline bool shouldRemoveInlineStyleFromElement(EditingStyle* style, HTMLElement* element) {return removeInlineStyleFromElement(style, element, RemoveNone);} element 87 Source/core/editing/Caret.cpp Element& element = toElement(node); element 88 Source/core/editing/Caret.cpp return element.containsIncludingShadowDOM(position.anchorNode()); element 247 Source/core/editing/Caret.cpp Element* element; element 249 Source/core/editing/Caret.cpp element = toElement(node); element 251 Source/core/editing/Caret.cpp element = node->parentElement(); element 253 Source/core/editing/Caret.cpp if (element && element->renderer()) element 254 Source/core/editing/Caret.cpp caretColor = element->renderer()->resolveColor(CSSPropertyColor); element 263 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::applyStyledElement(PassRefPtr<Element> element) element 265 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(ApplyStyleCommand::create(element, false)); element 268 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::removeStyledElement(PassRefPtr<Element> element) element 270 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(ApplyStyleCommand::create(element, true)); element 431 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::splitElement(PassRefPtr<Element> element, PassRefPtr<Node> atChild) element 433 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(SplitElementCommand::create(element, atChild)); element 448 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::wrapContentsInDummySpan(PassRefPtr<Element> element) element 450 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(WrapContentsInDummySpanCommand::create(element)); element 559 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::removeCSSProperty(PassRefPtr<Element> element, CSSPropertyID property) element 561 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(RemoveCSSPropertyCommand::create(document(), element, property)); element 564 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::removeNodeAttribute(PassRefPtr<Element> element, const QualifiedName& attribute) element 566 Source/core/editing/CompositeEditCommand.cpp setNodeAttribute(element, attribute, AtomicString()); element 569 Source/core/editing/CompositeEditCommand.cpp void CompositeEditCommand::setNodeAttribute(PassRefPtr<Element> element, const QualifiedName& attribute, const AtomicString& value) element 571 Source/core/editing/CompositeEditCommand.cpp applyCommandToComposite(SetNodeAttributeCommand::create(element, attribute, value)); element 161 Source/core/editing/EditingStyle.cpp virtual bool matches(const Element* element) const { return !m_tagName || element->hasTagName(*m_tagName); } element 196 Source/core/editing/EditingStyle.cpp bool HTMLElementEquivalent::valueIsPresentInStyle(Element* element, StylePropertySet* style) const element 199 Source/core/editing/EditingStyle.cpp return matches(element) && value && value->isPrimitiveValue() && toCSSPrimitiveValue(value.get())->getValueID() == m_primitiveValue->getValueID(); element 232 Source/core/editing/EditingStyle.cpp bool HTMLTextDecorationEquivalent::valueIsPresentInStyle(Element* element, StylePropertySet* style) const element 237 Source/core/editing/EditingStyle.cpp return matches(element) && styleValue && styleValue->isValueList() && toCSSValueList(styleValue.get())->hasValue(m_primitiveValue.get()); element 276 Source/core/editing/EditingStyle.cpp bool HTMLAttributeEquivalent::valueIsPresentInStyle(Element* element, StylePropertySet* style) const element 278 Source/core/editing/EditingStyle.cpp RefPtrWillBeRawPtr<CSSValue> value = attributeValueAsCSSValue(element); element 284 Source/core/editing/EditingStyle.cpp void HTMLAttributeEquivalent::addToStyle(Element* element, EditingStyle* style) const element 286 Source/core/editing/EditingStyle.cpp if (RefPtrWillBeRawPtr<CSSValue> value = attributeValueAsCSSValue(element)) element 290 Source/core/editing/EditingStyle.cpp PassRefPtrWillBeRawPtr<CSSValue> HTMLAttributeEquivalent::attributeValueAsCSSValue(Element* element) const element 292 Source/core/editing/EditingStyle.cpp ASSERT(element); element 293 Source/core/editing/EditingStyle.cpp const AtomicString& value = element->getAttribute(m_attrName); element 320 Source/core/editing/EditingStyle.cpp PassRefPtrWillBeRawPtr<CSSValue> HTMLFontSizeEquivalent::attributeValueAsCSSValue(Element* element) const element 322 Source/core/editing/EditingStyle.cpp ASSERT(element); element 323 Source/core/editing/EditingStyle.cpp const AtomicString& value = element->getAttribute(m_attrName); element 720 Source/core/editing/EditingStyle.cpp bool EditingStyle::conflictsWithInlineStyleOfElement(Element* element, EditingStyle* extractedStyle, Vector<CSSPropertyID>* conflictingProperties) const element 722 Source/core/editing/EditingStyle.cpp ASSERT(element); element 725 Source/core/editing/EditingStyle.cpp const StylePropertySet* inlineStyle = element->inlineStyle(); element 734 Source/core/editing/EditingStyle.cpp if (propertyID == CSSPropertyWhiteSpace && isTabSpanNode(element)) element 794 Source/core/editing/EditingStyle.cpp bool EditingStyle::conflictsWithImplicitStyleOfElement(HTMLElement* element, EditingStyle* extractedStyle, ShouldExtractMatchingStyle shouldExtractMatchingStyle) const element 802 Source/core/editing/EditingStyle.cpp if (equivalent->matches(element) && equivalent->propertyExistsInStyle(m_mutableStyle.get()) element 803 Source/core/editing/EditingStyle.cpp && (shouldExtractMatchingStyle == ExtractMatchingStyle || !equivalent->valueIsPresentInStyle(element, m_mutableStyle.get()))) { element 805 Source/core/editing/EditingStyle.cpp equivalent->addToStyle(element, extractedStyle); element 830 Source/core/editing/EditingStyle.cpp bool EditingStyle::conflictsWithImplicitStyleOfAttributes(HTMLElement* element) const element 832 Source/core/editing/EditingStyle.cpp ASSERT(element); element 838 Source/core/editing/EditingStyle.cpp if (HTMLAttributeEquivalents[i]->matches(element) && HTMLAttributeEquivalents[i]->propertyExistsInStyle(m_mutableStyle.get()) element 839 Source/core/editing/EditingStyle.cpp && !HTMLAttributeEquivalents[i]->valueIsPresentInStyle(element, m_mutableStyle.get())) element 846 Source/core/editing/EditingStyle.cpp bool EditingStyle::extractConflictingImplicitStyleOfAttributes(HTMLElement* element, ShouldPreserveWritingDirection shouldPreserveWritingDirection, element 849 Source/core/editing/EditingStyle.cpp ASSERT(element); element 864 Source/core/editing/EditingStyle.cpp if (!equivalent->matches(element) || !equivalent->propertyExistsInStyle(m_mutableStyle.get()) element 865 Source/core/editing/EditingStyle.cpp || (shouldExtractMatchingStyle == DoNotExtractMatchingStyle && equivalent->valueIsPresentInStyle(element, m_mutableStyle.get()))) element 869 Source/core/editing/EditingStyle.cpp equivalent->addToStyle(element, extractedStyle); element 882 Source/core/editing/EditingStyle.cpp bool EditingStyle::elementIsStyledSpanOrHTMLEquivalent(const HTMLElement* element) element 884 Source/core/editing/EditingStyle.cpp ASSERT(element); element 886 Source/core/editing/EditingStyle.cpp if (isHTMLSpanElement(*element)) element 892 Source/core/editing/EditingStyle.cpp if (HTMLElementEquivalents[i]->matches(element)) { element 899 Source/core/editing/EditingStyle.cpp if (!element->hasAttributes()) element 905 Source/core/editing/EditingStyle.cpp if (HTMLAttributeEquivalents[i]->matches(element) && HTMLAttributeEquivalents[i]->attributeName() != HTMLNames::dirAttr) element 912 Source/core/editing/EditingStyle.cpp if (element->getAttribute(HTMLNames::classAttr) == AppleStyleSpanClass) element 915 Source/core/editing/EditingStyle.cpp if (element->hasAttribute(HTMLNames::styleAttr)) { element 916 Source/core/editing/EditingStyle.cpp if (const StylePropertySet* style = element->inlineStyle()) { element 927 Source/core/editing/EditingStyle.cpp ASSERT(matchedAttributes <= element->attributeCount()); element 928 Source/core/editing/EditingStyle.cpp return matchedAttributes >= element->attributeCount(); element 979 Source/core/editing/EditingStyle.cpp void EditingStyle::mergeInlineStyleOfElement(Element* element, CSSPropertyOverrideMode mode, PropertiesToInclude propertiesToInclude) element 981 Source/core/editing/EditingStyle.cpp ASSERT(element); element 982 Source/core/editing/EditingStyle.cpp if (!element->inlineStyle()) element 987 Source/core/editing/EditingStyle.cpp mergeStyle(element->inlineStyle(), mode); element 990 Source/core/editing/EditingStyle.cpp mergeStyle(copyEditingProperties(element->inlineStyle(), OnlyInheritableEditingProperties).get(), mode); element 993 Source/core/editing/EditingStyle.cpp mergeStyle(copyEditingProperties(element->inlineStyle(), AllEditingProperties).get(), mode); element 998 Source/core/editing/EditingStyle.cpp static inline bool elementMatchesAndPropertyIsNotInInlineStyleDecl(const HTMLElementEquivalent* equivalent, const Element* element, element 1001 Source/core/editing/EditingStyle.cpp return equivalent->matches(element) && (!element->inlineStyle() || !equivalent->propertyExistsInStyle(element->inlineStyle())) element 1022 Source/core/editing/EditingStyle.cpp void EditingStyle::mergeInlineAndImplicitStyleOfElement(Element* element, CSSPropertyOverrideMode mode, PropertiesToInclude propertiesToInclude) element 1025 Source/core/editing/EditingStyle.cpp styleFromRules->mergeStyleFromRulesForSerialization(element); element 1029 Source/core/editing/EditingStyle.cpp mergeInlineStyleOfElement(element, mode, propertiesToInclude); element 1033 Source/core/editing/EditingStyle.cpp if (elementMatchesAndPropertyIsNotInInlineStyleDecl(elementEquivalents[i].get(), element, mode, m_mutableStyle.get())) element 1034 Source/core/editing/EditingStyle.cpp elementEquivalents[i]->addToStyle(element, this); element 1041 Source/core/editing/EditingStyle.cpp if (elementMatchesAndPropertyIsNotInInlineStyleDecl(attributeEquivalents[i].get(), element, mode, m_mutableStyle.get())) element 1042 Source/core/editing/EditingStyle.cpp attributeEquivalents[i]->addToStyle(element, this); element 1118 Source/core/editing/EditingStyle.cpp static PassRefPtrWillBeRawPtr<MutableStylePropertySet> styleFromMatchedRulesForElement(Element* element, unsigned rulesToInclude) element 1121 Source/core/editing/EditingStyle.cpp RefPtrWillBeRawPtr<StyleRuleList> matchedRules = element->document().ensureStyleResolver().styleRulesForElement(element, rulesToInclude); element 1129 Source/core/editing/EditingStyle.cpp void EditingStyle::mergeStyleFromRules(Element* element) element 1131 Source/core/editing/EditingStyle.cpp RefPtrWillBeRawPtr<MutableStylePropertySet> styleFromMatchedRules = styleFromMatchedRulesForElement(element, element 1142 Source/core/editing/EditingStyle.cpp void EditingStyle::mergeStyleFromRulesForSerialization(Element* element) element 1144 Source/core/editing/EditingStyle.cpp mergeStyleFromRules(element); element 1149 Source/core/editing/EditingStyle.cpp RefPtr<CSSComputedStyleDeclaration> computedStyleForElement = CSSComputedStyleDeclaration::create(element); element 1177 Source/core/editing/EditingStyle.cpp void EditingStyle::removeStyleFromRulesAndContext(Element* element, Node* context) element 1179 Source/core/editing/EditingStyle.cpp ASSERT(element); element 1184 Source/core/editing/EditingStyle.cpp RefPtrWillBeRawPtr<MutableStylePropertySet> styleFromMatchedRules = styleFromMatchedRulesForElement(element, StyleResolver::AllButEmptyCSSRules); element 1200 Source/core/editing/EditingStyle.cpp if (isStyleSpanOrSpanWithOnlyStyleAttribute(element)) { element 1208 Source/core/editing/EditingStyle.cpp void EditingStyle::removePropertiesInElementDefaultStyle(Element* element) element 1213 Source/core/editing/EditingStyle.cpp RefPtr<StylePropertySet> defaultStyle = styleFromMatchedRulesForElement(element, StyleResolver::UAAndUserCSSRules); element 1250 Source/core/editing/EditingStyle.cpp Element* element = position.element(); element 1251 Source/core/editing/EditingStyle.cpp if (!element) element 1254 Source/core/editing/EditingStyle.cpp RefPtr<EditingStyle> style = EditingStyle::create(element, EditingStyle::AllProperties); element 1255 Source/core/editing/EditingStyle.cpp style->mergeTypingStyle(&element->document()); element 113 Source/core/editing/EditingStyle.h bool conflictsWithInlineStyleOfElement(Element* element) const { return conflictsWithInlineStyleOfElement(element, 0, 0); } element 114 Source/core/editing/EditingStyle.h bool conflictsWithInlineStyleOfElement(Element* element, EditingStyle* extractedStyle, Vector<CSSPropertyID>& conflictingProperties) const element 116 Source/core/editing/EditingStyle.h return conflictsWithInlineStyleOfElement(element, extractedStyle, &conflictingProperties); element 586 Source/core/editing/Editor.cpp Node* target = selection.start().element(); element 309 Source/core/editing/FrameSelection.cpp Element& element = toElement(node); element 310 Source/core/editing/FrameSelection.cpp return element.containsIncludingShadowDOM(position.anchorNode()); element 1477 Source/core/editing/FrameSelection.cpp if (Element* element = document->focusedElement()) element 1478 Source/core/editing/FrameSelection.cpp element->focusStateChanged(); element 1723 Source/core/editing/FrameSelection.cpp static inline HTMLFormElement* associatedFormElement(HTMLElement& element) element 1725 Source/core/editing/FrameSelection.cpp if (isHTMLFormElement(element)) element 1726 Source/core/editing/FrameSelection.cpp return &toHTMLFormElement(element); element 1727 Source/core/editing/FrameSelection.cpp return element.formOwner(); element 1736 Source/core/editing/FrameSelection.cpp HTMLElement* element = start->isHTMLElement() ? toHTMLElement(start) : Traversal<HTMLElement>::next(*start); element 1737 Source/core/editing/FrameSelection.cpp for (; element; element = Traversal<HTMLElement>::next(*element)) { element 1738 Source/core/editing/FrameSelection.cpp if (HTMLFormElement* form = associatedFormElement(*element)) element 1741 Source/core/editing/FrameSelection.cpp if (isHTMLFrameElementBase(*element)) { element 1742 Source/core/editing/FrameSelection.cpp Node* childDocument = toHTMLFrameElementBase(*element).contentDocument(); element 1761 Source/core/editing/FrameSelection.cpp for (HTMLElement* element = Traversal<HTMLElement>::firstAncestorOrSelf(*start); element; element = Traversal<HTMLElement>::firstAncestor(*element)) { element 1762 Source/core/editing/FrameSelection.cpp if (HTMLFormElement* form = associatedFormElement(*element)) element 151 Source/core/editing/MarkupAccumulator.cpp String MarkupAccumulator::resolveURLIfNeeded(const Element& element, const String& urlString) const element 155 Source/core/editing/MarkupAccumulator.cpp return element.document().completeURL(urlString).string(); element 158 Source/core/editing/MarkupAccumulator.cpp if (!element.document().url().isLocalFile()) element 159 Source/core/editing/MarkupAccumulator.cpp return element.document().completeURL(urlString).string(); element 208 Source/core/editing/MarkupAccumulator.cpp void MarkupAccumulator::appendQuotedURLAttributeValue(StringBuilder& result, const Element& element, const Attribute& attribute) element 210 Source/core/editing/MarkupAccumulator.cpp ASSERT(element.isURLAttribute(attribute)); element 211 Source/core/editing/MarkupAccumulator.cpp const String resolvedURLString = resolveURLIfNeeded(element, attribute.value()); element 234 Source/core/editing/MarkupAccumulator.cpp bool MarkupAccumulator::shouldAddNamespaceElement(const Element& element, Namespaces& namespaces) element 237 Source/core/editing/MarkupAccumulator.cpp const AtomicString& prefix = element.prefix(); element 239 Source/core/editing/MarkupAccumulator.cpp if (element.hasAttribute(xmlnsAtom)) { element 240 Source/core/editing/MarkupAccumulator.cpp namespaces.set(emptyAtom.impl(), element.namespaceURI().impl()); element 247 Source/core/editing/MarkupAccumulator.cpp return !element.hasAttribute(xmlnsWithColon + prefix); element 391 Source/core/editing/MarkupAccumulator.cpp void MarkupAccumulator::appendElement(StringBuilder& result, Element& element, Namespaces* namespaces) element 393 Source/core/editing/MarkupAccumulator.cpp appendOpenTag(result, element, namespaces); element 395 Source/core/editing/MarkupAccumulator.cpp if (element.hasAttributes()) { element 396 Source/core/editing/MarkupAccumulator.cpp unsigned length = element.attributeCount(); element 398 Source/core/editing/MarkupAccumulator.cpp appendAttribute(result, element, element.attributeItem(i), namespaces); element 402 Source/core/editing/MarkupAccumulator.cpp appendCustomAttributes(result, element, namespaces); element 404 Source/core/editing/MarkupAccumulator.cpp appendCloseTag(result, element); element 407 Source/core/editing/MarkupAccumulator.cpp static String nodeNamePreservingCase(const Element& element) element 409 Source/core/editing/MarkupAccumulator.cpp return element.tagQName().toString(); element 412 Source/core/editing/MarkupAccumulator.cpp void MarkupAccumulator::appendOpenTag(StringBuilder& result, const Element& element, Namespaces* namespaces) element 415 Source/core/editing/MarkupAccumulator.cpp result.append(nodeNamePreservingCase(element)); element 416 Source/core/editing/MarkupAccumulator.cpp if (!serializeAsHTMLDocument(element) && namespaces && shouldAddNamespaceElement(element, *namespaces)) element 417 Source/core/editing/MarkupAccumulator.cpp appendNamespace(result, element.prefix(), element.namespaceURI(), *namespaces); element 420 Source/core/editing/MarkupAccumulator.cpp void MarkupAccumulator::appendCloseTag(StringBuilder& result, const Element& element) element 422 Source/core/editing/MarkupAccumulator.cpp if (shouldSelfClose(element)) { element 423 Source/core/editing/MarkupAccumulator.cpp if (element.isHTMLElement()) element 437 Source/core/editing/MarkupAccumulator.cpp void MarkupAccumulator::appendAttribute(StringBuilder& result, const Element& element, const Attribute& attribute, Namespaces* namespaces) element 439 Source/core/editing/MarkupAccumulator.cpp bool documentIsHTML = serializeAsHTMLDocument(element); element 462 Source/core/editing/MarkupAccumulator.cpp if (element.isURLAttribute(attribute)) { element 463 Source/core/editing/MarkupAccumulator.cpp appendQuotedURLAttributeValue(result, element, attribute); element 37 Source/core/editing/RemoveCSSPropertyCommand.cpp RemoveCSSPropertyCommand::RemoveCSSPropertyCommand(Document& document, PassRefPtr<Element> element, CSSPropertyID property) element 39 Source/core/editing/RemoveCSSPropertyCommand.cpp , m_element(element) element 38 Source/core/editing/RemoveCSSPropertyCommand.h static PassRefPtr<RemoveCSSPropertyCommand> create(Document& document, PassRefPtr<Element> element, CSSPropertyID property) element 40 Source/core/editing/RemoveCSSPropertyCommand.h return adoptRef(new RemoveCSSPropertyCommand(document, element, property)); element 48 Source/core/editing/RemoveFormatCommand.cpp static bool isElementForRemoveFormatCommand(const Element* element) element 77 Source/core/editing/RemoveFormatCommand.cpp return elements.contains(element->tagQName()); element 44 Source/core/editing/ReplaceNodeWithSpanCommand.cpp ReplaceNodeWithSpanCommand::ReplaceNodeWithSpanCommand(PassRefPtr<HTMLElement> element) element 45 Source/core/editing/ReplaceNodeWithSpanCommand.cpp : SimpleEditCommand(element->document()) element 46 Source/core/editing/ReplaceNodeWithSpanCommand.cpp , m_elementToReplace(element) element 43 Source/core/editing/ReplaceNodeWithSpanCommand.h static PassRefPtr<ReplaceNodeWithSpanCommand> create(PassRefPtr<HTMLElement> element) element 45 Source/core/editing/ReplaceNodeWithSpanCommand.h return adoptRef(new ReplaceNodeWithSpanCommand(element)); element 473 Source/core/editing/ReplaceSelectionCommand.cpp Element* element = toElement(node); element 475 Source/core/editing/ReplaceSelectionCommand.cpp const StylePropertySet* inlineStyle = element->inlineStyle(); element 478 Source/core/editing/ReplaceSelectionCommand.cpp if (element->isHTMLElement()) { element 480 Source/core/editing/ReplaceSelectionCommand.cpp HTMLElement* htmlElement = toHTMLElement(element); element 486 Source/core/editing/ReplaceSelectionCommand.cpp element = toElement(node); element 487 Source/core/editing/ReplaceSelectionCommand.cpp inlineStyle = element->inlineStyle(); element 493 Source/core/editing/ReplaceSelectionCommand.cpp removeNodeAttribute(element, attributes[i]); element 497 Source/core/editing/ReplaceSelectionCommand.cpp ContainerNode* context = element->parentNode(); element 503 Source/core/editing/ReplaceSelectionCommand.cpp newInlineStyle->removeStyleFromRulesAndContext(element, document().documentElement()); element 505 Source/core/editing/ReplaceSelectionCommand.cpp newInlineStyle->removeStyleFromRulesAndContext(element, context); element 509 Source/core/editing/ReplaceSelectionCommand.cpp if (isStyleSpanOrSpanWithOnlyStyleAttribute(element) || isEmptyFontTag(element, AllowNonEmptyStyleAttribute)) { element 510 Source/core/editing/ReplaceSelectionCommand.cpp insertedNodes.willRemoveNodePreservingChildren(*element); element 511 Source/core/editing/ReplaceSelectionCommand.cpp removeNodePreservingChildren(element); element 514 Source/core/editing/ReplaceSelectionCommand.cpp removeNodeAttribute(element, styleAttr); element 516 Source/core/editing/ReplaceSelectionCommand.cpp setNodeAttribute(element, styleAttr, AtomicString(newInlineStyle->style()->asText())); element 520 Source/core/editing/ReplaceSelectionCommand.cpp if (isNonTableCellHTMLBlockElement(element) && areIdenticalElements(element, element->parentNode()) element 521 Source/core/editing/ReplaceSelectionCommand.cpp && VisiblePosition(firstPositionInNode(element->parentNode())) == VisiblePosition(firstPositionInNode(element)) element 522 Source/core/editing/ReplaceSelectionCommand.cpp && VisiblePosition(lastPositionInNode(element->parentNode())) == VisiblePosition(lastPositionInNode(element))) { element 523 Source/core/editing/ReplaceSelectionCommand.cpp insertedNodes.willRemoveNodePreservingChildren(*element); element 524 Source/core/editing/ReplaceSelectionCommand.cpp removeNodePreservingChildren(element); element 528 Source/core/editing/ReplaceSelectionCommand.cpp if (element->parentNode() && element->parentNode()->rendererIsRichlyEditable()) element 529 Source/core/editing/ReplaceSelectionCommand.cpp removeNodeAttribute(element, contenteditableAttr); element 533 Source/core/editing/ReplaceSelectionCommand.cpp if (isLegacyAppleStyleSpan(element)) { element 534 Source/core/editing/ReplaceSelectionCommand.cpp if (!element->firstChild()) { element 535 Source/core/editing/ReplaceSelectionCommand.cpp insertedNodes.willRemoveNodePreservingChildren(*element); element 536 Source/core/editing/ReplaceSelectionCommand.cpp removeNodePreservingChildren(element); element 547 Source/core/editing/ReplaceSelectionCommand.cpp if (isBlock(element)) element 548 Source/core/editing/ReplaceSelectionCommand.cpp element->style()->setPropertyInternal(CSSPropertyDisplay, "inline", false, IGNORE_EXCEPTION); element 549 Source/core/editing/ReplaceSelectionCommand.cpp if (element->renderer() && element->renderer()->style()->isFloating()) element 550 Source/core/editing/ReplaceSelectionCommand.cpp element->style()->setPropertyInternal(CSSPropertyFloat, "none", false, IGNORE_EXCEPTION); element 866 Source/core/editing/ReplaceSelectionCommand.cpp const HTMLElement* element = toHTMLElement(node); element 867 Source/core/editing/ReplaceSelectionCommand.cpp const AtomicString& classAttributeValue = element->getAttribute(classAttr); element 873 Source/core/editing/ReplaceSelectionCommand.cpp return EditingStyle::elementIsStyledSpanOrHTMLEquivalent(element); element 34 Source/core/editing/SetNodeAttributeCommand.cpp SetNodeAttributeCommand::SetNodeAttributeCommand(PassRefPtr<Element> element, element 36 Source/core/editing/SetNodeAttributeCommand.cpp : SimpleEditCommand(element->document()) element 37 Source/core/editing/SetNodeAttributeCommand.cpp , m_element(element) element 36 Source/core/editing/SetNodeAttributeCommand.h static PassRefPtr<SetNodeAttributeCommand> create(PassRefPtr<Element> element, const QualifiedName& attribute, const AtomicString& value) element 38 Source/core/editing/SetNodeAttributeCommand.h return adoptRef(new SetNodeAttributeCommand(element, attribute, value)); element 118 Source/core/editing/SpellChecker.cpp void SpellChecker::didBeginEditing(Element* element) element 123 Source/core/editing/SpellChecker.cpp if (!isHTMLTextFormControlElement(*element)) element 124 Source/core/editing/SpellChecker.cpp enclosingHTMLTextFormControlElement = enclosingTextFormControl(firstPositionInNode(element)); element 125 Source/core/editing/SpellChecker.cpp element = enclosingHTMLTextFormControlElement ? enclosingHTMLTextFormControlElement : element; element 126 Source/core/editing/SpellChecker.cpp Element* parent = element; element 127 Source/core/editing/SpellChecker.cpp if (isHTMLTextFormControlElement(*element)) { element 128 Source/core/editing/SpellChecker.cpp HTMLTextFormControlElement* textControl = toHTMLTextFormControlElement(element); element 130 Source/core/editing/SpellChecker.cpp element = textControl->innerTextElement(); element 136 Source/core/editing/SpellChecker.cpp VisibleSelection selection = VisibleSelection::selectionFromContentsOfNode(element); element 847 Source/core/editing/SpellChecker.cpp void SpellChecker::requestTextChecking(const Element& element) element 849 Source/core/editing/SpellChecker.cpp RefPtrWillBeRawPtr<Range> rangeToCheck = rangeOfContents(const_cast<Element*>(&element)); element 37 Source/core/editing/SplitElementCommand.cpp SplitElementCommand::SplitElementCommand(PassRefPtr<Element> element, PassRefPtr<Node> atChild) element 38 Source/core/editing/SplitElementCommand.cpp : SimpleEditCommand(element->document()) element 39 Source/core/editing/SplitElementCommand.cpp , m_element2(element) element 35 Source/core/editing/SplitElementCommand.h static PassRefPtr<SplitElementCommand> create(PassRefPtr<Element> element, PassRefPtr<Node> splitPointChild) element 37 Source/core/editing/SplitElementCommand.h return adoptRef(new SplitElementCommand(element, splitPointChild)); element 35 Source/core/editing/WrapContentsInDummySpanCommand.cpp WrapContentsInDummySpanCommand::WrapContentsInDummySpanCommand(PassRefPtr<Element> element) element 36 Source/core/editing/WrapContentsInDummySpanCommand.cpp : SimpleEditCommand(element->document()) element 37 Source/core/editing/WrapContentsInDummySpanCommand.cpp , m_element(element) element 37 Source/core/editing/WrapContentsInDummySpanCommand.h static PassRefPtr<WrapContentsInDummySpanCommand> create(PassRefPtr<Element> element) element 39 Source/core/editing/WrapContentsInDummySpanCommand.h return adoptRef(new WrapContentsInDummySpanCommand(element)); element 78 Source/core/editing/markup.cpp AttributeChange(PassRefPtr<Element> element, const QualifiedName& name, const String& value) element 79 Source/core/editing/markup.cpp : m_element(element), m_name(name), m_value(value) element 100 Source/core/editing/markup.cpp for (Element* element = ElementTraversal::firstWithin(fragment); element; element = ElementTraversal::next(*element, &fragment)) { element 101 Source/core/editing/markup.cpp if (!element->hasAttributes()) element 103 Source/core/editing/markup.cpp unsigned length = element->attributeCount(); element 105 Source/core/editing/markup.cpp const Attribute& attribute = element->attributeItem(i); element 106 Source/core/editing/markup.cpp if (element->isURLAttribute(attribute) && !attribute.value().isEmpty()) element 107 Source/core/editing/markup.cpp changes.append(AttributeChange(element, attribute.name(), KURL(parsedBaseURL, attribute.value()).string())); element 134 Source/core/editing/markup.cpp virtual void appendElement(StringBuilder& out, Element& element, Namespaces*) OVERRIDE { appendElement(out, element, false, DoesFullySelectNode); } element 275 Source/core/editing/markup.cpp void StyledMarkupAccumulator::appendElement(StringBuilder& out, Element& element, bool addDisplayInline, RangeFullySelectsNode rangeFullySelectsNode) element 277 Source/core/editing/markup.cpp const bool documentIsHTML = element.document().isHTMLDocument(); element 278 Source/core/editing/markup.cpp appendOpenTag(out, element, 0); element 280 Source/core/editing/markup.cpp const unsigned length = element.hasAttributes() ? element.attributeCount() : 0; element 281 Source/core/editing/markup.cpp const bool shouldAnnotateOrForceInline = element.isHTMLElement() && (shouldAnnotate() || addDisplayInline); element 282 Source/core/editing/markup.cpp const bool shouldOverrideStyleAttr = shouldAnnotateOrForceInline || shouldApplyWrappingStyle(element); element 284 Source/core/editing/markup.cpp const Attribute& attribute = element.attributeItem(i); element 288 Source/core/editing/markup.cpp appendAttribute(out, element, attribute, 0); element 294 Source/core/editing/markup.cpp if (shouldApplyWrappingStyle(element)) { element 296 Source/core/editing/markup.cpp newInlineStyle->removePropertiesInElementDefaultStyle(&element); element 297 Source/core/editing/markup.cpp newInlineStyle->removeStyleConflictingWithStyleOfNode(&element); element 301 Source/core/editing/markup.cpp if (element.isStyledElement() && element.inlineStyle()) element 302 Source/core/editing/markup.cpp newInlineStyle->overrideWithStyle(element.inlineStyle()); element 306 Source/core/editing/markup.cpp newInlineStyle->mergeStyleFromRulesForSerialization(&toHTMLElement(element)); element 324 Source/core/editing/markup.cpp appendCloseTag(out, element); element 485 Source/core/editing/markup.cpp HTMLElement* element = const_cast<HTMLElement*>(toHTMLElement(node)); element 486 Source/core/editing/markup.cpp RefPtr<EditingStyle> style = EditingStyle::create(element->inlineStyle()); element 487 Source/core/editing/markup.cpp style->mergeStyleFromRules(element); element 792 Source/core/editing/markup.cpp Element* element = toElement(node); element 793 Source/core/editing/markup.cpp if (!isHTMLDivElement(*element) || !element->hasAttributes()) element 796 Source/core/editing/markup.cpp if (element->hasOneChild() && (element->firstChild()->isTextNode() || (element->firstChild()->firstChild()))) element 799 Source/core/editing/markup.cpp return element->hasChildCount(2) && isTabSpanTextNode(element->firstChild()->firstChild()) && element->lastChild()->isTextNode(); element 835 Source/core/editing/markup.cpp RefPtr<Element> element = createBreakElement(document); element 836 Source/core/editing/markup.cpp element->setAttribute(classAttr, AppleInterchangeNewline); element 837 Source/core/editing/markup.cpp fragment->appendChild(element.release()); element 864 Source/core/editing/markup.cpp RefPtr<Element> element; element 867 Source/core/editing/markup.cpp element = createBreakElement(document); element 868 Source/core/editing/markup.cpp element->setAttribute(classAttr, AppleInterchangeNewline); element 870 Source/core/editing/markup.cpp element = createBreakElement(document); element 874 Source/core/editing/markup.cpp element = block->cloneElementWithoutChildren(); element 876 Source/core/editing/markup.cpp element = createDefaultParagraphElement(document); element 877 Source/core/editing/markup.cpp fillContainerFromString(element.get(), s); element 879 Source/core/editing/markup.cpp fragment->appendChild(element.release()); element 956 Source/core/editing/markup.cpp static inline void removeElementPreservingChildren(PassRefPtr<DocumentFragment> fragment, HTMLElement* element) element 959 Source/core/editing/markup.cpp for (RefPtr<Node> child = element->firstChild(); child; child = nextChild) { element 961 Source/core/editing/markup.cpp element->removeChild(child.get()); element 962 Source/core/editing/markup.cpp fragment->insertBefore(child, element); element 964 Source/core/editing/markup.cpp fragment->removeChild(element); element 967 Source/core/editing/markup.cpp PassRefPtr<DocumentFragment> createContextualFragment(const String& markup, HTMLElement* element, ParserContentPolicy parserContentPolicy, ExceptionState& exceptionState) element 969 Source/core/editing/markup.cpp ASSERT(element); element 970 Source/core/editing/markup.cpp if (element->ieForbidsInsertHTML() || element->hasLocalName(colTag) || element->hasLocalName(colgroupTag) || element->hasLocalName(framesetTag) element 971 Source/core/editing/markup.cpp || element->hasLocalName(headTag) || element->hasLocalName(styleTag) || element->hasLocalName(titleTag)) { element 972 Source/core/editing/markup.cpp exceptionState.throwDOMException(NotSupportedError, "The range's container is '" + element->localName() + "', which is not supported."); element 976 Source/core/editing/markup.cpp RefPtr<DocumentFragment> fragment = createFragmentForInnerOuterHTML(markup, element, parserContentPolicy, "createContextualFragment", exceptionState); element 988 Source/core/editing/markup.cpp HTMLElement* element = toHTMLElement(node); element 989 Source/core/editing/markup.cpp if (Node* firstChild = element->firstChild()) element 991 Source/core/editing/markup.cpp removeElementPreservingChildren(fragment, element); element 154 Source/core/fetch/FontResource.cpp SVGFontElement* element = toSVGFontElement(collection->item(i)); element 155 Source/core/fetch/FontResource.cpp if (element->getIdAttribute() == fontName) element 156 Source/core/fetch/FontResource.cpp return element; element 1306 Source/core/frame/DOMWindow.cpp PassRefPtrWillBeRawPtr<CSSRuleList> DOMWindow::getMatchedCSSRules(Element* element, const String& pseudoElement) const element 1309 Source/core/frame/DOMWindow.cpp if (!element) element 1322 Source/core/frame/DOMWindow.cpp return m_frame->document()->ensureStyleResolver().pseudoCSSRulesForElement(element, pseudoId, rulesToInclude); element 1624 Source/core/frame/FrameView.cpp void FrameView::scrollElementToRect(Element* element, const IntRect& rect) element 1628 Source/core/frame/FrameView.cpp LayoutRect bounds = element->boundingBox(); element 2032 Source/core/frame/FrameView.cpp HTMLPlugInElement* element = toHTMLPlugInElement(object.node()); element 2036 Source/core/frame/FrameView.cpp if (!element) element 2043 Source/core/frame/FrameView.cpp if (element->needsWidgetUpdate()) element 2044 Source/core/frame/FrameView.cpp element->updateWidget(); element 33 Source/core/html/ClassList.cpp ClassList::ClassList(Element* element) : m_element(element) { } element 43 Source/core/html/ClassList.h static PassOwnPtr<ClassList> create(Element* element) element 45 Source/core/html/ClassList.h return adoptPtr(new ClassList(element)); element 54 Source/core/html/ClassList.h virtual Element* element() OVERRIDE { return m_element; } element 55 Source/core/html/DOMFormData.cpp FormAssociatedElement* element = form->associatedElements()[i]; element 56 Source/core/html/DOMFormData.cpp if (!toHTMLElement(element)->isDisabledFormControl()) element 57 Source/core/html/DOMFormData.cpp element->appendFormData(*this, true); element 71 Source/core/html/FormAssociatedElement.cpp HTMLElement* element = toHTMLElement(this); element 72 Source/core/html/FormAssociatedElement.cpp if (element->fastHasAttribute(formAttr)) element 84 Source/core/html/FormAssociatedElement.cpp HTMLElement* element = toHTMLElement(this); element 85 Source/core/html/FormAssociatedElement.cpp if (element->fastHasAttribute(formAttr)) element 91 Source/core/html/FormAssociatedElement.cpp HTMLElement* element = toHTMLElement(this); element 92 Source/core/html/FormAssociatedElement.cpp if (insertionPoint->inDocument() && element->fastHasAttribute(formAttr)) element 96 Source/core/html/FormAssociatedElement.cpp if (m_form && element->highestAncestor() != m_form->highestAncestor()) element 100 Source/core/html/FormAssociatedElement.cpp HTMLFormElement* FormAssociatedElement::findAssociatedForm(const HTMLElement* element) element 102 Source/core/html/FormAssociatedElement.cpp const AtomicString& formId(element->fastGetAttribute(formAttr)); element 105 Source/core/html/FormAssociatedElement.cpp if (!formId.isNull() && element->inDocument()) { element 111 Source/core/html/FormAssociatedElement.cpp Element* newFormCandidate = element->treeScope().getElementById(formId); element 117 Source/core/html/FormAssociatedElement.cpp return element->findFormAncestor(); element 164 Source/core/html/FormAssociatedElement.cpp HTMLElement* element = toHTMLElement(this); element 165 Source/core/html/FormAssociatedElement.cpp const AtomicString& formId(element->fastGetAttribute(formAttr)); element 166 Source/core/html/FormAssociatedElement.cpp HTMLFormElement* nearestForm = element->findFormAncestor(); element 175 Source/core/html/FormAssociatedElement.cpp setForm(findAssociatedForm(element)); element 179 Source/core/html/FormAssociatedElement.cpp element->document().didAssociateFormControl(element); element 190 Source/core/html/FormAssociatedElement.cpp const HTMLElement* element = toHTMLElement(this); element 191 Source/core/html/FormAssociatedElement.cpp return element->willValidate() && !m_customValidationMessage.isEmpty(); element 258 Source/core/html/FormAssociatedElement.cpp HTMLElement* element = toHTMLElement(this); element 259 Source/core/html/FormAssociatedElement.cpp const AtomicString& formId(element->fastGetAttribute(formAttr)); element 260 Source/core/html/FormAssociatedElement.cpp if (!formId.isNull() && element->inDocument()) element 306 Source/core/html/FormAssociatedElement.cpp PassOwnPtr<FormAttributeTargetObserver> FormAttributeTargetObserver::create(const AtomicString& id, FormAssociatedElement* element) element 308 Source/core/html/FormAssociatedElement.cpp return adoptPtr(new FormAttributeTargetObserver(id, element)); element 311 Source/core/html/FormAssociatedElement.cpp FormAttributeTargetObserver::FormAttributeTargetObserver(const AtomicString& id, FormAssociatedElement* element) element 312 Source/core/html/FormAssociatedElement.cpp : IdTargetObserver(toHTMLElement(element)->treeScope().idTargetObserverRegistry(), id) element 313 Source/core/html/FormAssociatedElement.cpp , m_element(element) element 523 Source/core/html/HTMLAnchorElement.cpp void HTMLAnchorElement::setRootEditableElementForSelectionOnMouseDown(Element* element) element 525 Source/core/html/HTMLAnchorElement.cpp if (!element) { element 530 Source/core/html/HTMLAnchorElement.cpp rootEditableElementMap().set(this, element); element 54 Source/core/html/HTMLAppletElement.cpp RefPtr<HTMLAppletElement> element = adoptRef(new HTMLAppletElement(document, createdByParser)); element 55 Source/core/html/HTMLAppletElement.cpp element->ensureUserAgentShadowRoot(); element 56 Source/core/html/HTMLAppletElement.cpp return element.release(); element 194 Source/core/html/HTMLCollection.cpp template <> inline bool isMatchingElement(const HTMLCollection& htmlCollection, const Element& element) element 204 Source/core/html/HTMLCollection.cpp return static_cast<const ClassCollection&>(htmlCollection).elementMatches(element); element 206 Source/core/html/HTMLCollection.cpp return static_cast<const TagCollection&>(htmlCollection).elementMatches(element); element 208 Source/core/html/HTMLCollection.cpp return static_cast<const HTMLTagCollection&>(htmlCollection).elementMatches(element); element 214 Source/core/html/HTMLCollection.cpp if (!element.isHTMLElement()) element 219 Source/core/html/HTMLCollection.cpp return element.hasLocalName(imgTag); element 221 Source/core/html/HTMLCollection.cpp return element.hasLocalName(scriptTag); element 223 Source/core/html/HTMLCollection.cpp return element.hasLocalName(formTag); element 225 Source/core/html/HTMLCollection.cpp return element.hasLocalName(tbodyTag); element 227 Source/core/html/HTMLCollection.cpp return element.hasLocalName(tdTag) || element.hasLocalName(thTag); element 229 Source/core/html/HTMLCollection.cpp return element.hasLocalName(trTag); element 231 Source/core/html/HTMLCollection.cpp return element.hasLocalName(optionTag); element 233 Source/core/html/HTMLCollection.cpp return element.hasLocalName(optionTag) && toHTMLOptionElement(element).selected(); element 235 Source/core/html/HTMLCollection.cpp if (element.hasLocalName(optionTag)) { element 236 Source/core/html/HTMLCollection.cpp const HTMLOptionElement& option = toHTMLOptionElement(element); element 242 Source/core/html/HTMLCollection.cpp return element.hasLocalName(areaTag); element 244 Source/core/html/HTMLCollection.cpp return element.hasLocalName(appletTag) || (element.hasLocalName(objectTag) && toHTMLObjectElement(element).containsJavaApplet()); element 246 Source/core/html/HTMLCollection.cpp return element.hasLocalName(embedTag); element 248 Source/core/html/HTMLCollection.cpp return (element.hasLocalName(aTag) || element.hasLocalName(areaTag)) && element.fastHasAttribute(hrefAttr); element 250 Source/core/html/HTMLCollection.cpp return element.hasLocalName(aTag) && element.fastHasAttribute(nameAttr); element 269 Source/core/html/HTMLCollection.cpp template <> inline bool isMatchingElement(const ClassCollection& collection, const Element& element) element 271 Source/core/html/HTMLCollection.cpp return collection.elementMatches(element); element 274 Source/core/html/HTMLCollection.cpp template <> inline bool isMatchingElement(const HTMLTagCollection& collection, const Element& element) element 276 Source/core/html/HTMLCollection.cpp return collection.elementMatches(element); element 290 Source/core/html/HTMLCollection.cpp static inline bool nameShouldBeVisibleInDocumentAll(const HTMLElement& element) element 295 Source/core/html/HTMLCollection.cpp return element.hasLocalName(aTag) element 296 Source/core/html/HTMLCollection.cpp || element.hasLocalName(appletTag) element 297 Source/core/html/HTMLCollection.cpp || element.hasLocalName(areaTag) element 298 Source/core/html/HTMLCollection.cpp || element.hasLocalName(embedTag) element 299 Source/core/html/HTMLCollection.cpp || element.hasLocalName(formTag) element 300 Source/core/html/HTMLCollection.cpp || element.hasLocalName(frameTag) element 301 Source/core/html/HTMLCollection.cpp || element.hasLocalName(framesetTag) element 302 Source/core/html/HTMLCollection.cpp || element.hasLocalName(iframeTag) element 303 Source/core/html/HTMLCollection.cpp || element.hasLocalName(imgTag) element 304 Source/core/html/HTMLCollection.cpp || element.hasLocalName(inputTag) element 305 Source/core/html/HTMLCollection.cpp || element.hasLocalName(objectTag) element 306 Source/core/html/HTMLCollection.cpp || element.hasLocalName(selectTag); element 311 Source/core/html/HTMLCollection.cpp Element* element = ElementTraversal::firstChild(nodeList.rootNode()); element 312 Source/core/html/HTMLCollection.cpp while (element && !isMatchingElement(nodeList, *element)) element 313 Source/core/html/HTMLCollection.cpp element = ElementTraversal::nextSibling(*element); element 314 Source/core/html/HTMLCollection.cpp return element; element 417 Source/core/html/HTMLCollection.cpp for (Element* element = traverseToFirstElement(); element; element = traverseNextElement(*element)) { element 418 Source/core/html/HTMLCollection.cpp const AtomicString& idAttribute = element->getIdAttribute(); element 424 Source/core/html/HTMLCollection.cpp if (!element->isHTMLElement()) element 426 Source/core/html/HTMLCollection.cpp const AtomicString& nameAttribute = element->getNameAttribute(); element 427 Source/core/html/HTMLCollection.cpp if (!nameAttribute.isEmpty() && (type() != DocAll || nameShouldBeVisibleInDocumentAll(toHTMLElement(*element)))) { element 446 Source/core/html/HTMLCollection.cpp for (Element* element = traverseToFirstElement(); element; element = traverseNextElement(*element)) { element 447 Source/core/html/HTMLCollection.cpp const AtomicString& idAttrVal = element->getIdAttribute(); element 449 Source/core/html/HTMLCollection.cpp cache.addElementWithId(idAttrVal, element); element 450 Source/core/html/HTMLCollection.cpp if (!element->isHTMLElement()) element 452 Source/core/html/HTMLCollection.cpp const AtomicString& nameAttrVal = element->getNameAttribute(); element 453 Source/core/html/HTMLCollection.cpp if (!nameAttrVal.isEmpty() && idAttrVal != nameAttrVal && (type() != DocAll || nameShouldBeVisibleInDocumentAll(toHTMLElement(*element)))) element 454 Source/core/html/HTMLCollection.cpp cache.addElementWithName(nameAttrVal, element); element 72 Source/core/html/HTMLCollection.h void addElementWithId(const AtomicString& id, Element* element) { addElementToMap(m_idCache, id, element); } element 73 Source/core/html/HTMLCollection.h void addElementWithName(const AtomicString& name, Element* element) { addElementToMap(m_nameCache, name, element); } element 77 Source/core/html/HTMLCollection.h static void addElementToMap(StringToElementsMap& map, const AtomicString& key, Element* element) element 82 Source/core/html/HTMLCollection.h vector->append(element); element 105 Source/core/html/HTMLContentElement.cpp Element* element = toElement(siblings[nth]); element 106 Source/core/html/HTMLContentElement.cpp SelectorChecker selectorChecker(element->document(), SelectorChecker::CollectingCSSRules); element 107 Source/core/html/HTMLContentElement.cpp SelectorChecker::SelectorCheckingContext context(selector, element, SelectorChecker::VisitedMatchEnabled); element 55 Source/core/html/HTMLDialogElement.cpp Element* element = toElement(node); element 56 Source/core/html/HTMLDialogElement.cpp if (element->isFormControlElement()) { element 63 Source/core/html/HTMLDialogElement.cpp if (!focusableDescendant && element->isFocusable()) element 64 Source/core/html/HTMLDialogElement.cpp focusableDescendant = element; element 110 Source/core/html/HTMLElement.cpp static inline CSSValueID unicodeBidiAttributeForDirAuto(HTMLElement* element) element 112 Source/core/html/HTMLElement.cpp if (element->hasLocalName(preTag) || element->hasLocalName(textareaTag)) element 615 Source/core/html/HTMLElement.cpp for (const HTMLElement* element = this; element; element = Traversal<HTMLElement>::firstAncestor(*element)) { element 616 Source/core/html/HTMLElement.cpp TranslateAttributeMode mode = element->translateAttributeMode(); element 949 Source/core/html/HTMLElement.cpp void dumpInnerHTML(WebCore::HTMLElement* element) element 951 Source/core/html/HTMLElement.cpp printf("%s\n", element->innerHTML().ascii().data()); element 142 Source/core/html/HTMLElement.h inline bool is##thisType(const thisType* element); \ element 143 Source/core/html/HTMLElement.h inline bool is##thisType(const thisType& element); \ element 144 Source/core/html/HTMLElement.h inline bool is##thisType(const HTMLElement* element) { return element && is##thisType(*element); } \ element 145 Source/core/html/HTMLElement.h inline bool is##thisType(const Element* element) { return element && is##thisType(*element); } \ element 150 Source/core/html/HTMLElement.h template <> inline bool isElementOfType<const thisType>(const HTMLElement& element) { return is##thisType(element); } \ element 50 Source/core/html/HTMLEmbedElement.cpp RefPtr<HTMLEmbedElement> element = adoptRef(new HTMLEmbedElement(document, createdByParser)); element 51 Source/core/html/HTMLEmbedElement.cpp element->ensureUserAgentShadowRoot(); element 52 Source/core/html/HTMLEmbedElement.cpp return element.release(); element 54 Source/core/html/HTMLFieldSetElement.cpp for (Element* element = ElementTraversal::firstWithin(base); element; element = ElementTraversal::next(*element, &base)) { element 55 Source/core/html/HTMLFieldSetElement.cpp if (element->isFormControlElement()) element 56 Source/core/html/HTMLFieldSetElement.cpp toHTMLFormControlElement(element)->ancestorDisabledStateWasChanged(); element 110 Source/core/html/HTMLFieldSetElement.cpp for (HTMLElement* element = Traversal<HTMLElement>::firstWithin(*this); element; element = Traversal<HTMLElement>::next(*element, this)) { element 111 Source/core/html/HTMLFieldSetElement.cpp if (isHTMLObjectElement(*element)) { element 112 Source/core/html/HTMLFieldSetElement.cpp m_associatedElements.append(toHTMLObjectElement(element)); element 116 Source/core/html/HTMLFieldSetElement.cpp if (!element->isFormControlElement()) element 119 Source/core/html/HTMLFieldSetElement.cpp m_associatedElements.append(toHTMLFormControlElement(element)); element 200 Source/core/html/HTMLFormControlElement.cpp static bool shouldAutofocusOnAttach(const HTMLFormControlElement* element) element 202 Source/core/html/HTMLFormControlElement.cpp if (!element->isAutofocusable()) element 204 Source/core/html/HTMLFormControlElement.cpp if (element->document().isSandboxed(SandboxAutomaticFeatures)) { element 206 Source/core/html/HTMLFormControlElement.cpp element->document().addConsoleMessage(SecurityMessageSource, ErrorMessageLevel, "Blocked autofocusing on a form control because the form's frame is sandboxed and the 'allow-scripts' permission is not set."); element 184 Source/core/html/HTMLFormControlElement.h inline bool isHTMLFormControlElement(const Element& element) element 186 Source/core/html/HTMLFormControlElement.h return element.isFormControlElement(); element 72 Source/core/html/HTMLFormControlsCollection.cpp static unsigned findFormAssociatedElement(const Vector<FormAssociatedElement*>& associatedElements, Element* element) element 77 Source/core/html/HTMLFormControlsCollection.cpp if (associatedElement->isEnumeratable() && toHTMLElement(associatedElement) == element) element 118 Source/core/html/HTMLFormControlsCollection.cpp HTMLElement* element = toHTMLElement(elementsArray[i]); element 119 Source/core/html/HTMLFormControlsCollection.cpp if (elementsArray[i]->isEnumeratable() && element->fastGetAttribute(attrName) == name) element 120 Source/core/html/HTMLFormControlsCollection.cpp return element; element 127 Source/core/html/HTMLFormControlsCollection.cpp HTMLImageElement* element = (*imageElementsArray)[i]; element 128 Source/core/html/HTMLFormControlsCollection.cpp if (element->fastGetAttribute(attrName) == name) { element 129 Source/core/html/HTMLFormControlsCollection.cpp UseCounter::count(element->document(), UseCounter::FormNameAccessForImageElement); element 130 Source/core/html/HTMLFormControlsCollection.cpp return element; element 164 Source/core/html/HTMLFormControlsCollection.cpp HTMLElement* element = toHTMLElement(associatedElement); element 165 Source/core/html/HTMLFormControlsCollection.cpp const AtomicString& idAttrVal = element->getIdAttribute(); element 166 Source/core/html/HTMLFormControlsCollection.cpp const AtomicString& nameAttrVal = element->getNameAttribute(); element 168 Source/core/html/HTMLFormControlsCollection.cpp cache.addElementWithId(idAttrVal, element); element 172 Source/core/html/HTMLFormControlsCollection.cpp cache.addElementWithName(nameAttrVal, element); element 181 Source/core/html/HTMLFormControlsCollection.cpp HTMLImageElement* element = imageElementsArray[i]; element 182 Source/core/html/HTMLFormControlsCollection.cpp const AtomicString& idAttrVal = element->getIdAttribute(); element 183 Source/core/html/HTMLFormControlsCollection.cpp const AtomicString& nameAttrVal = element->getNameAttribute(); element 185 Source/core/html/HTMLFormControlsCollection.cpp cache.addElementWithId(idAttrVal, element); element 187 Source/core/html/HTMLFormControlsCollection.cpp cache.addElementWithName(nameAttrVal, element); element 192 Source/core/html/HTMLFormControlsCollection.cpp void HTMLFormControlsCollection::namedGetter(const AtomicString& name, bool& radioNodeListEnabled, RefPtr<RadioNodeList>& radioNodeList, bool& elementEnabled, RefPtr<Element>& element) element 202 Source/core/html/HTMLFormControlsCollection.cpp element = namedItems.first(); element 220 Source/core/html/HTMLFormControlsCollection.cpp Element* element = item(i); element 221 Source/core/html/HTMLFormControlsCollection.cpp ASSERT(element); element 222 Source/core/html/HTMLFormControlsCollection.cpp const AtomicString& idAttribute = element->getIdAttribute(); element 228 Source/core/html/HTMLFormControlsCollection.cpp const AtomicString& nameAttribute = element->getNameAttribute(); element 543 Source/core/html/HTMLFormElement.cpp for (HTMLElement* element = Traversal<HTMLElement>::firstWithin(root); element; element = Traversal<HTMLElement>::next(*element)) { element 545 Source/core/html/HTMLFormElement.cpp if (element->isFormControlElement()) element 546 Source/core/html/HTMLFormElement.cpp associatedElement = toHTMLFormControlElement(element); element 547 Source/core/html/HTMLFormElement.cpp else if (isHTMLObjectElement(*element)) element 548 Source/core/html/HTMLFormElement.cpp associatedElement = toHTMLObjectElement(element); element 680 Source/core/html/HTMLFormElement.cpp Element* element = m_pastNamesMap->get(pastName); element 682 Source/core/html/HTMLFormElement.cpp if (!element) element 684 Source/core/html/HTMLFormElement.cpp ASSERT_WITH_SECURITY_IMPLICATION(toHTMLElement(element)->formOwner() == this); element 685 Source/core/html/HTMLFormElement.cpp if (isHTMLImageElement(*element)) { element 686 Source/core/html/HTMLFormElement.cpp ASSERT_WITH_SECURITY_IMPLICATION(imageElements().find(element) != kNotFound); element 687 Source/core/html/HTMLFormElement.cpp } else if (isHTMLObjectElement(*element)) { element 688 Source/core/html/HTMLFormElement.cpp ASSERT_WITH_SECURITY_IMPLICATION(associatedElements().find(toHTMLObjectElement(element)) != kNotFound); element 690 Source/core/html/HTMLFormElement.cpp ASSERT_WITH_SECURITY_IMPLICATION(associatedElements().find(toHTMLFormControlElement(element)) != kNotFound); element 693 Source/core/html/HTMLFormElement.cpp return element; element 696 Source/core/html/HTMLFormElement.cpp void HTMLFormElement::addToPastNamesMap(Element* element, const AtomicString& pastName) element 702 Source/core/html/HTMLFormElement.cpp m_pastNamesMap->set(pastName, element); element 705 Source/core/html/HTMLFormElement.cpp void HTMLFormElement::removeFromPastNamesMap(HTMLElement& element) element 711 Source/core/html/HTMLFormElement.cpp if (it->value == &element) { element 77 Source/core/html/HTMLFrameElementBase.h inline bool isHTMLFrameElementBase(const Element& element) element 79 Source/core/html/HTMLFrameElementBase.h return isHTMLFrameElement(element) || isHTMLIFrameElement(element); element 82 Source/core/html/HTMLFrameElementBase.h inline bool isHTMLFrameElementBase(const HTMLElement& element) element 84 Source/core/html/HTMLFrameElementBase.h return isHTMLFrameElement(element) || isHTMLIFrameElement(element); element 46 Source/core/html/HTMLImageLoader.cpp if (isHTMLVideoElement(*element())) element 51 Source/core/html/HTMLImageLoader.cpp errorOccurred = isHTMLObjectElement(*element()); // An <object> considers a 404 to be an error and should fire onerror. element 52 Source/core/html/HTMLImageLoader.cpp element()->dispatchEvent(Event::create(errorOccurred ? EventTypeNames::error : EventTypeNames::load)); element 64 Source/core/html/HTMLImageLoader.cpp RefPtr<Element> element = this->element(); element 69 Source/core/html/HTMLImageLoader.cpp if (loadError && isHTMLObjectElement(*element)) element 70 Source/core/html/HTMLImageLoader.cpp toHTMLObjectElement(element)->renderFallbackContent(); element 1499 Source/core/html/HTMLInputElement.cpp Element* element = treeScope().getElementById(fastGetAttribute(listAttr)); element 1500 Source/core/html/HTMLInputElement.cpp if (!element) element 1502 Source/core/html/HTMLInputElement.cpp if (!isHTMLDataListElement(*element)) element 1505 Source/core/html/HTMLInputElement.cpp return toHTMLDataListElement(element); element 1779 Source/core/html/HTMLInputElement.cpp PassOwnPtr<ListAttributeTargetObserver> ListAttributeTargetObserver::create(const AtomicString& id, HTMLInputElement* element) element 1781 Source/core/html/HTMLInputElement.cpp return adoptPtr(new ListAttributeTargetObserver(id, element)); element 1784 Source/core/html/HTMLInputElement.cpp ListAttributeTargetObserver::ListAttributeTargetObserver(const AtomicString& id, HTMLInputElement* element) element 1785 Source/core/html/HTMLInputElement.cpp : IdTargetObserver(element->treeScope().idTargetObserverRegistry(), id) element 1786 Source/core/html/HTMLInputElement.cpp , m_element(element) element 37 Source/core/html/HTMLLabelElement.cpp static bool supportsLabels(const Element& element) element 39 Source/core/html/HTMLLabelElement.cpp if (!element.isHTMLElement()) element 41 Source/core/html/HTMLLabelElement.cpp if (!toHTMLElement(element).isLabelable()) element 43 Source/core/html/HTMLLabelElement.cpp return toLabelableElement(element).supportLabels(); element 70 Source/core/html/HTMLLabelElement.cpp for (Element* element = ElementTraversal::next(*this, this); element; element = ElementTraversal::next(*element, this)) { element 71 Source/core/html/HTMLLabelElement.cpp if (!supportsLabels(*element)) element 73 Source/core/html/HTMLLabelElement.cpp return toLabelableElement(element); element 78 Source/core/html/HTMLLabelElement.cpp if (Element* element = treeScope().getElementById(controlId)) { element 79 Source/core/html/HTMLLabelElement.cpp if (supportsLabels(*element)) element 80 Source/core/html/HTMLLabelElement.cpp return toLabelableElement(element); element 100 Source/core/html/HTMLLabelElement.cpp if (HTMLElement* element = control()) element 101 Source/core/html/HTMLLabelElement.cpp element->setActive(down); element 113 Source/core/html/HTMLLabelElement.cpp if (HTMLElement* element = control()) element 114 Source/core/html/HTMLLabelElement.cpp element->setHovered(over); element 139 Source/core/html/HTMLLabelElement.cpp RefPtr<HTMLElement> element = control(); element 143 Source/core/html/HTMLLabelElement.cpp if (!element || (evt->target() && element->containsIncludingShadowDOM(evt->target()->toNode()))) element 152 Source/core/html/HTMLLabelElement.cpp if (element->isMouseFocusable()) element 153 Source/core/html/HTMLLabelElement.cpp element->focus(true, FocusTypeMouse); element 156 Source/core/html/HTMLLabelElement.cpp element->dispatchSimulatedClick(evt); element 177 Source/core/html/HTMLLabelElement.cpp if (HTMLElement* element = control()) element 178 Source/core/html/HTMLLabelElement.cpp element->focus(true, type); element 185 Source/core/html/HTMLLabelElement.cpp if (HTMLElement* element = control()) element 186 Source/core/html/HTMLLabelElement.cpp element->accessKeyAction(sendMouseEvents); element 132 Source/core/html/HTMLMediaElement.cpp static void addElementToDocumentMap(HTMLMediaElement* element, Document* document) element 136 Source/core/html/HTMLMediaElement.cpp set.add(element); element 140 Source/core/html/HTMLMediaElement.cpp static void removeElementFromDocumentMap(HTMLMediaElement* element, Document* document) element 144 Source/core/html/HTMLMediaElement.cpp set.remove(element); element 726 Source/core/html/HTMLMediaElement.cpp if (HTMLSourceElement* element = Traversal<HTMLSourceElement>::firstChild(*this)) { element 728 Source/core/html/HTMLMediaElement.cpp m_nextChildNodeToConsider = element; element 547 Source/core/html/HTMLMediaElement.h inline bool isHTMLMediaElement(const Element& element) element 549 Source/core/html/HTMLMediaElement.h return isHTMLAudioElement(element) || isHTMLVideoElement(element); element 552 Source/core/html/HTMLMediaElement.h inline bool isHTMLMediaElement(const HTMLElement& element) element 554 Source/core/html/HTMLMediaElement.h return isHTMLAudioElement(element) || isHTMLVideoElement(element); element 434 Source/core/html/HTMLMetaElement-in.cpp static bool inDocumentHead(HTMLMetaElement* element) element 436 Source/core/html/HTMLMetaElement-in.cpp if (!element->inDocument()) element 439 Source/core/html/HTMLMetaElement-in.cpp for (Element* current = element; current; current = current->parentElement()) { element 66 Source/core/html/HTMLObjectElement.cpp RefPtr<HTMLObjectElement> element = adoptRef(new HTMLObjectElement(document, form, createdByParser)); element 67 Source/core/html/HTMLObjectElement.cpp element->ensureUserAgentShadowRoot(); element 68 Source/core/html/HTMLObjectElement.cpp return element.release(); element 431 Source/core/html/HTMLObjectElement.cpp for (HTMLElement* element = Traversal<HTMLElement>::firstWithin(*this); element; element = Traversal<HTMLElement>::next(*element, this)) { element 432 Source/core/html/HTMLObjectElement.cpp if (isHTMLObjectElement(*element) || isHTMLEmbedElement(*element)) element 122 Source/core/html/HTMLObjectElement.h template<> inline const HTMLObjectElement* toElement<HTMLObjectElement>(const FormAssociatedElement* element) element 124 Source/core/html/HTMLObjectElement.h ASSERT_WITH_SECURITY_IMPLICATION(!element || !element->isFormControlElement()); element 125 Source/core/html/HTMLObjectElement.h const HTMLObjectElement* objectElement = static_cast<const HTMLObjectElement*>(element); element 132 Source/core/html/HTMLObjectElement.h template<> inline const HTMLObjectElement& toElement<HTMLObjectElement>(const FormAssociatedElement& element) element 134 Source/core/html/HTMLObjectElement.h ASSERT_WITH_SECURITY_IMPLICATION(!element.isFormControlElement()); element 135 Source/core/html/HTMLObjectElement.h const HTMLObjectElement& objectElement = static_cast<const HTMLObjectElement&>(element); element 65 Source/core/html/HTMLOptionElement.cpp RefPtr<HTMLOptionElement> element = adoptRef(new HTMLOptionElement(document)); element 69 Source/core/html/HTMLOptionElement.cpp element->appendChild(text.release(), exceptionState); element 74 Source/core/html/HTMLOptionElement.cpp element->setValue(value); element 76 Source/core/html/HTMLOptionElement.cpp element->setAttribute(selectedAttr, emptyAtom); element 77 Source/core/html/HTMLOptionElement.cpp element->setSelected(selected); element 79 Source/core/html/HTMLOptionElement.cpp return element.release(); element 50 Source/core/html/HTMLOptionsCollection.cpp Element* element = item(i); element 51 Source/core/html/HTMLOptionsCollection.cpp ASSERT(element); element 52 Source/core/html/HTMLOptionsCollection.cpp const AtomicString& idAttribute = element->getIdAttribute(); element 58 Source/core/html/HTMLOptionsCollection.cpp const AtomicString& nameAttribute = element->getNameAttribute(); element 72 Source/core/html/HTMLOptionsCollection.cpp void HTMLOptionsCollection::add(PassRefPtr<HTMLOptionElement> element, ExceptionState& exceptionState) element 74 Source/core/html/HTMLOptionsCollection.cpp add(element, length(), exceptionState); element 77 Source/core/html/HTMLOptionsCollection.cpp void HTMLOptionsCollection::add(PassRefPtr<HTMLOptionElement> element, int index, ExceptionState& exceptionState) element 79 Source/core/html/HTMLOptionsCollection.cpp HTMLOptionElement* newOption = element.get(); element 149 Source/core/html/HTMLPlugInElement.h inline bool isHTMLPlugInElement(const Element& element) element 151 Source/core/html/HTMLPlugInElement.h return element.isHTMLElement() && toHTMLElement(element).isPluginElement(); element 154 Source/core/html/HTMLPlugInElement.h inline bool isHTMLPlugInElement(const HTMLElement& element) element 156 Source/core/html/HTMLPlugInElement.h return element.isPluginElement(); element 202 Source/core/html/HTMLSelectElement.cpp void HTMLSelectElement::add(HTMLElement* element, HTMLElement* before, ExceptionState& exceptionState) element 205 Source/core/html/HTMLSelectElement.cpp RefPtr<HTMLElement> protectNewChild(element); element 207 Source/core/html/HTMLSelectElement.cpp if (!element || !(isHTMLOptionElement(element) || isHTMLOptGroupElement(element) || isHTMLHRElement(element))) element 210 Source/core/html/HTMLSelectElement.cpp insertBefore(element, before, exceptionState); element 214 Source/core/html/HTMLSelectElement.cpp void HTMLSelectElement::addBeforeOptionAtIndex(HTMLElement* element, int beforeIndex, ExceptionState& exceptionState) element 217 Source/core/html/HTMLSelectElement.cpp add(element, beforeElement, exceptionState); element 605 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[i]; element 606 Source/core/html/HTMLSelectElement.cpp m_lastOnChangeSelection.append(isHTMLOptionElement(*element) && toHTMLOptionElement(element)->selected()); element 620 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[i]; element 621 Source/core/html/HTMLSelectElement.cpp m_cachedStateForActiveSelection.append(isHTMLOptionElement(*element) && toHTMLOptionElement(element)->selected()); element 640 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[i]; element 641 Source/core/html/HTMLSelectElement.cpp if (!isHTMLOptionElement(*element) || toHTMLOptionElement(element)->isDisabledFormControl()) element 645 Source/core/html/HTMLSelectElement.cpp toHTMLOptionElement(element)->setSelectedState(m_activeSelectionState); element 647 Source/core/html/HTMLSelectElement.cpp toHTMLOptionElement(element)->setSelectedState(false); element 649 Source/core/html/HTMLSelectElement.cpp toHTMLOptionElement(element)->setSelectedState(m_cachedStateForActiveSelection[i]); element 674 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[i]; element 675 Source/core/html/HTMLSelectElement.cpp bool selected = isHTMLOptionElement(*element) && toHTMLOptionElement(element)->selected(); element 832 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[i]; element 833 Source/core/html/HTMLSelectElement.cpp if (isHTMLOptionElement(*element)) { element 834 Source/core/html/HTMLSelectElement.cpp if (toHTMLOptionElement(*element).selected()) element 882 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = 0; element 884 Source/core/html/HTMLSelectElement.cpp element = items[listIndex]; element 885 Source/core/html/HTMLSelectElement.cpp if (isHTMLOptionElement(*element)) { element 890 Source/core/html/HTMLSelectElement.cpp toHTMLOptionElement(*element).setSelectedState(true); element 895 Source/core/html/HTMLSelectElement.cpp deselectItemsWithoutValidation(element); element 977 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[i]; element 978 Source/core/html/HTMLSelectElement.cpp if (element != excludeElement && isHTMLOptionElement(*element)) element 979 Source/core/html/HTMLSelectElement.cpp toHTMLOptionElement(element)->setSelectedState(false); element 1070 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[i]; element 1071 Source/core/html/HTMLSelectElement.cpp if (isHTMLOptionElement(*element) && toHTMLOptionElement(*element).selected() && !toHTMLOptionElement(*element).isDisabledFormControl()) { element 1072 Source/core/html/HTMLSelectElement.cpp list.appendData(name, toHTMLOptionElement(*element).value()); element 1090 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[i]; element 1091 Source/core/html/HTMLSelectElement.cpp if (!isHTMLOptionElement(*element)) element 1097 Source/core/html/HTMLSelectElement.cpp toHTMLOptionElement(element)->setSelectedState(true); element 1098 Source/core/html/HTMLSelectElement.cpp selectedOption = toHTMLOptionElement(element); element 1100 Source/core/html/HTMLSelectElement.cpp toHTMLOptionElement(element)->setSelectedState(false); element 1103 Source/core/html/HTMLSelectElement.cpp firstOption = toHTMLOptionElement(element); element 1542 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[--i]; element 1543 Source/core/html/HTMLSelectElement.cpp if (isHTMLOptionElement(*element) && toHTMLOptionElement(element)->selected()) element 1563 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[index]; element 1564 Source/core/html/HTMLSelectElement.cpp if (!isHTMLOptionElement(*element) || toHTMLOptionElement(element)->isDisabledFormControl()) element 1566 Source/core/html/HTMLSelectElement.cpp return toHTMLOptionElement(element)->textIndentedToRespectGroupLabel(); element 1599 Source/core/html/HTMLSelectElement.cpp HTMLElement* element = items[listIndex]; element 1600 Source/core/html/HTMLSelectElement.cpp if (isHTMLOptionElement(*element)) { element 1601 Source/core/html/HTMLSelectElement.cpp if (toHTMLOptionElement(*element).selected()) element 1602 Source/core/html/HTMLSelectElement.cpp toHTMLOptionElement(*element).setSelectedState(false); element 81 Source/core/html/HTMLSummaryElement.cpp Element* element = toElement(node); element 82 Source/core/html/HTMLSummaryElement.cpp if (element->isFormControlElement()) element 84 Source/core/html/HTMLSummaryElement.cpp Element* host = element->shadowHost(); element 74 Source/core/html/HTMLTableCellElement.cpp for (const HTMLTableCellElement* element = Traversal<HTMLTableCellElement>::previousSibling(*this); element; element = Traversal<HTMLTableCellElement>::previousSibling(*element)) element 66 Source/core/html/HTMLTableCellElement.h inline bool isHTMLTableCellElement(const Element& element) element 68 Source/core/html/HTMLTableCellElement.h return element.hasTagName(HTMLNames::tdTag) || element.hasTagName(HTMLNames::thTag); element 71 Source/core/html/HTMLTableCellElement.h inline bool isHTMLTableCellElement(const HTMLElement& element) element 73 Source/core/html/HTMLTableCellElement.h return element.hasLocalName(HTMLNames::tdTag) || element.hasLocalName(HTMLNames::thTag); element 53 Source/core/html/HTMLTableColElement.h inline bool isHTMLTableColElement(const Element& element) element 55 Source/core/html/HTMLTableColElement.h return element.hasTagName(HTMLNames::colTag) || element.hasTagName(HTMLNames::colgroupTag); element 58 Source/core/html/HTMLTableColElement.h inline bool isHTMLTableColElement(const HTMLElement& element) element 60 Source/core/html/HTMLTableColElement.h return element.hasLocalName(HTMLNames::colTag) || element.hasLocalName(HTMLNames::colgroupTag); element 256 Source/core/html/HTMLTableElement.cpp Element* element = ElementTraversal::next(*this, this); element 257 Source/core/html/HTMLTableElement.cpp while (element) { element 258 Source/core/html/HTMLTableElement.cpp element->setNeedsStyleRecalc(LocalStyleChange); element 259 Source/core/html/HTMLTableElement.cpp if (isHTMLTableCellElement(*element)) element 260 Source/core/html/HTMLTableElement.cpp element = ElementTraversal::nextSkippingChildren(*element, this); element 262 Source/core/html/HTMLTableElement.cpp element = ElementTraversal::next(*element, this); element 52 Source/core/html/HTMLTableSectionElement.h inline bool isHTMLTableSectionElement(const Element& element) element 54 Source/core/html/HTMLTableSectionElement.h return element.hasTagName(HTMLNames::tbodyTag) || element.hasTagName(HTMLNames::tfootTag) || element.hasTagName(HTMLNames::theadTag); element 57 Source/core/html/HTMLTableSectionElement.h inline bool isHTMLTableSectionElement(const HTMLElement& element) element 59 Source/core/html/HTMLTableSectionElement.h return element.hasLocalName(HTMLNames::tbodyTag) || element.hasLocalName(HTMLNames::tfootTag) || element.hasLocalName(HTMLNames::theadTag); element 621 Source/core/html/HTMLTextFormControlElement.cpp static const HTMLElement* parentHTMLElement(const Element* element) element 623 Source/core/html/HTMLTextFormControlElement.cpp while (element) { element 624 Source/core/html/HTMLTextFormControlElement.cpp element = element->parentElement(); element 625 Source/core/html/HTMLTextFormControlElement.cpp if (element && element->isHTMLElement()) element 626 Source/core/html/HTMLTextFormControlElement.cpp return toHTMLElement(element); element 633 Source/core/html/HTMLTextFormControlElement.cpp for (const HTMLElement* element = this; element; element = parentHTMLElement(element)) { element 634 Source/core/html/HTMLTextFormControlElement.cpp const AtomicString& dirAttributeValue = element->fastGetAttribute(dirAttr); element 643 Source/core/html/HTMLTextFormControlElement.cpp TextDirection textDirection = element->directionalityIfhasDirAutoAttribute(isAuto); element 138 Source/core/html/HTMLTextFormControlElement.h inline bool isHTMLTextFormControlElement(const Element& element) element 140 Source/core/html/HTMLTextFormControlElement.h return element.isTextFormControl(); element 54 Source/core/html/HTMLUnknownElement.h inline bool isHTMLUnknownElement(const Element& element) element 56 Source/core/html/HTMLUnknownElement.h return element.isHTMLElement() && toHTMLElement(element).isHTMLUnknownElement(); element 59 Source/core/html/HTMLUnknownElement.h inline bool isHTMLUnknownElement(const HTMLElement& element) element 61 Source/core/html/HTMLUnknownElement.h return element.isHTMLUnknownElement(); element 53 Source/core/html/LabelableElement.h inline bool isLabelableElement(const Element& element) element 55 Source/core/html/LabelableElement.h return element.isHTMLElement() && toHTMLElement(element).isLabelable(); element 58 Source/core/html/LabelableElement.h inline bool isLabelableElement(const HTMLElement& element) element 60 Source/core/html/LabelableElement.h return element.isLabelable(); element 46 Source/core/html/LabelsNodeList.cpp bool LabelsNodeList::elementMatches(const Element& element) const element 48 Source/core/html/LabelsNodeList.cpp return isHTMLLabelElement(element) && toHTMLLabelElement(element).control() == ownerNode(); element 70 Source/core/html/MediaController.cpp void MediaController::addMediaElement(HTMLMediaElement* element) element 72 Source/core/html/MediaController.cpp ASSERT(element); element 73 Source/core/html/MediaController.cpp ASSERT(!m_mediaElements.contains(element)); element 75 Source/core/html/MediaController.cpp m_mediaElements.append(element); element 76 Source/core/html/MediaController.cpp bringElementUpToSpeed(element); element 79 Source/core/html/MediaController.cpp void MediaController::removeMediaElement(HTMLMediaElement* element) element 81 Source/core/html/MediaController.cpp ASSERT(element); element 82 Source/core/html/MediaController.cpp ASSERT(m_mediaElements.contains(element)); element 83 Source/core/html/MediaController.cpp m_mediaElements.remove(m_mediaElements.find(element)); element 86 Source/core/html/MediaController.cpp bool MediaController::containsMediaElement(HTMLMediaElement* element) const element 88 Source/core/html/MediaController.cpp return m_mediaElements.contains(element); element 502 Source/core/html/MediaController.cpp void MediaController::bringElementUpToSpeed(HTMLMediaElement* element) element 504 Source/core/html/MediaController.cpp ASSERT(element); element 505 Source/core/html/MediaController.cpp ASSERT(m_mediaElements.contains(element)); element 510 Source/core/html/MediaController.cpp element->seek(currentTime(), IGNORE_EXCEPTION); element 525 Source/core/html/MediaController.cpp HTMLMediaElement* element = m_mediaElements[index]; element 528 Source/core/html/MediaController.cpp if (element->isBlocked()) element 531 Source/core/html/MediaController.cpp if (element->isAutoplaying() && element->paused()) element 534 Source/core/html/MediaController.cpp if (!element->paused()) element 555 Source/core/html/MediaController.cpp HTMLMediaElement* element = m_mediaElements[index]; element 558 Source/core/html/MediaController.cpp if (element->isBlocked()) element 563 Source/core/html/MediaController.cpp if (element->isAutoplaying() && element->paused()) element 566 Source/core/html/MediaController.cpp if (!element->paused()) element 105 Source/core/html/RadioNodeList.cpp bool RadioNodeList::elementMatches(const Element& element) const element 108 Source/core/html/RadioNodeList.cpp return isHTMLImageElement(element); element 110 Source/core/html/RadioNodeList.cpp if (!isHTMLObjectElement(element) && !element.isFormControlElement()) element 113 Source/core/html/RadioNodeList.cpp if (isHTMLInputElement(element) && toHTMLInputElement(element).isImageButton()) element 116 Source/core/html/RadioNodeList.cpp return checkElementMatchesRadioNodeListFilter(element); element 2351 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::drawFocusIfNeeded(Element* element) element 2353 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!focusRingCallIsValid(m_path, element)) element 2356 Source/core/html/canvas/CanvasRenderingContext2D.cpp updateFocusRingAccessibility(m_path, element); element 2360 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (element->document().focusedElement() == element) element 2364 Source/core/html/canvas/CanvasRenderingContext2D.cpp bool CanvasRenderingContext2D::drawCustomFocusRing(Element* element) element 2366 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!focusRingCallIsValid(m_path, element)) element 2369 Source/core/html/canvas/CanvasRenderingContext2D.cpp updateFocusRingAccessibility(m_path, element); element 2373 Source/core/html/canvas/CanvasRenderingContext2D.cpp return element->focused(); element 2376 Source/core/html/canvas/CanvasRenderingContext2D.cpp bool CanvasRenderingContext2D::focusRingCallIsValid(const Path& path, Element* element) element 2382 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (!element || !element->isDescendantOf(canvas())) element 2388 Source/core/html/canvas/CanvasRenderingContext2D.cpp void CanvasRenderingContext2D::updateFocusRingAccessibility(const Path& path, Element* element) element 2397 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (AXObjectCache* axObjectCache = element->document().existingAXObjectCache()) { element 2398 Source/core/html/canvas/CanvasRenderingContext2D.cpp if (AXObject* obj = axObjectCache->getOrCreate(element)) { element 47 Source/core/html/forms/BaseButtonInputType.cpp ASSERT(element().userAgentShadowRoot()); element 48 Source/core/html/forms/BaseButtonInputType.cpp element().userAgentShadowRoot()->appendChild(Text::create(element().document(), element().valueWithDefault())); element 53 Source/core/html/forms/BaseButtonInputType.cpp toText(element().userAgentShadowRoot()->firstChild())->setData(element().valueWithDefault()); element 69 Source/core/html/forms/BaseButtonInputType.cpp return new RenderButton(&element()); element 79 Source/core/html/forms/BaseButtonInputType.cpp element().setAttribute(valueAttr, AtomicString(sanitizedValue)); element 41 Source/core/html/forms/BaseButtonInputType.h BaseButtonInputType(HTMLInputElement& element) : BaseClickableWithKeyInputType(element) { } element 47 Source/core/html/forms/BaseCheckableInputType.cpp return FormControlState(element().checked() ? "on" : "off"); element 52 Source/core/html/forms/BaseCheckableInputType.cpp element().setChecked(state[0] == "on"); element 57 Source/core/html/forms/BaseCheckableInputType.cpp if (!element().checked()) element 59 Source/core/html/forms/BaseCheckableInputType.cpp encoding.appendData(element().name(), element().value()); element 67 Source/core/html/forms/BaseCheckableInputType.cpp element().setActive(true); element 91 Source/core/html/forms/BaseCheckableInputType.cpp element().dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); element 106 Source/core/html/forms/BaseCheckableInputType.cpp element().setAttribute(valueAttr, AtomicString(sanitizedValue)); element 41 Source/core/html/forms/BaseCheckableInputType.h BaseCheckableInputType(HTMLInputElement& element) : InputType(element) { } element 47 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp if (element().isDisabledOrReadOnly() || !element().renderer() || !UserGestureIndicator::processingUserGesture() || element().hasAuthorShadowRoot()) element 52 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp if (!element().document().isActive()) element 55 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp if (!element().setupDateTimeChooserParameters(parameters)) element 57 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp m_dateTimeChooser = element().document().frameHost()->chrome().openDateTimeChooser(this, parameters); element 64 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp RefPtr<HTMLDivElement> valueContainer = HTMLDivElement::create(element().document()); element 66 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp element().userAgentShadowRoot()->appendChild(valueContainer.get()); element 72 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp Node* node = element().userAgentShadowRoot()->firstChild(); element 76 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp if (!element().suggestedValue().isNull()) element 77 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp displayValue = element().suggestedValue(); element 101 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp element().setValue(value, DispatchInputAndChangeEvent); element 108 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp element().setValue(emptyString(), DispatchInputAndChangeEvent); element 110 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp element().setValueAsNumber(value, ASSERT_NO_EXCEPTION, DispatchInputAndChangeEvent); element 126 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp BaseClickableWithKeyInputType::handleKeydownEvent(element(), event); element 131 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp BaseClickableWithKeyInputType::handleKeypressEvent(element(), event); element 142 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.cpp BaseClickableWithKeyInputType::accessKeyAction(element(), sendMouseEvents); element 39 Source/core/html/forms/BaseChooserOnlyDateAndTimeInputType.h BaseChooserOnlyDateAndTimeInputType(HTMLInputElement& element) : BaseDateAndTimeInputType(element) { } element 42 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::handleKeydownEvent(HTMLInputElement& element, KeyboardEvent* event) element 46 Source/core/html/forms/BaseClickableWithKeyInputType.cpp element.setActive(true); element 52 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::handleKeypressEvent(HTMLInputElement& element, KeyboardEvent* event) element 56 Source/core/html/forms/BaseClickableWithKeyInputType.cpp element.dispatchSimulatedClick(event); element 76 Source/core/html/forms/BaseClickableWithKeyInputType.cpp void BaseClickableWithKeyInputType::accessKeyAction(HTMLInputElement& element, bool sendMouseEvents) element 78 Source/core/html/forms/BaseClickableWithKeyInputType.cpp element.dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); element 83 Source/core/html/forms/BaseClickableWithKeyInputType.cpp handleKeydownEvent(element(), event); element 88 Source/core/html/forms/BaseClickableWithKeyInputType.cpp handleKeypressEvent(element(), event); element 99 Source/core/html/forms/BaseClickableWithKeyInputType.cpp accessKeyAction(element(), sendMouseEvents); element 47 Source/core/html/forms/BaseClickableWithKeyInputType.h BaseClickableWithKeyInputType(HTMLInputElement& element) : InputType(element) { } element 58 Source/core/html/forms/BaseDateAndTimeInputType.cpp element().setValue(serializeWithMilliseconds(value)); element 63 Source/core/html/forms/BaseDateAndTimeInputType.cpp const Decimal value = parseToNumber(element().value(), Decimal::nan()); element 79 Source/core/html/forms/BaseDateAndTimeInputType.cpp return typeMismatchFor(element().value()); element 139 Source/core/html/forms/BaseDateAndTimeInputType.cpp if (!element().getAllowedValueStep(&step)) element 159 Source/core/html/forms/BaseDateAndTimeInputType.cpp String localized = element().locale().formatDateTime(date); element 165 Source/core/html/forms/BaseDateAndTimeInputType.cpp return localizeValue(element().value()); element 185 Source/core/html/forms/BaseDateAndTimeInputType.cpp return element().isRequired() && value.isEmpty(); element 44 Source/core/html/forms/BaseDateAndTimeInputType.h BaseDateAndTimeInputType(HTMLInputElement& element) : InputType(element) { } element 131 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return toDateTimeEditElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::dateTimeEdit())); element 136 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return toSpinButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton())); element 141 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return toClearButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::clearButton())); element 146 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return toPickerIndicatorElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::pickerIndicator())); element 151 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().userAgentShadowRoot()->contains(element().document().focusedElement()); element 161 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp RefPtr<HTMLInputElement> protector(element()); element 163 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().setFocus(false); element 175 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().setFocus(true); element 180 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp RefPtr<HTMLInputElement> input(element()); element 203 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().isDisabledFormControl(); element 208 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().isReadOnly(); element 219 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return !element().isDisabledOrReadOnly(); element 245 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().isDisabledOrReadOnly(); element 250 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (element().isValidValue(value)) { element 251 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().setValue(value, DispatchInputAndChangeEvent); element 268 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().setValue(emptyString(), DispatchInputAndChangeEvent); element 270 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().setValueAsNumber(value, ASSERT_NO_EXCEPTION, DispatchInputAndChangeEvent); element 275 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().setupDateTimeChooserParameters(parameters); element 278 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp BaseMultipleFieldsDateAndTimeInputType::BaseMultipleFieldsDateAndTimeInputType(HTMLInputElement& element) element 279 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp : BaseDateAndTimeInputType(element) element 288 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (SpinButtonElement* element = spinButtonElement()) element 289 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->removeSpinButtonOwner(); element 290 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (ClearButtonElement* element = clearButtonElement()) element 291 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->removeClearButtonOwner(); element 292 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (DateTimeEditElement* element = dateTimeEditElement()) element 293 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->removeEditControlOwner(); element 294 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (PickerIndicatorElement* element = pickerIndicatorElement()) element 295 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->removePickerIndicatorOwner(); element 317 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp TextDirection contentDirection = element().locale().isRTL() ? RTL : LTR; element 330 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp ASSERT(element().shadow()); element 336 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp ASSERT(!element().renderer()); element 338 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp Document& document = element().document(); element 339 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp ContainerNode* container = element().userAgentShadowRoot(); element 342 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().updateView(); element 357 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (SpinButtonElement* element = spinButtonElement()) element 358 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->removeSpinButtonOwner(); element 359 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (ClearButtonElement* element = clearButtonElement()) element 360 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->removeClearButtonOwner(); element 361 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (DateTimeEditElement* element = dateTimeEditElement()) element 362 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->removeEditControlOwner(); element 363 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (PickerIndicatorElement* element = pickerIndicatorElement()) element 364 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->removePickerIndicatorOwner(); element 369 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().focus(); element 381 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (element().document().page()) element 382 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().document().page()->focusController().advanceFocus(type); element 392 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (SpinButtonElement* element = spinButtonElement()) { element 393 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->forwardEvent(event); element 420 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (PickerIndicatorElement* element = pickerIndicatorElement()) element 421 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element->openPopup(); element 431 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().value().isEmpty() && edit && edit->anyEditableFieldsHaveValues(); element 436 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return element().computeInheritedLanguage(); element 459 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().setValueInternal(sanitizeValue(edit->value()), DispatchNoEvent); element 475 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().updateView(); element 476 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().setNeedsValidityCheck(); element 496 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp DateTimeEditElement::LayoutParameters layoutParameters(element().locale(), createStepRange(AnyIsDefaultStep)); element 500 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (!element().suggestedValue().isNull()) element 501 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp hasValue = parseToDateComponents(element().suggestedValue(), &date); element 503 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp hasValue = parseToDateComponents(element().value(), &date); element 525 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (!element().hasDirtyValue()) element 540 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (element().hasValidDataListOptions()) element 574 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp element().focus(); element 579 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp return !element().isDisabledOrReadOnly() && !element().isRequired(); element 584 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp RefPtr<HTMLInputElement> input(element()); element 595 Source/core/html/forms/BaseMultipleFieldsDateAndTimeInputType.cpp if (element().isRequired() || !dateTimeEditElement()->anyEditableFieldsHaveValues()) { element 42 Source/core/html/forms/BaseTextInputType.cpp const AtomicString& rawPattern = element().fastGetAttribute(patternAttr); element 42 Source/core/html/forms/BaseTextInputType.h BaseTextInputType(HTMLInputElement& element) : TextFieldInputType(element) { } element 39 Source/core/html/forms/ButtonInputType.cpp PassRefPtr<InputType> ButtonInputType::create(HTMLInputElement& element) element 41 Source/core/html/forms/ButtonInputType.cpp return adoptRef(new ButtonInputType(element)); element 43 Source/core/html/forms/ButtonInputType.h ButtonInputType(HTMLInputElement& element) : BaseButtonInputType(element) { } element 43 Source/core/html/forms/CheckboxInputType.cpp PassRefPtr<InputType> CheckboxInputType::create(HTMLInputElement& element) element 45 Source/core/html/forms/CheckboxInputType.cpp return adoptRef(new CheckboxInputType(element)); element 55 Source/core/html/forms/CheckboxInputType.cpp return element().isRequired() && !element().checked(); element 78 Source/core/html/forms/CheckboxInputType.cpp state->checked = element().checked(); element 79 Source/core/html/forms/CheckboxInputType.cpp state->indeterminate = element().indeterminate(); element 82 Source/core/html/forms/CheckboxInputType.cpp element().setIndeterminate(false); element 84 Source/core/html/forms/CheckboxInputType.cpp element().setChecked(!state->checked, DispatchChangeEvent); element 92 Source/core/html/forms/CheckboxInputType.cpp element().setIndeterminate(state.indeterminate); element 93 Source/core/html/forms/CheckboxInputType.cpp element().setChecked(state.checked); element 43 Source/core/html/forms/CheckboxInputType.h CheckboxInputType(HTMLInputElement& element) : BaseCheckableInputType(element) { } element 75 Source/core/html/forms/ColorInputType.cpp PassRefPtr<InputType> ColorInputType::create(HTMLInputElement& element) element 77 Source/core/html/forms/ColorInputType.cpp return adoptRef(new ColorInputType(element)); element 121 Source/core/html/forms/ColorInputType.cpp bool success = color.setFromString(element().value()); element 128 Source/core/html/forms/ColorInputType.cpp ASSERT(element().shadow()); element 130 Source/core/html/forms/ColorInputType.cpp Document& document = element().document(); element 136 Source/core/html/forms/ColorInputType.cpp element().userAgentShadowRoot()->appendChild(wrapperElement.release()); element 138 Source/core/html/forms/ColorInputType.cpp element().updateView(); element 148 Source/core/html/forms/ColorInputType.cpp element().updateView(); element 155 Source/core/html/forms/ColorInputType.cpp if (element().isDisabledFormControl() || !element().renderer()) element 185 Source/core/html/forms/ColorInputType.cpp if (element().isDisabledFormControl() || color == valueAsColor()) element 187 Source/core/html/forms/ColorInputType.cpp element().setValueFromRenderer(color.serialized()); element 188 Source/core/html/forms/ColorInputType.cpp element().updateView(); element 189 Source/core/html/forms/ColorInputType.cpp element().dispatchFormControlChangeEvent(); element 209 Source/core/html/forms/ColorInputType.cpp colorSwatch->setInlineStyleProperty(CSSPropertyBackgroundColor, element().value()); element 214 Source/core/html/forms/ColorInputType.cpp ShadowRoot* shadow = element().userAgentShadowRoot(); element 220 Source/core/html/forms/ColorInputType.cpp return element().document().view()->contentsToRootView(element().pixelSnappedBoundingBox()); element 230 Source/core/html/forms/ColorInputType.cpp return element().fastHasAttribute(listAttr); element 236 Source/core/html/forms/ColorInputType.cpp HTMLDataListElement* dataList = element().dataList(); element 240 Source/core/html/forms/ColorInputType.cpp if (!element().isValidValue(option->value())) element 53 Source/core/html/forms/ColorInputType.h ColorInputType(HTMLInputElement& element) : BaseClickableWithKeyInputType(element) { } element 51 Source/core/html/forms/DateInputType.cpp inline DateInputType::DateInputType(HTMLInputElement& element) element 52 Source/core/html/forms/DateInputType.cpp : BaseDateInputType(element) element 56 Source/core/html/forms/DateInputType.cpp PassRefPtr<InputType> DateInputType::create(HTMLInputElement& element) element 58 Source/core/html/forms/DateInputType.cpp return adoptRef(new DateInputType(element)); element 109 Source/core/html/forms/DateInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(minAttr), &layoutParameters.minimum)) element 111 Source/core/html/forms/DateInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(maxAttr), &layoutParameters.maximum)) element 53 Source/core/html/forms/DateTimeLocalInputType.cpp PassRefPtr<InputType> DateTimeLocalInputType::create(HTMLInputElement& element) element 55 Source/core/html/forms/DateTimeLocalInputType.cpp return adoptRef(new DateTimeLocalInputType(element)); element 152 Source/core/html/forms/DateTimeLocalInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(minAttr), &layoutParameters.minimum)) element 154 Source/core/html/forms/DateTimeLocalInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(maxAttr), &layoutParameters.maximum)) element 52 Source/core/html/forms/DateTimeLocalInputType.h DateTimeLocalInputType(HTMLInputElement& element) : BaseDateTimeLocalInputType(element) { } element 137 Source/core/html/forms/EmailInputType.cpp PassRefPtr<InputType> EmailInputType::create(HTMLInputElement& element) element 139 Source/core/html/forms/EmailInputType.cpp return adoptRef(new EmailInputType(element)); element 145 Source/core/html/forms/EmailInputType.cpp bool hasMaxLength = element().fastHasAttribute(HTMLNames::maxlengthAttr); element 148 Source/core/html/forms/EmailInputType.cpp if (element().multiple()) { element 168 Source/core/html/forms/EmailInputType.cpp if (!element().multiple()) element 187 Source/core/html/forms/EmailInputType.cpp return typeMismatchFor(element().value()); element 192 Source/core/html/forms/EmailInputType.cpp String invalidAddress = findInvalidAddress(element().value()); element 224 Source/core/html/forms/EmailInputType.cpp if (element().multiple()) element 242 Source/core/html/forms/EmailInputType.cpp if (!element().multiple()) element 258 Source/core/html/forms/EmailInputType.cpp if (!element().multiple()) element 274 Source/core/html/forms/EmailInputType.cpp String value = element().value(); element 275 Source/core/html/forms/EmailInputType.cpp if (!element().multiple()) element 43 Source/core/html/forms/EmailInputType.h EmailInputType(HTMLInputElement& element) : BaseTextInputType(element) { } element 51 Source/core/html/forms/FileInputType.cpp inline FileInputType::FileInputType(HTMLInputElement& element) element 52 Source/core/html/forms/FileInputType.cpp : BaseClickableWithKeyInputType(element) element 57 Source/core/html/forms/FileInputType.cpp PassRefPtr<InputType> FileInputType::create(HTMLInputElement& element) element 59 Source/core/html/forms/FileInputType.cpp return adoptRef(new FileInputType(element)); element 101 Source/core/html/forms/FileInputType.cpp FileList* fileList = element().files(); element 112 Source/core/html/forms/FileInputType.cpp encoding.appendData(element().name(), fileList->item(i)->name()); element 119 Source/core/html/forms/FileInputType.cpp encoding.appendBlob(element().name(), File::create("")); element 124 Source/core/html/forms/FileInputType.cpp encoding.appendBlob(element().name(), fileList->item(i)); element 130 Source/core/html/forms/FileInputType.cpp return element().isRequired() && value.isEmpty(); element 135 Source/core/html/forms/FileInputType.cpp return locale().queryString(element().multiple() ? WebLocalizedString::ValidationValueMissingForMultipleFile : WebLocalizedString::ValidationValueMissingForFile); element 140 Source/core/html/forms/FileInputType.cpp if (element().isDisabledFormControl()) element 148 Source/core/html/forms/FileInputType.cpp HTMLInputElement& input = element(); element 164 Source/core/html/forms/FileInputType.cpp return new RenderFileUploadControl(&element()); element 209 Source/core/html/forms/FileInputType.cpp element().setNeedsStyleRecalc(SubtreeStyleChange); element 210 Source/core/html/forms/FileInputType.cpp element().setNeedsValidityCheck(); element 221 Source/core/html/forms/FileInputType.cpp if (size && element().fastHasAttribute(webkitdirectoryAttr)) { element 253 Source/core/html/forms/FileInputType.cpp ASSERT(element().shadow()); element 254 Source/core/html/forms/FileInputType.cpp RefPtr<HTMLInputElement> button = HTMLInputElement::create(element().document(), 0, false); element 256 Source/core/html/forms/FileInputType.cpp button->setAttribute(valueAttr, AtomicString(locale().queryString(element().multiple() ? WebLocalizedString::FileButtonChooseMultipleFilesLabel : WebLocalizedString::FileButtonChooseFileLabel))); element 258 Source/core/html/forms/FileInputType.cpp element().userAgentShadowRoot()->appendChild(button.release()); element 263 Source/core/html/forms/FileInputType.cpp ASSERT(element().shadow()); element 264 Source/core/html/forms/FileInputType.cpp if (Element* button = toElement(element().userAgentShadowRoot()->firstChild())) element 265 Source/core/html/forms/FileInputType.cpp button->setBooleanAttribute(disabledAttr, element().isDisabledFormControl()); element 270 Source/core/html/forms/FileInputType.cpp ASSERT(element().shadow()); element 271 Source/core/html/forms/FileInputType.cpp if (Element* button = toElement(element().userAgentShadowRoot()->firstChild())) element 272 Source/core/html/forms/FileInputType.cpp button->setAttribute(valueAttr, AtomicString(locale().queryString(element().multiple() ? WebLocalizedString::FileButtonChooseMultipleFilesLabel : WebLocalizedString::FileButtonChooseFileLabel))); element 280 Source/core/html/forms/FileInputType.cpp RefPtr<HTMLInputElement> input(element()); element 324 Source/core/html/forms/FileInputType.cpp HTMLInputElement& input = element(); element 341 Source/core/html/forms/FileInputType.cpp HTMLInputElement& input = element(); element 46 Source/core/html/forms/HiddenInputType.cpp PassRefPtr<InputType> HiddenInputType::create(HTMLInputElement& element) element 48 Source/core/html/forms/HiddenInputType.cpp return adoptRef(new HiddenInputType(element)); element 62 Source/core/html/forms/HiddenInputType.cpp return element().valueAttributeWasUpdatedAfterParsing() ? FormControlState(element().value()) : FormControlState(); element 67 Source/core/html/forms/HiddenInputType.cpp element().setAttribute(valueAttr, AtomicString(state[0])); element 97 Source/core/html/forms/HiddenInputType.cpp element().setAttribute(valueAttr, AtomicString(sanitizedValue)); element 107 Source/core/html/forms/HiddenInputType.cpp if (equalIgnoringCase(element().name(), "_charset_")) { element 108 Source/core/html/forms/HiddenInputType.cpp encoding.appendData(element().name(), String(encoding.encoding().name())); element 43 Source/core/html/forms/HiddenInputType.h HiddenInputType(HTMLInputElement& element) : InputType(element) { } element 43 Source/core/html/forms/ImageInputType.cpp inline ImageInputType::ImageInputType(HTMLInputElement& element) element 44 Source/core/html/forms/ImageInputType.cpp : BaseButtonInputType(element) element 48 Source/core/html/forms/ImageInputType.cpp PassRefPtr<InputType> ImageInputType::create(HTMLInputElement& element) element 50 Source/core/html/forms/ImageInputType.cpp return adoptRef(new ImageInputType(element)); element 65 Source/core/html/forms/ImageInputType.cpp if (!element().isActivatedSubmit()) element 67 Source/core/html/forms/ImageInputType.cpp const AtomicString& name = element().name(); element 79 Source/core/html/forms/ImageInputType.cpp if (!element().value().isEmpty()) element 80 Source/core/html/forms/ImageInputType.cpp encoding.appendData(name, element().value()); element 110 Source/core/html/forms/ImageInputType.cpp RefPtr<HTMLInputElement> element(this->element()); element 111 Source/core/html/forms/ImageInputType.cpp if (element->isDisabledFormControl() || !element->form()) element 113 Source/core/html/forms/ImageInputType.cpp element->setActivatedSubmit(true); element 115 Source/core/html/forms/ImageInputType.cpp element->form()->prepareForSubmission(event); // Event handlers can run. element 116 Source/core/html/forms/ImageInputType.cpp element->setActivatedSubmit(false); element 122 Source/core/html/forms/ImageInputType.cpp RenderImage* image = new RenderImage(&element()); element 129 Source/core/html/forms/ImageInputType.cpp RenderImage* image = toRenderImage(element().renderer()); element 137 Source/core/html/forms/ImageInputType.cpp if (!element().renderer()) element 139 Source/core/html/forms/ImageInputType.cpp element().imageLoader()->updateFromElementIgnoringPreviousError(); element 146 Source/core/html/forms/ImageInputType.cpp HTMLImageLoader* imageLoader = element().imageLoader(); element 149 Source/core/html/forms/ImageInputType.cpp RenderImage* renderer = toRenderImage(element().renderer()); element 189 Source/core/html/forms/ImageInputType.cpp RefPtr<HTMLInputElement> element(this->element()); element 191 Source/core/html/forms/ImageInputType.cpp if (!element->renderer()) { element 194 Source/core/html/forms/ImageInputType.cpp if (parseHTMLNonNegativeInteger(element->fastGetAttribute(heightAttr), height)) element 198 Source/core/html/forms/ImageInputType.cpp if (element->hasImageLoader()) { element 199 Source/core/html/forms/ImageInputType.cpp HTMLImageLoader* imageLoader = element->imageLoader(); element 201 Source/core/html/forms/ImageInputType.cpp return imageLoader->image()->imageSizeForRenderer(element->renderer(), 1).height(); element 205 Source/core/html/forms/ImageInputType.cpp element->document().updateLayout(); element 207 Source/core/html/forms/ImageInputType.cpp RenderBox* box = element->renderBox(); element 213 Source/core/html/forms/ImageInputType.cpp RefPtr<HTMLInputElement> element(this->element()); element 215 Source/core/html/forms/ImageInputType.cpp if (!element->renderer()) { element 218 Source/core/html/forms/ImageInputType.cpp if (parseHTMLNonNegativeInteger(element->fastGetAttribute(widthAttr), width)) element 222 Source/core/html/forms/ImageInputType.cpp if (element->hasImageLoader()) { element 223 Source/core/html/forms/ImageInputType.cpp HTMLImageLoader* imageLoader = element->imageLoader(); element 225 Source/core/html/forms/ImageInputType.cpp return imageLoader->image()->imageSizeForRenderer(element->renderer(), 1).width(); element 229 Source/core/html/forms/ImageInputType.cpp element->document().updateLayout(); element 231 Source/core/html/forms/ImageInputType.cpp RenderBox* box = element->renderBox(); element 115 Source/core/html/forms/InputType.cpp PassRefPtr<InputType> InputType::create(HTMLInputElement& element, const AtomicString& typeName) element 120 Source/core/html/forms/InputType.cpp return factory(element); element 123 Source/core/html/forms/InputType.cpp PassRefPtr<InputType> InputType::createText(HTMLInputElement& element) element 125 Source/core/html/forms/InputType.cpp return TextInputType::create(element); element 172 Source/core/html/forms/InputType.cpp String currentValue = element().value(); element 173 Source/core/html/forms/InputType.cpp if (currentValue == element().defaultValue()) element 180 Source/core/html/forms/InputType.cpp element().setValue(state[0]); element 186 Source/core/html/forms/InputType.cpp return !element().name().isEmpty(); element 192 Source/core/html/forms/InputType.cpp encoding.appendData(element().name(), element().value()); element 198 Source/core/html/forms/InputType.cpp return element().fastGetAttribute(valueAttr); element 223 Source/core/html/forms/InputType.cpp element().setValue(serialize(newValue), eventBehavior); element 369 Source/core/html/forms/InputType.cpp const String value = element().value(); element 385 Source/core/html/forms/InputType.cpp if (element().tooLong()) element 386 Source/core/html/forms/InputType.cpp return locale().validationMessageTooLongText(value.length(), element().maxLength()); element 443 Source/core/html/forms/InputType.cpp if (element().active()) element 444 Source/core/html/forms/InputType.cpp element().dispatchSimulatedClick(event); element 450 Source/core/html/forms/InputType.cpp if (FrameHost* host = element().document().frameHost()) element 457 Source/core/html/forms/InputType.cpp return element().locale(); element 472 Source/core/html/forms/InputType.cpp return element().isFocusable(); element 495 Source/core/html/forms/InputType.cpp element().focus(false); element 562 Source/core/html/forms/InputType.cpp element().setValueInternal(sanitizedValue, eventBehavior); element 563 Source/core/html/forms/InputType.cpp element().setNeedsStyleRecalc(SubtreeStyleChange); element 568 Source/core/html/forms/InputType.cpp element().dispatchFormControlChangeEvent(); element 571 Source/core/html/forms/InputType.cpp element().dispatchFormControlInputEvent(); element 572 Source/core/html/forms/InputType.cpp element().dispatchFormControlChangeEvent(); element 591 Source/core/html/forms/InputType.cpp return element().value(); element 807 Source/core/html/forms/InputType.cpp const AtomicString& stepString = element().fastGetAttribute(stepAttr); element 854 Source/core/html/forms/InputType.cpp if (AXObjectCache* cache = element().document().existingAXObjectCache()) element 855 Source/core/html/forms/InputType.cpp cache->postNotification(&element(), AXObjectCache::AXValueChanged, true); element 877 Source/core/html/forms/InputType.cpp const Decimal current = parseToNumber(element().value(), 0); element 936 Source/core/html/forms/InputType.cpp Decimal current = parseToNumberOrNaN(element().value()); element 955 Source/core/html/forms/InputType.cpp if (RenderStyle* style = element().renderStyle()) { element 957 Source/core/html/forms/InputType.cpp UseCounter::count(element().document(), feature); element 963 Source/core/html/forms/InputType.cpp Decimal stepBase = parseToNumber(element().fastGetAttribute(minAttr), Decimal::nan()); element 965 Source/core/html/forms/InputType.cpp stepBase = parseToNumber(element().fastGetAttribute(valueAttr), defaultValue); element 972 Source/core/html/forms/InputType.cpp const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), minimumDefault); element 973 Source/core/html/forms/InputType.cpp const Decimal maximum = parseToNumber(element().fastGetAttribute(maxAttr), maximumDefault); element 974 Source/core/html/forms/InputType.cpp const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); element 226 Source/core/html/forms/InputType.h InputType(HTMLInputElement& element) : InputTypeView(element) { } element 49 Source/core/html/forms/InputTypeView.cpp preferredSize = element().size(); element 92 Source/core/html/forms/InputTypeView.cpp return element().form(); element 97 Source/core/html/forms/InputTypeView.cpp return RenderObject::createObject(&element(), style); element 107 Source/core/html/forms/InputTypeView.cpp element().defaultBlur(); element 137 Source/core/html/forms/InputTypeView.cpp if (ShadowRoot* root = element().userAgentShadowRoot()) element 117 Source/core/html/forms/InputTypeView.h InputTypeView(HTMLInputElement& element) : m_element(element) { } element 118 Source/core/html/forms/InputTypeView.h HTMLInputElement& element() const { return m_element; } element 54 Source/core/html/forms/MonthInputType.cpp PassRefPtr<InputType> MonthInputType::create(HTMLInputElement& element) element 56 Source/core/html/forms/MonthInputType.cpp return adoptRef(new MonthInputType(element)); element 72 Source/core/html/forms/MonthInputType.cpp if (!parseToDateComponents(element().value(), &date)) element 154 Source/core/html/forms/MonthInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(minAttr), &layoutParameters.minimum)) element 156 Source/core/html/forms/MonthInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(maxAttr), &layoutParameters.maximum)) element 50 Source/core/html/forms/MonthInputType.h MonthInputType(HTMLInputElement& element) : BaseMonthInputType(element) { } element 97 Source/core/html/forms/NumberInputType.cpp PassRefPtr<InputType> NumberInputType::create(HTMLInputElement& element) element 99 Source/core/html/forms/NumberInputType.cpp return adoptRef(new NumberInputType(element)); element 114 Source/core/html/forms/NumberInputType.cpp if (!valueChanged && sanitizedValue.isEmpty() && !element().innerTextValue().isEmpty()) element 115 Source/core/html/forms/NumberInputType.cpp element().updateView(); element 121 Source/core/html/forms/NumberInputType.cpp return parseToDoubleForNumberType(element().value()); element 126 Source/core/html/forms/NumberInputType.cpp element().setValue(serializeForNumberType(newValue), eventBehavior); element 131 Source/core/html/forms/NumberInputType.cpp element().setValue(serializeForNumberType(newValue), eventBehavior); element 141 Source/core/html/forms/NumberInputType.cpp ASSERT(!typeMismatchFor(element().value())); element 156 Source/core/html/forms/NumberInputType.cpp const String stepString = element().fastGetAttribute(stepAttr); element 160 Source/core/html/forms/NumberInputType.cpp const Decimal minimum = parseToDecimalForNumberType(element().fastGetAttribute(minAttr)); element 164 Source/core/html/forms/NumberInputType.cpp const Decimal maximum = parseToDecimalForNumberType(element().fastGetAttribute(maxAttr)); element 214 Source/core/html/forms/NumberInputType.cpp return element().locale().convertToLocalizedNumber(proposedValue); element 219 Source/core/html/forms/NumberInputType.cpp return localizeValue(element().value()); element 229 Source/core/html/forms/NumberInputType.cpp return element().locale().convertFromLocalizedNumber(visibleValue); element 241 Source/core/html/forms/NumberInputType.cpp String standardValue = convertFromVisibleValue(element().innerTextValue()); element 279 Source/core/html/forms/NumberInputType.cpp if (element().renderer()) element 280 Source/core/html/forms/NumberInputType.cpp element().renderer()->setNeedsLayoutAndPrefWidthsRecalc(); element 287 Source/core/html/forms/NumberInputType.cpp if (element().renderer()) element 288 Source/core/html/forms/NumberInputType.cpp element().renderer()->setNeedsLayoutAndPrefWidthsRecalc(); element 45 Source/core/html/forms/NumberInputType.h NumberInputType(HTMLInputElement& element) : TextFieldInputType(element) { } element 50 Source/core/html/forms/PasswordInputType.cpp PassRefPtr<InputType> PasswordInputType::create(HTMLInputElement& element) element 52 Source/core/html/forms/PasswordInputType.cpp return adoptRef(new PasswordInputType(element)); element 58 Source/core/html/forms/PasswordInputType.cpp if (element().fastHasAttribute(HTMLNames::maxlengthAttr)) element 66 Source/core/html/forms/PasswordInputType.cpp if (FrameHost* host = element().document().frameHost()) element 73 Source/core/html/forms/PasswordInputType.cpp if (Settings* settings = element().document().settings()) element 88 Source/core/html/forms/PasswordInputType.cpp RefPtr<PasswordGeneratorButtonElement> generatorButton = PasswordGeneratorButtonElement::create(element().document()); element 141 Source/core/html/forms/PasswordInputType.cpp if (element().document().frame()) element 142 Source/core/html/forms/PasswordInputType.cpp element().document().setUseSecureKeyboardEntryWhenActive(true); element 147 Source/core/html/forms/PasswordInputType.cpp if (element().document().frame()) element 148 Source/core/html/forms/PasswordInputType.cpp element().document().setUseSecureKeyboardEntryWhenActive(false); element 44 Source/core/html/forms/PasswordInputType.h PasswordInputType(HTMLInputElement& element) : BaseTextInputType(element) { } element 187 Source/core/html/forms/RadioButtonGroupScope.cpp void RadioButtonGroupScope::addButton(HTMLInputElement* element) element 189 Source/core/html/forms/RadioButtonGroupScope.cpp ASSERT(element->isRadioButton()); element 190 Source/core/html/forms/RadioButtonGroupScope.cpp if (element->name().isEmpty()) element 196 Source/core/html/forms/RadioButtonGroupScope.cpp OwnPtr<RadioButtonGroup>& group = m_nameToGroupMap->add(element->name(), PassOwnPtr<RadioButtonGroup>()).storedValue->value; element 199 Source/core/html/forms/RadioButtonGroupScope.cpp group->add(element); element 202 Source/core/html/forms/RadioButtonGroupScope.cpp void RadioButtonGroupScope::updateCheckedState(HTMLInputElement* element) element 204 Source/core/html/forms/RadioButtonGroupScope.cpp ASSERT(element->isRadioButton()); element 205 Source/core/html/forms/RadioButtonGroupScope.cpp if (element->name().isEmpty()) element 210 Source/core/html/forms/RadioButtonGroupScope.cpp RadioButtonGroup* group = m_nameToGroupMap->get(element->name()); element 212 Source/core/html/forms/RadioButtonGroupScope.cpp group->updateCheckedState(element); element 215 Source/core/html/forms/RadioButtonGroupScope.cpp void RadioButtonGroupScope::requiredAttributeChanged(HTMLInputElement* element) element 217 Source/core/html/forms/RadioButtonGroupScope.cpp ASSERT(element->isRadioButton()); element 218 Source/core/html/forms/RadioButtonGroupScope.cpp if (element->name().isEmpty()) element 223 Source/core/html/forms/RadioButtonGroupScope.cpp RadioButtonGroup* group = m_nameToGroupMap->get(element->name()); element 225 Source/core/html/forms/RadioButtonGroupScope.cpp group->requiredAttributeChanged(element); element 236 Source/core/html/forms/RadioButtonGroupScope.cpp bool RadioButtonGroupScope::isInRequiredGroup(HTMLInputElement* element) const element 238 Source/core/html/forms/RadioButtonGroupScope.cpp ASSERT(element->isRadioButton()); element 239 Source/core/html/forms/RadioButtonGroupScope.cpp if (element->name().isEmpty()) element 243 Source/core/html/forms/RadioButtonGroupScope.cpp RadioButtonGroup* group = m_nameToGroupMap->get(element->name()); element 244 Source/core/html/forms/RadioButtonGroupScope.cpp return group && group->isRequired() && group->contains(element); element 247 Source/core/html/forms/RadioButtonGroupScope.cpp void RadioButtonGroupScope::removeButton(HTMLInputElement* element) element 249 Source/core/html/forms/RadioButtonGroupScope.cpp ASSERT(element->isRadioButton()); element 250 Source/core/html/forms/RadioButtonGroupScope.cpp if (element->name().isEmpty()) element 255 Source/core/html/forms/RadioButtonGroupScope.cpp RadioButtonGroup* group = m_nameToGroupMap->get(element->name()); element 258 Source/core/html/forms/RadioButtonGroupScope.cpp group->remove(element); element 39 Source/core/html/forms/RadioInputType.cpp PassRefPtr<InputType> RadioInputType::create(HTMLInputElement& element) element 41 Source/core/html/forms/RadioInputType.cpp return adoptRef(new RadioInputType(element)); element 51 Source/core/html/forms/RadioInputType.cpp return element().isInRequiredRadioButtonGroup() && !element().checkedRadioButtonForGroup(); element 79 Source/core/html/forms/RadioInputType.cpp Document& document = element().document(); element 86 Source/core/html/forms/RadioInputType.cpp HTMLElement* htmlElement = &element(); element 95 Source/core/html/forms/RadioInputType.cpp if (inputElement->form() != element().form()) element 97 Source/core/html/forms/RadioInputType.cpp if (inputElement->isRadioButton() && inputElement->name() == element().name() && inputElement->isFocusable()) { element 114 Source/core/html/forms/RadioInputType.cpp if (element().checked()) element 125 Source/core/html/forms/RadioInputType.cpp if (isSpatialNavigationEnabled(element().document().frame())) element 130 Source/core/html/forms/RadioInputType.cpp Element* currentFocusedElement = element().document().focusedElement(); element 133 Source/core/html/forms/RadioInputType.cpp if (focusedInput.isRadioButton() && focusedInput.form() == element().form() && focusedInput.name() == element().name()) element 138 Source/core/html/forms/RadioInputType.cpp return element().checked() || !element().checkedRadioButtonForGroup(); element 145 Source/core/html/forms/RadioInputType.cpp return element().checked(); element 159 Source/core/html/forms/RadioInputType.cpp state->checked = element().checked(); element 160 Source/core/html/forms/RadioInputType.cpp state->checkedRadioButton = element().checkedRadioButtonForGroup(); element 161 Source/core/html/forms/RadioInputType.cpp element().setChecked(true, DispatchChangeEvent); element 174 Source/core/html/forms/RadioInputType.cpp && checkedRadioButton->form() == element().form() element 175 Source/core/html/forms/RadioInputType.cpp && checkedRadioButton->name() == element().name()) { element 43 Source/core/html/forms/RadioInputType.h RadioInputType(HTMLInputElement& element) : BaseCheckableInputType(element) { } element 77 Source/core/html/forms/RangeInputType.cpp PassRefPtr<InputType> RangeInputType::create(HTMLInputElement& element) element 79 Source/core/html/forms/RangeInputType.cpp return adoptRef(new RangeInputType(element)); element 82 Source/core/html/forms/RangeInputType.cpp RangeInputType::RangeInputType(HTMLInputElement& element) element 83 Source/core/html/forms/RangeInputType.cpp : InputType(element) element 105 Source/core/html/forms/RangeInputType.cpp return parseToDoubleForNumberType(element().value()); element 128 Source/core/html/forms/RangeInputType.cpp const Decimal minimum = parseToNumber(element().fastGetAttribute(minAttr), rangeDefaultMinimum); element 129 Source/core/html/forms/RangeInputType.cpp const Decimal maximum = ensureMaximum(parseToNumber(element().fastGetAttribute(maxAttr), rangeDefaultMaximum), minimum, rangeDefaultMaximum); element 131 Source/core/html/forms/RangeInputType.cpp const AtomicString& precisionValue = element().fastGetAttribute(precisionAttr); element 137 Source/core/html/forms/RangeInputType.cpp const Decimal step = StepRange::parseStep(anyStepHandling, stepDescription, element().fastGetAttribute(stepAttr)); element 148 Source/core/html/forms/RangeInputType.cpp if (element().isDisabledOrReadOnly()) element 154 Source/core/html/forms/RangeInputType.cpp ASSERT(element().shadow()); element 155 Source/core/html/forms/RangeInputType.cpp if (targetNode != element() && !targetNode->isDescendantOf(element().userAgentShadowRoot())) element 165 Source/core/html/forms/RangeInputType.cpp if (element().isDisabledOrReadOnly()) element 187 Source/core/html/forms/RangeInputType.cpp if (element().isDisabledOrReadOnly()) element 192 Source/core/html/forms/RangeInputType.cpp const Decimal current = parseToNumberOrNaN(element().value()); element 200 Source/core/html/forms/RangeInputType.cpp const Decimal step = equalIgnoringCase(element().fastGetAttribute(stepAttr), "any") ? (stepRange.maximum() - stepRange.minimum()) / 100 : stepRange.step(); element 204 Source/core/html/forms/RangeInputType.cpp if (element().renderer()) { element 205 Source/core/html/forms/RangeInputType.cpp ControlPart part = element().renderer()->style()->appearance(); element 236 Source/core/html/forms/RangeInputType.cpp if (AXObjectCache* cache = element().document().existingAXObjectCache()) element 237 Source/core/html/forms/RangeInputType.cpp cache->postNotification(&element(), AXObjectCache::AXValueChanged, true); element 245 Source/core/html/forms/RangeInputType.cpp ASSERT(element().shadow()); element 247 Source/core/html/forms/RangeInputType.cpp Document& document = element().document(); element 254 Source/core/html/forms/RangeInputType.cpp element().userAgentShadowRoot()->appendChild(container.release()); element 259 Source/core/html/forms/RangeInputType.cpp return new RenderSlider(&element()); element 279 Source/core/html/forms/RangeInputType.cpp element().dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); element 284 Source/core/html/forms/RangeInputType.cpp if (element().hasDirtyValue()) element 285 Source/core/html/forms/RangeInputType.cpp element().setValue(element().value()); element 314 Source/core/html/forms/RangeInputType.cpp if (element().isDisabledFormControl()) element 325 Source/core/html/forms/RangeInputType.cpp return toSliderThumbElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::sliderThumb())); element 330 Source/core/html/forms/RangeInputType.cpp return element().userAgentShadowRoot()->getElementById(ShadowElementNames::sliderTrack()); element 352 Source/core/html/forms/RangeInputType.cpp HTMLDataListElement* dataList = element().dataList(); element 358 Source/core/html/forms/RangeInputType.cpp Element* element = options->item(i); element 359 Source/core/html/forms/RangeInputType.cpp HTMLOptionElement* optionElement = toHTMLOptionElement(element); element 361 Source/core/html/forms/RangeInputType.cpp if (!this->element().isValidValue(optionValue)) element 44 Source/core/html/forms/ResetInputType.cpp PassRefPtr<InputType> ResetInputType::create(HTMLInputElement& element) element 46 Source/core/html/forms/ResetInputType.cpp return adoptRef(new ResetInputType(element)); element 61 Source/core/html/forms/ResetInputType.cpp if (element().isDisabledFormControl() || !element().form()) element 63 Source/core/html/forms/ResetInputType.cpp element().form()->reset(); element 43 Source/core/html/forms/ResetInputType.h ResetInputType(HTMLInputElement& element) : BaseButtonInputType(element) { } element 49 Source/core/html/forms/SearchInputType.cpp inline SearchInputType::SearchInputType(HTMLInputElement& element) element 50 Source/core/html/forms/SearchInputType.cpp : BaseTextInputType(element) element 55 Source/core/html/forms/SearchInputType.cpp PassRefPtr<InputType> SearchInputType::create(HTMLInputElement& element) element 57 Source/core/html/forms/SearchInputType.cpp return adoptRef(new SearchInputType(element)); element 67 Source/core/html/forms/SearchInputType.cpp return new RenderSearchField(&element()); element 94 Source/core/html/forms/SearchInputType.cpp Element* viewPort = element().userAgentShadowRoot()->getElementById(ShadowElementNames::editingViewPort()); element 98 Source/core/html/forms/SearchInputType.cpp container->insertBefore(SearchFieldDecorationElement::create(element().document()), viewPort); element 99 Source/core/html/forms/SearchInputType.cpp container->insertBefore(SearchFieldCancelButtonElement::create(element().document()), viewPort->nextSibling()); element 104 Source/core/html/forms/SearchInputType.cpp if (element().isDisabledOrReadOnly()) { element 111 Source/core/html/forms/SearchInputType.cpp RefPtr<HTMLInputElement> input(element()); element 122 Source/core/html/forms/SearchInputType.cpp ASSERT(element().renderer()); element 123 Source/core/html/forms/SearchInputType.cpp unsigned length = element().innerTextValue().length(); element 127 Source/core/html/forms/SearchInputType.cpp element().onSearch(); element 143 Source/core/html/forms/SearchInputType.cpp element().onSearch(); element 148 Source/core/html/forms/SearchInputType.cpp return element().hasAttribute(incrementalAttr); element 170 Source/core/html/forms/SearchInputType.cpp Element* button = element().userAgentShadowRoot()->getElementById(ShadowElementNames::clearButton()); element 173 Source/core/html/forms/SearchInputType.cpp if (element().value().isEmpty()) { element 45 Source/core/html/forms/SubmitInputType.cpp PassRefPtr<InputType> SubmitInputType::create(HTMLInputElement& element) element 47 Source/core/html/forms/SubmitInputType.cpp return adoptRef(new SubmitInputType(element)); element 57 Source/core/html/forms/SubmitInputType.cpp if (!element().isActivatedSubmit()) element 59 Source/core/html/forms/SubmitInputType.cpp encoding.appendData(element().name(), element().valueWithDefault()); element 70 Source/core/html/forms/SubmitInputType.cpp RefPtr<HTMLInputElement> element(this->element()); element 71 Source/core/html/forms/SubmitInputType.cpp if (element->isDisabledFormControl() || !element->form()) element 73 Source/core/html/forms/SubmitInputType.cpp element->setActivatedSubmit(true); element 74 Source/core/html/forms/SubmitInputType.cpp element->form()->prepareForSubmission(event); // Event handlers can run. element 75 Source/core/html/forms/SubmitInputType.cpp element->setActivatedSubmit(false); element 43 Source/core/html/forms/SubmitInputType.h SubmitInputType(HTMLInputElement& element) : BaseButtonInputType(element) { } element 39 Source/core/html/forms/TelephoneInputType.cpp PassRefPtr<InputType> TelephoneInputType::create(HTMLInputElement& element) element 41 Source/core/html/forms/TelephoneInputType.cpp return adoptRef(new TelephoneInputType(element)); element 43 Source/core/html/forms/TelephoneInputType.h TelephoneInputType(HTMLInputElement& element) : BaseTextInputType(element) { } element 103 Source/core/html/forms/TextFieldInputType.cpp RefPtr<DataListIndicatorElement> element = adoptRef(new DataListIndicatorElement(document)); element 104 Source/core/html/forms/TextFieldInputType.cpp element->setShadowPseudoId(AtomicString("-webkit-calendar-picker-indicator", AtomicString::ConstructFromLiteral)); element 105 Source/core/html/forms/TextFieldInputType.cpp element->setAttribute(idAttr, ShadowElementNames::pickerIndicator()); element 106 Source/core/html/forms/TextFieldInputType.cpp return element.release(); element 111 Source/core/html/forms/TextFieldInputType.cpp TextFieldInputType::TextFieldInputType(HTMLInputElement& element) element 112 Source/core/html/forms/TextFieldInputType.cpp : InputType(element) element 124 Source/core/html/forms/TextFieldInputType.cpp return toSpinButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton())); element 139 Source/core/html/forms/TextFieldInputType.cpp return element().isRequired() && value.isEmpty(); element 151 Source/core/html/forms/TextFieldInputType.cpp RefPtr<HTMLInputElement> input(element()); element 195 Source/core/html/forms/TextFieldInputType.cpp if (!element().focused()) element 198 Source/core/html/forms/TextFieldInputType.cpp chrome->client().handleKeyboardEventOnTextField(element(), *event); element 206 Source/core/html/forms/TextFieldInputType.cpp if (element().isDisabledOrReadOnly()) element 226 Source/core/html/forms/TextFieldInputType.cpp if (element().renderer() && (event->isMouseEvent() || event->isDragEvent() || event->hasInterface(EventNames::WheelEvent) || event->type() == EventTypeNames::blur || event->type() == EventTypeNames::focus)) { element 227 Source/core/html/forms/TextFieldInputType.cpp RenderTextControlSingleLine* renderTextControl = toRenderTextControlSingleLine(element().renderer()); element 229 Source/core/html/forms/TextFieldInputType.cpp if (RenderBox* innerTextRenderer = element().innerTextElement()->renderBox()) { element 243 Source/core/html/forms/TextFieldInputType.cpp element().forwardEvent(event); element 250 Source/core/html/forms/TextFieldInputType.cpp element().beginEditing(); element 256 Source/core/html/forms/TextFieldInputType.cpp element().endEditing(); element 266 Source/core/html/forms/TextFieldInputType.cpp return new RenderTextControlSingleLine(&element()); element 272 Source/core/html/forms/TextFieldInputType.cpp return element().isSpeechEnabled(); element 280 Source/core/html/forms/TextFieldInputType.cpp return RenderTheme::theme().shouldHaveSpinButton(&element()); element 285 Source/core/html/forms/TextFieldInputType.cpp ASSERT(element().shadow()); element 286 Source/core/html/forms/TextFieldInputType.cpp ShadowRoot* shadowRoot = element().userAgentShadowRoot(); element 289 Source/core/html/forms/TextFieldInputType.cpp Document& document = element().document(); element 291 Source/core/html/forms/TextFieldInputType.cpp bool shouldHaveDataListIndicator = element().hasValidDataListOptions(); element 309 Source/core/html/forms/TextFieldInputType.cpp if (element().isSpeechEnabled()) element 326 Source/core/html/forms/TextFieldInputType.cpp return element().userAgentShadowRoot()->getElementById(ShadowElementNames::textFieldContainer()); element 338 Source/core/html/forms/TextFieldInputType.cpp Element* picker = element().userAgentShadowRoot()->getElementById(ShadowElementNames::pickerIndicator()); element 340 Source/core/html/forms/TextFieldInputType.cpp bool willHavePickerIndicator = element().hasValidDataListOptions(); element 344 Source/core/html/forms/TextFieldInputType.cpp Document& document = element().document(); element 353 Source/core/html/forms/TextFieldInputType.cpp RefPtr<Element> innerEditor = element().innerTextElement(); element 359 Source/core/html/forms/TextFieldInputType.cpp if (element().document().focusedElement() == element()) element 360 Source/core/html/forms/TextFieldInputType.cpp element().updateFocusAppearance(true /* restore selection */); element 423 Source/core/html/forms/TextFieldInputType.cpp unsigned oldLength = element().innerTextValue().length(); element 430 Source/core/html/forms/TextFieldInputType.cpp unsigned selectionLength = element().focused() ? plainText(element().document().frame()->selection().selection().toNormalizedRange().get()).length() : 0; element 435 Source/core/html/forms/TextFieldInputType.cpp unsigned maxLength = static_cast<unsigned>(isTextType() ? element().maxLength() : HTMLInputElement::maximumLength); // maxLength can never be negative. element 460 Source/core/html/forms/TextFieldInputType.cpp HTMLElement* placeholder = element().placeholderElement(); element 461 Source/core/html/forms/TextFieldInputType.cpp String placeholderText = element().strippedPlaceholder(); element 468 Source/core/html/forms/TextFieldInputType.cpp RefPtr<HTMLElement> newElement = HTMLDivElement::create(element().document()); element 473 Source/core/html/forms/TextFieldInputType.cpp Node* previous = container ? container : element().innerTextElement(); element 483 Source/core/html/forms/TextFieldInputType.cpp const AtomicString& dirnameAttrValue = element().fastGetAttribute(dirnameAttr); element 485 Source/core/html/forms/TextFieldInputType.cpp list.appendData(dirnameAttrValue, element().directionForFormData()); element 496 Source/core/html/forms/TextFieldInputType.cpp ASSERT(element().renderer()); element 498 Source/core/html/forms/TextFieldInputType.cpp bool wasChanged = element().wasChangedSinceLastFormControlChangeEvent(); element 499 Source/core/html/forms/TextFieldInputType.cpp element().setChangedSinceLastFormControlChangeEvent(true); element 505 Source/core/html/forms/TextFieldInputType.cpp element().setValueFromRenderer(sanitizeValue(convertFromVisibleValue(element().innerTextValue()))); element 506 Source/core/html/forms/TextFieldInputType.cpp element().updatePlaceholderVisibility(false); element 508 Source/core/html/forms/TextFieldInputType.cpp element().setNeedsStyleRecalc(SubtreeStyleChange); element 515 Source/core/html/forms/TextFieldInputType.cpp if (!element().focused()) element 518 Source/core/html/forms/TextFieldInputType.cpp chrome->client().didChangeValueInTextField(element()); element 533 Source/core/html/forms/TextFieldInputType.cpp if (!element().suggestedValue().isNull()) { element 534 Source/core/html/forms/TextFieldInputType.cpp element().setInnerTextValue(element().suggestedValue()); element 535 Source/core/html/forms/TextFieldInputType.cpp element().updatePlaceholderVisibility(false); element 536 Source/core/html/forms/TextFieldInputType.cpp } else if (!element().formControlValueMatchesRenderer()) { element 539 Source/core/html/forms/TextFieldInputType.cpp element().setInnerTextValue(visibleValue()); element 540 Source/core/html/forms/TextFieldInputType.cpp element().updatePlaceholderVisibility(false); element 546 Source/core/html/forms/TextFieldInputType.cpp RefPtr<HTMLInputElement> input(element()); element 553 Source/core/html/forms/TextFieldInputType.cpp return !element().isDisabledOrReadOnly(); element 558 Source/core/html/forms/TextFieldInputType.cpp return shouldSpinButtonRespondToMouseEvents() && element().focused(); element 42 Source/core/html/forms/TextInputType.cpp PassRefPtr<InputType> TextInputType::create(HTMLInputElement& element) element 44 Source/core/html/forms/TextInputType.cpp return adoptRef(new TextInputType(element)); element 50 Source/core/html/forms/TextInputType.cpp if (element().fastHasAttribute(maxlengthAttr)) element 52 Source/core/html/forms/TextInputType.cpp const AtomicString& type = element().fastGetAttribute(typeAttr); element 43 Source/core/html/forms/TextInputType.h TextInputType(HTMLInputElement& element) : BaseTextInputType(element) { } element 54 Source/core/html/forms/TimeInputType.cpp TimeInputType::TimeInputType(HTMLInputElement& element) element 55 Source/core/html/forms/TimeInputType.cpp : BaseTimeInputType(element) element 59 Source/core/html/forms/TimeInputType.cpp PassRefPtr<InputType> TimeInputType::create(HTMLInputElement& element) element 61 Source/core/html/forms/TimeInputType.cpp return adoptRef(new TimeInputType(element)); element 124 Source/core/html/forms/TimeInputType.cpp String localized = element().locale().formatDateTime(date, formatType); element 157 Source/core/html/forms/TimeInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(minAttr), &layoutParameters.minimum)) element 159 Source/core/html/forms/TimeInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(maxAttr), &layoutParameters.maximum)) element 41 Source/core/html/forms/URLInputType.cpp PassRefPtr<InputType> URLInputType::create(HTMLInputElement& element) element 43 Source/core/html/forms/URLInputType.cpp return adoptRef(new URLInputType(element)); element 63 Source/core/html/forms/URLInputType.cpp return typeMismatchFor(element().value()); element 43 Source/core/html/forms/URLInputType.h URLInputType(HTMLInputElement& element) : BaseTextInputType(element) { } element 41 Source/core/html/forms/ValidationMessage.cpp ALWAYS_INLINE ValidationMessage::ValidationMessage(HTMLFormControlElement* element) element 42 Source/core/html/forms/ValidationMessage.cpp : m_element(element) element 53 Source/core/html/forms/ValidationMessage.cpp PassOwnPtr<ValidationMessage> ValidationMessage::create(HTMLFormControlElement* element) element 55 Source/core/html/forms/ValidationMessage.cpp return adoptPtr(new ValidationMessage(element)); element 51 Source/core/html/forms/WeekInputType.cpp PassRefPtr<InputType> WeekInputType::create(HTMLInputElement& element) element 53 Source/core/html/forms/WeekInputType.cpp return adoptRef(new WeekInputType(element)); element 104 Source/core/html/forms/WeekInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(minAttr), &layoutParameters.minimum)) element 106 Source/core/html/forms/WeekInputType.cpp if (!parseToDateComponents(element().fastGetAttribute(maxAttr), &layoutParameters.maximum)) element 50 Source/core/html/forms/WeekInputType.h WeekInputType(HTMLInputElement& element) : BaseWeekInputType(element) { } element 40 Source/core/html/ime/InputMethodContext.cpp PassOwnPtr<InputMethodContext> InputMethodContext::create(HTMLElement* element) element 42 Source/core/html/ime/InputMethodContext.cpp return adoptPtr(new InputMethodContext(element)); element 45 Source/core/html/ime/InputMethodContext.cpp InputMethodContext::InputMethodContext(HTMLElement* element) element 46 Source/core/html/ime/InputMethodContext.cpp : m_element(element) element 92 Source/core/html/ime/InputMethodContext.cpp const Element* element = frame->document()->focusedElement(); element 93 Source/core/html/ime/InputMethodContext.cpp return element && element->isHTMLElement() && m_element == toHTMLElement(element); element 61 Source/core/html/parser/HTMLConstructionSite.cpp static inline void setAttributes(Element* element, AtomicHTMLToken* token, ParserContentPolicy parserContentPolicy) element 64 Source/core/html/parser/HTMLConstructionSite.cpp element->stripScriptingAttributes(token->attributes()); element 65 Source/core/html/parser/HTMLConstructionSite.cpp element->parserSetAttributes(token->attributes()); element 381 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<HTMLHtmlElement> element = HTMLHtmlElement::create(*m_document); element 382 Source/core/html/parser/HTMLConstructionSite.cpp setAttributes(element.get(), token, m_parserContentPolicy); element 383 Source/core/html/parser/HTMLConstructionSite.cpp attachLater(m_attachmentRoot, element); element 384 Source/core/html/parser/HTMLConstructionSite.cpp m_openElements.pushHTMLHtmlElement(HTMLStackItem::create(element, token)); element 387 Source/core/html/parser/HTMLConstructionSite.cpp element->insertedByParser(); element 391 Source/core/html/parser/HTMLConstructionSite.cpp void HTMLConstructionSite::mergeAttributesFromTokenIntoElement(AtomicHTMLToken* token, Element* element) element 398 Source/core/html/parser/HTMLConstructionSite.cpp if (!element->elementData() || !element->getAttributeItem(tokenAttribute.name())) element 399 Source/core/html/parser/HTMLConstructionSite.cpp element->setAttribute(tokenAttribute.name(), tokenAttribute.value()); element 585 Source/core/html/parser/HTMLConstructionSite.cpp attachLater(currentNode(), m_head->element()); element 601 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<Element> element = createHTMLElement(token); element 602 Source/core/html/parser/HTMLConstructionSite.cpp ASSERT(isHTMLFormElement(element)); element 603 Source/core/html/parser/HTMLConstructionSite.cpp m_form = static_pointer_cast<HTMLFormElement>(element.release()); element 611 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<Element> element = createHTMLElement(token); element 612 Source/core/html/parser/HTMLConstructionSite.cpp attachLater(currentNode(), element); element 613 Source/core/html/parser/HTMLConstructionSite.cpp m_openElements.push(HTMLStackItem::create(element.release(), token)); element 645 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<HTMLScriptElement> element = HTMLScriptElement::create(ownerDocumentForCurrentNode(), parserInserted, alreadyStarted); element 646 Source/core/html/parser/HTMLConstructionSite.cpp setAttributes(element.get(), token, m_parserContentPolicy); element 648 Source/core/html/parser/HTMLConstructionSite.cpp attachLater(currentNode(), element); element 649 Source/core/html/parser/HTMLConstructionSite.cpp m_openElements.push(HTMLStackItem::create(element.release(), token)); element 657 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<Element> element = createElement(token, namespaceURI); element 658 Source/core/html/parser/HTMLConstructionSite.cpp if (scriptingContentIsAllowed(m_parserContentPolicy) || !toScriptLoaderIfPossible(element.get())) element 659 Source/core/html/parser/HTMLConstructionSite.cpp attachLater(currentNode(), element, token->selfClosing()); element 661 Source/core/html/parser/HTMLConstructionSite.cpp m_openElements.push(HTMLStackItem::create(element.release(), token, namespaceURI)); element 724 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<Element> element = ownerDocumentForCurrentNode().createElement(tagName, true); element 725 Source/core/html/parser/HTMLConstructionSite.cpp setAttributes(element.get(), token, m_parserContentPolicy); element 726 Source/core/html/parser/HTMLConstructionSite.cpp return element.release(); element 745 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<Element> element = HTMLElementFactory::createHTMLElement(token->name(), document, form, true); element 746 Source/core/html/parser/HTMLConstructionSite.cpp setAttributes(element.get(), token, m_parserContentPolicy); element 747 Source/core/html/parser/HTMLConstructionSite.cpp ASSERT(element->isHTMLElement()); element 748 Source/core/html/parser/HTMLConstructionSite.cpp return element.release(); element 753 Source/core/html/parser/HTMLConstructionSite.cpp RefPtr<Element> element; element 757 Source/core/html/parser/HTMLConstructionSite.cpp element = createHTMLElement(&fakeToken); element 759 Source/core/html/parser/HTMLConstructionSite.cpp element = createElement(&fakeToken, item->namespaceURI()); element 760 Source/core/html/parser/HTMLConstructionSite.cpp return HTMLStackItem::create(element.release(), &fakeToken, item->namespaceURI()); element 771 Source/core/html/parser/HTMLConstructionSite.cpp if (entry.isMarker() || m_openElements.contains(entry.element())) { element 819 Source/core/html/parser/HTMLConstructionSite.cpp task.parent = lastTemplateElement->element(); element 825 Source/core/html/parser/HTMLConstructionSite.cpp Element* lastTableElement = lastTableElementRecord->element(); element 828 Source/core/html/parser/HTMLConstructionSite.cpp parent = lastTableElementRecord->next()->element(); element 839 Source/core/html/parser/HTMLConstructionSite.cpp task.parent = lastTableElementRecord->next()->element(); element 177 Source/core/html/parser/HTMLConstructionSite.h Element* head() const { return m_head->element(); } element 234 Source/core/html/parser/HTMLElementStack.cpp void HTMLElementStack::popUntil(Element* element) element 236 Source/core/html/parser/HTMLElementStack.cpp while (top() != element) element 240 Source/core/html/parser/HTMLElementStack.cpp void HTMLElementStack::popUntilPopped(Element* element) element 242 Source/core/html/parser/HTMLElementStack.cpp popUntil(element); element 328 Source/core/html/parser/HTMLElementStack.cpp m_headElement = item->element(); element 336 Source/core/html/parser/HTMLElementStack.cpp m_bodyElement = item->element(); element 369 Source/core/html/parser/HTMLElementStack.cpp recordAbove->next()->element()->beginParsingChildren(); element 391 Source/core/html/parser/HTMLElementStack.cpp void HTMLElementStack::removeHTMLHeadElement(Element* element) element 393 Source/core/html/parser/HTMLElementStack.cpp ASSERT(m_headElement == element); element 394 Source/core/html/parser/HTMLElementStack.cpp if (m_top->element() == element) { element 399 Source/core/html/parser/HTMLElementStack.cpp removeNonTopCommon(element); element 402 Source/core/html/parser/HTMLElementStack.cpp void HTMLElementStack::remove(Element* element) element 404 Source/core/html/parser/HTMLElementStack.cpp ASSERT(!isHTMLHeadElement(element)); element 405 Source/core/html/parser/HTMLElementStack.cpp if (m_top->element() == element) { element 409 Source/core/html/parser/HTMLElementStack.cpp removeNonTopCommon(element); element 412 Source/core/html/parser/HTMLElementStack.cpp HTMLElementStack::ElementRecord* HTMLElementStack::find(Element* element) const element 415 Source/core/html/parser/HTMLElementStack.cpp if (pos->node() == element) element 430 Source/core/html/parser/HTMLElementStack.cpp bool HTMLElementStack::contains(Element* element) const element 432 Source/core/html/parser/HTMLElementStack.cpp return !!find(element); element 578 Source/core/html/parser/HTMLElementStack.cpp void HTMLElementStack::removeNonTopCommon(Element* element) element 580 Source/core/html/parser/HTMLElementStack.cpp ASSERT(!isHTMLHtmlElement(element)); element 581 Source/core/html/parser/HTMLElementStack.cpp ASSERT(!isHTMLBodyElement(element)); element 582 Source/core/html/parser/HTMLElementStack.cpp ASSERT(top() != element); element 584 Source/core/html/parser/HTMLElementStack.cpp if (pos->next()->element() == element) { element 587 Source/core/html/parser/HTMLElementStack.cpp element->finishParsingChildren(); element 600 Source/core/html/parser/HTMLElementStack.cpp if (pos->element() == formattingElement) element 614 Source/core/html/parser/HTMLElementStack.cpp record->element()->showNode(); element 57 Source/core/html/parser/HTMLElementStack.h Element* element() const { return m_item->element(); } element 84 Source/core/html/parser/HTMLElementStack.h ASSERT(m_top->element()); element 85 Source/core/html/parser/HTMLElementStack.h return m_top->element(); element 55 Source/core/html/parser/HTMLFormattingElementList.cpp return entry.element(); element 60 Source/core/html/parser/HTMLFormattingElementList.cpp bool HTMLFormattingElementList::contains(Element* element) element 62 Source/core/html/parser/HTMLFormattingElementList.cpp return !!find(element); element 65 Source/core/html/parser/HTMLFormattingElementList.cpp HTMLFormattingElementList::Entry* HTMLFormattingElementList::find(Element* element) element 67 Source/core/html/parser/HTMLFormattingElementList.cpp size_t index = m_entries.reverseFind(element); element 75 Source/core/html/parser/HTMLFormattingElementList.cpp HTMLFormattingElementList::Bookmark HTMLFormattingElementList::bookmarkFor(Element* element) element 77 Source/core/html/parser/HTMLFormattingElementList.cpp size_t index = m_entries.reverseFind(element); element 85 Source/core/html/parser/HTMLFormattingElementList.cpp ASSERT(!contains(newItem->element())); element 87 Source/core/html/parser/HTMLFormattingElementList.cpp ASSERT(bookmark.mark()->element() == oldElement); element 103 Source/core/html/parser/HTMLFormattingElementList.cpp void HTMLFormattingElementList::remove(Element* element) element 105 Source/core/html/parser/HTMLFormattingElementList.cpp size_t index = m_entries.reverseFind(element); element 200 Source/core/html/parser/HTMLFormattingElementList.cpp remove(candidates[i]->element()); element 212 Source/core/html/parser/HTMLFormattingElementList.cpp entry.element()->showNode(); element 65 Source/core/html/parser/HTMLFormattingElementList.h Element* element() const element 70 Source/core/html/parser/HTMLFormattingElementList.h return m_item->element(); element 75 Source/core/html/parser/HTMLFormattingElementList.h bool operator==(Element* element) const { return !m_item ? !element : m_item->element() == element; } element 76 Source/core/html/parser/HTMLFormattingElementList.h bool operator!=(Element* element) const { return !m_item ? !!element : m_item->element() != element; } element 101 Source/core/html/parser/HTMLScriptRunner.cpp return ScriptSourceCode(script.element()->textContent(), documentURLForScriptExecution(m_document), script.startingPosition()); element 145 Source/core/html/parser/HTMLScriptRunner.cpp RefPtr<Element> element = pendingScript.releaseElementAndClear(); element 146 Source/core/html/parser/HTMLScriptRunner.cpp if (ScriptLoader* scriptLoader = toScriptLoaderIfPossible(element.get())) { element 154 Source/core/html/parser/HTMLScriptRunner.cpp element->dispatchEvent(createScriptLoadEvent()); element 199 Source/core/html/parser/HTMLScriptRunner.cpp return !!m_parserBlockingScript.element(); element 247 Source/core/html/parser/HTMLScriptRunner.cpp void HTMLScriptRunner::requestParsingBlockingScript(Element* element) element 249 Source/core/html/parser/HTMLScriptRunner.cpp if (!requestPendingScript(m_parserBlockingScript, element)) element 261 Source/core/html/parser/HTMLScriptRunner.cpp void HTMLScriptRunner::requestDeferredScript(Element* element) element 264 Source/core/html/parser/HTMLScriptRunner.cpp if (!requestPendingScript(pendingScript, element)) element 273 Source/core/html/parser/HTMLScriptRunner.cpp ASSERT(!pendingScript.element()); element 61 Source/core/html/parser/HTMLStackItem.h Element* element() const { return toElement(m_node.get()); } element 137 Source/core/html/parser/HTMLTreeBuilder.cpp static HTMLFormElement* closestFormAncestor(Element& element) element 140 Source/core/html/parser/HTMLTreeBuilder.cpp return Traversal<HTMLFormElement>::firstAncestorOrSelf(element); element 1449 Source/core/html/parser/HTMLTreeBuilder.cpp m_tree.openElements()->popUntilPopped(item->element()); element 1517 Source/core/html/parser/HTMLTreeBuilder.cpp if (!m_tree.activeFormattingElements()->contains(node->element())) { element 1518 Source/core/html/parser/HTMLTreeBuilder.cpp m_tree.openElements()->remove(node->element()); element 1528 Source/core/html/parser/HTMLTreeBuilder.cpp HTMLFormattingElementList::Entry* nodeEntry = m_tree.activeFormattingElements()->find(node->element()); element 2753 Source/core/html/parser/HTMLTreeBuilder.cpp m_tree.openElements()->popUntilPopped(nodeRecord->element()); element 203 Source/core/html/parser/HTMLTreeBuilder.h Element* contextElement() const { ASSERT(m_fragment); return m_contextElementStackItem->element(); } element 48 Source/core/html/shadow/ClearButtonElement.cpp RefPtr<ClearButtonElement> element = adoptRef(new ClearButtonElement(document, clearButtonOwner)); element 49 Source/core/html/shadow/ClearButtonElement.cpp element->setShadowPseudoId(AtomicString("-webkit-clear-button", AtomicString::ConstructFromLiteral)); element 50 Source/core/html/shadow/ClearButtonElement.cpp element->setAttribute(idAttr, ShadowElementNames::clearButton()); element 51 Source/core/html/shadow/ClearButtonElement.cpp return element.release(); element 59 Source/core/html/shadow/ClearButtonElement.h DEFINE_TYPE_CASTS(ClearButtonElement, Element, element, element->isClearButtonElement(), element.isClearButtonElement()); element 404 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<HTMLDivElement> element = HTMLDivElement::create(m_editElement.document()); element 405 Source/core/html/shadow/DateTimeEditElement.cpp element->setShadowPseudoId(textPseudoId); element 409 Source/core/html/shadow/DateTimeEditElement.cpp element->appendChild(Text::create(m_editElement.document(), String(&rightToLeftMark, 1))); element 411 Source/core/html/shadow/DateTimeEditElement.cpp element->appendChild(Text::create(m_editElement.document(), text)); element 412 Source/core/html/shadow/DateTimeEditElement.cpp m_editElement.fieldsWrapperElement()->appendChild(element); element 654 Source/core/html/shadow/DateTimeEditElement.cpp RefPtr<HTMLDivElement> element = HTMLDivElement::create(document()); element 655 Source/core/html/shadow/DateTimeEditElement.cpp element->setShadowPseudoId(fieldsWrapperPseudoId); element 656 Source/core/html/shadow/DateTimeEditElement.cpp appendChild(element.get()); element 152 Source/core/html/shadow/DateTimeEditElement.h DEFINE_TYPE_CASTS(DateTimeEditElement, Element, element, element->isDateTimeEditElement(), element.isDateTimeEditElement()); element 55 Source/core/html/shadow/DetailsMarkerControl.h RefPtr<DetailsMarkerControl> element = adoptRef(new DetailsMarkerControl(document)); element 56 Source/core/html/shadow/DetailsMarkerControl.h element->setShadowPseudoId(AtomicString("-webkit-details-marker", AtomicString::ConstructFromLiteral)); element 57 Source/core/html/shadow/DetailsMarkerControl.h return element.release(); element 64 Source/core/html/shadow/MediaControlElementTypes.cpp HTMLElement* element = toHTMLElement(node); element 65 Source/core/html/shadow/MediaControlElementTypes.cpp if (isHTMLInputElement(*element)) element 66 Source/core/html/shadow/MediaControlElementTypes.cpp return static_cast<MediaControlInputElement*>(element)->displayType(); element 67 Source/core/html/shadow/MediaControlElementTypes.cpp return static_cast<MediaControlDivElement*>(element)->displayType(); element 70 Source/core/html/shadow/MediaControlElementTypes.cpp MediaControlElement::MediaControlElement(MediaControls& mediaControls, MediaControlElementType displayType, HTMLElement* element) element 73 Source/core/html/shadow/MediaControlElementTypes.cpp , m_element(element) element 560 Source/core/html/shadow/MediaControlElements.cpp RefPtr<MediaControlTextTrackContainerElement> element = adoptRef(new MediaControlTextTrackContainerElement(mediaControls)); element 561 Source/core/html/shadow/MediaControlElements.cpp element->hide(); element 562 Source/core/html/shadow/MediaControlElements.cpp return element.release(); element 68 Source/core/html/shadow/MeterShadowElement.cpp RefPtr<MeterInnerElement> element = adoptRef(new MeterInnerElement(document)); element 69 Source/core/html/shadow/MeterShadowElement.cpp element->setShadowPseudoId(AtomicString("-webkit-meter-inner-element", AtomicString::ConstructFromLiteral)); element 70 Source/core/html/shadow/MeterShadowElement.cpp return element.release(); element 94 Source/core/html/shadow/MeterShadowElement.cpp RefPtr<MeterBarElement> element = adoptRef(new MeterBarElement(document)); element 95 Source/core/html/shadow/MeterShadowElement.cpp element->setShadowPseudoId(AtomicString("-webkit-meter-bar", AtomicString::ConstructFromLiteral)); element 96 Source/core/html/shadow/MeterShadowElement.cpp return element.release(); element 106 Source/core/html/shadow/MeterShadowElement.cpp RefPtr<MeterValueElement> element = adoptRef(new MeterValueElement(document)); element 107 Source/core/html/shadow/MeterShadowElement.cpp element->updatePseudo(); element 108 Source/core/html/shadow/MeterShadowElement.cpp return element.release(); element 58 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp RefPtr<PasswordGeneratorButtonElement> element = adoptRef(new PasswordGeneratorButtonElement(document)); element 59 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp element->setAttribute(idAttr, ShadowElementNames::passwordGenerator()); element 60 Source/core/html/shadow/PasswordGeneratorButtonElement.cpp return element.release(); element 55 Source/core/html/shadow/PickerIndicatorElement.cpp RefPtr<PickerIndicatorElement> element = adoptRef(new PickerIndicatorElement(document, pickerIndicatorOwner)); element 56 Source/core/html/shadow/PickerIndicatorElement.cpp element->setShadowPseudoId(AtomicString("-webkit-calendar-picker-indicator", AtomicString::ConstructFromLiteral)); element 57 Source/core/html/shadow/PickerIndicatorElement.cpp element->setAttribute(idAttr, ShadowElementNames::pickerIndicator()); element 58 Source/core/html/shadow/PickerIndicatorElement.cpp return element.release(); element 83 Source/core/html/shadow/PickerIndicatorElement.h DEFINE_TYPE_CASTS(PickerIndicatorElement, Element, element, element->isPickerIndicatorElement(), element.isPickerIndicatorElement()); element 55 Source/core/html/shadow/SliderThumbElement.cpp inline static Decimal sliderPosition(HTMLInputElement* element) element 57 Source/core/html/shadow/SliderThumbElement.cpp const StepRange stepRange(element->createStepRange(RejectAny)); element 58 Source/core/html/shadow/SliderThumbElement.cpp const Decimal oldValue = parseToDecimalForNumberType(element->value(), stepRange.defaultValue()); element 72 Source/core/html/shadow/SliderThumbElement.cpp RenderSliderThumb::RenderSliderThumb(SliderThumbElement* element) element 73 Source/core/html/shadow/SliderThumbElement.cpp : RenderBlockFlow(element) element 104 Source/core/html/shadow/SliderThumbElement.cpp RenderSliderContainer(SliderContainerElement* element) element 105 Source/core/html/shadow/SliderThumbElement.cpp : RenderFlexibleBox(element) { } element 203 Source/core/html/shadow/SliderThumbElement.cpp RefPtr<SliderThumbElement> element = adoptRef(new SliderThumbElement(document)); element 204 Source/core/html/shadow/SliderThumbElement.cpp element->setAttribute(idAttr, ShadowElementNames::sliderThumb()); element 205 Source/core/html/shadow/SliderThumbElement.cpp return element.release(); element 57 Source/core/html/shadow/SpinButtonElement.cpp RefPtr<SpinButtonElement> element = adoptRef(new SpinButtonElement(document, spinButtonOwner)); element 58 Source/core/html/shadow/SpinButtonElement.cpp element->setShadowPseudoId(AtomicString("-webkit-inner-spin-button", AtomicString::ConstructFromLiteral)); element 59 Source/core/html/shadow/SpinButtonElement.cpp element->setAttribute(idAttr, ShadowElementNames::spinButton()); element 60 Source/core/html/shadow/SpinButtonElement.cpp return element.release(); element 57 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<TextControlInnerContainer> element = adoptRef(new TextControlInnerContainer(document)); element 58 Source/core/html/shadow/TextControlInnerElements.cpp element->setAttribute(idAttr, ShadowElementNames::textFieldContainer()); element 59 Source/core/html/shadow/TextControlInnerElements.cpp return element.release(); element 77 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<EditingViewPortElement> element = adoptRef(new EditingViewPortElement(document)); element 78 Source/core/html/shadow/TextControlInnerElements.cpp element->setAttribute(idAttr, ShadowElementNames::editingViewPort()); element 79 Source/core/html/shadow/TextControlInnerElements.cpp return element.release(); element 111 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<TextControlInnerTextElement> element = adoptRef(new TextControlInnerTextElement(document)); element 112 Source/core/html/shadow/TextControlInnerElements.cpp element->setAttribute(idAttr, ShadowElementNames::innerEditor()); element 113 Source/core/html/shadow/TextControlInnerElements.cpp return element.release(); element 158 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<SearchFieldDecorationElement> element = adoptRef(new SearchFieldDecorationElement(document)); element 159 Source/core/html/shadow/TextControlInnerElements.cpp element->setAttribute(idAttr, ShadowElementNames::searchDecoration()); element 160 Source/core/html/shadow/TextControlInnerElements.cpp return element.release(); element 207 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<SearchFieldCancelButtonElement> element = adoptRef(new SearchFieldCancelButtonElement(document)); element 208 Source/core/html/shadow/TextControlInnerElements.cpp element->setShadowPseudoId(AtomicString("-webkit-search-cancel-button", AtomicString::ConstructFromLiteral)); element 209 Source/core/html/shadow/TextControlInnerElements.cpp element->setAttribute(idAttr, ShadowElementNames::clearButton()); element 210 Source/core/html/shadow/TextControlInnerElements.cpp return element.release(); element 277 Source/core/html/shadow/TextControlInnerElements.cpp RefPtr<InputFieldSpeechButtonElement> element = adoptRef(new InputFieldSpeechButtonElement(document)); element 278 Source/core/html/shadow/TextControlInnerElements.cpp element->setShadowPseudoId(AtomicString("-webkit-input-speech-button", AtomicString::ConstructFromLiteral)); element 279 Source/core/html/shadow/TextControlInnerElements.cpp element->setAttribute(idAttr, ShadowElementNames::speechButton()); element 280 Source/core/html/shadow/TextControlInnerElements.cpp return element.release(); element 140 Source/core/html/shadow/TextControlInnerElements.h DEFINE_TYPE_CASTS(InputFieldSpeechButtonElement, Element, element, element->isInputFieldSpeechButtonElement(), element.isInputFieldSpeechButtonElement()); element 133 Source/core/inspector/DOMEditor.cpp RemoveAttributeAction(Element* element, const AtomicString& name) element 135 Source/core/inspector/DOMEditor.cpp , m_element(element) element 167 Source/core/inspector/DOMEditor.cpp SetAttributeAction(Element* element, const AtomicString& name, const AtomicString& value) element 169 Source/core/inspector/DOMEditor.cpp , m_element(element) element 372 Source/core/inspector/DOMEditor.cpp bool DOMEditor::setAttribute(Element* element, const String& name, const String& value, ExceptionState& exceptionState) element 374 Source/core/inspector/DOMEditor.cpp return m_history->perform(adoptRef(new SetAttributeAction(element, AtomicString(name), AtomicString(value))), exceptionState); element 377 Source/core/inspector/DOMEditor.cpp bool DOMEditor::removeAttribute(Element* element, const String& name, ExceptionState& exceptionState) element 379 Source/core/inspector/DOMEditor.cpp return m_history->perform(adoptRef(new RemoveAttributeAction(element, AtomicString(name))), exceptionState); element 428 Source/core/inspector/DOMEditor.cpp bool DOMEditor::setAttribute(Element* element, const String& name, const String& value, ErrorString* errorString) element 431 Source/core/inspector/DOMEditor.cpp bool result = setAttribute(element, name, value, exceptionState); element 436 Source/core/inspector/DOMEditor.cpp bool DOMEditor::removeAttribute(Element* element, const String& name, ErrorString* errorString) element 439 Source/core/inspector/DOMEditor.cpp bool result = removeAttribute(element, name, exceptionState); element 430 Source/core/inspector/DOMPatchSupport.cpp Element* element = toElement(node); element 432 Source/core/inspector/DOMPatchSupport.cpp if (element->hasAttributesWithoutUpdate()) { element 433 Source/core/inspector/DOMPatchSupport.cpp size_t numAttrs = element->attributeCount(); element 436 Source/core/inspector/DOMPatchSupport.cpp const Attribute& attribute = element->attributeItem(i); element 637 Source/core/inspector/InspectorCSSAgent.cpp bool InspectorCSSAgent::forcePseudoState(Element* element, CSSSelector::PseudoType pseudoType) element 642 Source/core/inspector/InspectorCSSAgent.cpp int nodeId = m_domAgent->boundNodeId(element); element 667 Source/core/inspector/InspectorCSSAgent.cpp Element* element = elementForId(errorString, nodeId); element 668 Source/core/inspector/InspectorCSSAgent.cpp if (!element) element 671 Source/core/inspector/InspectorCSSAgent.cpp Element* originalElement = element; element 672 Source/core/inspector/InspectorCSSAgent.cpp PseudoId elementPseudoId = element->pseudoId(); element 674 Source/core/inspector/InspectorCSSAgent.cpp element = element->parentOrShadowHostElement(); element 676 Source/core/inspector/InspectorCSSAgent.cpp Document* ownerDocument = element->ownerDocument(); element 688 Source/core/inspector/InspectorCSSAgent.cpp RefPtrWillBeRawPtr<CSSRuleList> matchedRules = styleResolver.pseudoCSSRulesForElement(element, elementPseudoId, StyleResolver::AllCSSRules); element 695 Source/core/inspector/InspectorCSSAgent.cpp RefPtrWillBeRawPtr<CSSRuleList> matchedRules = styleResolver.pseudoCSSRulesForElement(element, pseudoId, StyleResolver::AllCSSRules); element 699 Source/core/inspector/InspectorCSSAgent.cpp .setMatches(buildArrayForMatchedRuleList(matchedRules.get(), element)); element 710 Source/core/inspector/InspectorCSSAgent.cpp Element* parentElement = element->parentElement(); element 732 Source/core/inspector/InspectorCSSAgent.cpp Element* element = elementForId(errorString, nodeId); element 733 Source/core/inspector/InspectorCSSAgent.cpp if (!element) element 736 Source/core/inspector/InspectorCSSAgent.cpp InspectorStyleSheetForInlineStyle* styleSheet = asInspectorStyleSheet(element); element 740 Source/core/inspector/InspectorCSSAgent.cpp inlineStyle = styleSheet->buildObjectForStyle(element->style()); element 741 Source/core/inspector/InspectorCSSAgent.cpp RefPtr<TypeBuilder::CSS::CSSStyle> attributes = buildObjectForAttributesStyle(element); element 971 Source/core/inspector/InspectorCSSAgent.cpp Element* element = m_domAgent->assertElement(errorString, nodeId); element 972 Source/core/inspector/InspectorCSSAgent.cpp if (!element) element 986 Source/core/inspector/InspectorCSSAgent.cpp element->ownerDocument()->setNeedsStyleRecalc(SubtreeStyleChange); element 1095 Source/core/inspector/InspectorCSSAgent.cpp InspectorStyleSheetForInlineStyle* InspectorCSSAgent::asInspectorStyleSheet(Element* element) element 1097 Source/core/inspector/InspectorCSSAgent.cpp NodeToInspectorStyleSheet::iterator it = m_nodeToInspectorStyleSheet.find(element); element 1101 Source/core/inspector/InspectorCSSAgent.cpp CSSStyleDeclaration* style = element->isStyledElement() ? element->style() : 0; element 1106 Source/core/inspector/InspectorCSSAgent.cpp RefPtr<InspectorStyleSheetForInlineStyle> inspectorStyleSheet = InspectorStyleSheetForInlineStyle::create(newStyleSheetId, element, this); element 1108 Source/core/inspector/InspectorCSSAgent.cpp m_nodeToInspectorStyleSheet.set(element, inspectorStyleSheet); element 1293 Source/core/inspector/InspectorCSSAgent.cpp PassRefPtr<TypeBuilder::Array<TypeBuilder::CSS::RuleMatch> > InspectorCSSAgent::buildArrayForMatchedRuleList(CSSRuleList* ruleList, Element* element) element 1307 Source/core/inspector/InspectorCSSAgent.cpp PseudoId elementPseudoId = element->pseudoId(); element 1313 Source/core/inspector/InspectorCSSAgent.cpp matched |= element->matches(firstTagHistorySelector->selectorText(), IGNORE_EXCEPTION); element 1327 Source/core/inspector/InspectorCSSAgent.cpp PassRefPtr<TypeBuilder::CSS::CSSStyle> InspectorCSSAgent::buildObjectForAttributesStyle(Element* element) element 1329 Source/core/inspector/InspectorCSSAgent.cpp if (!element->isStyledElement()) element 1333 Source/core/inspector/InspectorCSSAgent.cpp StylePropertySet* attributeStyle = const_cast<StylePropertySet*>(element->presentationAttributeStyle()); element 1366 Source/core/inspector/InspectorCSSAgent.cpp void InspectorCSSAgent::didModifyDOMAttr(Element* element) element 1368 Source/core/inspector/InspectorCSSAgent.cpp if (!element) element 1371 Source/core/inspector/InspectorCSSAgent.cpp NodeToInspectorStyleSheet::iterator it = m_nodeToInspectorStyleSheet.find(element); element 1400 Source/core/inspector/InspectorCSSAgent.cpp Element* element = toElement(m_domAgent->nodeForId(it->key)); element 1401 Source/core/inspector/InspectorCSSAgent.cpp if (element && element->ownerDocument()) element 1402 Source/core/inspector/InspectorCSSAgent.cpp documentsToChange.add(element->ownerDocument()); element 158 Source/core/inspector/InspectorCSSAgent.h InspectorStyleSheetForInlineStyle* asInspectorStyleSheet(Element* element); element 201 Source/core/inspector/InspectorDOMAgent.cpp void RevalidateStyleAttributeTask::scheduleFor(Element* element) element 203 Source/core/inspector/InspectorDOMAgent.cpp m_elements.add(element); element 359 Source/core/inspector/InspectorDOMAgent.cpp Element* element = toElement(node); element 360 Source/core/inspector/InspectorDOMAgent.cpp if (element->pseudoElement(BEFORE)) element 361 Source/core/inspector/InspectorDOMAgent.cpp unbind(element->pseudoElement(BEFORE), nodesMap); element 362 Source/core/inspector/InspectorDOMAgent.cpp if (element->pseudoElement(AFTER)) element 363 Source/core/inspector/InspectorDOMAgent.cpp unbind(element->pseudoElement(AFTER), nodesMap); element 365 Source/core/inspector/InspectorDOMAgent.cpp if (isHTMLLinkElement(*element)) { element 366 Source/core/inspector/InspectorDOMAgent.cpp HTMLLinkElement& linkElement = toHTMLLinkElement(*element); element 467 Source/core/inspector/InspectorDOMAgent.cpp Element* element = assertElement(errorString, nodeId); element 468 Source/core/inspector/InspectorDOMAgent.cpp if (!element) element 471 Source/core/inspector/InspectorDOMAgent.cpp if (element->isInShadowTree() && userAgentShadowRoot(element)) { element 476 Source/core/inspector/InspectorDOMAgent.cpp if (element->isPseudoElement()) { element 481 Source/core/inspector/InspectorDOMAgent.cpp return element; element 595 Source/core/inspector/InspectorDOMAgent.cpp RefPtr<Element> element = toContainerNode(node)->querySelector(AtomicString(selectors), exceptionState); element 601 Source/core/inspector/InspectorDOMAgent.cpp if (element) element 602 Source/core/inspector/InspectorDOMAgent.cpp *elementId = pushNodePathToFrontend(element.get()); element 709 Source/core/inspector/InspectorDOMAgent.cpp Element* element = assertEditableElement(errorString, elementId); element 710 Source/core/inspector/InspectorDOMAgent.cpp if (!element) element 713 Source/core/inspector/InspectorDOMAgent.cpp m_domEditor->setAttribute(element, name, value, errorString); element 718 Source/core/inspector/InspectorDOMAgent.cpp Element* element = assertEditableElement(errorString, elementId); element 719 Source/core/inspector/InspectorDOMAgent.cpp if (!element) element 723 Source/core/inspector/InspectorDOMAgent.cpp RefPtr<DocumentFragment> fragment = element->document().createDocumentFragment(); element 725 Source/core/inspector/InspectorDOMAgent.cpp bool shouldIgnoreCase = element->document().isHTMLDocument() && element->isHTMLElement(); element 727 Source/core/inspector/InspectorDOMAgent.cpp if (shouldIgnoreCase && element->document().body()) element 728 Source/core/inspector/InspectorDOMAgent.cpp fragment->parseHTML(markup, element->document().body(), AllowScriptingContent); element 741 Source/core/inspector/InspectorDOMAgent.cpp m_domEditor->removeAttribute(element, caseAdjustedName, errorString); element 754 Source/core/inspector/InspectorDOMAgent.cpp if (!m_domEditor->setAttribute(element, attributeName, attribute.value(), errorString)) element 759 Source/core/inspector/InspectorDOMAgent.cpp m_domEditor->removeAttribute(element, caseAdjustedName, errorString); element 764 Source/core/inspector/InspectorDOMAgent.cpp Element* element = assertEditableElement(errorString, elementId); element 765 Source/core/inspector/InspectorDOMAgent.cpp if (!element) element 768 Source/core/inspector/InspectorDOMAgent.cpp m_domEditor->removeAttribute(element, name, errorString); element 1002 Source/core/inspector/InspectorDOMAgent.cpp const Element* element = toElement(node); element 1003 Source/core/inspector/InspectorDOMAgent.cpp if (!element->hasAttributes()) element 1006 Source/core/inspector/InspectorDOMAgent.cpp unsigned numAttrs = element->attributeCount(); element 1009 Source/core/inspector/InspectorDOMAgent.cpp const Attribute& attribute = element->attributeItem(i); element 1345 Source/core/inspector/InspectorDOMAgent.cpp Element* element = assertElement(errorString, nodeId); element 1346 Source/core/inspector/InspectorDOMAgent.cpp if (!element) element 1349 Source/core/inspector/InspectorDOMAgent.cpp element->document().updateLayoutIgnorePendingStylesheets(); element 1350 Source/core/inspector/InspectorDOMAgent.cpp if (!element->isFocusable()) { element 1354 Source/core/inspector/InspectorDOMAgent.cpp element->focus(); element 1453 Source/core/inspector/InspectorDOMAgent.cpp Element* element = assertElement(errorString, nodeId); element 1454 Source/core/inspector/InspectorDOMAgent.cpp if (!element) element 1457 Source/core/inspector/InspectorDOMAgent.cpp result = buildArrayForElementAttributes(element); element 1531 Source/core/inspector/InspectorDOMAgent.cpp Element* element = toElement(node); element 1532 Source/core/inspector/InspectorDOMAgent.cpp value->setAttributes(buildArrayForElementAttributes(element)); element 1543 Source/core/inspector/InspectorDOMAgent.cpp ElementShadow* shadow = element->shadow(); element 1552 Source/core/inspector/InspectorDOMAgent.cpp if (isHTMLLinkElement(*element)) { element 1553 Source/core/inspector/InspectorDOMAgent.cpp HTMLLinkElement& linkElement = toHTMLLinkElement(*element); element 1559 Source/core/inspector/InspectorDOMAgent.cpp if (isHTMLTemplateElement(*element)) { element 1560 Source/core/inspector/InspectorDOMAgent.cpp value->setTemplateContent(buildObjectForNode(toHTMLTemplateElement(*element).content(), 0, nodesMap)); element 1564 Source/core/inspector/InspectorDOMAgent.cpp switch (element->pseudoId()) { element 1572 Source/core/inspector/InspectorDOMAgent.cpp RefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > pseudoElements = buildArrayForPseudoElements(element, nodesMap); element 1613 Source/core/inspector/InspectorDOMAgent.cpp PassRefPtr<TypeBuilder::Array<String> > InspectorDOMAgent::buildArrayForElementAttributes(Element* element) element 1617 Source/core/inspector/InspectorDOMAgent.cpp if (!element->hasAttributes()) element 1619 Source/core/inspector/InspectorDOMAgent.cpp unsigned numAttrs = element->attributeCount(); element 1622 Source/core/inspector/InspectorDOMAgent.cpp const Attribute& attribute = element->attributeItem(i); element 1694 Source/core/inspector/InspectorDOMAgent.cpp PassRefPtr<TypeBuilder::Array<TypeBuilder::DOM::Node> > InspectorDOMAgent::buildArrayForPseudoElements(Element* element, NodeToIdMap* nodesMap) element 1696 Source/core/inspector/InspectorDOMAgent.cpp if (!element->pseudoElement(BEFORE) && !element->pseudoElement(AFTER)) element 1700 Source/core/inspector/InspectorDOMAgent.cpp if (element->pseudoElement(BEFORE)) element 1701 Source/core/inspector/InspectorDOMAgent.cpp pseudoElements->addItem(buildObjectForNode(element->pseudoElement(BEFORE), 0, nodesMap)); element 1702 Source/core/inspector/InspectorDOMAgent.cpp if (element->pseudoElement(AFTER)) element 1703 Source/core/inspector/InspectorDOMAgent.cpp pseudoElements->addItem(buildObjectForNode(element->pseudoElement(AFTER), 0, nodesMap)); element 1865 Source/core/inspector/InspectorDOMAgent.cpp void InspectorDOMAgent::didModifyDOMAttr(Element* element, const AtomicString& name, const AtomicString& value) element 1872 Source/core/inspector/InspectorDOMAgent.cpp int id = boundNodeId(element); element 1878 Source/core/inspector/InspectorDOMAgent.cpp m_domListener->didModifyDOMAttr(element); element 1883 Source/core/inspector/InspectorDOMAgent.cpp void InspectorDOMAgent::didRemoveDOMAttr(Element* element, const AtomicString& name) element 1885 Source/core/inspector/InspectorDOMAgent.cpp int id = boundNodeId(element); element 1891 Source/core/inspector/InspectorDOMAgent.cpp m_domListener->didModifyDOMAttr(element); element 1900 Source/core/inspector/InspectorDOMAgent.cpp Element* element = elements.at(i); element 1901 Source/core/inspector/InspectorDOMAgent.cpp int id = boundNodeId(element); element 1907 Source/core/inspector/InspectorDOMAgent.cpp m_domListener->didModifyDOMAttr(element); element 316 Source/core/inspector/InspectorDOMDebuggerAgent.cpp void InspectorDOMDebuggerAgent::willModifyDOMAttr(Element* element, const AtomicString&, const AtomicString&) element 318 Source/core/inspector/InspectorDOMDebuggerAgent.cpp if (hasBreakpoint(element, AttributeModified)) { element 320 Source/core/inspector/InspectorDOMDebuggerAgent.cpp descriptionForDOMEvent(element, AttributeModified, false, eventData.get()); element 511 Source/core/inspector/InspectorOverlay.cpp Element* element = toElement(node); element 512 Source/core/inspector/InspectorOverlay.cpp Element* realElement = element; element 514 Source/core/inspector/InspectorOverlay.cpp if (element->isPseudoElement()) { element 515 Source/core/inspector/InspectorOverlay.cpp pseudoElement = toPseudoElement(element); element 516 Source/core/inspector/InspectorOverlay.cpp realElement = element->parentOrShadowHostElement(); element 1530 Source/core/inspector/InspectorStyleSheet.cpp PassRefPtr<InspectorStyleSheetForInlineStyle> InspectorStyleSheetForInlineStyle::create(const String& id, PassRefPtr<Element> element, Listener* listener) element 1532 Source/core/inspector/InspectorStyleSheet.cpp return adoptRef(new InspectorStyleSheetForInlineStyle(id, element, listener)); element 1535 Source/core/inspector/InspectorStyleSheet.cpp InspectorStyleSheetForInlineStyle::InspectorStyleSheetForInlineStyle(const String& id, PassRefPtr<Element> element, Listener* listener) element 1537 Source/core/inspector/InspectorStyleSheet.cpp , m_element(element) element 218 Source/core/loader/FormSubmission.cpp HTMLElement& element = toHTMLElement(*control); element 219 Source/core/loader/FormSubmission.cpp if (!element.isDisabledFormControl()) element 221 Source/core/loader/FormSubmission.cpp if (isHTMLInputElement(element)) { element 222 Source/core/loader/FormSubmission.cpp HTMLInputElement& input = toHTMLInputElement(element); element 58 Source/core/loader/ImageLoader.cpp ImageLoader::ImageLoader(Element* element) element 59 Source/core/loader/ImageLoader.cpp : m_element(element) element 142 Source/core/loader/ImageLoader.cpp FetchRequest request(ResourceRequest(document.completeURL(sourceURI(attr))), element()->localName()); element 339 Source/core/loader/ImageLoader.cpp if (element()->document().frame()) element 352 Source/core/loader/ImageLoader.cpp if (element()->document().frame()) element 353 Source/core/loader/ImageLoader.cpp element()->dispatchEvent(Event::create(EventTypeNames::error)); element 70 Source/core/loader/ImageLoader.h Element* element() const { return m_element; } element 367 Source/core/page/DragController.cpp Element* element = elementUnderMouse(m_documentUnderMouse.get(), point); element 368 Source/core/page/DragController.cpp if (!element) element 371 Source/core/page/DragController.cpp HTMLInputElement* elementAsFileInput = asFileInput(element); element 381 Source/core/page/DragController.cpp LocalFrame* innerFrame = element->document().frame(); element 460 Source/core/page/DragController.cpp Element* element = elementUnderMouse(m_documentUnderMouse.get(), point); element 461 Source/core/page/DragController.cpp if (!element) element 463 Source/core/page/DragController.cpp RefPtr<LocalFrame> innerFrame = element->ownerDocument()->frame(); element 472 Source/core/page/DragController.cpp ASSERT(fileInput == element || !fileInput->renderer()); element 693 Source/core/page/DragController.cpp static ImageResource* getImageResource(Element* element) element 695 Source/core/page/DragController.cpp ASSERT(element); element 696 Source/core/page/DragController.cpp RenderObject* renderer = element->renderer(); element 703 Source/core/page/DragController.cpp static Image* getImage(Element* element) element 705 Source/core/page/DragController.cpp ASSERT(element); element 706 Source/core/page/DragController.cpp ImageResource* cachedImage = getImageResource(element); element 758 Source/core/page/DragController.cpp Element* element = toElement(node); element 759 Source/core/page/DragController.cpp prepareClipboardForImageDrag(src, clipboard, element, linkURL, imageURL, hitTestResult.altDisplayString()); element 803 Source/core/page/DragController.cpp static PassOwnPtr<DragImage> dragImageForImage(Element* element, Image* image, const IntPoint& dragOrigin, const IntRect& imageRect, IntPoint& dragLocation) element 809 Source/core/page/DragController.cpp && (dragImage = DragImage::create(image, element->renderer() ? element->renderer()->shouldRespectImageOrientation() : DoNotRespectImageOrientation))) { element 886 Source/core/page/DragController.cpp Element* element = toElement(node); element 887 Source/core/page/DragController.cpp Image* image = getImage(element); element 894 Source/core/page/DragController.cpp dragImage = dragImageForImage(element, image, dragOrigin, hitTestResult.imageRect(), dragLocation); element 1778 Source/core/page/EventHandler.cpp Element* element = target->isElementNode() ? toElement(target) : target->parentElement(); element 1779 Source/core/page/EventHandler.cpp for (; element; element = element->parentElement()) { element 1781 Source/core/page/EventHandler.cpp AtomicString dropZoneStr = element->fastGetAttribute(webkitdropzoneAttr); element 2065 Source/core/page/EventHandler.cpp Element* element = 0; element 2067 Source/core/page/EventHandler.cpp element = m_nodeUnderMouse->isElementNode() ? toElement(m_nodeUnderMouse) : m_nodeUnderMouse->parentOrShadowHostElement(); element 2068 Source/core/page/EventHandler.cpp for (; element; element = element->parentOrShadowHostElement()) { element 2069 Source/core/page/EventHandler.cpp if (element->isFocusable() && element->focused()) element 2071 Source/core/page/EventHandler.cpp if (element->isMouseFocusable()) element 2074 Source/core/page/EventHandler.cpp ASSERT(!element || element->isMouseFocusable()); element 2081 Source/core/page/EventHandler.cpp if (element element 2083 Source/core/page/EventHandler.cpp && m_frame->selection().toNormalizedRange()->compareNode(element, IGNORE_EXCEPTION) == Range::NODE_INSIDE element 2084 Source/core/page/EventHandler.cpp && element->isDescendantOf(m_frame->document()->focusedElement())) element 2089 Source/core/page/EventHandler.cpp if (!element && isInsideScrollbar(mouseEvent.position())) element 2096 Source/core/page/EventHandler.cpp if (element) { element 2097 Source/core/page/EventHandler.cpp if (!page->focusController().setFocusedElement(element, m_frame, FocusTypeMouse)) element 3519 Source/core/page/EventHandler.cpp if (Element* element = m_frame->document()->focusedElement()) { element 3520 Source/core/page/EventHandler.cpp if (RenderObject* r = element->renderer()) { element 170 Source/core/page/FocusController.cpp static inline bool hasCustomFocusLogic(Element* element) element 172 Source/core/page/FocusController.cpp return element->isHTMLElement() && toHTMLElement(element)->hasCustomFocusLogic(); element 181 Source/core/page/FocusController.cpp Element* element = toElement(node); element 182 Source/core/page/FocusController.cpp return !element->isFocusable() && isShadowHost(element) && !hasCustomFocusLogic(element); element 191 Source/core/page/FocusController.cpp Element* element = toElement(node); element 192 Source/core/page/FocusController.cpp return !element->isKeyboardFocusable() && isShadowHost(element) && !hasCustomFocusLogic(element); element 200 Source/core/page/FocusController.cpp Element* element = toElement(node); element 201 Source/core/page/FocusController.cpp return element->isKeyboardFocusable() && isShadowHost(element) && !hasCustomFocusLogic(element); element 390 Source/core/page/FocusController.cpp Element* element = toElement(node); element 391 Source/core/page/FocusController.cpp if (element->isFrameOwnerElement() && (!isHTMLPlugInElement(*element) || !element->isKeyboardFocusable())) { element 394 Source/core/page/FocusController.cpp HTMLFrameOwnerElement* owner = toHTMLFrameOwnerElement(element); element 406 Source/core/page/FocusController.cpp Document& newDocument = element->document(); element 416 Source/core/page/FocusController.cpp Position position = firstPositionInOrBeforeNode(element); element 421 Source/core/page/FocusController.cpp element->focus(false, type); element 634 Source/core/page/FocusController.cpp bool FocusController::setFocusedElement(Element* element, PassRefPtr<Frame> newFocusedFrame, FocusType type) element 640 Source/core/page/FocusController.cpp if (element && oldFocusedElement == element) element 650 Source/core/page/FocusController.cpp if (element) element 651 Source/core/page/FocusController.cpp newDocument = &element->document(); element 655 Source/core/page/FocusController.cpp if (newDocument && oldDocument == newDocument && newDocument->focusedElement() == element) element 658 Source/core/page/FocusController.cpp clearSelectionIfNeeded(oldFocusedFrame.get(), toLocalFrame(newFocusedFrame.get()), element); element 670 Source/core/page/FocusController.cpp RefPtr<Element> protect = element; element 672 Source/core/page/FocusController.cpp bool successfullyFocused = newDocument->setFocusedElement(element, type); element 785 Source/core/page/FocusController.cpp Element* element = ElementTraversal::firstWithin(container); element 791 Source/core/page/FocusController.cpp for (; element; element = (element->isFrameOwnerElement() || canScrollInDirection(element, type)) element 792 Source/core/page/FocusController.cpp ? ElementTraversal::nextSkippingChildren(*element, &container) element 793 Source/core/page/FocusController.cpp : ElementTraversal::next(*element, &container)) { element 794 Source/core/page/FocusController.cpp if (element == focusedElement) element 797 Source/core/page/FocusController.cpp if (!element->isKeyboardFocusable() && !element->isFrameOwnerElement() && !canScrollInDirection(element, type)) element 800 Source/core/page/FocusController.cpp FocusCandidate candidate = FocusCandidate(element, type); element 872 Source/core/page/FocusController.cpp Element* element = toElement(focusCandidate.focusableNode); element 873 Source/core/page/FocusController.cpp ASSERT(element); element 875 Source/core/page/FocusController.cpp element->focus(false, type); element 77 Source/core/page/PageSerializer.cpp const HTMLMetaElement& element = toHTMLMetaElement(node); element 79 Source/core/page/PageSerializer.cpp if (element.hasAttributes()) { element 80 Source/core/page/PageSerializer.cpp unsigned attributeCount = element.attributeCount(); element 82 Source/core/page/PageSerializer.cpp const Attribute& attribute = element.attributeItem(i); element 91 Source/core/page/PageSerializer.cpp static bool shouldIgnoreElement(const Element& element) element 93 Source/core/page/PageSerializer.cpp return isHTMLScriptElement(element) || isHTMLNoScriptElement(element) || isCharsetSpecifyingNode(element); element 136 Source/core/page/PageSerializer.cpp void SerializerMarkupAccumulator::appendElement(StringBuilder& out, Element& element, Namespaces* namespaces) element 138 Source/core/page/PageSerializer.cpp if (!shouldIgnoreElement(element)) element 139 Source/core/page/PageSerializer.cpp MarkupAccumulator::appendElement(out, element, namespaces); element 141 Source/core/page/PageSerializer.cpp if (isHTMLHeadElement(element)) { element 150 Source/core/page/PageSerializer.cpp void SerializerMarkupAccumulator::appendCustomAttributes(StringBuilder& out, const Element& element, Namespaces* namespaces) element 152 Source/core/page/PageSerializer.cpp if (!element.isFrameOwnerElement()) element 155 Source/core/page/PageSerializer.cpp const HTMLFrameOwnerElement& frameOwner = toHTMLFrameOwnerElement(element); element 167 Source/core/page/PageSerializer.cpp appendAttribute(out, element, Attribute(frameOwnerURLAttributeName(frameOwner), AtomicString(url.string())), namespaces); element 223 Source/core/page/PageSerializer.cpp Element& element = toElement(node); element 225 Source/core/page/PageSerializer.cpp if (element.isStyledElement()) element 226 Source/core/page/PageSerializer.cpp retrieveResourcesForProperties(element.inlineStyle(), document); element 228 Source/core/page/PageSerializer.cpp if (isHTMLImageElement(element)) { element 229 Source/core/page/PageSerializer.cpp HTMLImageElement& imageElement = toHTMLImageElement(element); element 233 Source/core/page/PageSerializer.cpp } else if (isHTMLInputElement(element)) { element 234 Source/core/page/PageSerializer.cpp HTMLInputElement& inputElement = toHTMLInputElement(element); element 240 Source/core/page/PageSerializer.cpp } else if (isHTMLLinkElement(element)) { element 241 Source/core/page/PageSerializer.cpp HTMLLinkElement& linkElement = toHTMLLinkElement(element); element 247 Source/core/page/PageSerializer.cpp } else if (isHTMLStyleElement(element)) { element 248 Source/core/page/PageSerializer.cpp HTMLStyleElement& styleElement = toHTMLStyleElement(element); element 83 Source/core/page/PointerLockController.cpp void PointerLockController::elementRemoved(Element* element) element 85 Source/core/page/PointerLockController.cpp if (m_element == element) { element 149 Source/core/page/PointerLockController.cpp void PointerLockController::enqueueEvent(const AtomicString& type, Element* element) element 151 Source/core/page/PointerLockController.cpp if (element) element 152 Source/core/page/PointerLockController.cpp enqueueEvent(type, &element->document()); element 50 Source/core/page/PointerLockController.h Element* element() const; element 237 Source/core/page/PrintContext.cpp int PrintContext::pageNumberForElement(Element* element, const FloatSize& pageSizeInPixels) element 240 Source/core/page/PrintContext.cpp RefPtr<Element> elementRef(element); element 241 Source/core/page/PrintContext.cpp element->document().updateLayout(); element 243 Source/core/page/PrintContext.cpp RenderBoxModelObject* box = enclosingBoxModelObject(element->renderer()); element 247 Source/core/page/PrintContext.cpp LocalFrame* frame = element->document().frame(); element 281 Source/core/page/PrintContext.cpp Element* element = node->document().findAnchor(name); element 282 Source/core/page/PrintContext.cpp if (element) element 283 Source/core/page/PrintContext.cpp m_linkedDestinations.set(name, element); element 507 Source/core/page/SpatialNavigation.cpp if (Element* element = frame->ownerElement()) { element 509 Source/core/page/SpatialNavigation.cpp rect.move(element->offsetLeft(), element->offsetTop()); element 510 Source/core/page/SpatialNavigation.cpp } while ((element = element->offsetParent())); element 75 Source/core/page/TouchAdjustment.cpp Element* element = toElement(node); element 76 Source/core/page/TouchAdjustment.cpp if (element->isMouseFocusable()) element 79 Source/core/page/TouchAdjustment.cpp if (element->childrenAffectedByActive() || element->childrenAffectedByHover()) element 139 Source/core/plugins/PluginOcclusionSupport.cpp static const Element* topLayerAncestor(const Element* element) element 141 Source/core/plugins/PluginOcclusionSupport.cpp while (element && !element->isInTopLayer()) element 142 Source/core/plugins/PluginOcclusionSupport.cpp element = element->parentOrShadowHostElement(); element 143 Source/core/plugins/PluginOcclusionSupport.cpp return element; element 151 Source/core/plugins/PluginOcclusionSupport.cpp void getPluginOcclusions(Element* element, Widget* parentWidget, const IntRect& frameRect, Vector<IntRect>& occlusions) element 153 Source/core/plugins/PluginOcclusionSupport.cpp RenderObject* pluginNode = element->renderer(); element 176 Source/core/plugins/PluginOcclusionSupport.cpp HTMLElement* element = frameView->frame().ownerElement(); element 177 Source/core/plugins/PluginOcclusionSupport.cpp if (!element || !element->renderer()) element 180 Source/core/plugins/PluginOcclusionSupport.cpp RenderObject* iframeRenderer = element->renderer(); element 182 Source/core/plugins/PluginOcclusionSupport.cpp if (isHTMLIFrameElement(*element) && intersectsRect(iframeRenderer, frameRect)) { element 194 Source/core/plugins/PluginOcclusionSupport.cpp const Element* ancestor = topLayerAncestor(element); element 64 Source/core/rendering/FastTextAutosizer.cpp if (Element* element = document->documentElement()) { element 65 Source/core/rendering/FastTextAutosizer.cpp element->setAttribute("data-autosizing-pageinfo", element 88 Source/core/rendering/FastTextAutosizer.cpp static bool isFormInput(const Element* element) element 96 Source/core/rendering/FastTextAutosizer.cpp return formInputTags.contains(element->tagQName()); element 89 Source/core/rendering/GraphicsContextAnnotator.cpp Element* element = object->node() && object->node()->isElementNode() ? toElement(object->node()) : 0; element 101 Source/core/rendering/GraphicsContextAnnotator.cpp if ((mode & AnnotateElementId) && element) { element 102 Source/core/rendering/GraphicsContextAnnotator.cpp const AtomicString id = element->getIdAttribute(); element 107 Source/core/rendering/GraphicsContextAnnotator.cpp if ((mode & AnnotateElementClass) && element && element->hasClass()) { element 108 Source/core/rendering/GraphicsContextAnnotator.cpp SpaceSplitString classes = element->classNames(); element 121 Source/core/rendering/GraphicsContextAnnotator.cpp if ((mode & AnnotateElementTag) && element) element 122 Source/core/rendering/GraphicsContextAnnotator.cpp elementTag = element->tagName(); element 485 Source/core/rendering/HitTestResult.cpp Element* element = node->parentElement(); element 486 Source/core/rendering/HitTestResult.cpp if (element && element->inDocument()) element 487 Source/core/rendering/HitTestResult.cpp return element; element 242 Source/core/rendering/RenderBoxModelObject.cpp Element* element = offsetParent(); element 243 Source/core/rendering/RenderBoxModelObject.cpp if (!element) element 246 Source/core/rendering/RenderBoxModelObject.cpp if (const RenderBoxModelObject* offsetParent = element->renderBoxModelObject()) { element 30 Source/core/rendering/RenderButton.cpp RenderButton::RenderButton(Element* element) element 31 Source/core/rendering/RenderButton.cpp : RenderFlexibleBox(element) element 123 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp RenderDeprecatedFlexibleBox::RenderDeprecatedFlexibleBox(Element* element) element 124 Source/core/rendering/RenderDeprecatedFlexibleBox.cpp : RenderBlock(element) element 34 Source/core/rendering/RenderDetailsMarker.cpp RenderDetailsMarker::RenderDetailsMarker(Element* element) element 35 Source/core/rendering/RenderDetailsMarker.cpp : RenderBlockFlow(element) element 56 Source/core/rendering/RenderEmbeddedObject.cpp RenderEmbeddedObject::RenderEmbeddedObject(Element* element) element 57 Source/core/rendering/RenderEmbeddedObject.cpp : RenderPart(element) element 107 Source/core/rendering/RenderEmbeddedObject.cpp Element* element = toElement(node()); element 108 Source/core/rendering/RenderEmbeddedObject.cpp if (!isHTMLPlugInElement(element)) element 40 Source/core/rendering/RenderFieldset.cpp RenderFieldset::RenderFieldset(Element* element) element 41 Source/core/rendering/RenderFieldset.cpp : RenderBlockFlow(element) element 71 Source/core/rendering/RenderFlexibleBox.cpp RenderFlexibleBox::RenderFlexibleBox(Element* element) element 72 Source/core/rendering/RenderFlexibleBox.cpp : RenderBlock(element) element 40 Source/core/rendering/RenderFrame.cpp HTMLFrameElement* element = toHTMLFrameElement(node()); element 41 Source/core/rendering/RenderFrame.cpp return FrameEdgeInfo(element->noResize(), element->hasFrameBorder()); element 169 Source/core/rendering/RenderGrid.cpp RenderGrid::RenderGrid(Element* element) element 170 Source/core/rendering/RenderGrid.cpp : RenderBlock(element) element 41 Source/core/rendering/RenderHTMLCanvas.cpp RenderHTMLCanvas::RenderHTMLCanvas(HTMLCanvasElement* element) element 42 Source/core/rendering/RenderHTMLCanvas.cpp : RenderReplaced(element, element->size()) element 40 Source/core/rendering/RenderIFrame.cpp RenderIFrame::RenderIFrame(Element* element) element 41 Source/core/rendering/RenderIFrame.cpp : RenderPart(element) element 58 Source/core/rendering/RenderImage.cpp RenderImage::RenderImage(Element* element) element 59 Source/core/rendering/RenderImage.cpp : RenderReplaced(element, IntSize()) element 49 Source/core/rendering/RenderInline.cpp RenderInline::RenderInline(Element* element) element 50 Source/core/rendering/RenderInline.cpp : RenderBoxModelObject(element) element 58 Source/core/rendering/RenderInputSpeech.cpp Element* element = object->node()->isElementNode() ? toElement(object->node()) : 0; element 59 Source/core/rendering/RenderInputSpeech.cpp if (!element || !element->isInputFieldSpeechButtonElement()) element 89 Source/core/rendering/RenderInputSpeech.cpp InputFieldSpeechButtonElement* speechButton = toInputFieldSpeechButtonElement(element); element 2112 Source/core/rendering/RenderLayer.cpp Element* element = document.getElementById(referenceClipPathOperation->fragment()); element 2113 Source/core/rendering/RenderLayer.cpp if (isSVGClipPathElement(element) && element->renderer()) { element 2119 Source/core/rendering/RenderLayer.cpp resourceClipper = toRenderSVGResourceClipper(toRenderSVGResourceContainer(element->renderer())); element 94 Source/core/rendering/RenderLayerScrollableArea.cpp Element* element = toElement(node); element 95 Source/core/rendering/RenderLayerScrollableArea.cpp m_scrollOffset = element->savedLayerScrollOffset(); element 98 Source/core/rendering/RenderLayerScrollableArea.cpp element->setSavedLayerScrollOffset(IntSize()); element 1317 Source/core/rendering/RenderLayerScrollableArea.cpp Element* element = toElement(m_box->node()); element 1319 Source/core/rendering/RenderLayerScrollableArea.cpp Document& document = element->document(); element 1348 Source/core/rendering/RenderLayerScrollableArea.cpp LayoutSize minimumSize = element->minimumSizeForResizing().shrunkTo(currentSize); element 1349 Source/core/rendering/RenderLayerScrollableArea.cpp element->setMinimumSizeForResizing(minimumSize); element 1363 Source/core/rendering/RenderLayerScrollableArea.cpp if (element->isFormControlElement()) { element 1365 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyMarginLeft, m_box->marginLeft() / zoomFactor, CSSPrimitiveValue::CSS_PX); element 1366 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyMarginRight, m_box->marginRight() / zoomFactor, CSSPrimitiveValue::CSS_PX); element 1370 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyWidth, roundToInt(baseWidth + difference.width()), CSSPrimitiveValue::CSS_PX); element 1374 Source/core/rendering/RenderLayerScrollableArea.cpp if (element->isFormControlElement()) { element 1376 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyMarginTop, m_box->marginTop() / zoomFactor, CSSPrimitiveValue::CSS_PX); element 1377 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyMarginBottom, m_box->marginBottom() / zoomFactor, CSSPrimitiveValue::CSS_PX); element 1381 Source/core/rendering/RenderLayerScrollableArea.cpp element->setInlineStyleProperty(CSSPropertyHeight, roundToInt(baseHeight + difference.height()), CSSPrimitiveValue::CSS_PX); element 83 Source/core/rendering/RenderListBox.cpp RenderListBox::RenderListBox(Element* element) element 84 Source/core/rendering/RenderListBox.cpp : RenderBlockFlow(element) element 91 Source/core/rendering/RenderListBox.cpp ASSERT(element); element 92 Source/core/rendering/RenderListBox.cpp ASSERT(element->isHTMLElement()); element 93 Source/core/rendering/RenderListBox.cpp ASSERT(isHTMLSelectElement(element)); element 129 Source/core/rendering/RenderListBox.cpp HTMLElement* element = listItems[i]; element 132 Source/core/rendering/RenderListBox.cpp if (isHTMLOptionElement(*element)) { element 133 Source/core/rendering/RenderListBox.cpp text = toHTMLOptionElement(*element).textIndentedToRespectGroupLabel(); element 134 Source/core/rendering/RenderListBox.cpp } else if (isHTMLOptGroupElement(*element)) { element 135 Source/core/rendering/RenderListBox.cpp text = toHTMLOptGroupElement(*element).groupLabelText(); element 354 Source/core/rendering/RenderListBox.cpp HTMLElement* element = listItems[i]; element 355 Source/core/rendering/RenderListBox.cpp if (isHTMLOptionElement(*element) && !element->isDisabledFormControl()) { element 411 Source/core/rendering/RenderListBox.cpp HTMLElement* element = listItems[listIndex]; element 413 Source/core/rendering/RenderListBox.cpp RenderStyle* itemStyle = element->renderStyle(); element 421 Source/core/rendering/RenderListBox.cpp bool isOptionElement = isHTMLOptionElement(*element); element 423 Source/core/rendering/RenderListBox.cpp itemText = toHTMLOptionElement(*element).textIndentedToRespectGroupLabel(); element 424 Source/core/rendering/RenderListBox.cpp else if (isHTMLOptGroupElement(*element)) element 425 Source/core/rendering/RenderListBox.cpp itemText = toHTMLOptGroupElement(*element).groupLabelText(); element 428 Source/core/rendering/RenderListBox.cpp Color textColor = element->renderStyle() ? resolveColor(element->renderStyle(), CSSPropertyColor) : resolveColor(CSSPropertyColor); element 429 Source/core/rendering/RenderListBox.cpp if (isOptionElement && ((toHTMLOptionElement(*element).selected() && select->suggestedIndex() < 0) || listIndex == select->suggestedIndex())) { element 433 Source/core/rendering/RenderListBox.cpp else if (!element->isDisabledFormControl() && !select->isDisabledFormControl()) element 444 Source/core/rendering/RenderListBox.cpp if (isHTMLOptGroupElement(*element)) { element 460 Source/core/rendering/RenderListBox.cpp HTMLElement* element = listItems[listIndex]; element 463 Source/core/rendering/RenderListBox.cpp if (isHTMLOptionElement(*element) && ((toHTMLOptionElement(*element).selected() && selectElement()->suggestedIndex() < 0) || listIndex == selectElement()->suggestedIndex())) { element 469 Source/core/rendering/RenderListBox.cpp backColor = element->renderStyle() ? resolveColor(element->renderStyle(), CSSPropertyBackgroundColor) : resolveColor(CSSPropertyBackgroundColor); element 473 Source/core/rendering/RenderListBox.cpp if (!element->renderStyle() || element->renderStyle()->visibility() != HIDDEN) { element 43 Source/core/rendering/RenderListItem.cpp RenderListItem::RenderListItem(Element* element) element 44 Source/core/rendering/RenderListItem.cpp : RenderBlockFlow(element) element 63 Source/core/rendering/RenderMarquee.cpp RenderMarquee::RenderMarquee(HTMLMarqueeElement* element) element 64 Source/core/rendering/RenderMarquee.cpp : RenderBlockFlow(element) element 67 Source/core/rendering/RenderMarquee.cpp , m_timer(element, &HTMLMarqueeElement::timerFired) element 38 Source/core/rendering/RenderMediaControlElements.cpp RenderTextTrackContainerElement::RenderTextTrackContainerElement(Element* element) element 39 Source/core/rendering/RenderMediaControlElements.cpp : RenderBlockFlow(element) element 55 Source/core/rendering/RenderMenuList.cpp RenderMenuList::RenderMenuList(Element* element) element 56 Source/core/rendering/RenderMenuList.cpp : RenderFlexibleBox(element) element 64 Source/core/rendering/RenderMenuList.cpp ASSERT(isHTMLSelectElement(element)); element 170 Source/core/rendering/RenderMenuList.cpp HTMLElement* element = listItems[i]; element 171 Source/core/rendering/RenderMenuList.cpp if (!isHTMLOptionElement(*element)) element 174 Source/core/rendering/RenderMenuList.cpp String text = toHTMLOptionElement(element)->textIndentedToRespectGroupLabel(); element 179 Source/core/rendering/RenderMenuList.cpp if (RenderStyle* optionStyle = element->renderStyle()) element 223 Source/core/rendering/RenderMenuList.cpp Element* element = listItems[i]; element 224 Source/core/rendering/RenderMenuList.cpp if (isHTMLOptionElement(*element)) { element 225 Source/core/rendering/RenderMenuList.cpp text = toHTMLOptionElement(element)->textIndentedToRespectGroupLabel(); element 226 Source/core/rendering/RenderMenuList.cpp m_optionStyle = element->renderStyle(); element 399 Source/core/rendering/RenderMenuList.cpp Element* element = listItems[listIndex]; element 400 Source/core/rendering/RenderMenuList.cpp if (isHTMLOptGroupElement(*element)) element 401 Source/core/rendering/RenderMenuList.cpp itemString = toHTMLOptGroupElement(*element).groupLabelText(); element 402 Source/core/rendering/RenderMenuList.cpp else if (isHTMLOptionElement(*element)) element 403 Source/core/rendering/RenderMenuList.cpp itemString = toHTMLOptionElement(*element).textIndentedToRespectGroupLabel(); element 431 Source/core/rendering/RenderMenuList.cpp HTMLElement* element = listItems[listIndex]; element 432 Source/core/rendering/RenderMenuList.cpp if (!isHTMLOptionElement(*element)) element 436 Source/core/rendering/RenderMenuList.cpp if (Element* parentElement = element->parentElement()) { element 443 Source/core/rendering/RenderMenuList.cpp return !element->isDisabledFormControl(); element 459 Source/core/rendering/RenderMenuList.cpp HTMLElement* element = listItems[listIndex]; element 465 Source/core/rendering/RenderMenuList.cpp RenderStyle* style = element->renderStyle() ? element->renderStyle() : element->computedStyle(); element 479 Source/core/rendering/RenderMenuList.cpp HTMLElement* element = listItems[listIndex]; element 482 Source/core/rendering/RenderMenuList.cpp if (element->renderStyle()) element 483 Source/core/rendering/RenderMenuList.cpp backgroundColor = resolveColor(element->renderStyle(), CSSPropertyBackgroundColor); element 564 Source/core/rendering/RenderMenuList.cpp HTMLElement* element = listItems[listIndex]; element 565 Source/core/rendering/RenderMenuList.cpp return isHTMLOptionElement(*element) && toHTMLOptionElement(*element).selected(); element 34 Source/core/rendering/RenderMeter.cpp RenderMeter::RenderMeter(HTMLElement* element) element 35 Source/core/rendering/RenderMeter.cpp : RenderBlockFlow(element) element 139 Source/core/rendering/RenderObject.cpp RenderObject* RenderObject::createObject(Element* element, RenderStyle* style) element 145 Source/core/rendering/RenderObject.cpp if (contentData && !contentData->next() && contentData->isImage() && !element->isPseudoElement()) { element 146 Source/core/rendering/RenderObject.cpp RenderImage* image = new RenderImage(element); element 164 Source/core/rendering/RenderObject.cpp return new RenderInline(element); element 167 Source/core/rendering/RenderObject.cpp return new RenderBlockFlow(element); element 169 Source/core/rendering/RenderObject.cpp return new RenderListItem(element); element 172 Source/core/rendering/RenderObject.cpp return new RenderTable(element); element 176 Source/core/rendering/RenderObject.cpp return new RenderTableSection(element); element 178 Source/core/rendering/RenderObject.cpp return new RenderTableRow(element); element 181 Source/core/rendering/RenderObject.cpp return new RenderTableCol(element); element 183 Source/core/rendering/RenderObject.cpp return new RenderTableCell(element); element 185 Source/core/rendering/RenderObject.cpp return new RenderTableCaption(element); element 188 Source/core/rendering/RenderObject.cpp return new RenderDeprecatedFlexibleBox(element); element 191 Source/core/rendering/RenderObject.cpp return new RenderFlexibleBox(element); element 194 Source/core/rendering/RenderObject.cpp return new RenderGrid(element); element 2985 Source/core/rendering/RenderObject.cpp Element* element = toElement(n); element 2988 Source/core/rendering/RenderObject.cpp RefPtr<RenderStyle> result = document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing); element 2993 Source/core/rendering/RenderObject.cpp return document().ensureStyleResolver().pseudoStyleForElement(element, pseudoStyleRequest, parentStyle); element 72 Source/core/rendering/RenderPart.cpp HTMLFrameOwnerElement* element = toHTMLFrameOwnerElement(node()); element 73 Source/core/rendering/RenderPart.cpp if (element->contentFrame() && element->contentFrame()->remotePlatformLayer()) element 76 Source/core/rendering/RenderPart.cpp if (Document* contentDocument = element->contentDocument()) { element 34 Source/core/rendering/RenderProgress.cpp RenderProgress::RenderProgress(HTMLElement* element) element 35 Source/core/rendering/RenderProgress.cpp : RenderBlockFlow(element) element 51 Source/core/rendering/RenderProgress.cpp HTMLProgressElement* element = progressElement(); element 52 Source/core/rendering/RenderProgress.cpp if (m_position == element->position()) element 54 Source/core/rendering/RenderProgress.cpp m_position = element->position(); element 44 Source/core/rendering/RenderRegion.cpp RenderRegion::RenderRegion(Element* element, RenderFlowThread* flowThread) element 45 Source/core/rendering/RenderRegion.cpp : RenderBlockFlow(element) element 33 Source/core/rendering/RenderRegionSet.cpp RenderRegionSet::RenderRegionSet(Element* element, RenderFlowThread* flowThread) element 34 Source/core/rendering/RenderRegionSet.cpp : RenderRegion(element, flowThread) element 45 Source/core/rendering/RenderReplaced.cpp RenderReplaced::RenderReplaced(Element* element) element 46 Source/core/rendering/RenderReplaced.cpp : RenderBox(element) element 52 Source/core/rendering/RenderReplaced.cpp RenderReplaced::RenderReplaced(Element* element, const LayoutSize& intrinsicSize) element 53 Source/core/rendering/RenderReplaced.cpp : RenderBox(element) element 111 Source/core/rendering/RenderRuby.cpp RenderRubyAsInline::RenderRubyAsInline(Element* element) element 112 Source/core/rendering/RenderRuby.cpp : RenderInline(element) element 217 Source/core/rendering/RenderRuby.cpp RenderRubyAsBlock::RenderRubyAsBlock(Element* element) element 218 Source/core/rendering/RenderRuby.cpp : RenderBlockFlow(element) element 40 Source/core/rendering/RenderRubyText.cpp RenderRubyText::RenderRubyText(Element* element) element 41 Source/core/rendering/RenderRubyText.cpp : RenderBlockFlow(element) element 39 Source/core/rendering/RenderSearchField.cpp RenderSearchField::RenderSearchField(HTMLInputElement* element) element 40 Source/core/rendering/RenderSearchField.cpp : RenderTextControlSingleLine(element) element 42 Source/core/rendering/RenderSearchField.cpp ASSERT(element->isSearchField()); element 37 Source/core/rendering/RenderSlider.cpp RenderSlider::RenderSlider(HTMLInputElement* element) element 38 Source/core/rendering/RenderSlider.cpp : RenderFlexibleBox(element) element 41 Source/core/rendering/RenderSlider.cpp ASSERT(element->isRangeControl()); element 56 Source/core/rendering/RenderTable.cpp RenderTable::RenderTable(Element* element) element 57 Source/core/rendering/RenderTable.cpp : RenderBlock(element) element 27 Source/core/rendering/RenderTableCaption.cpp RenderTableCaption::RenderTableCaption(Element* element) element 28 Source/core/rendering/RenderTableCaption.cpp : RenderBlockFlow(element) element 55 Source/core/rendering/RenderTableCell.cpp RenderTableCell::RenderTableCell(Element* element) element 56 Source/core/rendering/RenderTableCell.cpp : RenderBlockFlow(element) element 38 Source/core/rendering/RenderTableCol.cpp RenderTableCol::RenderTableCol(Element* element) element 39 Source/core/rendering/RenderTableCol.cpp : RenderBox(element) element 44 Source/core/rendering/RenderTableRow.cpp RenderTableRow::RenderTableRow(Element* element) element 45 Source/core/rendering/RenderTableRow.cpp : RenderBox(element) element 84 Source/core/rendering/RenderTableSection.cpp RenderTableSection::RenderTableSection(Element* element) element 85 Source/core/rendering/RenderTableSection.cpp : RenderBox(element) element 35 Source/core/rendering/RenderTextControl.cpp RenderTextControl::RenderTextControl(HTMLTextFormControlElement* element) element 36 Source/core/rendering/RenderTextControl.cpp : RenderBlockFlow(element) element 38 Source/core/rendering/RenderTextControl.cpp ASSERT(element); element 95 Source/core/rendering/RenderTextControl.h explicit RenderTextControlInnerContainer(Element* element) element 96 Source/core/rendering/RenderTextControl.h : RenderFlexibleBox(element) element 30 Source/core/rendering/RenderTextControlMultiLine.cpp RenderTextControlMultiLine::RenderTextControlMultiLine(HTMLTextAreaElement* element) element 31 Source/core/rendering/RenderTextControlMultiLine.cpp : RenderTextControl(element) element 33 Source/core/rendering/RenderTextControlMultiLine.cpp ASSERT(element); element 45 Source/core/rendering/RenderTextControlSingleLine.cpp RenderTextControlSingleLine::RenderTextControlSingleLine(HTMLInputElement* element) element 46 Source/core/rendering/RenderTextControlSingleLine.cpp : RenderTextControl(element) element 91 Source/core/rendering/RenderTextControlSingleLine.h RenderTextControlInnerBlock(Element* element) : RenderBlockFlow(element) { } element 758 Source/core/rendering/RenderTheme.cpp SpinButtonElement* element = toSpinButtonElement(node); element 759 Source/core/rendering/RenderTheme.cpp return element->upDownState() == SpinButtonElement::Up; element 777 Source/core/rendering/RenderTheme.cpp SpinButtonElement* element = toSpinButtonElement(node); element 778 Source/core/rendering/RenderTheme.cpp return element->hovered() && element->upDownState() != SpinButtonElement::Indeterminate; element 786 Source/core/rendering/RenderTheme.cpp SpinButtonElement* element = toSpinButtonElement(node); element 787 Source/core/rendering/RenderTheme.cpp return element->upDownState() == SpinButtonElement::Up; element 836 Source/core/rendering/RenderTheme.cpp void RenderTheme::adjustInputFieldSpeechButtonStyle(RenderStyle* style, Element* element) const element 838 Source/core/rendering/RenderTheme.cpp RenderInputSpeech::adjustInputFieldSpeechButtonStyle(style, element); element 926 Source/core/rendering/RenderTheme.cpp for (unsigned i = 0; Element* element = options->item(i); i++) { element 927 Source/core/rendering/RenderTheme.cpp ASSERT(isHTMLOptionElement(*element)); element 928 Source/core/rendering/RenderTheme.cpp HTMLOptionElement& optionElement = toHTMLOptionElement(*element); element 963 Source/core/rendering/RenderTheme.cpp void RenderTheme::adjustSliderThumbStyle(RenderStyle* style, Element* element) const element 965 Source/core/rendering/RenderTheme.cpp adjustSliderThumbSize(style, element); element 207 Source/core/rendering/RenderThemeChromiumDefault.cpp void RenderThemeChromiumDefault::adjustSliderThumbSize(RenderStyle* style, Element* element) const element 220 Source/core/rendering/RenderThemeChromiumDefault.cpp RenderThemeChromiumSkia::adjustSliderThumbSize(style, element); element 357 Source/core/rendering/RenderTreeAsText.cpp Element* element = toElement(node); element 358 Source/core/rendering/RenderTreeAsText.cpp for (size_t i = 0; i < element->classNames().size(); ++i) { element 361 Source/core/rendering/RenderTreeAsText.cpp ts << element->classNames()[i]; element 717 Source/core/rendering/RenderTreeAsText.cpp String externalRepresentation(Element* element, RenderAsTextBehavior behavior) element 722 Source/core/rendering/RenderTreeAsText.cpp element->document().updateLayout(); element 724 Source/core/rendering/RenderTreeAsText.cpp RenderObject* renderer = element->renderer(); element 744 Source/core/rendering/RenderTreeAsText.cpp String counterValueForElement(Element* element) element 747 Source/core/rendering/RenderTreeAsText.cpp RefPtr<Element> elementRef(element); element 748 Source/core/rendering/RenderTreeAsText.cpp element->document().updateLayout(); element 752 Source/core/rendering/RenderTreeAsText.cpp if (RenderObject* before = element->pseudoElementRenderer(BEFORE)) element 754 Source/core/rendering/RenderTreeAsText.cpp if (RenderObject* after = element->pseudoElementRenderer(AFTER)) element 759 Source/core/rendering/RenderTreeAsText.cpp String markerTextForListItem(Element* element) element 762 Source/core/rendering/RenderTreeAsText.cpp RefPtr<Element> elementRef(element); element 763 Source/core/rendering/RenderTreeAsText.cpp element->document().updateLayout(); element 765 Source/core/rendering/RenderTreeAsText.cpp RenderObject* renderer = element->renderer(); element 35 Source/core/rendering/RenderVTTCue.cpp RenderVTTCue::RenderVTTCue(VTTCueBox* element) element 36 Source/core/rendering/RenderVTTCue.cpp : RenderBlockFlow(element) element 37 Source/core/rendering/RenderVTTCue.cpp , m_cue(element->getCue()) element 42 Source/core/rendering/RenderWidget.cpp RenderWidget::RenderWidget(Element* element) element 43 Source/core/rendering/RenderWidget.cpp : RenderReplaced(element) element 49 Source/core/rendering/RenderWidget.cpp ASSERT(element); element 62 Source/core/rendering/RenderWidget.cpp Element* element = toElement(node()); element 63 Source/core/rendering/RenderWidget.cpp if (element && element->isFrameOwnerElement()) element 64 Source/core/rendering/RenderWidget.cpp toHTMLFrameOwnerElement(element)->setWidget(nullptr); element 84 Source/core/rendering/RenderWidget.cpp Element* element = toElement(node()); element 86 Source/core/rendering/RenderWidget.cpp if (element && element->isFrameOwnerElement()) element 87 Source/core/rendering/RenderWidget.cpp return toHTMLFrameOwnerElement(element)->ownedWidget(); element 34 Source/core/rendering/RenderWordBreak.cpp RenderWordBreak::RenderWordBreak(HTMLElement* element) element 35 Source/core/rendering/RenderWordBreak.cpp : RenderText(element, StringImpl::empty()) element 1368 Source/core/rendering/compositing/RenderLayerCompositor.cpp HTMLFrameOwnerElement* element = toHTMLFrameOwnerElement(renderer->node()); element 1369 Source/core/rendering/compositing/RenderLayerCompositor.cpp if (Document* contentDocument = element->contentDocument()) { element 155 Source/core/rendering/svg/ReferenceFilterBuilder.cpp for (SVGElement* element = Traversal<SVGElement>::firstChild(filterElement); element; element = Traversal<SVGElement>::nextSibling(*element)) { element 156 Source/core/rendering/svg/ReferenceFilterBuilder.cpp if (!element->isFilterEffect()) element 159 Source/core/rendering/svg/ReferenceFilterBuilder.cpp SVGFilterPrimitiveStandardAttributes* effectElement = static_cast<SVGFilterPrimitiveStandardAttributes*>(element); element 33 Source/core/rendering/svg/RenderSVGBlock.cpp RenderSVGBlock::RenderSVGBlock(SVGElement* element) element 34 Source/core/rendering/svg/RenderSVGBlock.cpp : RenderBlockFlow(element) element 78 Source/core/rendering/svg/RenderSVGEllipse.cpp ASSERT(element()); element 79 Source/core/rendering/svg/RenderSVGEllipse.cpp if (isSVGCircleElement(*element())) { element 80 Source/core/rendering/svg/RenderSVGEllipse.cpp SVGCircleElement& circle = toSVGCircleElement(*element()); element 89 Source/core/rendering/svg/RenderSVGEllipse.cpp SVGEllipseElement& ellipse = toSVGEllipseElement(*element()); element 33 Source/core/rendering/svg/RenderSVGGradientStop.cpp RenderSVGGradientStop::RenderSVGGradientStop(SVGStopElement* element) element 34 Source/core/rendering/svg/RenderSVGGradientStop.cpp : RenderObject(element) element 28 Source/core/rendering/svg/RenderSVGHiddenContainer.cpp RenderSVGHiddenContainer::RenderSVGHiddenContainer(SVGElement* element) element 29 Source/core/rendering/svg/RenderSVGHiddenContainer.cpp : RenderSVGContainer(element) element 62 Source/core/rendering/svg/RenderSVGImage.cpp SVGImageElement* image = toSVGImageElement(element()); element 102 Source/core/rendering/svg/RenderSVGImage.cpp m_localTransform = toSVGImageElement(element())->animatedLocalTransform(); element 168 Source/core/rendering/svg/RenderSVGImage.cpp SVGImageElement* imageElement = toSVGImageElement(element()); element 52 Source/core/rendering/svg/RenderSVGInline.cpp RenderSVGInline::RenderSVGInline(Element* element) element 53 Source/core/rendering/svg/RenderSVGInline.cpp : RenderInline(element) element 67 Source/core/rendering/svg/RenderSVGModelObject.h SVGElement* element() const { return toSVGElement(RenderObject::node()); } element 53 Source/core/rendering/svg/RenderSVGRect.cpp SVGRectElement* rect = toSVGRectElement(element()); element 92 Source/core/rendering/svg/RenderSVGResourceClipper.cpp for (Element* childElement = ElementTraversal::firstWithin(*element()); childElement; childElement = ElementTraversal::nextSibling(*childElement)) { element 130 Source/core/rendering/svg/RenderSVGResourceClipper.cpp if (toSVGClipPathElement(element())->clipPathUnits()->currentValue()->enumValue() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX) { element 160 Source/core/rendering/svg/RenderSVGResourceClipper.cpp AffineTransform animatedLocalTransform = toSVGClipPathElement(element())->animatedLocalTransform(); element 165 Source/core/rendering/svg/RenderSVGResourceClipper.cpp && toSVGClipPathElement(element())->clipPathUnits()->currentValue()->enumValue() == SVGUnitTypes::SVG_UNIT_TYPE_USERSPACEONUSE) { element 241 Source/core/rendering/svg/RenderSVGResourceClipper.cpp SVGUnitTypes::SVGUnitType contentUnits = toSVGClipPathElement(element())->clipPathUnits()->currentValue()->enumValue(); element 274 Source/core/rendering/svg/RenderSVGResourceClipper.cpp for (SVGElement* childElement = Traversal<SVGElement>::firstChild(*element()); childElement; childElement = Traversal<SVGElement>::nextSibling(*childElement)) { element 314 Source/core/rendering/svg/RenderSVGResourceClipper.cpp for (SVGElement* childElement = Traversal<SVGElement>::firstChild(*element()); childElement; childElement = Traversal<SVGElement>::nextSibling(*childElement)) { element 325 Source/core/rendering/svg/RenderSVGResourceClipper.cpp m_clipBoundaries = toSVGClipPathElement(element())->animatedLocalTransform().mapRect(m_clipBoundaries); element 334 Source/core/rendering/svg/RenderSVGResourceClipper.cpp SVGClipPathElement* clipPathElement = toSVGClipPathElement(element()); element 344 Source/core/rendering/svg/RenderSVGResourceClipper.cpp for (SVGElement* childElement = Traversal<SVGElement>::firstChild(*element()); childElement; childElement = Traversal<SVGElement>::nextSibling(*childElement)) { element 368 Source/core/rendering/svg/RenderSVGResourceClipper.cpp if (toSVGClipPathElement(element())->clipPathUnits()->currentValue()->enumValue() == SVGUnitTypes::SVG_UNIT_TYPE_OBJECTBOUNDINGBOX) { element 73 Source/core/rendering/svg/RenderSVGResourceClipper.h SVGUnitTypes::SVGUnitType clipPathUnits() const { return toSVGClipPathElement(element())->clipPathUnits()->currentValue()->enumValue(); } element 35 Source/core/rendering/svg/RenderSVGResourceContainer.cpp static inline SVGDocumentExtensions& svgExtensionsFromElement(SVGElement* element) element 37 Source/core/rendering/svg/RenderSVGResourceContainer.cpp ASSERT(element); element 38 Source/core/rendering/svg/RenderSVGResourceContainer.cpp return element->document().accessSVGExtensions(); element 54 Source/core/rendering/svg/RenderSVGResourceContainer.cpp svgExtensionsFromElement(element()).removeResource(m_id); element 95 Source/core/rendering/svg/RenderSVGResourceContainer.cpp SVGDocumentExtensions& extensions = svgExtensionsFromElement(element()); element 97 Source/core/rendering/svg/RenderSVGResourceContainer.cpp m_id = element()->getIdAttribute(); element 213 Source/core/rendering/svg/RenderSVGResourceContainer.cpp SVGDocumentExtensions& extensions = svgExtensionsFromElement(element()); element 260 Source/core/rendering/svg/RenderSVGResourceContainer.cpp SVGGraphicsElement* element = toSVGGraphicsElement(object->node()); element 261 Source/core/rendering/svg/RenderSVGResourceContainer.cpp AffineTransform transform = element->getScreenCTM(SVGGraphicsElement::DisallowStyleUpdate); element 80 Source/core/rendering/svg/RenderSVGResourceFilter.cpp SVGFilterElement* filterElement = toSVGFilterElement(element()); element 85 Source/core/rendering/svg/RenderSVGResourceFilter.cpp for (SVGElement* element = Traversal<SVGElement>::firstChild(*filterElement); element; element = Traversal<SVGElement>::nextSibling(*element)) { element 86 Source/core/rendering/svg/RenderSVGResourceFilter.cpp if (!element->isFilterEffect() || !element->renderer()) element 89 Source/core/rendering/svg/RenderSVGResourceFilter.cpp SVGFilterPrimitiveStandardAttributes* effectElement = static_cast<SVGFilterPrimitiveStandardAttributes*>(element); element 162 Source/core/rendering/svg/RenderSVGResourceFilter.cpp SVGFilterElement* filterElement = toSVGFilterElement(element()); element 360 Source/core/rendering/svg/RenderSVGResourceFilter.cpp if (SVGFilterElement* element = toSVGFilterElement(this->element())) element 361 Source/core/rendering/svg/RenderSVGResourceFilter.cpp return SVGLengthContext::resolveRectangle<SVGFilterElement>(element, element->filterUnits()->currentValue()->enumValue(), object->objectBoundingBox()); element 78 Source/core/rendering/svg/RenderSVGResourceFilter.h SVGUnitTypes::SVGUnitType filterUnits() const { return toSVGFilterElement(element())->filterUnits()->currentValue()->enumValue(); } element 79 Source/core/rendering/svg/RenderSVGResourceFilter.h SVGUnitTypes::SVGUnitType primitiveUnits() const { return toSVGFilterElement(element())->primitiveUnits()->currentValue()->enumValue(); } element 47 Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp ASSERT(element()); element 48 Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp if (isSVGFEFloodElement(*element())) { element 53 Source/core/rendering/svg/RenderSVGResourceFilterPrimitive.cpp } else if (isSVGFEDiffuseLightingElement(*element()) || isSVGFESpecularLightingElement(*element())) { element 66 Source/core/rendering/svg/RenderSVGResourceGradient.cpp SVGGradientElement* gradientElement = toSVGGradientElement(element()); element 48 Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x1(), attributes.y1()); element 53 Source/core/rendering/svg/RenderSVGResourceLinearGradient.cpp return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.x2(), attributes.y2()); element 100 Source/core/rendering/svg/RenderSVGResourceMarker.cpp SVGMarkerElement* marker = toSVGMarkerElement(element()); element 109 Source/core/rendering/svg/RenderSVGResourceMarker.cpp SVGMarkerElement* marker = toSVGMarkerElement(element()); element 121 Source/core/rendering/svg/RenderSVGResourceMarker.cpp SVGMarkerElement* marker = toSVGMarkerElement(element()); element 139 Source/core/rendering/svg/RenderSVGResourceMarker.cpp SVGMarkerElement* marker = toSVGMarkerElement(element()); element 168 Source/core/rendering/svg/RenderSVGResourceMarker.cpp SVGMarkerElement* marker = toSVGMarkerElement(element()); element 179 Source/core/rendering/svg/RenderSVGResourceMarker.cpp SVGMarkerElement* marker = toSVGMarkerElement(element()); element 60 Source/core/rendering/svg/RenderSVGResourceMarker.h SVGMarkerUnitsType markerUnits() const { return toSVGMarkerElement(element())->markerUnits()->currentValue()->enumValue(); } element 70 Source/core/rendering/svg/RenderSVGResourceMasker.cpp if (repaintRect.isEmpty() || !element()->hasChildren()) element 118 Source/core/rendering/svg/RenderSVGResourceMasker.cpp SVGUnitTypes::SVGUnitType contentUnits = toSVGMaskElement(element())->maskContentUnits()->currentValue()->enumValue(); element 140 Source/core/rendering/svg/RenderSVGResourceMasker.cpp for (Element* childElement = ElementTraversal::firstWithin(*element()); childElement; childElement = ElementTraversal::nextSibling(*childElement)) { element 156 Source/core/rendering/svg/RenderSVGResourceMasker.cpp for (SVGElement* childElement = Traversal<SVGElement>::firstChild(*element()); childElement; childElement = Traversal<SVGElement>::nextSibling(*childElement)) { element 169 Source/core/rendering/svg/RenderSVGResourceMasker.cpp SVGMaskElement* maskElement = toSVGMaskElement(element()); element 51 Source/core/rendering/svg/RenderSVGResourceMasker.h SVGUnitTypes::SVGUnitType maskUnits() const { return toSVGMaskElement(element())->maskUnits()->currentValue()->enumValue(); } element 52 Source/core/rendering/svg/RenderSVGResourceMasker.h SVGUnitTypes::SVGUnitType maskContentUnits() const { return toSVGMaskElement(element())->maskContentUnits()->currentValue()->enumValue(); } element 61 Source/core/rendering/svg/RenderSVGResourcePattern.cpp SVGPatternElement* patternElement = toSVGPatternElement(element()); element 269 Source/core/rendering/svg/RenderSVGResourcePattern.cpp for (Element* element = ElementTraversal::firstWithin(*attributes.patternContentElement()); element; element = ElementTraversal::nextSibling(*element)) { element 270 Source/core/rendering/svg/RenderSVGResourcePattern.cpp if (!element->isSVGElement() || !element->renderer()) element 272 Source/core/rendering/svg/RenderSVGResourcePattern.cpp if (element->renderer()->needsLayout()) element 274 Source/core/rendering/svg/RenderSVGResourcePattern.cpp SVGRenderingContext::renderSubtree(tileImage->context(), element->renderer(), contentTransformation); element 49 Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.cx(), attributes.cy()); element 54 Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp return SVGLengthContext::resolvePoint(element(), attributes.gradientUnits(), attributes.fx(), attributes.fy()); element 59 Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp return SVGLengthContext::resolveLength(element(), attributes.gradientUnits(), attributes.r()); element 64 Source/core/rendering/svg/RenderSVGResourceRadialGradient.cpp return SVGLengthContext::resolveLength(element(), attributes.gradientUnits(), attributes.fr()); element 68 Source/core/rendering/svg/RenderSVGShape.cpp updatePathFromGraphicsElement(toSVGGraphicsElement(element()), path()); element 152 Source/core/rendering/svg/RenderSVGShape.cpp m_localTransform = toSVGGraphicsElement(element())->animatedLocalTransform(); element 191 Source/core/rendering/svg/RenderSVGShape.cpp return toSVGGraphicsElement(element())->getScreenCTM(SVGGraphicsElement::DisallowStyleUpdate); element 199 Source/core/rendering/svg/RenderSVGShape.cpp if (!SVGResources::supportsMarkers(*toSVGGraphicsElement(element()))) element 420 Source/core/rendering/svg/RenderSVGShape.cpp SVGLengthContext lengthContext(element()); element 33 Source/core/rendering/svg/RenderSVGTSpan.cpp RenderSVGTSpan::RenderSVGTSpan(Element* element) element 34 Source/core/rendering/svg/RenderSVGTSpan.cpp : RenderSVGInline(element) element 32 Source/core/rendering/svg/RenderSVGTextPath.cpp RenderSVGTextPath::RenderSVGTextPath(Element* element) element 33 Source/core/rendering/svg/RenderSVGTextPath.cpp : RenderSVGInline(element) element 52 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp ASSERT(element()); element 53 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp if (isSVGSwitchElement(*element())) { element 61 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp } else if (isSVGAElement(*element())) { element 74 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp SVGGraphicsElement* element = toSVGGraphicsElement(this->element()); element 75 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp ASSERT(element); element 81 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp if (isSVGUseElement(*element)) { element 82 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp useElement = toSVGUseElement(element); element 83 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp } else if (element->isInShadowTree() && isSVGGElement(*element)) { element 84 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp SVGElement* correspondingElement = element->correspondingElement(); element 103 Source/core/rendering/svg/RenderSVGTransformableContainer.cpp m_localTransform = element->animatedLocalTransform(); element 45 Source/core/rendering/svg/RenderSVGViewportContainer.cpp ASSERT(element()); element 46 Source/core/rendering/svg/RenderSVGViewportContainer.cpp if (!isSVGSVGElement(*element())) element 49 Source/core/rendering/svg/RenderSVGViewportContainer.cpp m_isLayoutSizeChanged = toSVGSVGElement(element())->hasRelativeLengths() && selfNeedsLayout(); element 60 Source/core/rendering/svg/RenderSVGViewportContainer.cpp SVGElement* element = this->element(); element 61 Source/core/rendering/svg/RenderSVGViewportContainer.cpp ASSERT(element); element 62 Source/core/rendering/svg/RenderSVGViewportContainer.cpp if (!isSVGSVGElement(*element)) element 64 Source/core/rendering/svg/RenderSVGViewportContainer.cpp SVGSVGElement* svg = toSVGSVGElement(element); element 67 Source/core/rendering/svg/RenderSVGViewportContainer.cpp SVGLengthContext lengthContext(element); element 100 Source/core/rendering/svg/RenderSVGViewportContainer.cpp SVGLengthContext lengthContext(element); element 137 Source/core/rendering/svg/RenderSVGViewportContainer.cpp ASSERT(element()); element 138 Source/core/rendering/svg/RenderSVGViewportContainer.cpp if (isSVGSVGElement(*element())) { element 139 Source/core/rendering/svg/RenderSVGViewportContainer.cpp SVGSVGElement* svg = toSVGSVGElement(element()); element 157 Source/core/rendering/svg/RenderSVGViewportContainer.cpp ASSERT(element()); element 159 Source/core/rendering/svg/RenderSVGViewportContainer.cpp if (isSVGSVGElement(*element()) && toSVGSVGElement(*element()).hasEmptyViewBox()) element 58 Source/core/rendering/svg/SVGMarkerData.h static void updateFromPathElement(void* info, const PathElement* element) element 63 Source/core/rendering/svg/SVGMarkerData.h markerData->updateOutslope(element->points[0]); element 72 Source/core/rendering/svg/SVGMarkerData.h markerData->updateMarkerDataForPathElement(element); element 113 Source/core/rendering/svg/SVGMarkerData.h void updateMarkerDataForPathElement(const PathElement* element) element 115 Source/core/rendering/svg/SVGMarkerData.h FloatPoint* points = element->points; element 117 Source/core/rendering/svg/SVGMarkerData.h switch (element->type) { element 37 Source/core/rendering/svg/SVGPathData.cpp static void updatePathFromCircleElement(SVGElement* element, Path& path) element 39 Source/core/rendering/svg/SVGPathData.cpp SVGCircleElement* circle = toSVGCircleElement(element); element 41 Source/core/rendering/svg/SVGPathData.cpp SVGLengthContext lengthContext(element); element 47 Source/core/rendering/svg/SVGPathData.cpp static void updatePathFromEllipseElement(SVGElement* element, Path& path) element 49 Source/core/rendering/svg/SVGPathData.cpp SVGEllipseElement* ellipse = toSVGEllipseElement(element); element 51 Source/core/rendering/svg/SVGPathData.cpp SVGLengthContext lengthContext(element); element 64 Source/core/rendering/svg/SVGPathData.cpp static void updatePathFromLineElement(SVGElement* element, Path& path) element 66 Source/core/rendering/svg/SVGPathData.cpp SVGLineElement* line = toSVGLineElement(element); element 68 Source/core/rendering/svg/SVGPathData.cpp SVGLengthContext lengthContext(element); element 73 Source/core/rendering/svg/SVGPathData.cpp static void updatePathFromPathElement(SVGElement* element, Path& path) element 75 Source/core/rendering/svg/SVGPathData.cpp buildPathFromByteStream(toSVGPathElement(element)->pathByteStream(), path); element 78 Source/core/rendering/svg/SVGPathData.cpp static void updatePathFromPolylineElement(SVGElement* element, Path& path) element 80 Source/core/rendering/svg/SVGPathData.cpp RefPtr<SVGPointList> points = toSVGPolyElement(element)->points()->currentValue(); element 94 Source/core/rendering/svg/SVGPathData.cpp static void updatePathFromPolygonElement(SVGElement* element, Path& path) element 96 Source/core/rendering/svg/SVGPathData.cpp updatePathFromPolylineElement(element, path); element 100 Source/core/rendering/svg/SVGPathData.cpp static void updatePathFromRectElement(SVGElement* element, Path& path) element 102 Source/core/rendering/svg/SVGPathData.cpp SVGRectElement* rect = toSVGRectElement(element); element 104 Source/core/rendering/svg/SVGPathData.cpp SVGLengthContext lengthContext(element); element 132 Source/core/rendering/svg/SVGPathData.cpp void updatePathFromGraphicsElement(SVGElement* element, Path& path) element 134 Source/core/rendering/svg/SVGPathData.cpp ASSERT(element); element 150 Source/core/rendering/svg/SVGPathData.cpp if (PathUpdateFunction pathUpdateFunction = map->get(element->localName().impl())) element 151 Source/core/rendering/svg/SVGPathData.cpp (*pathUpdateFunction)(element, path); element 221 Source/core/rendering/svg/SVGRenderSupport.cpp if (SVGElement* element = child->node()->isSVGElement() ? toSVGElement(child->node()) : 0) { element 222 Source/core/rendering/svg/SVGRenderSupport.cpp if (element->hasRelativeLengths()) { element 257 Source/core/rendering/svg/SVGRenderTreeAsText.cpp SVGElement* element = container->element(); element 258 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ASSERT(element); element 267 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ts << " [id=\"" << element->getIdAttribute() << "\"]"; element 281 Source/core/rendering/svg/SVGRenderTreeAsText.cpp ASSERT(shape.element()); element 289 Source/core/rendering/svg/SVGRenderTreeAsText.cpp SVGLengthContext lengthContext(shape.element()); element 340 Source/core/rendering/svg/SVGRenderTreeAsText.cpp SVGElement* svgElement = shape.element(); element 345 Source/core/rendering/svg/SVGRenderTreeAsText.cpp SVGRectElement& element = toSVGRectElement(*svgElement); element 346 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "x", element.x()->currentValue()->value(lengthContext)); element 347 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "y", element.y()->currentValue()->value(lengthContext)); element 348 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "width", element.width()->currentValue()->value(lengthContext)); element 349 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "height", element.height()->currentValue()->value(lengthContext)); element 351 Source/core/rendering/svg/SVGRenderTreeAsText.cpp SVGLineElement& element = toSVGLineElement(*svgElement); element 352 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "x1", element.x1()->currentValue()->value(lengthContext)); element 353 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "y1", element.y1()->currentValue()->value(lengthContext)); element 354 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "x2", element.x2()->currentValue()->value(lengthContext)); element 355 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "y2", element.y2()->currentValue()->value(lengthContext)); element 357 Source/core/rendering/svg/SVGRenderTreeAsText.cpp SVGEllipseElement& element = toSVGEllipseElement(*svgElement); element 358 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "cx", element.cx()->currentValue()->value(lengthContext)); element 359 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "cy", element.cy()->currentValue()->value(lengthContext)); element 360 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "rx", element.rx()->currentValue()->value(lengthContext)); element 361 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "ry", element.ry()->currentValue()->value(lengthContext)); element 363 Source/core/rendering/svg/SVGRenderTreeAsText.cpp SVGCircleElement& element = toSVGCircleElement(*svgElement); element 364 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "cx", element.cx()->currentValue()->value(lengthContext)); element 365 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "cy", element.cy()->currentValue()->value(lengthContext)); element 366 Source/core/rendering/svg/SVGRenderTreeAsText.cpp writeNameValuePair(ts, "r", element.r()->currentValue()->value(lengthContext)); element 495 Source/core/rendering/svg/SVGRenderTreeAsText.cpp Element* element = toElement(object.node()); element 496 Source/core/rendering/svg/SVGRenderTreeAsText.cpp const AtomicString& id = element->getIdAttribute(); element 538 Source/core/rendering/svg/SVGRenderTreeAsText.cpp toSVGPatternElement(pattern->element())->collectPatternAttributes(attributes); element 553 Source/core/rendering/svg/SVGRenderTreeAsText.cpp toSVGLinearGradientElement(gradient->element())->collectGradientAttributes(attributes); element 563 Source/core/rendering/svg/SVGRenderTreeAsText.cpp toSVGRadialGradientElement(gradient->element())->collectGradientAttributes(attributes); element 94 Source/core/rendering/svg/SVGResources.cpp bool SVGResources::supportsMarkers(const SVGElement& element) element 104 Source/core/rendering/svg/SVGResources.cpp return s_tagList.contains(element.localName()); element 140 Source/core/rendering/svg/SVGResources.cpp static inline AtomicString targetReferenceFromResource(SVGElement& element) element 143 Source/core/rendering/svg/SVGResources.cpp if (isSVGPatternElement(element)) element 144 Source/core/rendering/svg/SVGResources.cpp target = toSVGPatternElement(element).href()->currentValue()->value(); element 145 Source/core/rendering/svg/SVGResources.cpp else if (isSVGGradientElement(element)) element 146 Source/core/rendering/svg/SVGResources.cpp target = toSVGGradientElement(element).href()->currentValue()->value(); element 147 Source/core/rendering/svg/SVGResources.cpp else if (isSVGFilterElement(element)) element 148 Source/core/rendering/svg/SVGResources.cpp target = toSVGFilterElement(element).href()->currentValue()->value(); element 152 Source/core/rendering/svg/SVGResources.cpp return SVGURIReference::fragmentIdentifierFromIRIString(target, element.document()); element 189 Source/core/rendering/svg/SVGResources.cpp static inline void registerPendingResource(SVGDocumentExtensions& extensions, const AtomicString& id, SVGElement* element) element 191 Source/core/rendering/svg/SVGResources.cpp ASSERT(element); element 192 Source/core/rendering/svg/SVGResources.cpp extensions.addPendingResource(id, element); element 220 Source/core/rendering/svg/SVGResources.cpp SVGElement* element = toSVGElement(node); element 221 Source/core/rendering/svg/SVGResources.cpp if (!element) element 228 Source/core/rendering/svg/SVGResources.cpp const AtomicString& tagName = element->localName(); element 237 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, id, element); element 243 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, id, element); element 249 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, id, element); element 253 Source/core/rendering/svg/SVGResources.cpp if (style->hasMarkers() && supportsMarkers(*element)) { element 256 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, markerStartId, element); element 260 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, markerMidId, element); element 264 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, markerEndId, element); element 273 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, id, element); element 282 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, id, element); element 288 Source/core/rendering/svg/SVGResources.cpp AtomicString id = targetReferenceFromResource(*element); element 290 Source/core/rendering/svg/SVGResources.cpp registerPendingResource(extensions, id, element); element 680 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> Clipper : %p (node=%p)\n", clipper, clipper->element()); element 682 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> Filter : %p (node=%p)\n", filter, filter->element()); element 684 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> Masker : %p (node=%p)\n", masker, masker->element()); element 689 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> MarkerStart: %p (node=%p)\n", markerStart, markerStart->element()); element 691 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> MarkerMid : %p (node=%p)\n", markerMid, markerMid->element()); element 693 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> MarkerEnd : %p (node=%p)\n", markerEnd, markerEnd->element()); element 698 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> Fill : %p (node=%p)\n", fill, fill->element()); element 700 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> Stroke : %p (node=%p)\n", stroke, stroke->element()); element 704 Source/core/rendering/svg/SVGResources.cpp fprintf(stderr, " |-> xlink:href : %p (node=%p)\n", m_linkedResource, m_linkedResource->element()); element 193 Source/core/rendering/svg/SVGResourcesCache.cpp Element* resourceElement = resource->element(); element 39 Source/core/rendering/svg/SVGSubpathData.h static void updateFromPathElement(void* info, const PathElement* element) element 42 Source/core/rendering/svg/SVGSubpathData.h switch (element->type) { element 46 Source/core/rendering/svg/SVGSubpathData.h subpathFinder->m_lastPoint = subpathFinder->m_movePoint = element->points[0]; element 51 Source/core/rendering/svg/SVGSubpathData.h if (subpathFinder->m_lastPoint != element->points[0]) { element 53 Source/core/rendering/svg/SVGSubpathData.h subpathFinder->m_lastPoint = element->points[0]; element 58 Source/core/rendering/svg/SVGSubpathData.h if (subpathFinder->m_lastPoint != element->points[0] || element->points[0] != element->points[1]) { element 60 Source/core/rendering/svg/SVGSubpathData.h subpathFinder->m_lastPoint = element->points[1]; element 65 Source/core/rendering/svg/SVGSubpathData.h if (subpathFinder->m_lastPoint != element->points[0] || element->points[0] != element->points[1] || element->points[1] != element->points[2]) { element 67 Source/core/rendering/svg/SVGSubpathData.h subpathFinder->m_lastPoint = element->points[2]; element 117 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp SVGTextPositioningElement* element = SVGTextPositioningElement::elementFromRenderer(child); element 119 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp if (element) element 120 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp m_textPositions.append(TextPosition(element, m_textLength)); element 124 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp if (!element) element 182 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp RefPtr<SVGLengthList> xList = position.element->x()->currentValue(); element 183 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp RefPtr<SVGLengthList> yList = position.element->y()->currentValue(); element 184 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp RefPtr<SVGLengthList> dxList = position.element->dx()->currentValue(); element 185 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp RefPtr<SVGLengthList> dyList = position.element->dy()->currentValue(); element 186 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp RefPtr<SVGNumberList> rotateList = position.element->rotate()->currentValue(); element 197 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.cpp SVGLengthContext lengthContext(position.element); element 57 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.h : element(newElement) element 63 Source/core/rendering/svg/SVGTextLayoutAttributesBuilder.h SVGTextPositioningElement* element; element 78 Source/core/svg/SVGAltGlyphElement.cpp Element* element = targetElementFromIRIString(getAttribute(XLinkNames::hrefAttr), document(), &target); element 79 Source/core/svg/SVGAltGlyphElement.cpp if (!element) element 82 Source/core/svg/SVGAltGlyphElement.cpp if (isSVGGlyphElement(*element)) { element 87 Source/core/svg/SVGAltGlyphElement.cpp if (isSVGAltGlyphDefElement(*element) && toSVGAltGlyphDefElement(*element).hasValidGlyphElements(glyphNames)) element 655 Source/core/svg/SVGAnimationElement.cpp void SVGAnimationElement::computeCSSPropertyValue(SVGElement* element, CSSPropertyID id, String& value) element 657 Source/core/svg/SVGAnimationElement.cpp ASSERT(element); element 660 Source/core/svg/SVGAnimationElement.cpp element->setUseOverrideComputedStyle(true); element 661 Source/core/svg/SVGAnimationElement.cpp value = CSSComputedStyleDeclaration::create(element)->getPropertyValue(id); element 662 Source/core/svg/SVGAnimationElement.cpp element->setUseOverrideComputedStyle(false); element 88 Source/core/svg/SVGCursorElement.cpp void SVGCursorElement::addClient(SVGElement* element) element 90 Source/core/svg/SVGCursorElement.cpp m_clients.add(element); element 91 Source/core/svg/SVGCursorElement.cpp element->setCursorElement(this); element 94 Source/core/svg/SVGCursorElement.cpp void SVGCursorElement::removeClient(SVGElement* element) element 96 Source/core/svg/SVGCursorElement.cpp HashSet<SVGElement*>::iterator it = m_clients.find(element); element 99 Source/core/svg/SVGCursorElement.cpp element->cursorElementRemoved(); element 103 Source/core/svg/SVGCursorElement.cpp void SVGCursorElement::removeReferencedElement(SVGElement* element) element 105 Source/core/svg/SVGCursorElement.cpp m_clients.remove(element); element 50 Source/core/svg/SVGDocumentExtensions.cpp void SVGDocumentExtensions::addTimeContainer(SVGSVGElement* element) element 52 Source/core/svg/SVGDocumentExtensions.cpp m_timeContainers.add(element); element 55 Source/core/svg/SVGDocumentExtensions.cpp void SVGDocumentExtensions::removeTimeContainer(SVGSVGElement* element) element 57 Source/core/svg/SVGDocumentExtensions.cpp m_timeContainers.remove(element); element 163 Source/core/svg/SVGDocumentExtensions.cpp void SVGDocumentExtensions::addPendingResource(const AtomicString& id, Element* element) element 165 Source/core/svg/SVGDocumentExtensions.cpp ASSERT(element); element 166 Source/core/svg/SVGDocumentExtensions.cpp ASSERT(element->inDocument()); element 174 Source/core/svg/SVGDocumentExtensions.cpp result.storedValue->value->add(element); element 176 Source/core/svg/SVGDocumentExtensions.cpp element->setHasPendingResources(); element 187 Source/core/svg/SVGDocumentExtensions.cpp bool SVGDocumentExtensions::isElementPendingResources(Element* element) const element 192 Source/core/svg/SVGDocumentExtensions.cpp ASSERT(element); element 199 Source/core/svg/SVGDocumentExtensions.cpp if (elements->contains(element)) element 205 Source/core/svg/SVGDocumentExtensions.cpp bool SVGDocumentExtensions::isElementPendingResource(Element* element, const AtomicString& id) const element 207 Source/core/svg/SVGDocumentExtensions.cpp ASSERT(element); element 212 Source/core/svg/SVGDocumentExtensions.cpp return m_pendingResources.get(id)->contains(element); element 215 Source/core/svg/SVGDocumentExtensions.cpp void SVGDocumentExtensions::clearHasPendingResourcesIfPossible(Element* element) element 217 Source/core/svg/SVGDocumentExtensions.cpp if (!isElementPendingResources(element)) element 218 Source/core/svg/SVGDocumentExtensions.cpp element->clearHasPendingResources(); element 221 Source/core/svg/SVGDocumentExtensions.cpp void SVGDocumentExtensions::removeElementFromPendingResources(Element* element) element 223 Source/core/svg/SVGDocumentExtensions.cpp ASSERT(element); element 226 Source/core/svg/SVGDocumentExtensions.cpp if (!m_pendingResources.isEmpty() && element->hasPendingResources()) { element 234 Source/core/svg/SVGDocumentExtensions.cpp elements->remove(element); element 239 Source/core/svg/SVGDocumentExtensions.cpp clearHasPendingResourcesIfPossible(element); element 256 Source/core/svg/SVGDocumentExtensions.cpp elements->remove(element); element 302 Source/core/svg/SVGDocumentExtensions.cpp Element* element = *firstElement; element 309 Source/core/svg/SVGDocumentExtensions.cpp return element; element 424 Source/core/svg/SVGDocumentExtensions.cpp void SVGDocumentExtensions::registerSVGFontFaceElement(SVGFontFaceElement* element) element 426 Source/core/svg/SVGDocumentExtensions.cpp m_svgFontFaceElements.add(element); element 429 Source/core/svg/SVGDocumentExtensions.cpp void SVGDocumentExtensions::unregisterSVGFontFaceElement(SVGFontFaceElement* element) element 431 Source/core/svg/SVGDocumentExtensions.cpp ASSERT(m_svgFontFaceElements.contains(element)); element 432 Source/core/svg/SVGDocumentExtensions.cpp m_svgFontFaceElements.remove(element); element 741 Source/core/svg/SVGElement.cpp static inline void collectInstancesForSVGElement(SVGElement* element, HashSet<SVGElementInstance*>& instances) element 743 Source/core/svg/SVGElement.cpp ASSERT(element); element 744 Source/core/svg/SVGElement.cpp if (element->containingShadowRoot()) element 747 Source/core/svg/SVGElement.cpp ASSERT(!element->instanceUpdatesBlocked()); element 749 Source/core/svg/SVGElement.cpp instances = element->instancesForElement(); element 822 Source/core/svg/SVGElement.cpp static bool hasLoadListener(Element* element) element 824 Source/core/svg/SVGElement.cpp if (element->hasEventListeners(EventTypeNames::load)) element 827 Source/core/svg/SVGElement.cpp for (element = element->parentOrShadowHostElement(); element; element = element->parentOrShadowHostElement()) { element 828 Source/core/svg/SVGElement.cpp const EventListenerVector& entry = element->getEventListeners(EventTypeNames::load); element 849 Source/core/svg/SVGElement.cpp SVGElement* element = currentTarget.get(); element 850 Source/core/svg/SVGElement.cpp if (!element || !element->isOutermostSVGSVGElement()) element 161 Source/core/svg/SVGElementInstance.cpp void SVGElementInstance::setShadowTreeElement(SVGElement* element) element 163 Source/core/svg/SVGElementInstance.cpp ASSERT(element); element 164 Source/core/svg/SVGElementInstance.cpp m_shadowTreeElement = element; element 172 Source/core/svg/SVGElementInstance.cpp void SVGElementInstance::invalidateAllInstancesOfElement(SVGElement* element) element 174 Source/core/svg/SVGElementInstance.cpp if (!element || !element->inDocument()) element 177 Source/core/svg/SVGElementInstance.cpp if (element->instanceUpdatesBlocked()) element 180 Source/core/svg/SVGElementInstance.cpp const HashSet<SVGElementInstance*>& set = element->instancesForElement(); element 190 Source/core/svg/SVGElementInstance.cpp ASSERT((*it)->correspondingElement() == element); element 193 Source/core/svg/SVGElementInstance.cpp if (SVGUseElement* element = (*it)->correspondingUseElement()) { element 194 Source/core/svg/SVGElementInstance.cpp ASSERT(element->inDocument()); element 195 Source/core/svg/SVGElementInstance.cpp element->invalidateShadowTree(); element 199 Source/core/svg/SVGElementInstance.cpp element->document().updateRenderTreeIfNeeded(); element 239 Source/core/svg/SVGElementInstance.cpp SVGElement* element = shadowTreeElement(); element 240 Source/core/svg/SVGElementInstance.cpp if (!element) element 243 Source/core/svg/SVGElementInstance.cpp return element->dispatchEvent(event); element 81 Source/core/svg/SVGElementInstance.h InvalidationGuard(SVGElement* element) : m_element(element) { } element 57 Source/core/svg/SVGElementRareData.h static SVGElementRareData* rareDataFromMap(const SVGElement* element) element 59 Source/core/svg/SVGElementRareData.h return rareDataMap().get(element); element 90 Source/core/svg/SVGElementRareData.h RenderStyle* overrideComputedStyle(Element* element, RenderStyle* parentStyle) element 92 Source/core/svg/SVGElementRareData.h ASSERT(element); element 97 Source/core/svg/SVGElementRareData.h m_overrideComputedStyle = element->document().ensureStyleResolver().styleForElement(element, parentStyle, DisallowStyleSharing, MatchAllRulesExcludingSMIL); element 86 Source/core/svg/SVGFEComponentTransferElement.cpp for (SVGElement* element = Traversal<SVGElement>::firstChild(*this); element; element = Traversal<SVGElement>::nextSibling(*element)) { element 87 Source/core/svg/SVGFEComponentTransferElement.cpp if (isSVGFEFuncRElement(*element)) element 88 Source/core/svg/SVGFEComponentTransferElement.cpp red = toSVGFEFuncRElement(*element).transferFunction(); element 89 Source/core/svg/SVGFEComponentTransferElement.cpp else if (isSVGFEFuncGElement(*element)) element 90 Source/core/svg/SVGFEComponentTransferElement.cpp green = toSVGFEFuncGElement(*element).transferFunction(); element 91 Source/core/svg/SVGFEComponentTransferElement.cpp else if (isSVGFEFuncBElement(*element)) element 92 Source/core/svg/SVGFEComponentTransferElement.cpp blue = toSVGFEFuncBElement(*element).transferFunction(); element 93 Source/core/svg/SVGFEComponentTransferElement.cpp else if (isSVGFEFuncAElement(*element)) element 94 Source/core/svg/SVGFEComponentTransferElement.cpp alpha = toSVGFEFuncAElement(*element).transferFunction(); element 47 Source/core/svg/SVGFEMergeElement.cpp for (SVGFEMergeNodeElement* element = Traversal<SVGFEMergeNodeElement>::firstChild(*this); element; element = Traversal<SVGFEMergeNodeElement>::nextSibling(*element)) { element 48 Source/core/svg/SVGFEMergeElement.cpp FilterEffect* mergeEffect = filterBuilder->getEffectById(AtomicString(element->in1()->currentValue()->value())); element 153 Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp void invalidateFilterPrimitiveParent(SVGElement* element) element 155 Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp if (!element) element 158 Source/core/svg/SVGFilterPrimitiveStandardAttributes.cpp ContainerNode* parent = element->parentNode(); element 37 Source/core/svg/SVGFitToViewBox.cpp SVGFitToViewBox::SVGFitToViewBox(SVGElement* element, PropertyMapPolicy propertyMapPolicy) element 38 Source/core/svg/SVGFitToViewBox.cpp : m_viewBox(SVGAnimatedRect::create(element, SVGNames::viewBoxAttr)) element 39 Source/core/svg/SVGFitToViewBox.cpp , m_preserveAspectRatio(SVGAnimatedPreserveAspectRatio::create(element, SVGNames::preserveAspectRatioAttr, SVGPreserveAspectRatio::create())) element 41 Source/core/svg/SVGFitToViewBox.cpp ASSERT(element); element 43 Source/core/svg/SVGFitToViewBox.cpp element->addToPropertyMap(m_viewBox); element 44 Source/core/svg/SVGFitToViewBox.cpp element->addToPropertyMap(m_preserveAspectRatio); element 35 Source/core/svg/SVGFontData.h static PassRefPtr<SVGFontData> create(SVGFontFaceElement* element) element 37 Source/core/svg/SVGFontData.h return adoptRef(new SVGFontData(element)); element 168 Source/core/svg/SVGFontElement.cpp for (SVGElement* element = Traversal<SVGElement>::firstChild(*this); element; element = Traversal<SVGElement>::nextSibling(*element)) { element 169 Source/core/svg/SVGFontElement.cpp if (isSVGGlyphElement(*element)) { element 170 Source/core/svg/SVGFontElement.cpp SVGGlyphElement& glyph = toSVGGlyphElement(*element); element 181 Source/core/svg/SVGFontElement.cpp } else if (isSVGHKernElement(*element)) { element 182 Source/core/svg/SVGFontElement.cpp toSVGHKernElement(*element).buildHorizontalKerningPair(horizontalKerningPairs); element 183 Source/core/svg/SVGFontElement.cpp } else if (isSVGVKernElement(*element)) { element 184 Source/core/svg/SVGFontElement.cpp toSVGVKernElement(*element).buildVerticalKerningPair(verticalKerningPairs); element 185 Source/core/svg/SVGFontElement.cpp } else if (isSVGMissingGlyphElement(*element) && !firstMissingGlyphElement) { element 186 Source/core/svg/SVGFontElement.cpp firstMissingGlyphElement = toSVGMissingGlyphElement(element); element 289 Source/core/svg/SVGFontFaceElement.cpp if (SVGFontFaceSrcElement* element = Traversal<SVGFontFaceSrcElement>::lastChild(*this)) element 290 Source/core/svg/SVGFontFaceElement.cpp list = element->srcValue(); element 17 Source/core/svg/SVGFontFaceSource.cpp SVGFontFaceSource::SVGFontFaceSource(PassRefPtr<SVGFontFaceElement> element) element 18 Source/core/svg/SVGFontFaceSource.cpp : m_svgFontFaceElement(element) element 51 Source/core/svg/SVGFontFaceSrcElement.cpp for (SVGElement* element = Traversal<SVGElement>::firstChild(*this); element; element = Traversal<SVGElement>::nextSibling(*element)) { element 53 Source/core/svg/SVGFontFaceSrcElement.cpp if (isSVGFontFaceUriElement(*element)) element 54 Source/core/svg/SVGFontFaceSrcElement.cpp srcValue = toSVGFontFaceUriElement(*element).srcValue(); element 55 Source/core/svg/SVGFontFaceSrcElement.cpp else if (isSVGFontFaceNameElement(*element)) element 56 Source/core/svg/SVGFontFaceSrcElement.cpp srcValue = toSVGFontFaceNameElement(*element).srcValue(); element 111 Source/core/svg/SVGGlyphElement.cpp static inline float parseSVGGlyphAttribute(const SVGElement* element, const WebCore::QualifiedName& name) element 113 Source/core/svg/SVGGlyphElement.cpp AtomicString value(element->fastGetAttribute(name)); element 120 Source/core/svg/SVGGlyphElement.cpp SVGGlyph SVGGlyphElement::buildGenericGlyphIdentifier(const SVGElement* element) element 123 Source/core/svg/SVGGlyphElement.cpp buildPathFromString(element->fastGetAttribute(SVGNames::dAttr), identifier.pathData); element 129 Source/core/svg/SVGGlyphElement.cpp identifier.horizontalAdvanceX = parseSVGGlyphAttribute(element, SVGNames::horiz_adv_xAttr); element 134 Source/core/svg/SVGGlyphElement.cpp identifier.verticalOriginX = parseSVGGlyphAttribute(element, SVGNames::vert_origin_xAttr); element 139 Source/core/svg/SVGGlyphElement.cpp identifier.verticalOriginY = parseSVGGlyphAttribute(element, SVGNames::vert_origin_yAttr); element 144 Source/core/svg/SVGGlyphElement.cpp identifier.verticalAdvanceY = parseSVGGlyphAttribute(element, SVGNames::vert_adv_yAttr); element 51 Source/core/svg/SVGGlyphRefElement.cpp Element* element = targetElementFromIRIString(getAttribute(XLinkNames::hrefAttr), document(), &glyphName); element 52 Source/core/svg/SVGGlyphRefElement.cpp return isSVGGlyphElement(element); element 63 Source/core/svg/SVGGraphicsElement.cpp static bool isViewportElement(const Element& element) element 65 Source/core/svg/SVGGraphicsElement.cpp return (isSVGSVGElement(element) element 66 Source/core/svg/SVGGraphicsElement.cpp || isSVGSymbolElement(element) element 67 Source/core/svg/SVGGraphicsElement.cpp || isSVGForeignObjectElement(element) element 68 Source/core/svg/SVGGraphicsElement.cpp || isSVGImageElement(element)); element 40 Source/core/svg/SVGImageLoader.cpp element()->dispatchEvent(Event::create(EventTypeNames::error)); element 42 Source/core/svg/SVGImageLoader.cpp SVGImageElement* imageElement = toSVGImageElement(element()); element 49 Source/core/svg/SVGImageLoader.cpp KURL base = element()->baseURI(); element 52 Source/core/svg/SVGImageLoader.cpp return element()->document().completeURL(stripLeadingAndTrailingHTMLSpaces(attribute)); element 112 Source/core/svg/SVGLinearGradientElement.cpp static void setGradientAttributes(SVGGradientElement* element, LinearGradientAttributes& attributes, bool isLinear = true) element 114 Source/core/svg/SVGLinearGradientElement.cpp if (!attributes.hasSpreadMethod() && element->spreadMethod()->isSpecified()) element 115 Source/core/svg/SVGLinearGradientElement.cpp attributes.setSpreadMethod(element->spreadMethod()->currentValue()->enumValue()); element 117 Source/core/svg/SVGLinearGradientElement.cpp if (!attributes.hasGradientUnits() && element->gradientUnits()->isSpecified()) element 118 Source/core/svg/SVGLinearGradientElement.cpp attributes.setGradientUnits(element->gradientUnits()->currentValue()->enumValue()); element 120 Source/core/svg/SVGLinearGradientElement.cpp if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) { element 122 Source/core/svg/SVGLinearGradientElement.cpp element->gradientTransform()->currentValue()->concatenate(transform); element 127 Source/core/svg/SVGLinearGradientElement.cpp const Vector<Gradient::ColorStop>& stops(element->buildStops()); element 133 Source/core/svg/SVGLinearGradientElement.cpp SVGLinearGradientElement* linear = toSVGLinearGradientElement(element); element 30 Source/core/svg/SVGPathSegArc.h SVGPathSegArc(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) element 31 Source/core/svg/SVGPathSegArc.h : SVGPathSegWithContext(element, role) element 31 Source/core/svg/SVGPathSegArcAbs.h static PassRefPtr<SVGPathSegArcAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) element 33 Source/core/svg/SVGPathSegArcAbs.h return adoptRef(new SVGPathSegArcAbs(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)); element 37 Source/core/svg/SVGPathSegArcAbs.h SVGPathSegArcAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) element 38 Source/core/svg/SVGPathSegArcAbs.h : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag) element 31 Source/core/svg/SVGPathSegArcRel.h static PassRefPtr<SVGPathSegArcRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) element 33 Source/core/svg/SVGPathSegArcRel.h return adoptRef(new SVGPathSegArcRel(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)); element 37 Source/core/svg/SVGPathSegArcRel.h SVGPathSegArcRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag) element 38 Source/core/svg/SVGPathSegArcRel.h : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag) element 30 Source/core/svg/SVGPathSegClosePath.h static PassRefPtr<SVGPathSegClosePath> create(SVGPathElement* element, SVGPathSegRole role) element 32 Source/core/svg/SVGPathSegClosePath.h return adoptRef(new SVGPathSegClosePath(element, role)); element 36 Source/core/svg/SVGPathSegClosePath.h SVGPathSegClosePath(SVGPathElement* element, SVGPathSegRole role) element 37 Source/core/svg/SVGPathSegClosePath.h : SVGPathSegWithContext(element, role) element 30 Source/core/svg/SVGPathSegCurvetoCubic.h SVGPathSegCurvetoCubic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) element 31 Source/core/svg/SVGPathSegCurvetoCubic.h : SVGPathSegWithContext(element, role) element 31 Source/core/svg/SVGPathSegCurvetoCubicAbs.h static PassRefPtr<SVGPathSegCurvetoCubicAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) element 33 Source/core/svg/SVGPathSegCurvetoCubicAbs.h return adoptRef(new SVGPathSegCurvetoCubicAbs(element, role, x, y, x1, y1, x2, y2)); element 37 Source/core/svg/SVGPathSegCurvetoCubicAbs.h SVGPathSegCurvetoCubicAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) element 38 Source/core/svg/SVGPathSegCurvetoCubicAbs.h : SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2) element 31 Source/core/svg/SVGPathSegCurvetoCubicRel.h static PassRefPtr<SVGPathSegCurvetoCubicRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) element 33 Source/core/svg/SVGPathSegCurvetoCubicRel.h return adoptRef(new SVGPathSegCurvetoCubicRel(element, role, x, y, x1, y1, x2, y2)); element 37 Source/core/svg/SVGPathSegCurvetoCubicRel.h SVGPathSegCurvetoCubicRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1, float x2, float y2) element 38 Source/core/svg/SVGPathSegCurvetoCubicRel.h : SVGPathSegCurvetoCubic(element, role, x, y, x1, y1, x2, y2) element 30 Source/core/svg/SVGPathSegCurvetoCubicSmooth.h SVGPathSegCurvetoCubicSmooth(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) element 31 Source/core/svg/SVGPathSegCurvetoCubicSmooth.h : SVGPathSegWithContext(element, role) element 31 Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.h static PassRefPtr<SVGPathSegCurvetoCubicSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) element 33 Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.h return adoptRef(new SVGPathSegCurvetoCubicSmoothAbs(element, role, x, y, x2, y2)); element 37 Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.h SVGPathSegCurvetoCubicSmoothAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) element 38 Source/core/svg/SVGPathSegCurvetoCubicSmoothAbs.h : SVGPathSegCurvetoCubicSmooth(element, role, x, y, x2, y2) element 31 Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h static PassRefPtr<SVGPathSegCurvetoCubicSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) element 33 Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h return adoptRef(new SVGPathSegCurvetoCubicSmoothRel(element, role, x, y, x2, y2)); element 37 Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h SVGPathSegCurvetoCubicSmoothRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x2, float y2) element 38 Source/core/svg/SVGPathSegCurvetoCubicSmoothRel.h : SVGPathSegCurvetoCubicSmooth(element, role, x, y, x2, y2) element 30 Source/core/svg/SVGPathSegCurvetoQuadratic.h SVGPathSegCurvetoQuadratic(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) element 31 Source/core/svg/SVGPathSegCurvetoQuadratic.h : SVGPathSegWithContext(element, role) element 31 Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h static PassRefPtr<SVGPathSegCurvetoQuadraticAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) element 33 Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h return adoptRef(new SVGPathSegCurvetoQuadraticAbs(element, role, x, y, x1, y1)); element 37 Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h SVGPathSegCurvetoQuadraticAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) element 38 Source/core/svg/SVGPathSegCurvetoQuadraticAbs.h : SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1) element 31 Source/core/svg/SVGPathSegCurvetoQuadraticRel.h static PassRefPtr<SVGPathSegCurvetoQuadraticRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) element 33 Source/core/svg/SVGPathSegCurvetoQuadraticRel.h return adoptRef(new SVGPathSegCurvetoQuadraticRel(element, role, x, y, x1, y1)); element 37 Source/core/svg/SVGPathSegCurvetoQuadraticRel.h SVGPathSegCurvetoQuadraticRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float x1, float y1) element 38 Source/core/svg/SVGPathSegCurvetoQuadraticRel.h : SVGPathSegCurvetoQuadratic(element, role, x, y, x1, y1) element 31 Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 33 Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h return adoptRef(new SVGPathSegCurvetoQuadraticSmoothAbs(element, role, x, y)); element 37 Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h SVGPathSegCurvetoQuadraticSmoothAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 38 Source/core/svg/SVGPathSegCurvetoQuadraticSmoothAbs.h : SVGPathSegSingleCoordinate(element, role, x, y) element 31 Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 33 Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h return adoptRef(new SVGPathSegCurvetoQuadraticSmoothRel(element, role, x, y)); element 37 Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h SVGPathSegCurvetoQuadraticSmoothRel(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 38 Source/core/svg/SVGPathSegCurvetoQuadraticSmoothRel.h : SVGPathSegSingleCoordinate(element, role, x, y) element 31 Source/core/svg/SVGPathSegLinetoAbs.h static PassRefPtr<SVGPathSegLinetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 33 Source/core/svg/SVGPathSegLinetoAbs.h return adoptRef(new SVGPathSegLinetoAbs(element, role, x, y)); element 37 Source/core/svg/SVGPathSegLinetoAbs.h SVGPathSegLinetoAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 38 Source/core/svg/SVGPathSegLinetoAbs.h : SVGPathSegSingleCoordinate(element, role, x, y) element 30 Source/core/svg/SVGPathSegLinetoHorizontal.h SVGPathSegLinetoHorizontal(SVGPathElement* element, SVGPathSegRole role, float x) element 31 Source/core/svg/SVGPathSegLinetoHorizontal.h : SVGPathSegWithContext(element, role) element 31 Source/core/svg/SVGPathSegLinetoHorizontalAbs.h static PassRefPtr<SVGPathSegLinetoHorizontalAbs> create(SVGPathElement* element, SVGPathSegRole role, float x) element 33 Source/core/svg/SVGPathSegLinetoHorizontalAbs.h return adoptRef(new SVGPathSegLinetoHorizontalAbs(element, role, x)); element 37 Source/core/svg/SVGPathSegLinetoHorizontalAbs.h SVGPathSegLinetoHorizontalAbs(SVGPathElement* element, SVGPathSegRole role, float x) element 38 Source/core/svg/SVGPathSegLinetoHorizontalAbs.h : SVGPathSegLinetoHorizontal(element, role, x) element 31 Source/core/svg/SVGPathSegLinetoHorizontalRel.h static PassRefPtr<SVGPathSegLinetoHorizontalRel> create(SVGPathElement* element, SVGPathSegRole role, float x) element 33 Source/core/svg/SVGPathSegLinetoHorizontalRel.h return adoptRef(new SVGPathSegLinetoHorizontalRel(element, role, x)); element 37 Source/core/svg/SVGPathSegLinetoHorizontalRel.h SVGPathSegLinetoHorizontalRel(SVGPathElement* element, SVGPathSegRole role, float x) element 38 Source/core/svg/SVGPathSegLinetoHorizontalRel.h : SVGPathSegLinetoHorizontal(element, role, x) element 31 Source/core/svg/SVGPathSegLinetoRel.h static PassRefPtr<SVGPathSegLinetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 33 Source/core/svg/SVGPathSegLinetoRel.h return adoptRef(new SVGPathSegLinetoRel(element, role, x, y)); element 37 Source/core/svg/SVGPathSegLinetoRel.h SVGPathSegLinetoRel(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 38 Source/core/svg/SVGPathSegLinetoRel.h : SVGPathSegSingleCoordinate(element, role, x, y) element 30 Source/core/svg/SVGPathSegLinetoVertical.h SVGPathSegLinetoVertical(SVGPathElement* element, SVGPathSegRole role, float y) element 31 Source/core/svg/SVGPathSegLinetoVertical.h : SVGPathSegWithContext(element, role) element 31 Source/core/svg/SVGPathSegLinetoVerticalAbs.h static PassRefPtr<SVGPathSegLinetoVerticalAbs> create(SVGPathElement* element, SVGPathSegRole role, float y) element 33 Source/core/svg/SVGPathSegLinetoVerticalAbs.h return adoptRef(new SVGPathSegLinetoVerticalAbs(element, role, y)); element 37 Source/core/svg/SVGPathSegLinetoVerticalAbs.h SVGPathSegLinetoVerticalAbs(SVGPathElement* element, SVGPathSegRole role, float y) element 38 Source/core/svg/SVGPathSegLinetoVerticalAbs.h : SVGPathSegLinetoVertical(element, role, y) element 31 Source/core/svg/SVGPathSegLinetoVerticalRel.h static PassRefPtr<SVGPathSegLinetoVerticalRel> create(SVGPathElement* element, SVGPathSegRole role, float y) element 33 Source/core/svg/SVGPathSegLinetoVerticalRel.h return adoptRef(new SVGPathSegLinetoVerticalRel(element, role, y)); element 37 Source/core/svg/SVGPathSegLinetoVerticalRel.h SVGPathSegLinetoVerticalRel(SVGPathElement* element, SVGPathSegRole role, float y) element 38 Source/core/svg/SVGPathSegLinetoVerticalRel.h : SVGPathSegLinetoVertical(element, role, y) element 31 Source/core/svg/SVGPathSegMovetoAbs.h static PassRefPtr<SVGPathSegMovetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 33 Source/core/svg/SVGPathSegMovetoAbs.h return adoptRef(new SVGPathSegMovetoAbs(element, role, x, y)); element 37 Source/core/svg/SVGPathSegMovetoAbs.h SVGPathSegMovetoAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 38 Source/core/svg/SVGPathSegMovetoAbs.h : SVGPathSegSingleCoordinate(element, role, x, y) element 31 Source/core/svg/SVGPathSegMovetoRel.h static PassRefPtr<SVGPathSegMovetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 33 Source/core/svg/SVGPathSegMovetoRel.h return adoptRef(new SVGPathSegMovetoRel(element, role, x, y)); element 37 Source/core/svg/SVGPathSegMovetoRel.h SVGPathSegMovetoRel(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 38 Source/core/svg/SVGPathSegMovetoRel.h : SVGPathSegSingleCoordinate(element, role, x, y) element 56 Source/core/svg/SVGPathSegWithContext.h SVGPathSegSingleCoordinate(SVGPathElement* element, SVGPathSegRole role, float x, float y) element 57 Source/core/svg/SVGPathSegWithContext.h : SVGPathSegWithContext(element, role) element 148 Source/core/svg/SVGPatternElement.cpp static void setPatternAttributes(const SVGPatternElement* element, PatternAttributes& attributes) element 150 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasX() && element->x()->isSpecified()) element 151 Source/core/svg/SVGPatternElement.cpp attributes.setX(element->x()->currentValue()); element 153 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasY() && element->y()->isSpecified()) element 154 Source/core/svg/SVGPatternElement.cpp attributes.setY(element->y()->currentValue()); element 156 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasWidth() && element->width()->isSpecified()) element 157 Source/core/svg/SVGPatternElement.cpp attributes.setWidth(element->width()->currentValue()); element 159 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasHeight() && element->height()->isSpecified()) element 160 Source/core/svg/SVGPatternElement.cpp attributes.setHeight(element->height()->currentValue()); element 162 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasViewBox() && element->viewBox()->isSpecified() && element->viewBox()->currentValue()->isValid()) element 163 Source/core/svg/SVGPatternElement.cpp attributes.setViewBox(element->viewBox()->currentValue()->value()); element 165 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasPreserveAspectRatio() && element->preserveAspectRatio()->isSpecified()) element 166 Source/core/svg/SVGPatternElement.cpp attributes.setPreserveAspectRatio(element->preserveAspectRatio()->currentValue()); element 168 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasPatternUnits() && element->patternUnits()->isSpecified()) element 169 Source/core/svg/SVGPatternElement.cpp attributes.setPatternUnits(element->patternUnits()->currentValue()->enumValue()); element 171 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasPatternContentUnits() && element->patternContentUnits()->isSpecified()) element 172 Source/core/svg/SVGPatternElement.cpp attributes.setPatternContentUnits(element->patternContentUnits()->currentValue()->enumValue()); element 174 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasPatternTransform() && element->patternTransform()->isSpecified()) { element 176 Source/core/svg/SVGPatternElement.cpp element->patternTransform()->currentValue()->concatenate(transform); element 180 Source/core/svg/SVGPatternElement.cpp if (!attributes.hasPatternContentElement() && ElementTraversal::firstWithin(*element)) element 181 Source/core/svg/SVGPatternElement.cpp attributes.setPatternContentElement(element); element 126 Source/core/svg/SVGRadialGradientElement.cpp static void setGradientAttributes(SVGGradientElement* element, RadialGradientAttributes& attributes, bool isRadial = true) element 128 Source/core/svg/SVGRadialGradientElement.cpp if (!attributes.hasSpreadMethod() && element->spreadMethod()->isSpecified()) element 129 Source/core/svg/SVGRadialGradientElement.cpp attributes.setSpreadMethod(element->spreadMethod()->currentValue()->enumValue()); element 131 Source/core/svg/SVGRadialGradientElement.cpp if (!attributes.hasGradientUnits() && element->gradientUnits()->isSpecified()) element 132 Source/core/svg/SVGRadialGradientElement.cpp attributes.setGradientUnits(element->gradientUnits()->currentValue()->enumValue()); element 134 Source/core/svg/SVGRadialGradientElement.cpp if (!attributes.hasGradientTransform() && element->gradientTransform()->isSpecified()) { element 136 Source/core/svg/SVGRadialGradientElement.cpp element->gradientTransform()->currentValue()->concatenate(transform); element 141 Source/core/svg/SVGRadialGradientElement.cpp const Vector<Gradient::ColorStop>& stops(element->buildStops()); element 147 Source/core/svg/SVGRadialGradientElement.cpp SVGRadialGradientElement* radial = toSVGRadialGradientElement(element); element 344 Source/core/svg/SVGSVGElement.cpp bool SVGSVGElement::checkIntersectionOrEnclosure(const SVGElement& element, const FloatRect& rect, element 347 Source/core/svg/SVGSVGElement.cpp RenderObject* renderer = element.renderer(); element 355 Source/core/svg/SVGSVGElement.cpp AffineTransform ctm = toSVGGraphicsElement(element).computeCTM(AncestorScope, DisallowStyleUpdate, this); element 390 Source/core/svg/SVGSVGElement.cpp for (SVGGraphicsElement* element = Traversal<SVGGraphicsElement>::firstWithin(*root); element; element 391 Source/core/svg/SVGSVGElement.cpp element = Traversal<SVGGraphicsElement>::next(*element, root)) { element 392 Source/core/svg/SVGSVGElement.cpp if (checkIntersectionOrEnclosure(*element, rect, mode)) element 393 Source/core/svg/SVGSVGElement.cpp nodes.append(element); element 413 Source/core/svg/SVGSVGElement.cpp bool SVGSVGElement::checkIntersection(SVGElement* element, PassRefPtr<SVGRectTearOff> rect) const element 415 Source/core/svg/SVGSVGElement.cpp ASSERT(element); element 418 Source/core/svg/SVGSVGElement.cpp return checkIntersectionOrEnclosure(*element, rect->target()->value(), CheckIntersection); element 421 Source/core/svg/SVGSVGElement.cpp bool SVGSVGElement::checkEnclosure(SVGElement* element, PassRefPtr<SVGRectTearOff> rect) const element 423 Source/core/svg/SVGSVGElement.cpp ASSERT(element); element 426 Source/core/svg/SVGSVGElement.cpp return checkIntersectionOrEnclosure(*element, rect->target()->value(), CheckEnclosure); element 820 Source/core/svg/SVGSVGElement.cpp Element* element = treeScope().getElementById(id); element 821 Source/core/svg/SVGSVGElement.cpp if (element && element->isDescendantOf(this)) element 822 Source/core/svg/SVGSVGElement.cpp return element; element 826 Source/core/svg/SVGSVGElement.cpp for (Element* element = ElementTraversal::firstWithin(*this); element; element = ElementTraversal::next(*element, this)) { element 827 Source/core/svg/SVGSVGElement.cpp if (element->getIdAttribute() == id) element 828 Source/core/svg/SVGSVGElement.cpp return element; element 281 Source/core/svg/SVGTextContentElement.cpp SVGElement* element = toSVGElement(renderer->node()); element 282 Source/core/svg/SVGTextContentElement.cpp ASSERT(element); element 283 Source/core/svg/SVGTextContentElement.cpp return isSVGTextContentElement(*element) ? toSVGTextContentElement(element) : 0; element 30 Source/core/svg/SVGURIReference.cpp SVGURIReference::SVGURIReference(SVGElement* element) element 31 Source/core/svg/SVGURIReference.cpp : m_href(SVGAnimatedString::create(element, XLinkNames::hrefAttr, SVGString::create())) element 33 Source/core/svg/SVGURIReference.cpp ASSERT(element); element 34 Source/core/svg/SVGURIReference.cpp element->addToPropertyMap(m_href); element 243 Source/core/svg/SVGUseElement.cpp SVGElement* element = targetInstance->correspondingElement(); element 244 Source/core/svg/SVGUseElement.cpp ASSERT(element); element 246 Source/core/svg/SVGUseElement.cpp if (isSVGUseElement(*element) && toSVGUseElement(*element).resourceIsStillLoading()) element 255 Source/core/svg/SVGUseElement.cpp String elementId = element->getIdAttribute(); element 256 Source/core/svg/SVGUseElement.cpp String elementNodeName = element->nodeName(); element 258 Source/core/svg/SVGUseElement.cpp String parentNodeName = element->parentNode() ? element->parentNode()->nodeName() : "null"; element 259 Source/core/svg/SVGUseElement.cpp String firstChildNodeName = element->firstChild() ? element->firstChild()->nodeName() : "null"; element 265 Source/core/svg/SVGUseElement.cpp targetInstance, parentNodeName.latin1().data(), element->parentNode(), firstChildNodeName.latin1().data(), element->firstChild(), element 266 Source/core/svg/SVGUseElement.cpp elementNodeName.latin1().data(), element, directUseElementName.latin1().data(), directUseElement, shadowTreeElementNodeName.latin1().data(), shadowTreeElement, elementId.latin1().data()); element 271 Source/core/svg/SVGUseElement.cpp const HashSet<SVGElementInstance*>& elementInstances = element->instancesForElement(); element 305 Source/core/svg/SVGUseElement.cpp Element* element = toElement(node); element 330 Source/core/svg/SVGUseElement.cpp return !allowedElementTags.contains<SVGAttributeHashTranslator>(element->tagQName()); element 584 Source/core/svg/SVGUseElement.cpp for (SVGElement* element = Traversal<SVGElement>::firstChild(*target); element; element = Traversal<SVGElement>::nextSibling(*element)) { element 586 Source/core/svg/SVGUseElement.cpp if (isDisallowedElement(element)) element 590 Source/core/svg/SVGUseElement.cpp RefPtr<SVGElementInstance> instance = SVGElementInstance::create(this, 0, element); element 595 Source/core/svg/SVGUseElement.cpp buildInstanceTree(element, instancePtr, foundProblem, foundUse); element 627 Source/core/svg/SVGUseElement.cpp SVGElement* element = instance->correspondingElement(); element 629 Source/core/svg/SVGUseElement.cpp if (element->hasID() && element->getIdAttribute() == targetId && element->document() == newTarget->document()) element 640 Source/core/svg/SVGUseElement.cpp Element* element = ElementTraversal::firstWithin(subtree); element 641 Source/core/svg/SVGUseElement.cpp while (element) { element 642 Source/core/svg/SVGUseElement.cpp if (isDisallowedElement(element)) { element 643 Source/core/svg/SVGUseElement.cpp Element* next = ElementTraversal::nextSkippingChildren(*element, &subtree); element 645 Source/core/svg/SVGUseElement.cpp element->parentNode()->removeChild(element); element 646 Source/core/svg/SVGUseElement.cpp element = next; element 648 Source/core/svg/SVGUseElement.cpp element = ElementTraversal::next(*element, &subtree); element 672 Source/core/svg/SVGUseElement.cpp void SVGUseElement::expandUseElementsInShadowTree(Node* element) element 674 Source/core/svg/SVGUseElement.cpp ASSERT(element); element 682 Source/core/svg/SVGUseElement.cpp if (isSVGUseElement(*element)) { element 683 Source/core/svg/SVGUseElement.cpp SVGUseElement* use = toSVGUseElement(element); element 723 Source/core/svg/SVGUseElement.cpp element = replacingElement.get(); element 724 Source/core/svg/SVGUseElement.cpp for (RefPtr<Node> sibling = element->nextSibling(); sibling; sibling = sibling->nextSibling()) element 728 Source/core/svg/SVGUseElement.cpp for (RefPtr<Node> child = element->firstChild(); child; child = child->nextSibling()) element 732 Source/core/svg/SVGUseElement.cpp void SVGUseElement::expandSymbolElementsInShadowTree(Node* element) element 734 Source/core/svg/SVGUseElement.cpp ASSERT(element); element 735 Source/core/svg/SVGUseElement.cpp if (isSVGSymbolElement(*element)) { element 746 Source/core/svg/SVGUseElement.cpp svgElement->cloneDataFromElement(*toElement(element)); element 749 Source/core/svg/SVGUseElement.cpp for (Node* child = element->firstChild(); child; child = child->nextSibling()) { element 765 Source/core/svg/SVGUseElement.cpp element->parentNode()->replaceChild(svgElement.release(), element); element 769 Source/core/svg/SVGUseElement.cpp element = replacingElement.get(); element 770 Source/core/svg/SVGUseElement.cpp for (RefPtr<Node> sibling = element->nextSibling(); sibling; sibling = sibling->nextSibling()) element 774 Source/core/svg/SVGUseElement.cpp for (RefPtr<Node> child = element->firstChild(); child; child = child->nextSibling()) element 812 Source/core/svg/SVGUseElement.cpp SVGElement* element = 0; element 814 Source/core/svg/SVGUseElement.cpp element = toSVGElement(target); element 817 Source/core/svg/SVGUseElement.cpp targetInstance->setShadowTreeElement(element); element 818 Source/core/svg/SVGUseElement.cpp element->setCorrespondingElement(originalElement); element 827 Source/core/svg/SVGUseElement.cpp SVGElementInstance* SVGUseElement::instanceForShadowTreeElement(Node* element) const element 834 Source/core/svg/SVGUseElement.cpp return instanceForShadowTreeElement(element, m_targetElementInstance.get()); element 837 Source/core/svg/SVGUseElement.cpp SVGElementInstance* SVGUseElement::instanceForShadowTreeElement(Node* element, SVGElementInstance* instance) const element 839 Source/core/svg/SVGUseElement.cpp ASSERT(element); element 847 Source/core/svg/SVGUseElement.cpp if (element == instance->shadowTreeElement()) element 851 Source/core/svg/SVGUseElement.cpp if (SVGElementInstance* search = instanceForShadowTreeElement(element, current)) element 872 Source/core/svg/SVGUseElement.cpp if (SVGUseElement* element = (*it)->correspondingUseElement()) { element 873 Source/core/svg/SVGUseElement.cpp ASSERT(element->inDocument()); element 874 Source/core/svg/SVGUseElement.cpp element->invalidateShadowTree(); element 911 Source/core/svg/SVGUseElement.cpp SVGElement* element = m_targetElementInstance->correspondingElement(); element 912 Source/core/svg/SVGUseElement.cpp if (!element) element 915 Source/core/svg/SVGUseElement.cpp return element->hasRelativeLengths(); element 92 Source/core/svg/SVGUseElement.h void expandUseElementsInShadowTree(Node* element); element 93 Source/core/svg/SVGUseElement.h void expandSymbolElementsInShadowTree(Node* element); element 97 Source/core/svg/SVGUseElement.h SVGElementInstance* instanceForShadowTreeElement(Node* element, SVGElementInstance* instance) const; element 77 Source/core/svg/SVGViewSpec.cpp Element* element = m_contextElement->treeScope().getElementById(AtomicString(m_viewTargetString)); element 78 Source/core/svg/SVGViewSpec.cpp if (!element || !element->isSVGElement()) element 80 Source/core/svg/SVGViewSpec.cpp return toSVGElement(element); element 293 Source/core/svg/animation/SMILTimeContainer.cpp for (SVGSMILElement* element = Traversal<SVGSMILElement>::firstWithin(m_ownerSVGElement); element; element = Traversal<SVGSMILElement>::next(*element, &m_ownerSVGElement)) element 294 Source/core/svg/animation/SMILTimeContainer.cpp element->setDocumentOrderIndex(timingElementCount++); element 74 Source/core/svg/graphics/SVGImage.cpp bool SVGImage::isInSVGImage(const Element* element) element 76 Source/core/svg/graphics/SVGImage.cpp ASSERT(element); element 78 Source/core/svg/graphics/SVGImage.cpp Page* page = element->document().page(); element 580 Source/core/testing/Internals.cpp String Internals::elementRenderTreeAsText(Element* element, ExceptionState& exceptionState) element 582 Source/core/testing/Internals.cpp if (!element) { element 587 Source/core/testing/Internals.cpp String representation = externalRepresentation(element); element 675 Source/core/testing/Internals.cpp const AtomicString& Internals::shadowPseudoId(Element* element, ExceptionState& exceptionState) element 677 Source/core/testing/Internals.cpp if (!element) { element 682 Source/core/testing/Internals.cpp return element->shadowPseudoId(); element 685 Source/core/testing/Internals.cpp void Internals::setShadowPseudoId(Element* element, const AtomicString& id, ExceptionState& exceptionState) element 687 Source/core/testing/Internals.cpp if (!element) { element 692 Source/core/testing/Internals.cpp return element->setShadowPseudoId(id); element 695 Source/core/testing/Internals.cpp String Internals::visiblePlaceholder(Element* element) element 697 Source/core/testing/Internals.cpp if (element && isHTMLTextFormControlElement(*element)) { element 698 Source/core/testing/Internals.cpp if (toHTMLTextFormControlElement(element)->placeholderShouldBeVisible()) element 699 Source/core/testing/Internals.cpp return toHTMLTextFormControlElement(element)->placeholderElement()->textContent(); element 705 Source/core/testing/Internals.cpp void Internals::selectColorInColorChooser(Element* element, const String& colorValue) element 707 Source/core/testing/Internals.cpp ASSERT(element); element 708 Source/core/testing/Internals.cpp if (!isHTMLInputElement(*element)) element 713 Source/core/testing/Internals.cpp toHTMLInputElement(*element).selectColorInColorChooser(color); element 790 Source/core/testing/Internals.cpp PassRefPtr<ClientRect> Internals::boundingBox(Element* element, ExceptionState& exceptionState) element 792 Source/core/testing/Internals.cpp if (!element) { element 797 Source/core/testing/Internals.cpp element->document().updateLayoutIgnorePendingStylesheets(); element 798 Source/core/testing/Internals.cpp RenderObject* renderer = element->renderer(); element 986 Source/core/testing/Internals.cpp bool Internals::elementShouldAutoComplete(Element* element, ExceptionState& exceptionState) element 988 Source/core/testing/Internals.cpp if (!element) { element 993 Source/core/testing/Internals.cpp if (isHTMLInputElement(*element)) element 994 Source/core/testing/Internals.cpp return toHTMLInputElement(*element).shouldAutocomplete(); element 1000 Source/core/testing/Internals.cpp String Internals::suggestedValue(Element* element, ExceptionState& exceptionState) element 1002 Source/core/testing/Internals.cpp if (!element) { element 1007 Source/core/testing/Internals.cpp if (!element->isFormControlElement()) { element 1013 Source/core/testing/Internals.cpp if (isHTMLInputElement(*element)) element 1014 Source/core/testing/Internals.cpp suggestedValue = toHTMLInputElement(*element).suggestedValue(); element 1016 Source/core/testing/Internals.cpp if (isHTMLTextAreaElement(*element)) element 1017 Source/core/testing/Internals.cpp suggestedValue = toHTMLTextAreaElement(*element).suggestedValue(); element 1019 Source/core/testing/Internals.cpp if (isHTMLSelectElement(*element)) element 1020 Source/core/testing/Internals.cpp suggestedValue = toHTMLSelectElement(*element).suggestedValue(); element 1025 Source/core/testing/Internals.cpp void Internals::setSuggestedValue(Element* element, const String& value, ExceptionState& exceptionState) element 1027 Source/core/testing/Internals.cpp if (!element) { element 1032 Source/core/testing/Internals.cpp if (!element->isFormControlElement()) { element 1037 Source/core/testing/Internals.cpp if (isHTMLInputElement(*element)) element 1038 Source/core/testing/Internals.cpp toHTMLInputElement(*element).setSuggestedValue(value); element 1040 Source/core/testing/Internals.cpp if (isHTMLTextAreaElement(*element)) element 1041 Source/core/testing/Internals.cpp toHTMLTextAreaElement(*element).setSuggestedValue(value); element 1043 Source/core/testing/Internals.cpp if (isHTMLSelectElement(*element)) element 1044 Source/core/testing/Internals.cpp toHTMLSelectElement(*element).setSuggestedValue(value); element 1047 Source/core/testing/Internals.cpp void Internals::setEditingValue(Element* element, const String& value, ExceptionState& exceptionState) element 1049 Source/core/testing/Internals.cpp if (!element) { element 1054 Source/core/testing/Internals.cpp if (!isHTMLInputElement(*element)) { element 1059 Source/core/testing/Internals.cpp toHTMLInputElement(*element).setEditingValue(value); element 1062 Source/core/testing/Internals.cpp void Internals::setAutofilled(Element* element, bool enabled, ExceptionState& exceptionState) element 1064 Source/core/testing/Internals.cpp if (!element->isFormControlElement()) { element 1068 Source/core/testing/Internals.cpp toHTMLFormControlElement(element)->setAutofilled(enabled); element 1071 Source/core/testing/Internals.cpp void Internals::scrollElementToRect(Element* element, long x, long y, long w, long h, ExceptionState& exceptionState) element 1073 Source/core/testing/Internals.cpp if (!element || !element->document().view()) { element 1074 Source/core/testing/Internals.cpp exceptionState.throwDOMException(InvalidNodeTypeError, element ? "No view can be obtained from the provided element's document." : ExceptionMessages::argumentNullOrIncorrectType(1, "Element")); element 1077 Source/core/testing/Internals.cpp FrameView* frameView = element->document().view(); element 1078 Source/core/testing/Internals.cpp frameView->scrollElementToRect(element, IntRect(x, y, w, h)); element 1656 Source/core/testing/Internals.cpp String Internals::elementLayerTreeAsText(Element* element, ExceptionState& exceptionState) const element 1658 Source/core/testing/Internals.cpp if (!element) { element 1663 Source/core/testing/Internals.cpp FrameView* frameView = element->document().view(); element 1666 Source/core/testing/Internals.cpp return elementLayerTreeAsText(element, 0, exceptionState); element 1669 Source/core/testing/Internals.cpp static PassRefPtr<NodeList> paintOrderList(Element* element, ExceptionState& exceptionState, RenderLayerStackingNode::PaintOrderListType type) element 1671 Source/core/testing/Internals.cpp if (!element) { element 1676 Source/core/testing/Internals.cpp element->document().updateLayout(); element 1678 Source/core/testing/Internals.cpp RenderObject* renderer = element->renderer(); element 1695 Source/core/testing/Internals.cpp PassRefPtr<NodeList> Internals::paintOrderListBeforePromote(Element* element, ExceptionState& exceptionState) element 1697 Source/core/testing/Internals.cpp return paintOrderList(element, exceptionState, RenderLayerStackingNode::BeforePromote); element 1700 Source/core/testing/Internals.cpp PassRefPtr<NodeList> Internals::paintOrderListAfterPromote(Element* element, ExceptionState& exceptionState) element 1702 Source/core/testing/Internals.cpp return paintOrderList(element, exceptionState, RenderLayerStackingNode::AfterPromote); element 1735 Source/core/testing/Internals.cpp bool Internals::isUnclippedDescendant(Element* element, ExceptionState& exceptionState) element 1737 Source/core/testing/Internals.cpp if (!element) { element 1742 Source/core/testing/Internals.cpp element->document().updateLayout(); element 1744 Source/core/testing/Internals.cpp RenderObject* renderer = element->renderer(); element 1759 Source/core/testing/Internals.cpp bool Internals::needsCompositedScrolling(Element* element, ExceptionState& exceptionState) element 1761 Source/core/testing/Internals.cpp if (!element) { element 1766 Source/core/testing/Internals.cpp element->document().updateLayout(); element 1768 Source/core/testing/Internals.cpp RenderObject* renderer = element->renderer(); element 1795 Source/core/testing/Internals.cpp String Internals::elementLayerTreeAsText(Element* element, unsigned flags, ExceptionState& exceptionState) const element 1797 Source/core/testing/Internals.cpp if (!element) { element 1802 Source/core/testing/Internals.cpp element->document().updateLayout(); element 1804 Source/core/testing/Internals.cpp RenderObject* renderer = element->renderer(); element 1821 Source/core/testing/Internals.cpp static RenderLayer* getRenderLayerForElement(Element* element, ExceptionState& exceptionState) element 1823 Source/core/testing/Internals.cpp if (!element) { element 1828 Source/core/testing/Internals.cpp RenderObject* renderer = element->renderer(); element 1843 Source/core/testing/Internals.cpp void Internals::setNeedsCompositedScrolling(Element* element, unsigned needsCompositedScrolling, ExceptionState& exceptionState) element 1845 Source/core/testing/Internals.cpp if (!element) { element 1850 Source/core/testing/Internals.cpp element->document().updateLayout(); element 1852 Source/core/testing/Internals.cpp if (RenderLayer* layer = getRenderLayerForElement(element, exceptionState)) element 1866 Source/core/testing/Internals.cpp PassRefPtr<ClientRectList> Internals::repaintRects(Element* element, ExceptionState& exceptionState) const element 1868 Source/core/testing/Internals.cpp if (!element) { element 1873 Source/core/testing/Internals.cpp if (RenderLayer* layer = getRenderLayerForElement(element, exceptionState)) { element 1949 Source/core/testing/Internals.cpp String Internals::counterValue(Element* element) element 1951 Source/core/testing/Internals.cpp if (!element) element 1954 Source/core/testing/Internals.cpp return counterValueForElement(element); element 1957 Source/core/testing/Internals.cpp int Internals::pageNumber(Element* element, float pageWidth, float pageHeight) element 1959 Source/core/testing/Internals.cpp if (!element) element 1962 Source/core/testing/Internals.cpp return PrintContext::pageNumberForElement(element, FloatSize(pageWidth, pageHeight)); element 2035 Source/core/testing/Internals.cpp void Internals::webkitWillEnterFullScreenForElement(Document* document, Element* element) element 2039 Source/core/testing/Internals.cpp FullscreenElementStack::from(*document).webkitWillEnterFullScreenForElement(element); element 2042 Source/core/testing/Internals.cpp void Internals::webkitDidEnterFullScreenForElement(Document* document, Element* element) element 2046 Source/core/testing/Internals.cpp FullscreenElementStack::from(*document).webkitDidEnterFullScreenForElement(element); element 2049 Source/core/testing/Internals.cpp void Internals::webkitWillExitFullScreenForElement(Document* document, Element* element) element 2053 Source/core/testing/Internals.cpp FullscreenElementStack::from(*document).webkitWillExitFullScreenForElement(element); element 2056 Source/core/testing/Internals.cpp void Internals::webkitDidExitFullScreenForElement(Document* document, Element* element) element 2060 Source/core/testing/Internals.cpp FullscreenElementStack::from(*document).webkitDidExitFullScreenForElement(element); element 2281 Source/core/testing/Internals.cpp String Internals::markerTextForListItem(Element* element, ExceptionState& exceptionState) element 2283 Source/core/testing/Internals.cpp if (!element) { element 2287 Source/core/testing/Internals.cpp return WebCore::markerTextForListItem(element); element 2290 Source/core/testing/Internals.cpp String Internals::getImageSourceURL(Element* element, ExceptionState& exceptionState) element 2292 Source/core/testing/Internals.cpp if (!element) { element 2296 Source/core/testing/Internals.cpp return element->imageSourceURL(); element 2368 Source/core/testing/Internals.cpp void Internals::setShouldRevealPassword(Element* element, bool reveal, ExceptionState& exceptionState) element 2370 Source/core/testing/Internals.cpp if (!isHTMLInputElement(element)) { element 2375 Source/core/testing/Internals.cpp return toHTMLInputElement(*element).setShouldRevealPassword(reveal); element 2439 Source/core/testing/Internals.cpp void Internals::startSpeechInput(Element* element) element 2442 Source/core/testing/Internals.cpp HTMLInputElement* input = toHTMLInputElement(element); element 2452 Source/core/testing/Internals.cpp void Internals::setValueForUser(Element* element, const String& value) element 2454 Source/core/testing/Internals.cpp toHTMLInputElement(element)->setValueForUser(value); element 604 Source/core/xml/XPathFunctions.cpp Element* element = toElement(node); element 605 Source/core/xml/XPathFunctions.cpp if (element->hasAttributes()) element 606 Source/core/xml/XPathFunctions.cpp languageAttribute = element->getAttributeItem(XMLNames::langAttr); element 216 Source/core/xml/XPathNodeSet.cpp Element* element = toElement(n); element 217 Source/core/xml/XPathNodeSet.cpp if (!element->hasAttributes()) element 220 Source/core/xml/XPathNodeSet.cpp unsigned attributeCount = element->attributeCount(); element 222 Source/core/xml/XPathNodeSet.cpp RefPtr<Attr> attr = element->attrIfExists(element->attributeItem(i).name()); element 522 Source/core/xml/parser/XMLDocumentParser.cpp static inline void setAttributes(Element* element, Vector<Attribute>& attributeVector, ParserContentPolicy parserContentPolicy) element 525 Source/core/xml/parser/XMLDocumentParser.cpp element->stripScriptingAttributes(attributeVector); element 526 Source/core/xml/parser/XMLDocumentParser.cpp element->parserSetAttributes(attributeVector); element 797 Source/core/xml/parser/XMLDocumentParser.cpp Element* element = elemStack.last(); element 798 Source/core/xml/parser/XMLDocumentParser.cpp if (element->hasAttributes()) { element 799 Source/core/xml/parser/XMLDocumentParser.cpp unsigned attributeCount = element->attributeCount(); element 801 Source/core/xml/parser/XMLDocumentParser.cpp const Attribute& attribute = element->attributeItem(i); element 1015 Source/core/xml/parser/XMLDocumentParser.cpp Element* element = toElement(n); element 1019 Source/core/xml/parser/XMLDocumentParser.cpp if (!element->inDocument()) { element 1024 Source/core/xml/parser/XMLDocumentParser.cpp ScriptLoader* scriptLoader = toScriptLoaderIfPossible(element); element 1042 Source/core/xml/parser/XMLDocumentParser.cpp m_scriptElement = element; element 73 Source/core/xml/parser/XMLDocumentParser.h static PassRefPtr<XMLDocumentParser> create(DocumentFragment* fragment, Element* element, ParserContentPolicy parserContentPolicy) element 75 Source/core/xml/parser/XMLDocumentParser.h return adoptRef(new XMLDocumentParser(fragment, element, parserContentPolicy)); element 54 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia& HTMLMediaElementEncryptedMedia::from(HTMLMediaElement& element) element 56 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia* supplement = static_cast<HTMLMediaElementEncryptedMedia*>(Supplement<HTMLMediaElement>::from(element, supplementName())); element 59 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp provideTo(element, supplementName(), adoptPtr(supplement)); element 79 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp MediaKeys* HTMLMediaElementEncryptedMedia::mediaKeys(HTMLMediaElement& element) element 81 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia& thisElement = HTMLMediaElementEncryptedMedia::from(element); element 85 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::setMediaKeysInternal(HTMLMediaElement& element, MediaKeys* mediaKeys) element 96 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp m_mediaKeys->setMediaElement(&element); element 99 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp if (element.webMediaPlayer()) element 100 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.webMediaPlayer()->setContentDecryptionModule(contentDecryptionModule()); element 103 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::setMediaKeys(HTMLMediaElement& element, MediaKeys* mediaKeys, ExceptionState& exceptionState) element 106 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia& thisElement = HTMLMediaElementEncryptedMedia::from(element); element 111 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp thisElement.setMediaKeysInternal(element, mediaKeys); element 139 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::webkitGenerateKeyRequest(HTMLMediaElement& element, const String& keySystem, PassRefPtr<Uint8Array> initData, ExceptionState& exceptionState) element 141 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia::from(element).generateKeyRequest(element.webMediaPlayer(), keySystem, initData, exceptionState); element 177 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::webkitAddKey(HTMLMediaElement& element, const String& keySystem, PassRefPtr<Uint8Array> key, PassRefPtr<Uint8Array> initData, const String& sessionId, ExceptionState& exceptionState) element 179 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia::from(element).addKey(element.webMediaPlayer(), keySystem, key, initData, sessionId, exceptionState); element 225 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::webkitCancelKeyRequest(HTMLMediaElement& element, const String& keySystem, const String& sessionId, ExceptionState& exceptionState) element 227 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia::from(element).cancelKeyRequest(element.webMediaPlayer(), keySystem, sessionId, exceptionState); element 251 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::keyAdded(HTMLMediaElement& element, const String& keySystem, const String& sessionId) element 262 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); element 263 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); element 266 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::keyError(HTMLMediaElement& element, const String& keySystem, const String& sessionId, blink::WebMediaPlayerClient::MediaKeyErrorCode errorCode, unsigned short systemCode) element 301 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); element 302 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); element 305 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::keyMessage(HTMLMediaElement& element, const String& keySystem, const String& sessionId, const unsigned char* message, unsigned messageLength, const blink::WebURL& defaultURL) element 318 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); element 319 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); element 322 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::keyNeeded(HTMLMediaElement& element, const String& contentType, const unsigned char* initData, unsigned initDataLength) element 329 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); element 330 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); element 336 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp event->setTarget(&element); element 337 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp element.scheduleEvent(event.release()); element 341 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp void HTMLMediaElementEncryptedMedia::playerDestroyed(HTMLMediaElement& element) element 343 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia& thisElement = HTMLMediaElementEncryptedMedia::from(element); element 344 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp thisElement.setMediaKeysInternal(element, 0); element 347 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp blink::WebContentDecryptionModule* HTMLMediaElementEncryptedMedia::contentDecryptionModule(HTMLMediaElement& element) element 349 Source/modules/encryptedmedia/HTMLMediaElementEncryptedMedia.cpp HTMLMediaElementEncryptedMedia& thisElement = HTMLMediaElementEncryptedMedia::from(element); element 170 Source/modules/encryptedmedia/MediaKeys.cpp void MediaKeys::setMediaElement(HTMLMediaElement* element) element 174 Source/modules/encryptedmedia/MediaKeys.cpp ASSERT(!m_mediaElement != !element); element 175 Source/modules/encryptedmedia/MediaKeys.cpp m_mediaElement = element; element 75 Source/modules/indexeddb/IDBKeyPath.cpp IDBKeyPathLexer::TokenType IDBKeyPathLexer::lex(String& element) element 85 Source/modules/indexeddb/IDBKeyPath.cpp return lexIdentifier(element); element 110 Source/modules/indexeddb/IDBKeyPath.cpp IDBKeyPathLexer::TokenType IDBKeyPathLexer::lexIdentifier(String& element) element 121 Source/modules/indexeddb/IDBKeyPath.cpp element = m_string.substring(start, m_index - start); element 161 Source/modules/indexeddb/IDBKeyPath.cpp String element = lexer.currentElement(); element 162 Source/modules/indexeddb/IDBKeyPath.cpp elements.append(element); element 275 Source/modules/mediasource/MediaSourceBase.cpp bool MediaSourceBase::attachToElement(HTMLMediaElement* element) element 283 Source/modules/mediasource/MediaSourceBase.cpp m_attachedElement = element; element 75 Source/platform/exported/WebHTTPBody.cpp const FormDataElement& element = m_private->elements()[index]; element 84 Source/platform/exported/WebHTTPBody.cpp switch (element.m_type) { element 87 Source/platform/exported/WebHTTPBody.cpp result.data.assign(element.m_data.data(), element.m_data.size()); element 91 Source/platform/exported/WebHTTPBody.cpp result.filePath = element.m_filename; element 92 Source/platform/exported/WebHTTPBody.cpp result.fileStart = element.m_fileStart; element 93 Source/platform/exported/WebHTTPBody.cpp result.fileLength = element.m_fileLength; element 94 Source/platform/exported/WebHTTPBody.cpp result.modificationTime = element.m_expectedFileModificationTime; element 98 Source/platform/exported/WebHTTPBody.cpp result.blobUUID = element.m_blobUUID; element 102 Source/platform/exported/WebHTTPBody.cpp result.fileSystemURL = element.m_fileSystemURL; element 103 Source/platform/exported/WebHTTPBody.cpp result.fileStart = element.m_fileStart; element 104 Source/platform/exported/WebHTTPBody.cpp result.fileLength = element.m_fileLength; element 105 Source/platform/exported/WebHTTPBody.cpp result.modificationTime = element.m_expectedFileModificationTime; element 743 Source/web/ChromeClientImpl.cpp void ChromeClientImpl::enterFullScreenForElement(Element* element) element 745 Source/web/ChromeClientImpl.cpp m_webView->enterFullScreenForElement(element); element 748 Source/web/ChromeClientImpl.cpp void ChromeClientImpl::exitFullScreenForElement(Element* element) element 750 Source/web/ChromeClientImpl.cpp m_webView->exitFullScreenForElement(element); element 928 Source/web/ChromeClientImpl.cpp void ChromeClientImpl::didChangeValueInTextField(HTMLFormControlElement& element) element 932 Source/web/ChromeClientImpl.cpp m_webView->autofillClient()->textFieldDidChange(WebFormControlElement(&element)); element 627 Source/web/FrameLoaderClientImpl.cpp HTMLPlugInElement* element, element 651 Source/web/FrameLoaderClientImpl.cpp WebPluginContainerImpl::create(element, webPlugin); element 656 Source/web/FrameLoaderClientImpl.cpp if (policy != AllowDetachedPlugin && !element->renderer()) element 663 Source/web/FrameLoaderClientImpl.cpp HTMLAppletElement* element, element 668 Source/web/FrameLoaderClientImpl.cpp return createPlugin(element, KURL(), paramNames, paramValues, element 89 Source/web/FullscreenController.cpp Element* element = FullscreenElementStack::currentFullScreenElementFrom(*doc); element 90 Source/web/FullscreenController.cpp ASSERT(element); element 91 Source/web/FullscreenController.cpp if (isHTMLMediaElement(*element) && m_webViewImpl->layerTreeView()) element 143 Source/web/FullscreenController.cpp void FullscreenController::enterFullScreenForElement(WebCore::Element* element) element 147 Source/web/FullscreenController.cpp m_provisionalFullScreenElement = element; element 153 Source/web/FullscreenController.cpp m_provisionalFullScreenElement = element; element 160 Source/web/FullscreenController.cpp && isHTMLMediaElement(element) element 163 Source/web/FullscreenController.cpp HTMLMediaElement* mediaElement = toHTMLMediaElement(element); element 166 Source/web/FullscreenController.cpp m_provisionalFullScreenElement = element; element 174 Source/web/FullscreenController.cpp m_provisionalFullScreenElement = element; element 178 Source/web/FullscreenController.cpp void FullscreenController::exitFullScreenForElement(WebCore::Element* element) element 184 Source/web/FullscreenController.cpp && isHTMLMediaElement(element) element 187 Source/web/FullscreenController.cpp HTMLMediaElement* mediaElement = toHTMLMediaElement(element); element 69 Source/web/SpellCheckerClientImpl.cpp const Element* element = document->focusedElement(); element 76 Source/web/SpellCheckerClientImpl.cpp if (!element) element 78 Source/web/SpellCheckerClientImpl.cpp const RenderObject* renderer = element->renderer(); element 356 Source/web/WebBindings.cpp bool WebBindings::getElement(NPObject* element, WebElement* webElement) element 358 Source/web/WebBindings.cpp return getElementImpl(element, webElement, v8::Isolate::GetCurrent()); element 167 Source/web/WebDocument.cpp Element* element = images->item(i); element 168 Source/web/WebDocument.cpp if (element && element->isHTMLElement()) element 169 Source/web/WebDocument.cpp temp.append(WebElement(element)); element 181 Source/web/WebDocument.cpp Element* element = forms->item(i); element 183 Source/web/WebDocument.cpp if (element && element->isHTMLElement()) element 184 Source/web/WebDocument.cpp temp.append(WebFormElement(toHTMLFormElement(element))); element 257 Source/web/WebDocument.cpp WebElement element(unwrap<Document>()->createElement(tagName, exceptionState)); element 260 Source/web/WebDocument.cpp return element; element 77 Source/web/WebElement.cpp const Element* element = constUnwrap<Element>(); element 78 Source/web/WebElement.cpp return HTMLNames::xhtmlNamespaceURI == element->namespaceURI() && element->localName() == String(tagName).lower(); element 77 Source/web/WebElementCollection.cpp Element* element = m_private->item(m_current); element 78 Source/web/WebElementCollection.cpp if (element) element 80 Source/web/WebElementCollection.cpp return WebElement(element); element 473 Source/web/WebFrameImpl.cpp WebLocalFrame* WebFrame::fromFrameOwnerElement(const WebElement& element) element 475 Source/web/WebFrameImpl.cpp return WebFrameImpl::fromFrameOwnerElement(PassRefPtr<Element>(element).get()); element 1777 Source/web/WebFrameImpl.cpp WebFrameImpl* WebFrameImpl::fromFrameOwnerElement(Element* element) element 1780 Source/web/WebFrameImpl.cpp if (!isHTMLFrameElementBase(element)) element 1782 Source/web/WebFrameImpl.cpp return fromFrame(toLocalFrame(toHTMLFrameElementBase(element)->contentFrame())); element 1828 Source/web/WebFrameImpl.cpp Element* element = toElement(node); element 1829 Source/web/WebFrameImpl.cpp if (element->isFocusable()) { element 1833 Source/web/WebFrameImpl.cpp frame()->document()->setFocusedElement(element); element 1845 Source/web/WebFrameImpl.cpp Element* element = toElement(node); element 1846 Source/web/WebFrameImpl.cpp if (element->isFocusable()) { element 1847 Source/web/WebFrameImpl.cpp frame()->document()->setFocusedElement(element); element 254 Source/web/WebFrameImpl.h static WebFrameImpl* fromFrameOwnerElement(WebCore::Element* element); element 56 Source/web/WebHistoryItem.cpp const FormDataElement& element = formData->elements()[i]; element 57 Source/web/WebHistoryItem.cpp if (element.m_type == FormDataElement::encodedFile) element 58 Source/web/WebHistoryItem.cpp results.add(element.m_filename); element 206 Source/web/WebNode.cpp WebElement element; element 208 Source/web/WebNode.cpp element = toContainerNode(m_private.get())->querySelector(tag, exceptionState); element 210 Source/web/WebNode.cpp return element; element 65 Source/web/WebPageSerializer.cpp KURL getSubResourceURLFromElement(Element* element) element 67 Source/web/WebPageSerializer.cpp ASSERT(element); element 68 Source/web/WebPageSerializer.cpp const QualifiedName& attributeName = element->subResourceAttributeName(); element 72 Source/web/WebPageSerializer.cpp String value = element->getAttribute(attributeName); element 77 Source/web/WebPageSerializer.cpp return element->document().completeURL(value); element 80 Source/web/WebPageSerializer.cpp void retrieveResourcesForElement(Element* element, element 86 Source/web/WebPageSerializer.cpp ASSERT(element); element 88 Source/web/WebPageSerializer.cpp if (isHTMLFrameElementBase(*element) || isHTMLObjectElement(*element) || isHTMLEmbedElement(*element)) { element 89 Source/web/WebPageSerializer.cpp Frame* frame = toHTMLFrameOwnerElement(element)->contentFrame(); element 97 Source/web/WebPageSerializer.cpp KURL url = getSubResourceURLFromElement(element); element 144 Source/web/WebPageSerializer.cpp Element* element = allElements->item(i); element 145 Source/web/WebPageSerializer.cpp retrieveResourcesForElement(element, element 125 Source/web/WebPageSerializerImpl.cpp const Element* element, SerializeDomParam* param, bool* needSkip) element 134 Source/web/WebPageSerializerImpl.cpp ASSERT(element); element 135 Source/web/WebPageSerializerImpl.cpp if (isHTMLMetaElement(*element)) { element 136 Source/web/WebPageSerializerImpl.cpp const HTMLMetaElement& meta = toHTMLMetaElement(*element); element 144 Source/web/WebPageSerializerImpl.cpp param->skipMetaElement = element; element 148 Source/web/WebPageSerializerImpl.cpp } else if (isHTMLHtmlElement(*element)) { element 159 Source/web/WebPageSerializerImpl.cpp } else if (isHTMLBaseElement(*element)) { element 191 Source/web/WebPageSerializerImpl.cpp const Element* element, SerializeDomParam* param) element 200 Source/web/WebPageSerializerImpl.cpp && isHTMLHeadElement(*element)) { element 215 Source/web/WebPageSerializerImpl.cpp } else if (isHTMLScriptElement(*element) || isHTMLScriptElement(*element)) { element 223 Source/web/WebPageSerializerImpl.cpp const Element* element, SerializeDomParam* param, bool* needSkip) element 233 Source/web/WebPageSerializerImpl.cpp if (param->skipMetaElement == element) { element 235 Source/web/WebPageSerializerImpl.cpp } else if (isHTMLScriptElement(*element) || isHTMLScriptElement(*element)) { element 246 Source/web/WebPageSerializerImpl.cpp const Element* element, SerializeDomParam* param) element 253 Source/web/WebPageSerializerImpl.cpp if (isHTMLBaseElement(*element)) { element 292 Source/web/WebPageSerializerImpl.cpp void WebPageSerializerImpl::openTagToString(Element* element, element 298 Source/web/WebPageSerializerImpl.cpp result.append(preActionBeforeSerializeOpenTag(element, param, &needSkip)); element 303 Source/web/WebPageSerializerImpl.cpp result.append(element->nodeName().lower()); element 305 Source/web/WebPageSerializerImpl.cpp if (element->hasAttributes()) { element 306 Source/web/WebPageSerializerImpl.cpp unsigned numAttrs = element->attributeCount(); element 310 Source/web/WebPageSerializerImpl.cpp const Attribute& attribute = element->attributeItem(i); element 319 Source/web/WebPageSerializerImpl.cpp if (element->hasLegalLinkAttribute(attrName)) { element 325 Source/web/WebPageSerializerImpl.cpp WebFrameImpl* subFrame = WebFrameImpl::fromFrameOwnerElement(element); element 351 Source/web/WebPageSerializerImpl.cpp String addedContents = postActionAfterSerializeOpenTag(element, param); element 353 Source/web/WebPageSerializerImpl.cpp if (element->hasChildren() || param->haveAddedContentsBeforeEnd) element 362 Source/web/WebPageSerializerImpl.cpp void WebPageSerializerImpl::endTagToString(Element* element, element 368 Source/web/WebPageSerializerImpl.cpp result.append(preActionBeforeSerializeEndTag(element, param, &needSkip)); element 372 Source/web/WebPageSerializerImpl.cpp if (element->hasChildren() || param->haveAddedContentsBeforeEnd) { element 374 Source/web/WebPageSerializerImpl.cpp result.append(element->nodeName().lower()); element 381 Source/web/WebPageSerializerImpl.cpp if (!element->isHTMLElement() || !toHTMLElement(element)->ieForbidsInsertHTML()) { element 384 Source/web/WebPageSerializerImpl.cpp result.append(element->nodeName().lower()); element 393 Source/web/WebPageSerializerImpl.cpp result.append(postActionAfterSerializeEndTag(element, param)); element 478 Source/web/WebPageSerializerImpl.cpp for (unsigned i = 0; Element* element = all->item(i); i++) { element 479 Source/web/WebPageSerializerImpl.cpp if (!element->isHTMLElement()) element 482 Source/web/WebPageSerializerImpl.cpp WebFrameImpl::fromFrameOwnerElement(element); element 148 Source/web/WebPageSerializerImpl.h WTF::String preActionBeforeSerializeOpenTag(const WebCore::Element* element, element 153 Source/web/WebPageSerializerImpl.h WTF::String postActionAfterSerializeOpenTag(const WebCore::Element* element, element 157 Source/web/WebPageSerializerImpl.h WTF::String preActionBeforeSerializeEndTag(const WebCore::Element* element, element 162 Source/web/WebPageSerializerImpl.h WTF::String postActionAfterSerializeEndTag(const WebCore::Element* element, element 106 Source/web/WebPasswordFormData.cpp WebString getElementNameOrId(const HTMLInputElement& element) element 108 Source/web/WebPasswordFormData.cpp return element.nameForAutofill(); element 662 Source/web/WebPluginContainerImpl.cpp WebPluginContainerImpl::WebPluginContainerImpl(WebCore::HTMLPlugInElement* element, WebPlugin* webPlugin) element 663 Source/web/WebPluginContainerImpl.cpp : m_element(element) element 70 Source/web/WebPluginContainerImpl.h static PassRefPtr<WebPluginContainerImpl> create(WebCore::HTMLPlugInElement* element, WebPlugin* webPlugin) element 72 Source/web/WebPluginContainerImpl.h return adoptRef(new WebPluginContainerImpl(element, webPlugin)); element 101 Source/web/WebPluginContainerImpl.h virtual WebElement element() OVERRIDE; element 166 Source/web/WebPluginContainerImpl.h WebPluginContainerImpl(WebCore::HTMLPlugInElement* element, WebPlugin* webPlugin); element 83 Source/web/WebSearchableFormData.cpp const Vector<FormAssociatedElement*>& element = form->associatedElements(); element 84 Source/web/WebSearchableFormData.cpp for (Vector<FormAssociatedElement*>::const_iterator i(element.begin()); i != element.end(); ++i) { element 158 Source/web/WebSearchableFormData.cpp const Vector<FormAssociatedElement*>& element = form->associatedElements(); element 159 Source/web/WebSearchableFormData.cpp for (Vector<FormAssociatedElement*>::const_iterator i(element.begin()); i != element.end(); ++i) { element 54 Source/web/WebSelectElement.cpp WebSelectElement::WebSelectElement(const PassRefPtr<HTMLSelectElement>& element) element 55 Source/web/WebSelectElement.cpp : WebFormControlElement(element) element 59 Source/web/WebSelectElement.cpp WebSelectElement& WebSelectElement::operator=(const PassRefPtr<HTMLSelectElement>& element) element 61 Source/web/WebSelectElement.cpp m_private = element; element 43 Source/web/WebTextAreaElement.cpp WebTextAreaElement::WebTextAreaElement(const PassRefPtr<HTMLTextAreaElement>& element) element 44 Source/web/WebTextAreaElement.cpp : WebFormControlElement(element) element 48 Source/web/WebTextAreaElement.cpp WebTextAreaElement& WebTextAreaElement::operator=(const PassRefPtr<HTMLTextAreaElement>& element) element 50 Source/web/WebTextAreaElement.cpp m_private = element; element 939 Source/web/WebViewImpl.cpp Element* element = focusedElement(); element 940 Source/web/WebViewImpl.cpp if (!element || !element->renderer() || !element->renderer()->isEmbeddedObject()) element 1778 Source/web/WebViewImpl.cpp void WebViewImpl::enterFullScreenForElement(WebCore::Element* element) element 1780 Source/web/WebViewImpl.cpp m_fullscreenController->enterFullScreenForElement(element); element 1783 Source/web/WebViewImpl.cpp void WebViewImpl::exitFullScreenForElement(WebCore::Element* element) element 1785 Source/web/WebViewImpl.cpp m_fullscreenController->exitFullScreenForElement(element); element 1878 Source/web/WebViewImpl.cpp Element* element = localFrame->document()->focusedElement(); element 1879 Source/web/WebViewImpl.cpp if (element && localFrame->selection().selection().isNone()) { element 1883 Source/web/WebViewImpl.cpp if (element->isTextFormControl()) { element 1884 Source/web/WebViewImpl.cpp element->updateFocusAppearance(true); element 1885 Source/web/WebViewImpl.cpp } else if (element->isContentEditable()) { element 1890 Source/web/WebViewImpl.cpp Position position(element, 0, Position::PositionIsOffsetInAnchor); element 2074 Source/web/WebViewImpl.cpp Element* element = focusedElement(); element 2075 Source/web/WebViewImpl.cpp if (!element) element 2078 Source/web/WebViewImpl.cpp if (isHTMLInputElement(*element)) { element 2079 Source/web/WebViewImpl.cpp HTMLInputElement& input = toHTMLInputElement(*element); element 2112 Source/web/WebViewImpl.cpp if (isHTMLTextAreaElement(*element)) { element 2113 Source/web/WebViewImpl.cpp if (toHTMLTextAreaElement(*element).isDisabledOrReadOnly()) element 2119 Source/web/WebViewImpl.cpp if (element->isHTMLElement()) { element 2120 Source/web/WebViewImpl.cpp if (toHTMLElement(element)->isDateTimeFieldElement()) element 2125 Source/web/WebViewImpl.cpp if (element->shouldUseInputMethod()) element 2136 Source/web/WebViewImpl.cpp Element* element = focusedElement(); element 2137 Source/web/WebViewImpl.cpp if (!element) element 2140 Source/web/WebViewImpl.cpp if (isHTMLInputElement(*element)) { element 2141 Source/web/WebViewImpl.cpp const HTMLInputElement& input = toHTMLInputElement(*element); element 2146 Source/web/WebViewImpl.cpp if (isHTMLTextAreaElement(*element)) { element 2147 Source/web/WebViewImpl.cpp const HTMLTextAreaElement& textarea = toHTMLTextAreaElement(*element); element 2481 Source/web/WebViewImpl.cpp if (Element* element = focusedElement()) element 2482 Source/web/WebViewImpl.cpp element->scrollIntoViewIfNeeded(true); element 2488 Source/web/WebViewImpl.cpp Element* element = focusedElement(); element 2489 Source/web/WebViewImpl.cpp if (!frame || !frame->view() || !element) element 2493 Source/web/WebViewImpl.cpp frame->view()->scrollElementToRect(element, IntRect(rect.x, rect.y, rect.width, rect.height)); element 2500 Source/web/WebViewImpl.cpp computeScaleAndScrollForFocusedNode(element, scale, scroll, needAnimation); element 420 Source/web/tests/PopupMenuTest.cpp WebElement element = webView()->mainFrame()->document().getElementById("message"); element 424 Source/web/tests/PopupMenuTest.cpp EXPECT_STREQ("upclick", element.innerText().utf8().data()); element 436 Source/web/tests/PopupMenuTest.cpp EXPECT_STREQ("upclick", element.innerText().utf8().data()); element 445 Source/web/tests/PopupMenuTest.cpp EXPECT_STREQ("upclickchangeupclick", element.innerText().utf8().data()); element 464 Source/web/tests/PopupMenuTest.cpp WebElement element = webView()->mainFrame()->document().getElementById("message"); element 466 Source/web/tests/PopupMenuTest.cpp EXPECT_STREQ("change", element.innerText().utf8().data()); element 487 Source/web/tests/PopupMenuTest.cpp WebElement element = webView()->mainFrame()->document().getElementById("message"); element 488 Source/web/tests/PopupMenuTest.cpp EXPECT_STREQ("change", element.innerText().utf8().data()); element 509 Source/web/tests/PopupMenuTest.cpp WebElement element = webView()->mainFrame()->document().getElementById("message"); element 510 Source/web/tests/PopupMenuTest.cpp EXPECT_STREQ("click", element.innerText().utf8().data()); element 150 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp static WebLayer* webLayerFromElement(Element* element) element 152 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp if (!element) element 154 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp RenderObject* renderer = element->renderer(); element 181 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("div-tl"); element 182 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ASSERT_TRUE(element); element 183 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp WebLayer* layer = webLayerFromElement(element); element 190 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("div-tr"); element 191 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ASSERT_TRUE(element); element 192 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp WebLayer* layer = webLayerFromElement(element); element 199 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("div-bl"); element 200 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ASSERT_TRUE(element); element 201 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp WebLayer* layer = webLayerFromElement(element); element 208 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("div-br"); element 209 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ASSERT_TRUE(element); element 210 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp WebLayer* layer = webLayerFromElement(element); element 217 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("span-tl"); element 218 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ASSERT_TRUE(element); element 219 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp WebLayer* layer = webLayerFromElement(element); element 226 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("span-tr"); element 227 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ASSERT_TRUE(element); element 228 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp WebLayer* layer = webLayerFromElement(element); element 235 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("span-bl"); element 236 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ASSERT_TRUE(element); element 237 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp WebLayer* layer = webLayerFromElement(element); element 244 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp Element* element = document->getElementById("span-br"); element 245 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp ASSERT_TRUE(element); element 246 Source/web/tests/ScrollingCoordinatorChromiumTest.cpp WebLayer* layer = webLayerFromElement(element); element 190 Source/web/tests/TouchActionTest.cpp WebCore::Element* element = toElement(nodes->item(index)); element 191 Source/web/tests/TouchActionTest.cpp element->scrollIntoViewIfNeeded(); element 195 Source/web/tests/TouchActionTest.cpp if (element->hasID()) { element 196 Source/web/tests/TouchActionTest.cpp failureContext.append(element->getIdAttribute().ascii().data()); element 197 Source/web/tests/TouchActionTest.cpp } else if (element->firstChild()) { element 199 Source/web/tests/TouchActionTest.cpp failureContext.append(element->firstChild()->textContent(false).stripWhiteSpace().ascii().data()); element 209 Source/web/tests/TouchActionTest.cpp RefPtr<WebCore::ClientRectList> rects = element->getClientRects(); element 251 Source/web/tests/TouchActionTest.cpp ASSERT_EQ(element, result.innerElement()) << "Unexpected hit test result " << failureContextPos element 258 Source/web/tests/TouchActionTest.cpp AtomicString expectedAction = element->getAttribute("expected-action"); element 4211 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); element 4217 Source/web/tests/WebFrameTest.cpp element->focus(); element 4242 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); element 4248 Source/web/tests/WebFrameTest.cpp element->focus(); element 4272 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); element 4278 Source/web/tests/WebFrameTest.cpp element->focus(); element 4348 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); element 4354 Source/web/tests/WebFrameTest.cpp element->focus(); element 4377 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); element 4383 Source/web/tests/WebFrameTest.cpp element->focus(); element 4400 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); element 4406 Source/web/tests/WebFrameTest.cpp element->focus(); element 4408 Source/web/tests/WebFrameTest.cpp document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Spelling); element 4409 Source/web/tests/WebFrameTest.cpp document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::Grammar); element 4410 Source/web/tests/WebFrameTest.cpp document->markers().addMarker(rangeOfContents(element->toNode()).get(), DocumentMarker::InvisibleSpellcheck); element 4429 Source/web/tests/WebFrameTest.cpp Element* element = document->getElementById("data"); element 4435 Source/web/tests/WebFrameTest.cpp element->focus(); element 5053 Source/web/tests/WebFrameTest.cpp WebElement element = node.to<WebElement>(); element 5054 Source/web/tests/WebFrameTest.cpp WebImage image = element.imageContents(); element 98 Source/web/tests/WebPluginContainerTest.cpp WebElement element = webView->mainFrame()->document().getElementById(id); element 99 Source/web/tests/WebPluginContainerTest.cpp return element.pluginContainer(); element 828 Source/web/tests/WebViewTest.cpp RefPtr<WebCore::Element> element = static_cast<PassRefPtr<WebCore::Element> >(webViewImpl->mainFrame()->document().body()); element 829 Source/web/tests/WebViewTest.cpp webViewImpl->enterFullScreenForElement(element.get()); element 941 Source/web/tests/WebViewTest.cpp RefPtr<WebCore::Element> element = static_cast<PassRefPtr<WebCore::Element> >(webView->mainFrame()->document().getElementById(id)); element 942 Source/web/tests/WebViewTest.cpp if (!element) element 945 Source/web/tests/WebViewTest.cpp element->scrollIntoViewIfNeeded(); element 946 Source/web/tests/WebViewTest.cpp WebCore::IntPoint center = element->screenRect().center(); element 1331 Source/web/tests/WebViewTest.cpp WebElement element = webView->mainFrame()->document().getElementById("message"); element 1332 Source/web/tests/WebViewTest.cpp EXPECT_STREQ("focusoutfocusin", element.innerText().utf8().data()); element 1344 Source/web/tests/WebViewTest.cpp WebElement element = webView->mainFrame()->document().getElementById("message"); element 1345 Source/web/tests/WebViewTest.cpp EXPECT_STREQ("DOMFocusOutDOMFocusIn", element.innerText().utf8().data()); element 1440 Source/web/tests/WebViewTest.cpp WebElement element = webView->mainFrame()->document().getElementById("message"); element 1442 Source/web/tests/WebViewTest.cpp EXPECT_STREQ("blurfocus", element.innerText().utf8().data()); element 1658 Source/web/tests/WebViewTest.cpp WebCore::Element* element = document->getElementById("root"); element 1659 Source/web/tests/WebViewTest.cpp if (!element) element 1660 Source/web/tests/WebViewTest.cpp element = document->getElementById("target"); element 1661 Source/web/tests/WebViewTest.cpp if (element->hasTagName(WebCore::HTMLNames::iframeTag)) element 1662 Source/web/tests/WebViewTest.cpp return ExpectedRootBounds(toHTMLIFrameElement(element)->contentDocument(), scaleFactor); element 1664 Source/web/tests/WebViewTest.cpp WebCore::IntRect boundingBox = element->pixelSnappedBoundingBox(); element 1095 Source/wtf/HashTable.h for (typename HashTableType::ValueType* element = table->m_table + table->m_tableSize - 1; element >= table->m_table; element--) { element 1096 Source/wtf/HashTable.h if (!HashTableType::isEmptyOrDeletedBucket(*element)) { element 1097 Source/wtf/HashTable.h if (Allocator::hasDeadMember(visitor, *element)) { element 1099 Source/wtf/HashTable.h HashTableType::deleteBucket(*element); // Also calls the destructor. element 1136 Source/wtf/HashTable.h for (ValueType* element = m_table + m_tableSize - 1; element >= m_table; element--) { element 1137 Source/wtf/HashTable.h if (!isEmptyOrDeletedBucket(*element)) element 1138 Source/wtf/HashTable.h Allocator::template trace<ValueType, Traits>(visitor, *element); element 164 public/web/WebBindings.h BLINK_EXPORT static bool getNode(NPObject* element, WebNode*); element 168 public/web/WebBindings.h BLINK_EXPORT static bool getElement(NPObject* element, WebElement*); element 53 public/web/WebFormElement.h WebFormElement(const WebFormElement& element) : WebElement(element) { } element 55 public/web/WebFormElement.h WebFormElement& operator=(const WebFormElement& element) element 57 public/web/WebFormElement.h WebElement::assign(element); element 60 public/web/WebFormElement.h void assign(const WebFormElement& element) { WebElement::assign(element); } element 54 public/web/WebInputElement.h WebInputElement(const WebInputElement& element) : WebFormControlElement(element) { } element 56 public/web/WebInputElement.h WebInputElement& operator=(const WebInputElement& element) element 58 public/web/WebInputElement.h WebFormControlElement::assign(element); element 61 public/web/WebInputElement.h void assign(const WebInputElement& element) { WebFormControlElement::assign(element); } element 113 public/web/WebInputElement.h inline const WebInputElement* toWebInputElement(const WebElement* element) element 115 public/web/WebInputElement.h return toWebInputElement(const_cast<WebElement*>(element)); element 47 public/web/WebLabelElement.h WebLabelElement(const WebLabelElement& element) : WebElement(element) { } element 49 public/web/WebLabelElement.h WebLabelElement& operator=(const WebLabelElement& element) element 51 public/web/WebLabelElement.h WebElement::assign(element); element 55 public/web/WebLabelElement.h void assign(const WebLabelElement& element) { WebElement::assign(element); } element 47 public/web/WebOptionElement.h WebOptionElement(const WebOptionElement& element) : WebElement(element) { } element 49 public/web/WebOptionElement.h WebOptionElement& operator=(const WebOptionElement& element) element 51 public/web/WebOptionElement.h WebElement::assign(element); element 54 public/web/WebOptionElement.h void assign(const WebOptionElement& element) { WebElement::assign(element); } element 58 public/web/WebPluginContainer.h virtual WebElement element() = 0; element 48 public/web/WebSelectElement.h WebSelectElement(const WebSelectElement& element) : WebFormControlElement(element) { } element 50 public/web/WebSelectElement.h WebSelectElement& operator=(const WebSelectElement& element) element 52 public/web/WebSelectElement.h WebFormControlElement::assign(element); element 55 public/web/WebSelectElement.h void assign(const WebSelectElement& element) { WebFormControlElement::assign(element); } element 46 public/web/WebTextAreaElement.h WebTextAreaElement(const WebTextAreaElement& element) : WebFormControlElement(element) { } element 48 public/web/WebTextAreaElement.h WebTextAreaElement& operator=(const WebTextAreaElement& element) element 50 public/web/WebTextAreaElement.h WebFormControlElement::assign(element); element 53 public/web/WebTextAreaElement.h void assign(const WebTextAreaElement& element) { WebFormControlElement::assign(element); }