Searched defs:element (Results 101 - 125 of 675) sorted by relevance

1234567891011>>

/external/webkit/Source/WebCore/html/
H A DCheckboxInputType.cpp42 PassOwnPtr<InputType> CheckboxInputType::create(HTMLInputElement* element) argument
44 return adoptPtr(new CheckboxInputType(element));
54 return !element()->checked();
77 state->checked = element()->checked();
78 state->indeterminate = element()->indeterminate();
81 element()->setIndeterminate(false);
83 element()->setChecked(!state->checked, true);
91 element()->setIndeterminate(state.indeterminate);
92 element()->setChecked(state.checked);
H A DEmailInputType.cpp53 PassOwnPtr<InputType> EmailInputType::create(HTMLInputElement* element) argument
55 return adoptPtr(new EmailInputType(element));
67 if (!element()->multiple())
80 return typeMismatchFor(element()->value());
85 return element()->multiple() ? validationMessageTypeMismatchForMultipleEmailText() : validationMessageTypeMismatchForEmailText();
H A DHTMLLegendElement.cpp66 // Find first form element inside the fieldset that is not a legend element.
71 Element* element = static_cast<Element*>(node); local
72 if (!element->hasLocalName(legendTag) && element->isFormControlElement())
73 return static_cast<HTMLFormControlElement*>(element);
H A DHTMLOptionsCollection.cpp40 void HTMLOptionsCollection::add(PassRefPtr<HTMLOptionElement> element, ExceptionCode &ec) argument
42 add(element, length(), ec);
45 void HTMLOptionsCollection::add(PassRefPtr<HTMLOptionElement> element, int index, ExceptionCode &ec) argument
47 HTMLOptionElement* newOption = element.get();
H A DHiddenInputType.cpp39 PassOwnPtr<InputType> HiddenInputType::create(HTMLInputElement* element) argument
41 return adoptPtr(new HiddenInputType(element));
H A DInputType.h244 InputType(HTMLInputElement* element) : m_element(element) { } argument
245 HTMLInputElement* element() const { return m_element; } function in class:WebCore::InputType
H A DPasswordInputType.cpp40 PassOwnPtr<InputType> PasswordInputType::create(HTMLInputElement* element) argument
42 return adoptPtr(new PasswordInputType(element));
H A DStepRange.cpp36 StepRange::StepRange(const HTMLInputElement* element) argument
38 if (element->hasAttribute(precisionAttr)) {
40 hasStep = !equalIgnoringCase(element->getAttribute(precisionAttr), "float");
42 hasStep = element->getAllowedValueStep(&step);
44 maximum = element->maximum();
45 minimum = element->minimum();
71 double StepRange::valueFromElement(HTMLInputElement* element, bool* wasClamped) argument
74 bool parseSuccess = parseToDoubleForNumberType(element->value(), &oldValue);
H A DSubmitInputType.cpp44 PassOwnPtr<InputType> SubmitInputType::create(HTMLInputElement* element) argument
46 return adoptPtr(new SubmitInputType(element));
56 if (!element()->isActivatedSubmit())
58 encoding.appendData(element()->name(), element()->valueWithDefault());
69 RefPtr<HTMLInputElement> element = this->element(); local
70 if (element->disabled() || !element->form())
72 element
[all...]
/external/webkit/Source/WebCore/html/parser/
H A DHTMLFormattingElementList.cpp48 if (entry.element()->hasLocalName(targetName))
49 return entry.element();
54 bool HTMLFormattingElementList::contains(Element* element) argument
56 return !!find(element);
59 HTMLFormattingElementList::Entry* HTMLFormattingElementList::find(Element* element) argument
61 size_t index = m_entries.reverseFind(element);
69 HTMLFormattingElementList::Bookmark HTMLFormattingElementList::bookmarkFor(Element* element) argument
71 size_t index = m_entries.reverseFind(element);
81 ASSERT(bookmark.mark()->element() == oldElement);
91 void HTMLFormattingElementList::append(Element* element)
[all...]
/external/webkit/Source/WebCore/loader/
H A DImageLoader.h41 // This function should be called when the element is attached to a document; starts
51 Element* element() const { return m_element; } function in class:WebCore::ImageLoader
/external/webkit/Source/WebCore/platform/graphics/gstreamer/
H A DPlatformVideoWindowQt.cpp47 void FullScreenVideoWindow::setVideoElement(HTMLVideoElement* element) argument
49 m_mediaElement = element;
/external/webkit/Source/WebCore/platform/network/cf/
H A DFormDataStreamCFNet.cpp70 const FormDataElement& element = formData->elements()[0]; local
71 if (element.m_type == FormDataElement::data) {
72 CFDataRef data = CFDataCreate(0, reinterpret_cast<const UInt8 *>(element.m_data.data()), element.m_data.size());
82 const FormDataElement& element = formData->elements()[i]; local
83 if (element.m_type == FormDataElement::data) {
84 RetainPtr<CFDataRef> data(AdoptCF, CFDataCreate(0, reinterpret_cast<const UInt8*>(element.m_data.data()), element.m_data.size()));
87 RetainPtr<CFStringRef> filename(AdoptCF, element.m_filename.createCFString());
/external/webkit/Source/WebCore/rendering/
H A DRenderFrame.cpp41 HTMLFrameElement* element = static_cast<HTMLFrameElement*>(node()); local
42 return FrameEdgeInfo(element->noResize(), element->hasFrameBorder());
47 HTMLFrameElement* element = static_cast<HTMLFrameElement*>(node()); local
48 if (!element || !widget() || !widget()->isFrameView())
53 int marginWidth = element->marginWidth();
54 int marginHeight = element->marginHeight();
77 HTMLFrameElementBase* element = static_cast<HTMLFrameElementBase*>(node()); local
78 if (element->scrollingMode() == ScrollbarAlwaysOff && !root->isFrameSet()) {
H A DRenderFrameBase.cpp35 RenderFrameBase::RenderFrameBase(Element* element) argument
36 : RenderPart(element)
63 HTMLFrameElementBase* element = static_cast<HTMLFrameElementBase*>(node()); local
64 bool isScrollable = element->scrollingMode() != ScrollbarAlwaysOff;
H A DRenderHTMLCanvas.cpp42 RenderHTMLCanvas::RenderHTMLCanvas(HTMLCanvasElement* element) argument
43 : RenderReplaced(element, element->size())
H A DRenderIFrame.cpp39 RenderIFrame::RenderIFrame(Element* element) argument
40 : RenderFrameBase(element)
85 HTMLIFrameElement* element = static_cast<HTMLIFrameElement*>(node());
86 bool isScrollable = element->scrollingMode() != ScrollbarAlwaysOff;
92 Frame* frame = element->document()->frame();
H A DRenderProgress.cpp39 RenderProgress::RenderProgress(HTMLProgressElement* element) argument
40 : RenderBlock(element)
56 HTMLProgressElement* element = progressElement(); local
57 if (m_position == element->position())
59 m_position = element->position();
/external/webkit/Source/WebCore/rendering/svg/
H A DRenderSVGGradientStop.cpp35 RenderSVGGradientStop::RenderSVGGradientStop(SVGStopElement* element) argument
36 : RenderObject(element)
H A DRenderSVGViewportContainer.cpp48 SVGElement* element = static_cast<SVGElement*>(node()); local
49 if (element->hasTagName(SVGNames::svgTag)) {
50 SVGSVGElement* svg = static_cast<SVGSVGElement*>(element);
/external/webkit/Source/WebCore/svg/
H A DSVGPathSegCurvetoQuadraticSmooth.h31 static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
33 return adoptRef(new SVGPathSegCurvetoQuadraticSmoothAbs(element, role, x, y));
37 SVGPathSegCurvetoQuadraticSmoothAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
38 : SVGPathSegSingleCoordinate(element, role, x, y)
48 static PassRefPtr<SVGPathSegCurvetoQuadraticSmoothRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
50 return adoptRef(new SVGPathSegCurvetoQuadraticSmoothRel(element, role, x, y));
54 SVGPathSegCurvetoQuadraticSmoothRel(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
55 : SVGPathSegSingleCoordinate(element, role, x, y)
H A DSVGPathSegLineto.h31 static PassRefPtr<SVGPathSegLinetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
33 return adoptRef(new SVGPathSegLinetoAbs(element, role, x, y));
37 SVGPathSegLinetoAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
38 : SVGPathSegSingleCoordinate(element, role, x, y)
48 static PassRefPtr<SVGPathSegLinetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
50 return adoptRef(new SVGPathSegLinetoRel(element, role, x, y));
54 SVGPathSegLinetoRel(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
55 : SVGPathSegSingleCoordinate(element, role, x, y)
H A DSVGPathSegLinetoHorizontal.h31 SVGPathSegLinetoHorizontal(SVGPathElement* element, SVGPathSegRole role, float x) argument
32 : SVGPathSegWithContext(element, role)
50 static PassRefPtr<SVGPathSegLinetoHorizontalAbs> create(SVGPathElement* element, SVGPathSegRole role, float x) argument
52 return adoptRef(new SVGPathSegLinetoHorizontalAbs(element, role, x));
56 SVGPathSegLinetoHorizontalAbs(SVGPathElement* element, SVGPathSegRole role, float x) argument
57 : SVGPathSegLinetoHorizontal(element, role, x)
67 static PassRefPtr<SVGPathSegLinetoHorizontalRel> create(SVGPathElement* element, SVGPathSegRole role, float x) argument
69 return adoptRef(new SVGPathSegLinetoHorizontalRel(element, role, x));
73 SVGPathSegLinetoHorizontalRel(SVGPathElement* element, SVGPathSegRole role, float x) argument
74 : SVGPathSegLinetoHorizontal(element, rol
[all...]
H A DSVGPathSegLinetoVertical.h31 SVGPathSegLinetoVertical(SVGPathElement* element, SVGPathSegRole role, float y) argument
32 : SVGPathSegWithContext(element, role)
50 static PassRefPtr<SVGPathSegLinetoVerticalAbs> create(SVGPathElement* element, SVGPathSegRole role, float y) argument
52 return adoptRef(new SVGPathSegLinetoVerticalAbs(element, role, y));
56 SVGPathSegLinetoVerticalAbs(SVGPathElement* element, SVGPathSegRole role, float y) argument
57 : SVGPathSegLinetoVertical(element, role, y)
67 static PassRefPtr<SVGPathSegLinetoVerticalRel> create(SVGPathElement* element, SVGPathSegRole role, float y) argument
69 return adoptRef(new SVGPathSegLinetoVerticalRel(element, role, y));
73 SVGPathSegLinetoVerticalRel(SVGPathElement* element, SVGPathSegRole role, float y) argument
74 : SVGPathSegLinetoVertical(element, rol
[all...]
H A DSVGPathSegMoveto.h31 static PassRefPtr<SVGPathSegMovetoAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
33 return adoptRef(new SVGPathSegMovetoAbs(element, role, x, y));
37 SVGPathSegMovetoAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
38 : SVGPathSegSingleCoordinate(element, role, x, y)
48 static PassRefPtr<SVGPathSegMovetoRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
50 return adoptRef(new SVGPathSegMovetoRel(element, role, x, y));
54 SVGPathSegMovetoRel(SVGPathElement* element, SVGPathSegRole role, float x, float y) argument
55 : SVGPathSegSingleCoordinate(element, role, x, y)

Completed in 456 milliseconds

1234567891011>>