Name Description Size Coverage
ConstraintValidation.cpp 2932 -
ConstraintValidation.h The string representing the custom error. 1200 33 %
crashtests -
CustomStateSet.cpp 2952 -
CustomStateSet.h @brief Removes a given string from the state set. 1519 -
EditContext.cpp 7335 -
EditContext.h Returns whether there is any EditContext attached to any element in this process. 3519 78 %
ElementInternals.cpp 1. Let element be this's target element. 2. If element is not a form-associated custom element, then throw a "NotSupportedError" DOMException. 22445 -
ElementInternals.h 11162 96 %
FetchPriority.cpp See <nsISupportsPriority.idl>. 2879 -
FetchPriority.h 1874 -
HTMLAllCollection.cpp 4816 -
HTMLAllCollection.h Returns the HTMLCollection for document.all[aID], or null if there isn't one. 2479 100 %
HTMLAnchorElement.cpp 7063 -
HTMLAnchorElement.h 6456 100 %
HTMLAreaElement.cpp 3513 -
HTMLAreaElement.h 5112 100 %
HTMLBodyElement.cpp 11222 -
HTMLBodyElement.h nothing; handled by the shim 4227 100 %
HTMLBRElement.cpp 3208 -
HTMLBRElement.h 2406 100 %
HTMLButtonElement.cpp 22255 -
HTMLButtonElement.h Called when an attribute is about to be changed 5820 100 %
HTMLCanvasElement.cpp 50658 -
HTMLCanvasElement.h FrameCaptureListener is used by captureStream() as a way of getting video frames from the canvas. On a refresh driver tick after something has been drawn to the canvas since the last such tick, all registered FrameCaptureListeners that report true for FrameCaptureRequested() will be given a copy of the just-painted canvas. All FrameCaptureListeners get the same copy. 15172 89 %
HTMLDataElement.cpp 834 -
HTMLDataElement.h 1043 100 %
HTMLDataListElement.cpp 1297 -
HTMLDataListElement.h HTMLDataListElement_h_ 1645 100 %
HTMLDetailsElement.cpp 9209 -
HTMLDetailsElement.h mozilla_dom_HTMLDetailsElement_h 3097 100 %
HTMLDialogElement.cpp 28766 -
HTMLDialogElement.h 5104 93 %
HTMLDivElement.cpp 1853 -
HTMLDivElement.h HTMLDivElement_h_ 1542 100 %
HTMLDNSPrefetch.cpp 23239 -
HTMLDNSPrefetch.h 4842 100 %
HTMLElement.cpp 16910 -
HTMLElement.h 3195 100 %
HTMLElementFactory.cpp 2401 -
HTMLEmbedElement.cpp 8854 -
HTMLEmbedElement.h Calls LoadObject with the correct arguments to start the plugin load. 4863 100 %
HTMLFieldSetElement.cpp static 10887 -
HTMLFieldSetElement.h This method will update the fieldset's validity. This method has to be called by fieldset elements whenever their validity state or status regarding constraint validation changes. @note If an element becomes barred from constraint validation, it has to be considered as valid. @param aElementValidityState the new validity state of the element 4716 100 %
HTMLFontElement.cpp 3743 -
HTMLFontElement.h HTMLFontElement_h_ 1814 100 %
HTMLFormControlsCollection.cpp static 10346 -
HTMLFormControlsCollection.h Create a sorted list of form control elements. This list is sorted in document order and contains the controls in the mElements and mNotInElements list. This function does not add references to the elements. @param aControls The list of sorted controls[out]. @return NS_OK or NS_ERROR_OUT_OF_MEMORY. 4021 100 %
HTMLFormElement.cpp 66274 -
HTMLFormElement.h Whether we already dispatched a DOMFormHasPassword event or not 20274 100 %
HTMLFormSubmission.cpp @param aEncoding the character encoding of the form @param aMethod the method of the submit (either NS_FORM_METHOD_GET or NS_FORM_METHOD_POST). 28694 -
HTMLFormSubmission.h Class for form submissions; encompasses the function to call to submit as well as the form submission name/value pairs 9639 59 %
HTMLFormSubmissionConstants.h 1273 -
HTMLFrameElement.cpp 1866 -
HTMLFrameElement.h 3385 100 %
HTMLFrameSetElement.cpp The main goal here is to see whether the _number_ of rows or columns has changed. If it has, we need to reframe; otherwise we want to reflow. Ideally, the style hint would be changed back to reflow after the reframe has been performed. Unfortunately, however, the reframe will be performed by the call to MutationObservers::AttributeChanged, which occurs *after* AfterSetAttr is called, leaving us with no convenient way of changing the value back to reflow afterwards. However, MutationObservers::AttributeChanged is effectively the only consumer of this value, so as long as we always set the value correctly here, we should be fine. 10072 -
HTMLFrameSetElement.h The nsFramesetUnit enum is used to denote the type of each entry in the row or column spec. 4478 100 %
HTMLHeadingElement.cpp 5648 -
HTMLHeadingElement.h 2145 100 %
HTMLHRElement.cpp 7047 -
HTMLHRElement.h 2336 100 %
HTMLIFrameElement.cpp parse the feature policy attribute 14091 -
HTMLIFrameElement.h 8725 100 %
HTMLImageElement.cpp 42785 -
HTMLImageElement.h 16858 100 %
HTMLInputElement.cpp 258869 -
HTMLInputElement.h A class we use to create a singleton object that is used to keep track of the last directory from which the user has picked files (via <input type=file>) on a per-domain basis. The implementation uses nsIContentPrefService2/NS_CONTENT_PREF_SERVICE_CONTRACTID to store the last directory per-domain, and to ensure that whether the directories are persistently saved (saved across sessions) or not honors whether or not the page is being viewed in private browsing. 59329 98 %
HTMLLabelElement.cpp Implementation of HTML <label> elements. 9336 -
HTMLLabelElement.h Declaration of HTML <label> elements. 2245 100 %
HTMLLegendElement.cpp 4755 -
HTMLLegendElement.h Return the align value to use for the given fieldset writing-mode. (This method resolves Left/Right to the appropriate InlineStart/InlineEnd). @param aCBWM the fieldset writing-mode @note we only parse left/right/center, so this method returns Center, InlineStart or InlineEnd. 3006 67 %
HTMLLIElement.cpp 3305 -
HTMLLIElement.h 1862 100 %
HTMLLinkElement.cpp 26156 -
HTMLLinkElement.h 7977 100 %
HTMLMapElement.cpp 1358 -
HTMLMapElement.h 1188 100 %
HTMLMarqueeElement.cpp 5303 -
HTMLMarqueeElement.h HTMLMarqueeElement_h_ 4156 100 %
HTMLMenuElement.cpp 812 -
HTMLMenuElement.h 1145 100 %
HTMLMetaElement.cpp 6268 -
HTMLMetaElement.h 2585 100 %
HTMLMeterElement.cpp If the attribute min is defined, the minimum is this value. Otherwise, the minimum is the default value. 7796 -
HTMLMeterElement.h @return the value 2934 100 %
HTMLModElement.cpp 828 -
HTMLModElement.h 1234 100 %
HTMLObjectElement.cpp 9398 -
HTMLObjectElement.h 7396 99 %
HTMLOptGroupElement.cpp The implementation of &lt;optgroup&gt; 2741 -
HTMLOptGroupElement.h mozilla_dom_HTMLOptGroupElement_h 1871 100 %
HTMLOptionElement.cpp Implementation of &lt;option&gt; 10461 -
HTMLOptionElement.h This callback is called by an optgroup on all its option elements whenever its disabled state is changed so that option elements can know their disabled state might have changed. 4079 100 %
HTMLOptionsCollection.cpp aDeep = 4595 -
HTMLOptionsCollection.h The collection of options in the select (what you get back when you do select.options in DOM) 2306 100 %
HTMLOutputElement.cpp 5043 -
HTMLOutputElement.h 3156 100 %
HTMLParagraphElement.cpp 2025 -
HTMLParagraphElement.h 1663 100 %
HTMLPictureElement.cpp 3195 -
HTMLPictureElement.h 1446 100 %
HTMLPreElement.cpp 2566 -
HTMLPreElement.h 1548 100 %
HTMLProgressElement.cpp 3042 -
HTMLProgressElement.h 1876 100 %
HTMLScriptElement.cpp aParser 12841 -
HTMLScriptElement.h 7259 100 %
HTMLSelectedContentElement.cpp 1358 -
HTMLSelectedContentElement.h 1035 -
HTMLSelectElement.cpp https://html.spec.whatwg.org/#the-select-element-2:the-select-element-13 70859 -
HTMLSelectElement.h Implementation of &lt;select&gt; 17314 100 %
HTMLSharedElement.cpp nsICSPEventListener 8287 -
HTMLSharedElement.h 4250 100 %
HTMLSharedListElement.cpp 4981 -
HTMLSharedListElement.h 2222 100 %
HTMLSlotElement.cpp Flatten assigned nodes given a slot, as in: https://dom.spec.whatwg.org/#find-flattened-slotables 13907 -
HTMLSlotElement.h 2998 100 %
HTMLSourceElement.cpp static 8144 -
HTMLSourceElement.h 5179 87 %
HTMLSpanElement.cpp 667 -
HTMLSpanElement.h 863 100 %
HTMLStyleElement.cpp 8374 -
HTMLStyleElement.h Mark this style element with a devtools-specific principal that skips Content Security Policy unsafe-inline checks. This triggering principal will be overwritten by any callers that set textContent or innerHTML on this element. 3973 100 %
HTMLSummaryElement.cpp 3692 -
HTMLSummaryElement.h mozilla_dom_HTMLSummaryElement_h 1742 100 %
HTMLTableCaptionElement.cpp 2483 -
HTMLTableCaptionElement.h mozilla_dom_HTMLTableCaptionElement_h 1566 100 %
HTMLTableCellElement.cpp ignore these attributes, stored simply as strings abbr, axis, ch, headers 6486 -
HTMLTableCellElement.h mozilla_dom_HTMLTableCellElement_h 4656 100 %
HTMLTableColElement.cpp ignore these attributes, stored simply as strings ch 3863 -
HTMLTableColElement.h mozilla_dom_HTMLTableColElement_h 2523 100 %
HTMLTableElement.cpp ------------------------- TableRowsCollection --------------------------- 34007 -
HTMLTableElement.h 6965 100 %
HTMLTableRowElement.cpp 7178 -
HTMLTableRowElement.h mozilla_dom_HTMLTableRowElement_h 3070 100 %
HTMLTableSectionElement.cpp ignore these attributes, stored simply as strings ch 5474 -
HTMLTableSectionElement.h mozilla_dom_HTMLTableSectionElement_h 2666 100 %
HTMLTemplateElement.cpp https://html.spec.whatwg.org/#dom-element-sethtmlunsafe 5485 -
HTMLTemplateElement.h 3706 74 %
HTMLTextAreaElement.cpp 36450 -
HTMLTextAreaElement.h Called when an attribute is about to be changed 14124 100 %
HTMLTimeElement.cpp 855 -
HTMLTimeElement.h 1096 100 %
HTMLTitleElement.cpp 2831 -
HTMLTitleElement.h 1626 100 %
HTMLUnknownElement.cpp 805 -
HTMLUnknownElement.h mozilla_dom_HTMLUnknownElement_h 1103 100 %
ImageDocument.cpp 25257 -
ImageDocument.h mozilla_dom_ImageDocument_h 4543 80 %
input 96 %
MediaDocument.cpp 13884 -
MediaDocument.h mozilla_dom_MediaDocument_h 4375 83 %
moz.build 5887 -
nsDOMStringMap.cpp virtual 7723 -
nsDOMStringMap.h 2013 100 %
nsGenericHTMLElement.cpp 149358 -
nsGenericHTMLElement.h A common superclass for HTML elements 56868 97 %
nsGenericHTMLFrameElement.cpp 10991 -
nsGenericHTMLFrameElement.h A helper class for frame elements 4953 100 %
nsHTMLDocument.cpp aConsiderForMemoryReporting 28432 -
nsHTMLDocument.h Called when form->BindToTree() is called so that document knows immediately when a form is added 6425 73 %
nsIConstraintValidation.cpp CanBubble 4361 -
nsIConstraintValidation.h This interface is for form elements implementing the validity constraint API. See: http://dev.w3.org/html5/spec/forms.html#the-constraint-validation-api This interface has to be implemented by all elements implementing the API and only them. 3118 100 %
nsIFormControl.h Interface which all form controls (e.g. buttons, checkboxes, text, radio buttons, select, etc) implement in addition to their dom specific interface. 9588 100 %
RadioNodeList.cpp virtual 1642 -
RadioNodeList.h 1162 100 %
reftests -
test -
TextControlElement.cpp aNotify = 13817 -
TextControlElement.h This abstract class is used for the text control frame to get the editor and selection controller objects, and some helper properties. 8509 94 %
TextControlState.cpp TextControlElement *************************************************************************** 99959 -
TextControlState.h PasswordMaskData stores making information and necessary timer for `TextEditor` instances. 21552 98 %
TextInputListener.h OnEditActionHandled() is called when the editor handles each edit action. 3190 100 %
ValidityState.cpp 1037 -
ValidityState.h Helper function to get a validity state from constraint validation instance. 2752 100 %
VideoDocument.cpp 5363 -