HomeSort by relevance Sort by last modified time
    Searched refs:element (Results 126 - 150 of 3120) sorted by null

1 2 3 4 56 7 8 91011>>

  /external/chromium_org/third_party/WebKit/Source/core/html/forms/
TextFieldInputType.cpp 103 RefPtrWillBeRawPtr<DataListIndicatorElement> element = adoptRefWillBeNoop(new DataListIndicatorElement(document)); local
104 element->setShadowPseudoId(AtomicString("-webkit-calendar-picker-indicator", AtomicString::ConstructFromLiteral));
105 element->setAttribute(idAttr, ShadowElementNames::pickerIndicator());
106 return element.release();
111 TextFieldInputType::TextFieldInputType(HTMLInputElement& element)
112 : InputType(element)
126 return toSpinButtonElement(element().userAgentShadowRoot()->getElementById(ShadowElementNames::spinButton()));
141 return element().isRequired() && value.isEmpty();
151 // Grab this input element to keep reference even if JS event handler
153 RefPtrWillBeRawPtr<HTMLInputElement> input(element());
    [all...]
BaseButtonInputType.h 41 BaseButtonInputType(HTMLInputElement& element) : BaseClickableWithKeyInputType(element) { }
BaseCheckableInputType.cpp 47 return FormControlState(element().checked() ? "on" : "off");
52 element().setChecked(state[0] == "on");
57 if (!element().checked())
59 encoding.appendData(element().name(), element().value());
67 element().setActive(true);
91 element().dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents);
106 element().setAttribute(valueAttr, AtomicString(sanitizedValue));
BaseTextInputType.h 42 BaseTextInputType(HTMLInputElement& element) : TextFieldInputType(element) { }
ButtonInputType.h 43 ButtonInputType(HTMLInputElement& element) : BaseButtonInputType(element) { }
ResetInputType.h 43 ResetInputType(HTMLInputElement& element) : BaseButtonInputType(element) { }
TelephoneInputType.cpp 39 PassRefPtrWillBeRawPtr<InputType> TelephoneInputType::create(HTMLInputElement& element)
41 return adoptRefWillBeNoop(new TelephoneInputType(element));
TelephoneInputType.h 43 TelephoneInputType(HTMLInputElement& element) : BaseTextInputType(element) { }
TextInputType.h 43 TextInputType(HTMLInputElement& element) : BaseTextInputType(element) { }
URLInputType.h 43 URLInputType(HTMLInputElement& element) : BaseTextInputType(element) { }
  /external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/parse-only/
prototype-1.6.0.3.js 412 var div = new Element('div');
    [all...]
  /external/chromium_org/chrome/browser/resources/sync_file_system_internals/
utils.js 6 * Creates an element named |elementName| containing the content |text|.
7 * @param {string} elementName Name of the new element to be created.
8 * @param {string} text Text to be contained in the new element.
9 * @param {Object} opt_attributes Optional attribute dictionary for the element.
10 * @return {HTMLElement} The newly created HTML element.
13 var element = document.createElement(elementName);
14 element.appendChild(document.createTextNode(text));
17 element.setAttribute(key, opt_attributes[key]);
19 return element;
23 * Creates an element with |tagName| containing the content |dict|
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/css/
SiblingTraversalStrategies.h 32 #include "core/dom/Element.h"
40 bool isFirstChild(Element&) const;
41 bool isLastChild(Element&) const;
42 bool isFirstOfType(Element&, const QualifiedName&) const;
43 bool isLastOfType(Element&, const QualifiedName&) const;
45 int countElementsBefore(Element&) const;
46 int countElementsAfter(Element&) const;
47 int countElementsOfTypeBefore(Element&, const QualifiedName&) const;
48 int countElementsOfTypeAfter(Element&, const QualifiedName&) const;
54 bool operator() (const Element& element) const { return element.hasTagName(m_tagName);
    [all...]
  /external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
RequestInit.cpp 55 const FormDataElement& element = httpBody->elements()[i]; local
56 switch (element.m_type) {
58 blobData->appendBytes(element.m_data.data(), element.m_data.size());
62 blobData->appendFile(element.m_filename, element.m_fileStart, element.m_fileLength, element.m_expectedFileModificationTime);
65 if (element.m_optionalBlobDataHandle)
66 blobData->appendBlob(element.m_optionalBlobDataHandle, 0, element.m_optionalBlobDataHandle->size())
    [all...]
  /libcore/luni/src/test/java/tests/org/w3c/dom/
NamedNodeMapGetNamedItemNS.java 29 import org.w3c.dom.Element;
103 Node element; local
110 element = elementList.item(1);
111 attributes = element.getAttributes();
120 Node element; local
127 element = doc.createElementNS("http://www.w3.org/DOM/Test", "root");
129 ((Element) /* Node */element).setAttributeNodeNS(newAttr1);
131 ((Element) /* Node */element).setAttributeNodeNS(newAttr2)
141 Element element; local
160 Node element; local
    [all...]
NodeSetPrefix.java 30 import org.w3c.dom.Element;
41 * Element and Attr interfaces, when applicable.
43 * Create a new element node with a namespace prefix. Add it to a new
45 * Check if the prefix was set correctly on the element.
84 Element element; local
90 element = doc.createElementNS("http://www.w3.org/DOM/Test",
92 docFragment.appendChild(element);
93 element.setPrefix("dmstc");
94 elementTagName = element.getTagName()
127 Element element; local
168 Element element; local
196 Element element; local
230 Element element; local
251 Element element; local
    [all...]
  /external/chromium_org/ui/accessibility/extensions/longdesc/
lastRightClick.js 23 document.addEventListener('contextmenu', function(element) {
24 updateContextMenuItem(element);
27 document.addEventListener('mouseover', function(element) {
28 updateContextMenuItem(element);
31 document.addEventListener('focus', function(element) {
32 updateContextMenuItem(element);
39 * @param element
41 function updateContextMenuItem(element) {
45 if (element.target.hasAttribute("longdesc")) {
46 longDesc = element.target.getAttribute("longdesc")
    [all...]
  /external/chromium_org/ui/compositor/
layer_animation_element_unittest.cc 23 // Check that the transformation element progresses the delegate as expected and
24 // that the element can be reused after it completes.
34 scoped_ptr<LayerAnimationElement> element(
36 element->set_animation_group_id(1);
40 element->set_requested_start_time(start_time);
42 element->Start(&delegate, 1);
43 element->Progress(start_time, &delegate);
47 element->set_effective_start_time(effective_start_time);
48 element->Progress(effective_start_time, &delegate);
49 EXPECT_FLOAT_EQ(0.0, element->last_progressed_fraction())
    [all...]
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
SidebarPane.js 37 this.element.className = "sidebar-pane"; // Override
40 this.bodyElement = this.element.createChild("div", "body");
103 * @param {!Element} container
110 this.element = container.createChild("div", "sidebar-pane-title");
111 this.element.textContent = pane.title();
112 this.element.tabIndex = 0;
113 this.element.addEventListener("click", this._toggleExpanded.bind(this), false);
114 this.element.addEventListener("keydown", this._onTitleKeyDown.bind(this), false);
115 this.element.appendChild(this._pane.titleElement);
124 this.element.classList.add("expanded")
    [all...]
StatusBarButton.js 38 this.element = document.createElement(elementType);
60 this.element.disabled = !this._enabled;
72 this.element.classList.toggle("hidden", !x);
88 this.element.className = "status-bar-item status-bar-counter hidden";
90 this.element.classList.add(className);
91 this.element.addEventListener("click", this._clicked.bind(this), false);
92 /** @type {!Array.<!{element: !Element, counter: string, value: number, title: string}>} */
95 var element = this.element.createChild("span", "status-bar-counter-item")
    [all...]
  /external/chromium_org/third_party/WebKit/Source/core/html/
HTMLCollection.cpp 200 Element* HTMLCollection::item(unsigned offset) const
205 static inline bool isMatchingHTMLElement(const HTMLCollection& htmlCollection, const HTMLElement& element)
209 return element.hasTagName(imgTag);
211 return element.hasTagName(scriptTag);
213 return element.hasTagName(formTag);
215 return toDocumentNameCollection(htmlCollection).elementMatches(element);
217 return element.hasTagName(tbodyTag);
219 return element.hasTagName(tdTag) || element.hasTagName(thTag);
221 return element.hasTagName(trTag)
432 Element* element = item(i); local
463 Element* element = item(i); local
    [all...]
HTMLImageLoader.h 32 static PassOwnPtrWillBeRawPtr<HTMLImageLoader> create(Element* element)
34 return adoptPtrWillBeNoop(new HTMLImageLoader(element));
44 explicit HTMLImageLoader(Element*);
LabelableElement.h 40 // LabelableElement represents "labelable element" defined in the HTML
57 inline bool isLabelableElement(const HTMLElement& element)
59 return element.isLabelable();
  /external/chromium_org/third_party/WebKit/Source/core/dom/
NameNodeList.cpp 26 #include "core/dom/Element.h"
47 bool NameNodeList::elementMatches(const Element& element) const
49 return element.getNameAttribute() == m_name;
  /external/chromium_org/third_party/WebKit/Source/core/dom/custom/
CustomElementObserver.h 39 class Element;
47 static void notifyElementDidFinishParsingChildren(Element*);
48 static void notifyElementWasDestroyed(Element*);
55 void observe(Element*);
56 void unobserve(Element*);
58 virtual void elementDidFinishParsingChildren(Element*) = 0;
59 virtual void elementWasDestroyed(Element* element) { unobserve(element); }

Completed in 1216 milliseconds

1 2 3 4 56 7 8 91011>>